Group :: Development/Python3
RPM: python3-module-snuggs
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname snuggs
%def_with check
Name: python3-module-%oname
Version: 1.4.7
Release: alt2
Summary: Snuggs are s-expressions for Numpy
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/snuggs
# https://github.com/mapbox/snuggs.git
Source: %name-%version.tar
Patch: snuggs-fix-test-failures.patch
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3(hypothesis)
BuildRequires: python3(numpy)
BuildRequires: python3(pyparsing)
BuildRequires: python3(pytest)
%endif
%description
Snuggs are s-expressions for Numpy.
%prep
%setup
%patch -p1
%build
%python3_build_debug
%install
%python3_install
%check
py.test3 -vv
%files
%doc *.txt *.rst
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/
%python3_sitelibdir/%oname/__init__.py
%python3_sitelibdir/%oname/__pycache__/__init__.cpython-*.py*
%changelog
…
Full changelog you can see here
%define oname snuggs
%def_with check
Name: python3-module-%oname
Version: 1.4.7
Release: alt2
Summary: Snuggs are s-expressions for Numpy
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/snuggs
# https://github.com/mapbox/snuggs.git
Source: %name-%version.tar
Patch: snuggs-fix-test-failures.patch
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: python3(hypothesis)
BuildRequires: python3(numpy)
BuildRequires: python3(pyparsing)
BuildRequires: python3(pytest)
%endif
%description
Snuggs are s-expressions for Numpy.
%prep
%setup
%patch -p1
%build
%python3_build_debug
%install
%python3_install
%check
py.test3 -vv
%files
%doc *.txt *.rst
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/
%python3_sitelibdir/%oname/__init__.py
%python3_sitelibdir/%oname/__pycache__/__init__.cpython-*.py*
%changelog
…
Full changelog you can see here