more packaging fixes
authorsylvain.thenault@logilab.fr
Thu, 14 May 2009 15:27:16 +0200
changeset 1822 b0ee88e8e759
parent 1821 d9d391bc8e1b
child 1823 c14231e3a4f9
more packaging fixes
debian/cubicweb-dev.install.in
debian/rules
--- a/debian/cubicweb-dev.install.in	Thu May 14 15:15:21 2009 +0200
+++ b/debian/cubicweb-dev.install.in	Thu May 14 15:27:16 2009 +0200
@@ -1,7 +1,2 @@
 debian/tmp/usr/lib/PY_VERSION/site-packages/cubicweb/devtools/ usr/lib/PY_VERSION/site-packages/cubicweb/
 debian/tmp/usr/lib/PY_VERSION/site-packages/cubicweb/skeleton/ usr/lib/PY_VERSION/site-packages/cubicweb/
-debian/tmp/usr/lib/PY_VERSION/site-packages/cubicweb/test usr/lib/PY_VERSION/site-packages/cubicweb/
-debian/tmp/usr/lib/PY_VERSION/site-packages/cubicweb/common/test usr/lib/PY_VERSION/site-packages/cubicweb/common/
-debian/tmp/usr/lib/PY_VERSION/site-packages/cubicweb/server/test usr/lib/PY_VERSION/site-packages/cubicweb/server/
-debian/tmp/usr/lib/PY_VERSION/site-packages/cubicweb/sobjects/test usr/lib/PY_VERSION/site-packages/cubicweb/sobjects/
-debian/tmp/usr/lib/PY_VERSION/site-packages/cubicweb/web/test usr/lib/PY_VERSION/site-packages/cubicweb/web/
--- a/debian/rules	Thu May 14 15:15:21 2009 +0200
+++ b/debian/rules	Thu May 14 15:27:16 2009 +0200
@@ -40,15 +40,17 @@
 	# and scripts in cubicweb-server
 	dh_install -vi
 	# cwctl in the cubicweb-ctl package
-	rm -f debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/cwctl.py
+	rm -f debian/cubicweb-common/usr/share/pyshared/cubicweb/cwctl.py
 
 	dh_lintian
 
 	# Remove unittests directory (should be available in cubicweb-dev only)
-	rm -rf debian/cubicweb-server/usr/lib/${PY_VERSION}/site-packages/cubicweb/server/test
-	rm -rf debian/cubicweb-server/usr/lib/${PY_VERSION}/site-packages/cubicweb/sobjects/test
-	rm -rf debian/cubicweb-web/usr/lib/${PY_VERSION}/site-packages/cubicweb/web/test
-	rm -rf debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/common/test
+	rm -rf debian/cubicweb-server/usr/share/pyshared/cubicweb/server/test
+	rm -rf debian/cubicweb-server/usr/share/pyshared/cubicweb/sobjects/test
+	rm -rf debian/cubicweb-dev/usr/share/pyshared/cubicweb/devtools/test
+	rm -rf debian/cubicweb-web/usr/share/pyshared/cubicweb/web/test
+	rm -rf debian/cubicweb-common/usr/share/pyshared/cubicweb/common/test
+	rm -rf debian/cubicweb-common/usr/share/pyshared/cubicweb/entities/test
 
 	# cubes directory must be managed as a valid python module
 	touch debian/cubicweb-common/usr/share/cubicweb/cubes/__init__.py