[packages/python-pyrsistent] new, version 0.9.1

glen glen at pld-linux.org
Sat May 23 13:10:04 CEST 2015


commit 6433de4f00f745185792d3a771e90de83fd990fc
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat May 23 14:09:09 2015 +0300

    new, version 0.9.1
    
    Created by pyp2rpm-1.1.2

 python-pyrsistent.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec
new file mode 100644
index 0000000..e7a2c89
--- /dev/null
+++ b/python-pyrsistent.spec
@@ -0,0 +1,50 @@
+%define		module	pyrsistent
+Summary:	Persistent/Functional/Immutable data structures
+Name:		python-pyrsistent
+Version:	0.9.1
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+Source0:	https://pypi.python.org/packages/source/p/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	5c8e33ccea9507ea9fd0d64386f33931
+URL:		http://github.com/tobgu/pyrsistent/
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-six
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pyrsistent is a number of persistent collections (by some referred to
+as functional data structures). Persistent in the sense that they are
+immutable.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+# Remove bundled egg-info
+%{__rm} -r %{module}.egg-info
+
+%build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py_sitedir}/_pyrsistent_*.py[co]
+%attr(755,root,root) %{py_sitedir}/pvectorc.so
+%{py_sitedir}/pyrsistent-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyrsistent.git/commitdiff/6433de4f00f745185792d3a771e90de83fd990fc



More information about the pld-cvs-commit mailing list