Update package pyrsistent of version 0.18.1

This commit is contained in:
han-guangyu 2022-05-16 06:34:10 +00:00
parent 89421b7286
commit 3c302913af
4 changed files with 14 additions and 24 deletions

View File

@ -1,13 +0,0 @@
diff --git a/setup.py b/setup.py
index 8febb2d..29c52d0 100644
--- a/setup.py
+++ b/setup.py
@@ -71,7 +71,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,

Binary file not shown.

BIN
pyrsistent-0.18.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,30 +1,31 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-pyrsistent Name: python-pyrsistent
Version: 0.18.0 Version: 0.18.1
Release: 1 Release: 1
Summary: Persistent/Functional/Immutable data structures Summary: Persistent/Functional/Immutable data structures
License: MIT License: MIT
URL: http://github.com/tobgu/pyrsistent/ URL: http://github.com/tobgu/pyrsistent/
Source0: https://files.pythonhosted.org/packages/4d/70/fd441df751ba8b620e03fd2d2d9ca902103119616f0f6cc42e6405035062/pyrsistent-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/42/ac/455fdc7294acc4d4154b904e80d964cc9aae75b087bbf486be04df9f2abd/pyrsistent-0.18.1.tar.gz
Patch0: 00-relax-dependencies.patch
%description %description
Pyrsistent is a number of persistent collections (by some referred to as functional data structures). Persistent in Pyrsistent is a number of persistent collections (by some referred to as functional data structures). Persistent in
the sense that they are immutable. the sense that they are immutable.
%package -n python3-pyrsistent %package -n python3-pyrsistent
Summary: Persistent/Functional/Immutable data structures Summary: Persistent/Functional/Immutable data structures
Provides: python-pyrsistent Provides: python-pyrsistent
# Base build requires
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hypothesis BuildRequires: python3-hypothesis
BuildRequires: python3-pytest BuildRequires: python3-pytest
BuildRequires: python3-pytest-runner BuildRequires: python3-pytest-runner
BuildRequires: python3-six BuildRequires: python3-six
BuildRequires: gcc BuildRequires: gcc
%description -n python3-pyrsistent %description -n python3-pyrsistent
Pyrsistent is a number of persistent collections (by some referred to as functional data structures). Persistent in Pyrsistent is a number of persistent collections (by some referred to as functional data structures). Persistent in
the sense that they are immutable. the sense that they are immutable.
%package help %package help
@ -32,18 +33,18 @@ Summary: Persistent/Functional/Immutable data structures
Provides: python3-pyrsistent-doc Provides: python3-pyrsistent-doc
BuildArch: noarch BuildArch: noarch
%description help %description help
Pyrsistent is a number of persistent collections (by some referred to as functional data structures). Persistent in Pyrsistent is a number of persistent collections (by some referred to as functional data structures). Persistent in
the sense that they are immutable. the sense that they are immutable.
%prep %prep
%autosetup -n pyrsistent-%{version} -p1 %autosetup -n pyrsistent-%{version}
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -76,11 +77,13 @@ mv %{buildroot}/doclist.lst .
%files -n python3-pyrsistent -f filelist.lst %files -n python3-pyrsistent -f filelist.lst
%dir %{python3_sitearch}/* %dir %{python3_sitearch}/*
%files help -f doclist.lst %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon May 16 2022 OpenStack_SIG <openstack@openeuler.org> - 0.18.1-1
- Upgrade package python3-pyrsistent to version 0.18.1
* Thu Aug 26 2021 orange-snn <songnannan2@huawei.com> - 0.18.0-1 * Thu Aug 26 2021 orange-snn <songnannan2@huawei.com> - 0.18.0-1
- update version to 0.18.0 - update version to 0.18.0