[Python-modules-commits] r3112 - /packages/petsc4py/trunk/debian/rules
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Tue Aug 28 10:28:21 UTC 2007
Author: piotr
Date: Tue Aug 28 10:28:21 2007
New Revision: 3112
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3112
Log:
no hardcoded Python versions in debian/rules
Modified:
packages/petsc4py/trunk/debian/rules
Modified: packages/petsc4py/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/rules?rev=3112&op=diff
==============================================================================
--- packages/petsc4py/trunk/debian/rules (original)
+++ packages/petsc4py/trunk/debian/rules Tue Aug 28 10:28:21 2007
@@ -8,10 +8,7 @@
python-build-stamp-%:
cd $(DEB_SRCDIR) && PETSC_DIR=/usr/lib/petsc PETSC_ARCH=linux-gnu-c-opt python$* $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+ chrpath -d build/lib.*-$*/petsc4py/lib/linux-gnu-c-opt/_petscext.so
python-install-%:
cd $(DEB_SRCDIR) && PETSC_DIR=/usr/lib/petsc PETSC_ARCH=linux-gnu-c-opt python$* $(DEB_PYTHON_SETUP_CMD) install --root=$(DEB_DESTDIR) $(DEB_PYTHON_INSTALL_ARGS_ALL)
-
-common-install-arch::
- chrpath -d $(DEB_DESTDIR)usr/lib/python2.4/site-packages/petsc4py/lib/linux-gnu-c-opt/_petscext.so
- chrpath -d $(DEB_DESTDIR)usr/lib/python2.5/site-packages/petsc4py/lib/linux-gnu-c-opt/_petscext.so
More information about the Python-modules-commits
mailing list