[packages/python-ply] - updated to 3.11
qboosh
qboosh at pld-linux.org
Mon Jul 23 21:18:55 CEST 2018
commit e2e08d814f8cf1779c929907380065274f89e044
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jul 23 21:20:53 2018 +0200
- updated to 3.11
python-ply.spec | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/python-ply.spec b/python-ply.spec
index fb41d00..3f85ef3 100644
--- a/python-ply.spec
+++ b/python-ply.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # unit/functional tests
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
#
@@ -8,16 +8,16 @@
Summary: Python 2 Lex-Yacc
Summary(pl.UTF-8): lex i yacc dla Pythona 2
Name: python-%{module}
-Version: 3.10
-Release: 2
+Version: 3.11
+Release: 1
License: BSD
Group: Libraries/Python
Source0: http://www.dabeaz.com/ply/ply-%{version}.tar.gz
-# Source0-md5: 1d63c166ab250bab87d8dcc42dcca70e
+# Source0-md5: 6465f602e656455affcd7c5734c638f8
URL: http://www.dabeaz.com/ply/
BuildRequires: rpmbuild(macros) >= 1.714
%if %{with python3}
-BuildRequires: python >= 2.2.1
+BuildRequires: python >= 1:2.7
%if %{with tests}
BuildRequires: python-setuptools
%endif
@@ -28,7 +28,7 @@ BuildRequires: python3 >= 1:3.2
BuildRequires: python3-setuptools
%endif
%endif
-Requires: python-modules
+Requires: python-modules >= 1:2.7
Obsoletes: ply
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -136,10 +136,8 @@ rm -rf $RPM_BUILD_ROOT
%doc ANNOUNCE CHANGES README.md TODO doc/*.html
%dir %{py_sitescriptdir}/ply
%{py_sitescriptdir}/ply/*.py[co]
-%if "%{py_ver}" >= "2.5"
%{py_sitescriptdir}/ply-%{version}-py*.egg-info
%endif
-%endif
%if %{with python3}
%files -n python3-%{module}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ply.git/commitdiff/e2e08d814f8cf1779c929907380065274f89e044
More information about the pld-cvs-commit
mailing list