[Python-modules-commits] r2541 - in /packages/pyopengl/trunk/debian: control.in rules
shlomme at users.alioth.debian.org
shlomme at users.alioth.debian.org
Wed Jun 13 20:32:26 UTC 2007
Author: shlomme
Date: Wed Jun 13 20:32:26 2007
New Revision: 2541
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2541
Log:
* cleanup rules file
Modified:
packages/pyopengl/trunk/debian/control.in
packages/pyopengl/trunk/debian/rules
Modified: packages/pyopengl/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/python-modules/packages/pyopengl/trunk/debian/control.in?rev=2541&op=diff
==============================================================================
--- packages/pyopengl/trunk/debian/control.in (original)
+++ packages/pyopengl/trunk/debian/control.in Wed Jun 13 20:32:26 2007
@@ -9,7 +9,6 @@
XS-Python-Version: all
XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyopengl/trunk/
XS-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyopengl/trunk/
-
Package: python-opengl
Architecture: all
Modified: packages/pyopengl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pyopengl/trunk/debian/rules?rev=2541&op=diff
==============================================================================
--- packages/pyopengl/trunk/debian/rules (original)
+++ packages/pyopengl/trunk/debian/rules Wed Jun 13 20:32:26 2007
@@ -9,10 +9,9 @@
# Install egg-info directories
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
DEB_DESTDIR=debian/python-opengl
-MANIFEST=PyOpenGL.egg-info/SOURCES.txt
-UPSTREAM_VERSION=$(shell python setup.py -V 2>&1 | sed 's/\-/_/')
-PYVER=$(shell python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2)
+UPSTREAM_VERSION=$(subst ~,,${DEB_UPSTREAM_VERSION})
+PYVER=$(shell pyversions -vd)
common-binary-post-install-indep::
# where does this come from?
@@ -22,4 +21,4 @@
clean::
# hack (CDBS bug -- see #300149)
-rm -rf build
- -sed '/setup\.cfg/d' ${MANIFEST} > ${MANIFEST}.new && mv ${MANIFEST}.new ${MANIFEST}
+ -sed -i -e '/setup\.cfg/d' PyOpenGL.egg-info/SOURCES.txt
More information about the Python-modules-commits
mailing list