Group :: Development/Python3
RPM: python3-module-pebble
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname pebble
Name: python3-module-%oname
Version: 4.5.1
Release: alt1
Summary: Threading and multiprocessing eye-candy
License: LGPLv3
Group: Development/Python3
BuildArch: noarch
Url: https://pypi.python.org/pypi/Pebble/
# https://github.com/noxdafox/pebble.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pytest /proc
%py3_provides %oname
%py3_requires multiprocessing
%description
Pebble provides a neat API to manage threads and processes within an
application.
%prep
%setup
# fix python version for python3 tests
grep -q 'python -m pytest' ./test/run-tests.sh && \
sed -i 's/python -m pytest/python3 -m pytest/' ./test/run-tests.sh
%build
%python3_build_debug
%install
%python3_install
%check
./test/run-tests.sh
%files
%doc *.rst doc/*.rst
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui
Name: python3-module-%oname
Version: 4.5.1
Release: alt1
Summary: Threading and multiprocessing eye-candy
License: LGPLv3
Group: Development/Python3
BuildArch: noarch
Url: https://pypi.python.org/pypi/Pebble/
# https://github.com/noxdafox/pebble.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pytest /proc
%py3_provides %oname
%py3_requires multiprocessing
%description
Pebble provides a neat API to manage threads and processes within an
application.
%prep
%setup
# fix python version for python3 tests
grep -q 'python -m pytest' ./test/run-tests.sh && \
sed -i 's/python -m pytest/python3 -m pytest/' ./test/run-tests.sh
%build
%python3_build_debug
%install
%python3_install
%check
./test/run-tests.sh
%files
%doc *.rst doc/*.rst
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui