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: 04-Mar-2007 12:01:00 Branch: HEAD Handle: 2007030411010000 Modified files: openpkg-src/python-net python-net.spec Log: add web.py for coming viewmtn package Summary: Revision Changes Path 1.6 +16 -1 openpkg-src/python-net/python-net.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/python-net/python-net.spec ============================================================================ $ cvs diff -u -r1.5 -r1.6 python-net.spec --- openpkg-src/python-net/python-net.spec 13 Jan 2007 08:39:05 -0000 1.5 +++ openpkg-src/python-net/python-net.spec 4 Mar 2007 11:01:00 -0000 1.6 @@ -28,6 +28,7 @@ %define V_dnspython 1.5.0 %define V_twisted_major 2.5 %define V_twisted_minor 0 +%define V_webpy 0.2 # package information Name: python-net @@ -40,12 +41,13 @@ Group: Language License: GPL Version: %{V_python} -Release: 20070113 +Release: 20070304 # list of sources Source0: http://switch.dl.sourceforge.net/pydns/pydns-%{V_pydns}.tgz Source1: http://www.dnspython.org/kits/stable/dnspython-%{V_dnspython}.tar.gz Source2: http://tmrc.mit.edu/mirror/twisted/Twisted/%{V_twisted_major}/Twisted-%{V_twisted_major}.%{V_twisted_minor}.tar.bz2 +Source3: http://webpy.org/web.py-%{V_webpy}.tar.gz Patch0: python-net.patch # build information @@ -75,11 +77,17 @@ url = http://twistedmatrix.com/trac/ regex = Twisted-(__VER__)\.tar\.bz2 } + prog python-net:webpy = { + version = %{V_webpy} + url = http://webpy.org/ + regex = web\.py-(__VER__)\.tar\.gz + } %prep %setup -q -c %setup -q -T -D -a 1 %setup -q -T -D -a 2 + %setup -q -T -D -a 3 %patch -p0 %build @@ -114,6 +122,13 @@ --root=$RPM_BUILD_ROOT \ --prefix=%{l_prefix} ) || exit $? + ( cd web.py-%{V_webpy} + 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 openpkg-cvs@openpkg.org