OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 27-Dec-2007 19:35:20
Branch: HEAD Handle: 2007122718351900
Modified files:
openpkg-src/python-www python-www.spec
Log:
add Genshi (required by Trac)
Summary:
Revision Changes Path
1.7 +16 -1 openpkg-src/python-www/python-www.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/python-www/python-www.spec
============================================================================
$ cvs diff -u -r1.6 -r1.7 python-www.spec
--- openpkg-src/python-www/python-www.spec 17 Nov 2007 09:44:34 -0000
1.6
+++ openpkg-src/python-www/python-www.spec 27 Dec 2007 18:35:19 -0000
1.7
@@ -26,6 +26,7 @@
%define V_python 2.5
%define V_webpy 0.22
%define V_cheetah 2.0.1
+%define V_genshi 0.4.4
# package information
Name: python-www
@@ -38,11 +39,12 @@
Group: Language
License: GPL
Version: %{V_python}
-Release: 20071117
+Release: 20071227
# list of sources
Source0: http://webpy.org/static/web.py-%{V_webpy}.tar.gz
Source1:
http://switch.dl.sourceforge.net/cheetahtemplate/Cheetah-%{V_cheetah}.tar.gz
+Source2: http://ftp.edgewall.com/pub/genshi/Genshi-%{V_genshi}.tar.bz2
# build information
Prefix: %{l_prefix}
@@ -66,10 +68,16 @@
url = http://prdownloads.sourceforge.net/cheetahtemplate/
regex = Cheetah-(__VER__)\.tar\.gz
}
+ prog python-www:genshi = {
+ version = %{V_genshi}
+ url = http://genshi.edgewall.org/wiki/Download
+ regex = Genshi-(__VER__)\.tar\.bz2
+ }
%prep
%setup -q -c
%setup -q -T -D -a 1
+ %setup -q -T -D -a 2
%build
@@ -89,6 +97,13 @@
--root=$RPM_BUILD_ROOT \
--prefix=%{l_prefix}
) || exit $?
+ ( cd Genshi-%{V_genshi}
+ PYTHONPATH=$RPM_BUILD_ROOT%{l_prefix}/lib/python/site-packages \
+ %{l_prefix}/bin/python \
+ setup.py install \
+ --root=$RPM_BUILD_ROOT \
+ --prefix=%{l_prefix}
+ ) || exit $?
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]