From 957e70a1bb06bf5d5364839d81418f3e24a5a6df Mon Sep 17 00:00:00 2001 From: Itamar Reis Peixoto Date: Mon, 16 Apr 2018 20:45:10 -0300 Subject: [PATCH] initial import --- .gitignore | 1 + README.md | 3 -- python-pyrsistent.spec | 89 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 91 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 python-pyrsistent.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..83fa9e2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pyrsistent-0.14.2.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 909fb8c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# python-pyrsistent - -The python-pyrsistent package \ No newline at end of file diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec new file mode 100644 index 0000000..355fb4c --- /dev/null +++ b/python-pyrsistent.spec @@ -0,0 +1,89 @@ +%global srcname pyrsistent +%global mod_name pyrsistent + +Summary: Persistent/Functional/Immutable data structures +Name: python-%{srcname} +Version: 0.14.2 +Release: 2 +License: MIT +Source0: https://files.pythonhosted.org/packages/source/p/%{mod_name}/%{mod_name}-%{version}.tar.gz +URL: http://github.com/tobgu/pyrsistent/ + +%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 python2-%{srcname} +Summary: Persistent/Functional/Immutable data structures +%{?python_provide:%python_provide python2-%{pkg_name}} +BuildRequires: python2-devel +BuildRequires: python2-six + +%description -n python2-%{srcname} +Pyrsistent is a number of persistent collections (by some referred to +as functional data structures). Persistent in the sense that they are +immutable. + +Python 2 version. + +%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 + +%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. + +Python 3 version. + +%prep +%setup -q -n %{srcname}-%{version} + +%build +%py2_build +%py3_build + +%install +%py2_install +%py3_install + +%check +#% {__python2} setup.py test +#% {__python3} setup.py test + +%files -n python2-%{srcname} +%license LICENCE.mit +%doc README.rst +%{python2_sitearch}/%{srcname} +%{python2_sitearch}/_%{srcname}_version.py* +%{python2_sitearch}/p*.so +%{python2_sitearch}/%{srcname}-%{version}-py?.?.egg-info/* + +%files -n python%{python3_pkgversion}-%{srcname} +%license LICENCE.mit +%doc README.rst +%{python3_sitearch}/__pycache__/_%{srcname}_*.pyc +%{python3_sitearch}/_%{srcname}_version.py +%{python3_sitearch}/%{srcname} +%{python3_sitearch}/%{srcname}-%{version}-py?.?.egg-info/* +%{python3_sitearch}/pvectorc.cpython*.so + + +%changelog +* 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..69d23d9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pyrsistent-0.14.2.tar.gz) = 06ae1b9d15ac72b09d2fdb80e28849a105cd6955f206472649996318c2dc9915f251d76908a913c02d5583e1e818ff456af496b13fe9b094c043cd2548b2b6d5