Compare commits
10 Commits
47417e670a
...
f7c71ffec7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7c71ffec7 | ||
|
|
463f91fe31 | ||
|
|
b533d4918c | ||
|
|
9300b1f1da | ||
|
|
547348fb9c | ||
|
|
81aa868331 | ||
|
|
53677728d5 | ||
|
|
57c6ec9d13 | ||
|
|
ec0eff6e5e | ||
|
|
57cb7d619a |
12
0001-relax-dependency-on-pytest.patch
Normal file
12
0001-relax-dependency-on-pytest.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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
36
README.en.md
Normal 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
37
README.md
Normal 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.16.0.tar.gz
Normal file
BIN
pyrsistent-0.16.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-pyrsistent
|
Name: python-pyrsistent
|
||||||
Version: 0.18.1
|
Version: 0.16.0
|
||||||
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/42/ac/455fdc7294acc4d4154b904e80d964cc9aae75b087bbf486be04df9f2abd/pyrsistent-0.18.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/4d/70/fd441df751ba8b620e03fd2d2d9ca902103119616f0f6cc42e6405035062/pyrsistent-0.16.0.tar.gz
|
||||||
%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.
|
||||||
@ -28,6 +28,22 @@ BuildRequires: gcc
|
|||||||
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 python2-pyrsistent
|
||||||
|
Summary: Persistent/Functional/Immutable data structures
|
||||||
|
Provides: python-pyrsistent
|
||||||
|
# Base build requires
|
||||||
|
BuildRequires: python2-devel
|
||||||
|
BuildRequires: python2-setuptools
|
||||||
|
BuildRequires: python2-pbr
|
||||||
|
BuildRequires: python2-pip
|
||||||
|
BuildRequires: python2-wheel
|
||||||
|
BuildRequires: python2-hypothesis
|
||||||
|
BuildRequires: python2-pytest
|
||||||
|
BuildRequires: python2-six
|
||||||
|
%description -n python2-pyrsistent
|
||||||
|
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
|
%package help
|
||||||
Summary: Persistent/Functional/Immutable data structures
|
Summary: Persistent/Functional/Immutable data structures
|
||||||
Provides: python3-pyrsistent-doc
|
Provides: python3-pyrsistent-doc
|
||||||
@ -37,12 +53,14 @@ Pyrsistent is a number of persistent collections (by some referred to as functio
|
|||||||
the sense that they are immutable.
|
the sense that they are immutable.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pyrsistent-%{version}
|
%autosetup -n pyrsistent-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%py2_build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%py2_install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
@ -74,21 +92,15 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%check
|
%check
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python3-pyrsistent -f filelist.lst
|
%files -n python3-pyrsistent
|
||||||
%dir %{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
|
|
||||||
|
%files -n python2-pyrsistent
|
||||||
|
%{python2_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
|
|
||||||
- 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
|
|
||||||
|
|
||||||
* Mon Aug 10 2020 tianwei <tianwei12@huawei.com> - 0.16.0.-1
|
* Mon Aug 10 2020 tianwei <tianwei12@huawei.com> - 0.16.0.-1
|
||||||
- Package Init
|
- Package Init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user