update to version 0.14.9, re-enable the test suite

This commit is contained in:
Fabio Valentini 2019-01-20 12:14:41 +01:00
parent 6cea11f588
commit 46eb293f54
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
3 changed files with 63 additions and 32 deletions

4
.gitignore vendored
View File

@ -1 +1,5 @@
/results_*
/*.src.rpm
/pyrsistent-0.14.2.tar.gz /pyrsistent-0.14.2.tar.gz
/pyrsistent-0.14.9.tar.gz

View File

@ -1,55 +1,81 @@
%global srcname pyrsistent %global pypi_name pyrsistent
%global mod_name pyrsistent
%global common_description %{expand:
Pyrsistent is a number of persistent collections (by some referred to as
functional data structures). Persistent in the sense that they are
immutable.
All methods on a data structure that would normally mutate it instead
return a new copy of the structure containing the requested updates. The
original structure is left untouched.}
%{?python_enable_dependency_generator}
Name: python-%{pypi_name}
Summary: Persistent/Functional/Immutable data structures Summary: Persistent/Functional/Immutable data structures
Name: python-%{srcname} Version: 0.14.9
Version: 0.14.2 Release: 1%{?dist}
Release: 6%{?dist}
License: MIT License: MIT
Source0: https://files.pythonhosted.org/packages/source/p/%{mod_name}/%{mod_name}-%{version}.tar.gz
URL: http://github.com/tobgu/pyrsistent/ URL: http://github.com/tobgu/pyrsistent/
Source0: %{pypi_source}
%description
Pyrsistent is a number of persistent collections (by some referred to
as functional data structures). Persistent in the sense that they are
immutable.
%package -n python%{python3_pkgversion}-%{srcname}
Summary: Persistent/Functional/Immutable data structures
%{?python_provide:%python_provide python%{python3_pkgversion}-%{mod_name}}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-six
BuildRequires: gcc BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: python3dist(hypothesis)
BuildRequires: python3dist(pytest)
BuildRequires: python3dist(pytest-runner)
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(six)
%description %{common_description}
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name} %{common_description}
%description -n python%{python3_pkgversion}-%{srcname}
Pyrsistent is a number of persistent collections (by some referred to
as functional data structures). Persistent in the sense that they are
immutable.
%prep %prep
%setup -q -n %{srcname}-%{version} %autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
%check
#% {__python3} setup.py test
%files -n python%{python3_pkgversion}-%{srcname} %check
%license LICENCE.mit %{__python3} setup.py test
%files -n python3-%{pypi_name}
%doc README.rst %doc README.rst
%{python3_sitearch}/__pycache__/_%{srcname}_*.pyc %license LICENCE.mit
%{python3_sitearch}/_%{srcname}_version.py
%{python3_sitearch}/%{srcname} %{python3_sitearch}/_pyrsistent_version.py
%{python3_sitearch}/%{srcname}-%{version}-py?.?.egg-info/* %{python3_sitearch}/__pycache__/*
%{python3_sitearch}/pvectorc.cpython*.so
%{python3_sitearch}/%{pypi_name}/
%{python3_sitearch}/pvectorc.cpython-3?m-*.so
%{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info
%changelog %changelog
* Mon Jan 14 2019 Fabio Valentini <decathorpe@gmail.com> - 0.14.9-1
- Update to version 0.14.9.
- Enable the test suite.
* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.14.2-6 * Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.14.2-6
- Python2 binary package has been removed - Python2 binary package has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
@ -75,3 +101,4 @@ immutable.
* Tue Sep 13 2016 Devrim Gündüz <devrim@gunduz.org> 0.11.13-1 * Tue Sep 13 2016 Devrim Gündüz <devrim@gunduz.org> 0.11.13-1
- Initial packaging for PostgreSQL YUM repository, to satisfy - Initial packaging for PostgreSQL YUM repository, to satisfy
pgadmin4 dependency. pgadmin4 dependency.

View File

@ -1 +1 @@
SHA512 (pyrsistent-0.14.2.tar.gz) = 06ae1b9d15ac72b09d2fdb80e28849a105cd6955f206472649996318c2dc9915f251d76908a913c02d5583e1e818ff456af496b13fe9b094c043cd2548b2b6d5 SHA512 (pyrsistent-0.14.9.tar.gz) = bdf36228f80ce1d018d5baadae5cfb5aa3d9fddcd5144dc644cd6e9fd8d315ecb9ec8c48a8fb9ef73b4af6fceb28f1b83020cc3b4138abb5728ba24cdbf03d8f