Compare commits

..

No commits in common. "547348fb9c1981a3708d3791fcf05f60b7b021b6" and "41ddd9af11b659335e7b719fb89fac5bfa974302" have entirely different histories.

7 changed files with 95 additions and 39 deletions

View File

@ -0,0 +1,13 @@
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,

View File

@ -1,12 +0,0 @@
diff -Nur a/setup.py b/setup.py
--- a/setup.py 2022-11-03 08:32:09.000000000 +0800
+++ b/setup.py 2023-01-17 19:17:14.758046670 +0800
@@ -75,7 +75,7 @@
'Programming Language :: Python :: Implementation :: PyPy',
],
test_suite='tests',
- tests_require=['pytest<7', 'hypothesis<7'],
+ tests_require=['pytest', 'hypothesis<7'],
scripts=[],
setup_requires=pytest_runner,
ext_modules=extensions,

36
README.en.md Normal file
View File

@ -0,0 +1,36 @@
# python-pyrsistent
#### Description
Pyrsistent is a number of persistent collections(by some referred to as functional data structures).
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

37
README.md Normal file
View File

@ -0,0 +1,37 @@
# python-pyrsistent
#### 介绍
Pyrsistent is a number of persistent collections(by some referred to as functional data structures).
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

BIN
pyrsistent-0.17.3.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,32 +1,28 @@
%global _empty_manifest_terminate_build 0
Name: python-pyrsistent
Version: 0.19.3
Version: 0.17.3
Release: 1
Summary: Persistent/Functional/Immutable data structures
License: MIT
URL: http://github.com/tobgu/pyrsistent/
Source0: https://files.pythonhosted.org/packages/bf/90/445a7dbd275c654c268f47fa9452152709134f61f09605cf776407055a89/pyrsistent-0.19.3.tar.gz
Patch0: 0001-relax-dependency-on-pytest.patch
Source0: https://files.pythonhosted.org/packages/4d/70/fd441df751ba8b620e03fd2d2d9ca902103119616f0f6cc42e6405035062/pyrsistent-0.17.3.tar.gz
Patch0: 00-relax-dependencies.patch
%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.
%package -n python3-pyrsistent
Summary: Persistent/Functional/Immutable data structures
Provides: python-pyrsistent
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hypothesis
BuildRequires: python3-pytest
BuildRequires: python3-pytest-runner
BuildRequires: python3-six
BuildRequires: gcc
%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.
%package help
@ -34,18 +30,18 @@ Summary: Persistent/Functional/Immutable data structures
Provides: python3-pyrsistent-doc
BuildArch: noarch
%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.
%prep
%autosetup -n pyrsistent-%{version} -p1
%autosetup -n pyrsistent-0.17.3 -p1
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -78,25 +74,11 @@ mv %{buildroot}/doclist.lst .
%files -n python3-pyrsistent -f filelist.lst
%dir %{python3_sitearch}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Thu Feb 9 2023 wubijie <wubijie@kylinos.cn> - 0.19.3-1
- Update package to version 0.19.3
* Tue Jan 17 2023 liyanan <liyanan32@h-partners.com> - 0.19.2-2
- relax dependency on pytest
* Tue Dec 06 2022 dingdingaaaaa <dingziwei@kylinos.cn> - 0.19.2-1
- update version to 0.19.2
* 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
- update version to 0.18.0
* Mon Aug 09 2021 OpenStack_SIG <openstack@openeuler.org> - 0.17.3-1
- Update version to 0.17.3