]> git.pld-linux.org Git - packages/python-FormEncode.git/commitdiff
- remove bogus version detection, rel 5 auto/th/python-FormEncode-1.3.1-5
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 8 Apr 2022 21:50:14 +0000 (23:50 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 8 Apr 2022 21:50:14 +0000 (23:50 +0200)
python-FormEncode.spec
versions.patch [new file with mode: 0644]

index b3b1255c93586a3b66300a76255eeece337dda05..2e8d9e3045d874b1bb30dd3792f25e3ed91077b0 100644 (file)
@@ -10,13 +10,14 @@ Summary:    HTML form validation, generation, and convertion package
 Summary(pl.UTF-8):     Moduł do walidacji, tworzenia i konwersji formularzy HTML
 Name:          python-%{module}
 Version:       1.3.1
-Release:       4
+Release:       5
 License:       PSF
 Group:         Development/Languages/Python
 #Source0Download: https://pypi.org/project/FormEncode/
 Source0:       https://files.pythonhosted.org/packages/source/F/FormEncode/%{module}-%{version}.tar.gz
 # Source0-md5: 16fbefb206064eb93a6719f054a19b3b
 Patch0:                %{name}-pycountry.patch
+Patch1:                versions.patch
 URL:           http://formencode.org/
 %if %{with python2}
 BuildRequires: python-modules >= 1:2.6
@@ -84,6 +85,7 @@ Dokumentacja API modułu Pythona FormEncode.
 %prep
 %setup -q -n %{module}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 # uses network to validate domains (with one no longer valid anyway)
 %{__rm} formencode/tests/test_email.py
diff --git a/versions.patch b/versions.patch
new file mode 100644 (file)
index 0000000..e77d2a4
--- /dev/null
@@ -0,0 +1,12 @@
+--- FormEncode-1.3.1/setup.py~ 2016-08-09 04:14:05.000000000 +0200
++++ FormEncode-1.3.1/setup.py  2022-04-08 23:45:49.466208656 +0200
+@@ -11,9 +11,6 @@
+ version = '1.3.1'
+-if not '2.6' <= sys.version < '3.0' and not '3.2' <= sys.version:
+-    raise ImportError('Python version not supported')
+-
+ tests_require = ['nose', 'pycountry',
+     'dnspython' if sys.version < '3.0' else 'dnspython3']
This page took 0.203988 seconds and 4 git commands to generate.