]> git.pld-linux.org Git - packages/python3-pyrsistent.git/blame - python3-pyrsistent.spec
- up to 0.18.0
[packages/python3-pyrsistent.git] / python3-pyrsistent.spec
CommitLineData
3de0d82c
JB
1#
2# Conditional build:
3%bcond_without tests # unit tests
4
5%define module pyrsistent
6Summary: Persistent/Functional/Immutable data structures
7Summary(pl.UTF-8): Trwałe/funkcyjne/niezmienne struktury danych
8Name: python3-pyrsistent
2d1fe592
JR
9Version: 0.18.0
10Release: 1
3de0d82c
JB
11License: MIT
12Group: Libraries/Python
13#Source0Download: https://pypi.org/simple/pyrsistent/
14Source0: https://files.pythonhosted.org/packages/source/p/pyrsistent/%{module}-%{version}.tar.gz
2d1fe592 15# Source0-md5: 1b335355d3eb40d0870988a1a41894b3
3de0d82c
JB
16URL: http://github.com/tobgu/pyrsistent/
17BuildRequires: python3-devel >= 1:3.5
18BuildRequires: python3-setuptools
19%if %{with tests}
20BuildRequires: python3-hypothesis
2d1fe592 21BuildRequires: python3-pytest
3de0d82c
JB
22BuildRequires: python3-six
23%endif
24BuildRequires: rpm-pythonprov
25BuildRequires: rpmbuild(macros) >= 1.714
26Requires: python3-modules >= 1:3.5
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Pyrsistent is a number of persistent collections (by some referred to
31as functional data structures). Persistent in the sense that they are
32immutable.
33
34%description -l pl.UTF-8
35Pyrsistent to zbiór trwałych kolekcji (nazywanych także funkcyjnymi
36strukturami danych). Są trwałe w tym sensie, że są niezmienne.
37
38%prep
39%setup -q -n %{module}-%{version}
40
41# Remove bundled egg-info
42%{__rm} -r %{module}.egg-info
43
44%build
45%py3_build
46
47%if %{with tests}
48%{__python3} -m pytest tests
49%endif
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%py3_install
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
2d1fe592 61%doc CHANGES.txt README.rst
3de0d82c
JB
62%attr(755,root,root) %{py3_sitedir}/pvectorc.cpython-*.so
63%{py3_sitedir}/_pyrsistent_version.py
64%{py3_sitedir}/__pycache__/_pyrsistent_version.cpython-*.py[co]
65%{py3_sitedir}/pyrsistent
66%{py3_sitedir}/pyrsistent-%{version}-py*.egg-info
This page took 0.096799 seconds and 4 git commands to generate.