]> git.pld-linux.org Git - packages/python-pytest.git/commitdiff
- pl for python3-; setuptools in optional at runtime
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 Mar 2013 12:39:58 +0000 (13:39 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 Mar 2013 12:39:58 +0000 (13:39 +0100)
python-pytest.spec

index 06169f74d5beee2b427024e0def948c5af026a28..16eeca84342362ee587ebbf823c18e9ffb7cd3c9 100644 (file)
@@ -25,9 +25,9 @@ BuildRequires:        sphinx-pdg >= 1.0
 %endif
 %if %{with python3}
 BuildRequires: python3-devel
+BuildRequires: python3-distribute
 BuildRequires: python3-modules
 BuildRequires: python3-py >= %{pylib_version}
-BuildRequires: python3-setuptools
 %endif
 Requires:      python-py >= %{pylib_version}
 BuildArch:     noarch
@@ -41,13 +41,18 @@ py.test to proste i popularne narzędzie testujące dla Pythona.
 
 %package -n python3-pytest
 Summary:       Simple powerful testing with Python
+Summary(pl.UTF-8):     Proste, ale funkcjonalne narzędzie testujące dla Pythona
 Group:         Development/Languages
 Requires:      python3-py >= %{pylib_version}
-Requires:      python3-setuptools
+Suggests:      python3-setuptools
 
 %description -n python3-pytest
 py.test provides simple, yet powerful testing for Python.
 
+%description -n python3-pytest -l pl.UTF-8
+py.test to proste, ale bardzo funkcjonalne narzędzie testujące dla
+Pythona.
+
 %prep
 %setup -q -n %{module}-%{version}
 
@@ -109,8 +114,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc CHANGELOG LICENSE README.txt %{?with_doc:_htmldocs/html}
 %attr(755,root,root) %{_bindir}/py.test-%{py3_ver}
-%{py3_sitescriptdir}/%{module}.py
+%{py3_sitescriptdir}/pytest.py
 %{py3_sitescriptdir}/_pytest
-%{py3_sitescriptdir}/__pycache__/%{module}.*.py[co]
+%{py3_sitescriptdir}/__pycache__/pytest.*.py[co]
 %{py3_sitescriptdir}/pytest-%{version}-py*.egg-info
 %endif
This page took 0.098389 seconds and 4 git commands to generate.