|
|
@@ -23,10 +23,10 @@
|
|
|
|
|
|
# package versions
|
|
|
%define V_python 2.7
|
|
|
-%define V_webpy 0.34
|
|
|
+%define V_webpy 0.38
|
|
|
%define V_cheetah 2.2.1
|
|
|
%define V_genshi 0.7
|
|
|
-%define V_html5lib 0.90
|
|
|
+%define V_html5lib 1.0b10
|
|
|
%define V_django 1.10.1
|
|
|
%define V_meld3 0.6.5
|
|
|
%define V_requests 2.11.1
|
|
|
@@ -43,13 +43,13 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL
|
|
|
Version: %{V_python}
|
|
|
-Release: 20160903
|
|
|
+Release: 20160910
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://webpy.org/static/web.py-%{V_webpy}.tar.gz
|
|
|
Source1: http://download.sourceforge.net/cheetahtemplate/Cheetah-%{V_cheetah}.tar.gz
|
|
|
Source2: http://ftp.edgewall.com/pub/genshi/Genshi-%{V_genshi}.tar.gz
|
|
|
-Source3: http://html5lib.googlecode.com/files/html5lib-%{V_html5lib}.zip
|
|
|
+Source3: https://github.com/html5lib/html5lib-python/archive/%{V_html5lib}.tar.gz
|
|
|
Source4: https://github.com/django/django/archive/%{V_django}.tar.gz
|
|
|
Source5: http://www.plope.com/software/meld3/meld3-%{V_meld3}.tar.gz
|
|
|
Source6: https://files.pythonhosted.org/packages/source/r/requests/requests-%{V_requests}.tar.gz
|
|
|
@@ -80,8 +80,8 @@ PreReq: OpenPKG, openpkg >= 20160101, python >= %{V_python}
|
|
|
}
|
|
|
prog python-www:html5lib = {
|
|
|
version = %{V_html5lib}
|
|
|
- url = http://code.google.com/p/html5lib/
|
|
|
- regex = html5lib-(__VER__)\.zip
|
|
|
+ url = https://github.com/html5lib/html5lib-python/releases
|
|
|
+ regex = (__VER__)\.tar\.gz
|
|
|
}
|
|
|
prog python-www:django = {
|
|
|
version = %{V_django}
|
|
|
@@ -138,7 +138,7 @@ PreReq: OpenPKG, openpkg >= 20160101, python >= %{V_python}
|
|
|
--root=$RPM_BUILD_ROOT \
|
|
|
--prefix=%{l_prefix}
|
|
|
) || exit $?
|
|
|
- ( cd html5lib-%{V_html5lib}
|
|
|
+ ( cd html5lib-python-%{V_html5lib}
|
|
|
PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python/site-packages \
|
|
|
%{l_prefix}/bin/python \
|
|
|
setup.py install \
|