Group :: Development/Python3
RPM: python3-module-cyrand
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname cyrand
Name: python3-module-%oname
Version: 0.3
Release: alt3.git.20150228
Summary: Wrapper to Boost random numbers
License: Free
Group: Development/Python3
Url: https://pypi.python.org/pypi/cyrand/
# https://github.com/andrewcron/cyrand.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: boost-devel-headers boost-python3-devel
BuildRequires: gcc-c++ libnumpy-py3-devel
BuildRequires: python3-module-Cython python3-module-numpy-testing
%py3_provides %oname
%py3_requires numpy scipy matplotlib
%description
This is simply a set of cython definitions for the Boost TR1 Random
sampling library.
%prep
%setup
sed -i "s| at IS3 at |%{python_version_nodots python3}|" setup.py
ln -s $(%__python3 -c 'import numpy; \
print(numpy.get_include() + "/numpy-py3")') numpy
%build
%python3_build_debug
%install
%python3_install
%files
%doc *.rst example
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui
%define oname cyrand
Name: python3-module-%oname
Version: 0.3
Release: alt3.git.20150228
Summary: Wrapper to Boost random numbers
License: Free
Group: Development/Python3
Url: https://pypi.python.org/pypi/cyrand/
# https://github.com/andrewcron/cyrand.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: boost-devel-headers boost-python3-devel
BuildRequires: gcc-c++ libnumpy-py3-devel
BuildRequires: python3-module-Cython python3-module-numpy-testing
%py3_provides %oname
%py3_requires numpy scipy matplotlib
%description
This is simply a set of cython definitions for the Boost TR1 Random
sampling library.
%prep
%setup
sed -i "s| at IS3 at |%{python_version_nodots python3}|" setup.py
ln -s $(%__python3 -c 'import numpy; \
print(numpy.get_include() + "/numpy-py3")') numpy
%build
%python3_build_debug
%install
%python3_install
%files
%doc *.rst example
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui