Group :: Development/Python3
RPM: python3-module-pytools
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define oname pytools
Name: python3-module-%oname
Version: 2017.4
Release: alt2
Summary: A collection of tools for Python
License: MIT
Group: Development/Python3
Url: http://pypi.python.org/pypi/pytools
# https://github.com/inducer/pytools.git
Source: %oname-%version.tar
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-module-appdirs python3-module-decorator
BuildPreReq: python3-module-six
BuildRequires: python3-modules-sqlite3
BuildRequires: python3-module-pytest
BuildArch: noarch
%add_python3_req_skip mpi4py.rc
%description
Pytools is a big bag of things that are "missing" from the Python
standard library. This is mainly a dependency of my other software
packages, and is probably of little interest to you unless you use
those.
%package tests
Summary: Test for Pytools
Group: Development/Python3
Requires: %name = %version-%release
%description tests
Pytools is a big bag of things that are "missing" from the Python
standard library. This is mainly a dependency of my other software
packages, and is probably of little interest to you unless you use
those.
This package contains test for Pytools.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
PYTHONPATH=%buildroot%python3_sitelibdir py.test3
%files
%doc README.rst
%python3_sitelibdir/*
%exclude %python3_sitelibdir/%oname/test.py*
%exclude %python3_sitelibdir/%oname/__pycache__/test*
%files tests
%python3_sitelibdir/%oname/test.py*
%python3_sitelibdir/%oname/__pycache__/test*
%changelog
…
Full changelog you can see here
Name: python3-module-%oname
Version: 2017.4
Release: alt2
Summary: A collection of tools for Python
License: MIT
Group: Development/Python3
Url: http://pypi.python.org/pypi/pytools
# https://github.com/inducer/pytools.git
Source: %oname-%version.tar
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-module-appdirs python3-module-decorator
BuildPreReq: python3-module-six
BuildRequires: python3-modules-sqlite3
BuildRequires: python3-module-pytest
BuildArch: noarch
%add_python3_req_skip mpi4py.rc
%description
Pytools is a big bag of things that are "missing" from the Python
standard library. This is mainly a dependency of my other software
packages, and is probably of little interest to you unless you use
those.
%package tests
Summary: Test for Pytools
Group: Development/Python3
Requires: %name = %version-%release
%description tests
Pytools is a big bag of things that are "missing" from the Python
standard library. This is mainly a dependency of my other software
packages, and is probably of little interest to you unless you use
those.
This package contains test for Pytools.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
PYTHONPATH=%buildroot%python3_sitelibdir py.test3
%files
%doc README.rst
%python3_sitelibdir/*
%exclude %python3_sitelibdir/%oname/test.py*
%exclude %python3_sitelibdir/%oname/__pycache__/test*
%files tests
%python3_sitelibdir/%oname/test.py*
%python3_sitelibdir/%oname/__pycache__/test*
%changelog
…
Full changelog you can see here