Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
system:homeautomation:home-assistant
python-androidtv
python-androidtv.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-androidtv.spec of Package python-androidtv
# # spec file for package python-androidtv # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_with test %define skip_python2 1 Name: python-androidtv Version: 0.5.1 Release: 0 Summary: Android TV remote control License: MIT Group: Development/Languages/Python Url: https://github.com/JeffLIrion/python-androidtv/ Source: %name-%{version}.tar.xz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module pytest} %endif Requires: python-adb-shell >= 0.2.1 Requires: python-pure-python-adb-homeassistant Requires: python-pyasn1 Requires: python-rsa Requires: python-aiofiles >= 0.4.0 BuildArch: noarch %python_subpackages %description Support for functionality to interact with Android TV and Fire TV devices. %prep %setup -q %build %python_build %install %python_install %fdupes %{buildroot}%{_prefix} %if %{with test} %check sed -i -e "s/'coveralls'/'python-coveralls'/" setup.py %{python_expand virtualenv-%$python_bin_suffix --system-site-packages --no-download testvenv-%$python_bin_suffix testvenv-%$python_bin_suffix/bin/pip install -e .[test,build] export PYTHONPATH=$PWD/testvenv-%$python_bin_suffix/lib/python%$python_bin_suffix/site-packages/:$PWD testvenv-%$python_bin_suffix/bin/python -m pytest && rm -Rf testvenv-%$python_bin_suffix } %endif %files %{python_files} %license LICENSE %doc README.rst %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor