[Python-modules-commits] r381 - in
/packages/python-cherrypy/trunk/debian: changelog rules
kov at users.alioth.debian.org
kov at users.alioth.debian.org
Thu May 4 03:05:05 UTC 2006
Author: kov
Date: Thu May 4 03:05:04 2006
New Revision: 381
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=381
Log:
- use --install-lib instead of moving stuff manually
- also install tutorial and test using --install-data
Modified:
packages/python-cherrypy/trunk/debian/changelog
packages/python-cherrypy/trunk/debian/rules
Modified: packages/python-cherrypy/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-cherrypy/trunk/debian/changelog?rev=381&op=diff
==============================================================================
--- packages/python-cherrypy/trunk/debian/changelog (original)
+++ packages/python-cherrypy/trunk/debian/changelog Thu May 4 03:05:04 2006
@@ -6,8 +6,11 @@
to be run
* debian/control:
- increased Standards-Version to 3.7 with no changes
+ * debian/rules:
+ - use --install-lib instead of moving stuff manually
+ - also install tutorial and test using --install-data
- -- Gustavo Noronha Silva <kov at debian.org> Sun, 30 Apr 2006 15:10:19 -0300
+ -- Gustavo Noronha Silva <kov at debian.org> Thu, 4 May 2006 00:00:28 -0300
python-cherrypy (2.2.0-1) unstable; urgency=low
Modified: packages/python-cherrypy/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-cherrypy/trunk/debian/rules?rev=381&op=diff
==============================================================================
--- packages/python-cherrypy/trunk/debian/rules (original)
+++ packages/python-cherrypy/trunk/debian/rules Thu May 4 03:05:04 2006
@@ -9,18 +9,12 @@
UPSTREAM_VERSION=$(shell head -n 1 debian/changelog | cut -d '(' -f 2 | cut -d ')' -f 1 | cut -d '-' -f 1)
DEB_COMPRESS_EXCLUDE=.py .pdf
-DEB_PYTHON_INSTALL_ARGS_ALL = --single-version-externally-managed --no-compile -O0
+DEB_PYTHON_INSTALL_ARGS_ALL = --single-version-externally-managed --no-compile -O0 --install-lib usr/share/python-support/cherrypy --install-data usr/share/doc/python-cherrypy
PYVER=$(shell python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2)
common-binary-post-install-indep::
- rm -rf debian/python-cherrypy/usr/lib/python${PYVER}/site-packages/cherrypy/test/
- mv debian/python-cherrypy/usr/lib/python${PYVER}/site-packages/cherrypy/tutorial/ debian/python-cherrypy/usr/share/doc/python-cherrypy
- mkdir -p debian/python-cherrypy/usr/share/python-support/cherrypy/
- mv debian/python-cherrypy/usr/lib/python${PYVER}/site-packages/* debian/python-cherrypy/usr/share/python-support/cherrypy/
- rm debian/python-cherrypy/usr/share/doc/python-cherrypy/tutorial/__init__.py
mv debian/python-cherrypy/usr/share/python-support/cherrypy/CherryPy-${UPSTREAM_VERSION}-py${PYVER}.egg-info \
debian/python-cherrypy/usr/share/python-support/cherrypy/CherryPy-${UPSTREAM_VERSION}.egg-info
- rm -rf debian/python-cherrypy/usr/lib/
clean::
# hack (CDBS bug -- see #300149)
More information about the Python-modules-commits
mailing list