From 6bcf549bef3426a5fa9484bc0c65ce80b373964f Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 14 Oct 2020 19:56:42 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/python-pyrsistent#2e155f7fcfe35a3b3a9944a9c3bae2bbf1a6689d --- .gitignore | 15 ++++ 00-relax-dependencies.patch | 13 +++ python-pyrsistent.spec | 156 ++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 185 insertions(+) create mode 100644 00-relax-dependencies.patch create mode 100644 python-pyrsistent.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..7b67449 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,15 @@ +/results_* +/*.src.rpm + +/pyrsistent-0.14.2.tar.gz +/pyrsistent-0.14.9.tar.gz +/pyrsistent-0.14.11.tar.gz +/pyrsistent-0.15.1.tar.gz +/pyrsistent-0.15.2.tar.gz +/pyrsistent-0.15.3.tar.gz +/pyrsistent-0.15.4.tar.gz +/pyrsistent-0.15.5.tar.gz +/pyrsistent-0.15.6.tar.gz +/pyrsistent-0.15.7.tar.gz +/pyrsistent-0.16.0.tar.gz +/pyrsistent-0.17.3.tar.gz diff --git a/00-relax-dependencies.patch b/00-relax-dependencies.patch new file mode 100644 index 0000000..5fe6ea8 --- /dev/null +++ b/00-relax-dependencies.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index 931800f..49c1521 100644 +--- a/setup.py ++++ b/setup.py +@@ -70,7 +70,7 @@ setup( + 'Programming Language :: Python :: Implementation :: PyPy', + ], + test_suite='tests', +- tests_require=['pytest<5', 'hypothesis<5'], ++ tests_require=['pytest', 'hypothesis'], + scripts=[], + setup_requires=pytest_runner, + ext_modules=extensions, diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec new file mode 100644 index 0000000..a2b54d4 --- /dev/null +++ b/python-pyrsistent.spec @@ -0,0 +1,156 @@ +%global pypi_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.} + +Name: python-%{pypi_name} +Summary: Persistent/Functional/Immutable data structures +Version: 0.17.3 +Release: 1%{?dist} +License: MIT + +URL: http://github.com/tobgu/pyrsistent/ +Source0: %{pypi_source} + +# relax dependencies specified in setup.py +Patch0: 00-relax-dependencies.patch + +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} + + +%prep +%autosetup -n %{pypi_name}-%{version} -p1 + +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + + +%build +%py3_build + + +%install +%py3_install + + +%check +%{__python3} setup.py test + + +%files -n python3-%{pypi_name} +%doc README.rst +%license LICENCE.mit + +%{python3_sitearch}/_pyrsistent_version.py +%{python3_sitearch}/__pycache__/* + +%{python3_sitearch}/%{pypi_name}/ +%{python3_sitearch}/pvectorc.cpython-3*.so +%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ + + +%changelog +* Sun Sep 27 2020 José Lemos Neto - 0.17.3-1 +- update to version 0.17.3 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.16.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun May 24 2020 Miro Hrončok - 0.16.0-2 +- Rebuilt for Python 3.9 + +* Tue Apr 14 2020 Fabio Valentini - 0.16.0-1 +- Update to version 0.16.0. + +* Thu Jan 30 2020 Fedora Release Engineering - 0.15.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jan 10 2020 Fabio Valentini - 0.15.7-1 +- Update to version 0.15.7. + +* Sun Nov 24 2019 Fabio Valentini - 0.15.6-1 +- Update to version 0.15.6. + +* Thu Oct 31 2019 Fabio Valentini - 0.15.5-1 +- Update to version 0.15.5. + +* Thu Oct 03 2019 Miro Hrončok - 0.15.4-3 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Sat Aug 17 2019 Miro Hrončok - 0.15.4-2 +- Rebuilt for Python 3.8 + +* Fri Aug 02 2019 Fabio Valentini - 0.15.4-1 +- Update to version 0.15.4. + +* Fri Jul 26 2019 Fedora Release Engineering - 0.15.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Jul 08 2019 Fabio Valentini - 0.15.3-1 +- Update to version 0.15.3. + +* Fri May 17 2019 Fabio Valentini - 0.15.2-1 +- Update to version 0.15.2. + +* Fri Apr 26 2019 Fabio Valentini - 0.15.1-1 +- Update to version 0.15.1. + +* Fri Feb 22 2019 Fabio Valentini - 0.14.11-1 +- Update to version 0.14.11. + +* Sat Feb 02 2019 Fedora Release Engineering - 0.14.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 14 2019 Fabio Valentini - 0.14.9-1 +- Update to version 0.14.9. +- Enable the test suite. + +* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek - 0.14.2-6 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Jul 14 2018 Fedora Release Engineering - 0.14.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.14.2-4 +- Rebuilt for Python 3.7 + +* Mon Apr 16 2018 Itamar Reis Peixoto - 0.14.2-3 +- add missing dist-tag + +* Fri Apr 13 2018 Itamar Reis Peixoto - 0.14.2-2 +- disable tests for now + +* Thu Mar 01 2018 Itamar Reis Peixoto - 0.14.2-1 +- new version 0.14.2 + +* Wed Sep 14 2016 Devrim Gündüz 0.11.13-2 +- Fix packaging errors, that would own /usr/lib64 or so. + +* Tue Sep 13 2016 Devrim Gündüz 0.11.13-1 +- Initial packaging for PostgreSQL YUM repository, to satisfy + pgadmin4 dependency. + diff --git a/sources b/sources new file mode 100644 index 0000000..5626bdd --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pyrsistent-0.17.3.tar.gz) = 6e6129666801dd872938ed02b043e7b3447f400e261906dedf474872145c603a20ea6fada72eba320ab016064098032a62a9918db49d7f344d52f158b5914f47