Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-buildozer
python-buildozer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-buildozer.spec of Package python-buildozer
# # spec file for package python-buildozer # # Copyright (c) 2022 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define skip_python2 1 Name: python-buildozer Version: 1.4.0 Release: 0 Summary: Generic Python packager for Android, iOS and desktop License: MIT Group: Development/Languages/Python URL: https://github.com/kivy/buildozer Source: https://github.com/kivy/buildozer/archive/%{version}.tar.gz#/buildozer-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pexpect Requires: python-sh Requires: python-virtualenv Requires(post): update-alternatives Requires(postun):update-alternatives Recommends: python-python-for-android BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pexpect} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-for-android} BuildRequires: %{python_module sh} BuildRequires: %{python_module virtualenv} # /SECTION %python_subpackages %description Generic Python packager for Android, iOS and desktop. %prep %autosetup -p1 -n buildozer-%{version} # Avoid checking executable name sed -i 's/python -m pythonforandroid/-m pythonforandroid/' tests/targets/test_android.py %build %python_build %install %python_install %python_clone -a %{buildroot}%{_bindir}/buildozer %python_clone -a %{buildroot}%{_bindir}/buildozer-remote %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 # Avoid broken test in 1.4.0 %pytest -k 'not test_init_positional_buildozer' %post %python_install_alternative buildozer buildozer-remote %postun %python_uninstall_alternative buildozer buildozer-remote %files %{python_files} %doc CHANGELOG.md README.md %python_alternative %{_bindir}/buildozer %python_alternative %{_bindir}/buildozer-remote %{python_sitelib}/buildozer %{python_sitelib}/buildozer-%{version}*-info %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