commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9563 - in trunk/gnue-common: . packaging/debian


From: reinhard
Subject: [gnue] r9563 - in trunk/gnue-common: . packaging/debian
Date: Wed, 9 May 2007 12:24:27 -0500 (CDT)

Author: reinhard
Date: 2007-05-09 12:24:26 -0500 (Wed, 09 May 2007)
New Revision: 9563

Modified:
   trunk/gnue-common/INSTALL
   trunk/gnue-common/packaging/debian/rules
Log:
Updates for Debian packaging.


Modified: trunk/gnue-common/INSTALL
===================================================================
--- trunk/gnue-common/INSTALL   2007-05-09 15:26:30 UTC (rev 9562)
+++ trunk/gnue-common/INSTALL   2007-05-09 17:24:26 UTC (rev 9563)
@@ -26,7 +26,7 @@
     (you have to add "PYTHONPATH=~/gnue/lib/python" to your .profile)
 
   for packagers we recommend (POSIX only)
-  ./setup.py install --prefix=/usr --install-lib=/usr/lib/gnue --root=...
+  ./setup.py install --prefix=/usr --root=...
 
   for help:
   ./setup.py install --help

Modified: trunk/gnue-common/packaging/debian/rules
===================================================================
--- trunk/gnue-common/packaging/debian/rules    2007-05-09 15:26:30 UTC (rev 
9562)
+++ trunk/gnue-common/packaging/debian/rules    2007-05-09 17:24:26 UTC (rev 
9563)
@@ -5,7 +5,18 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+DEB_PYTHON_SYSTEM = pysupport
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
 
-DEB_PYTHON_INSTALL_ARGS_ALL += --prefix=/usr --install-lib=/usr/lib/gnue/python
+# We only want to see error messages in the output.
+DEB_PYTHON_SETUP_CMD += --quiet
+
+# Prevent build_scripts from adding Python version number to shebang-line
+# (Either I don't understand something, or this is a point where CDDB doesn't
+# conform to the Python policy).
+DEB_PYTHON_BUILD_ARGS += --executable=/usr/bin/python
+
+# Explicitly set --prefix to avoid setup.cfg.
+DEB_PYTHON_INSTALL_ARGS_ALL += --prefix=/usr





reply via email to

[Prev in Thread] Current Thread [Next in Thread]