[Python-modules-commits] [python-kajiki] 01/04: debian/rules: Switch to pybuild

Takaki Taniguchi takaki at moszumanska.debian.org
Wed Nov 25 14:12:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

takaki pushed a commit to branch master
in repository python-kajiki.

commit 23b6d5551f86675a00de258269cee8ea2371d20f
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date:   Wed Nov 25 23:01:07 2015 +0900

    debian/rules: Switch to pybuild
---
 debian/rules | 49 ++++++++++++++++++++++++-------------------------
 1 file changed, 24 insertions(+), 25 deletions(-)

diff --git a/debian/rules b/debian/rules
index f8d2a69..cf48f8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,33 +1,32 @@
 #!/usr/bin/make -f
 
-PYTHONS:=$(shell pyversions -vr)
-PYTHON3S:=$(shell py3versions -vr)
+export PYBUILD_NAME=kajiki
 
 %:
-	dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
+	dh $@ --buildsystem=pybuild --with python2,python3,sphinxdoc
 
-override_dh_auto_install:
-	set -e && for pyvers in $(PYTHONS); do \
-		python$$pyvers setup.py install --install-layout=deb \
-			--root $(CURDIR)/debian/python-kajiki; \
-	done
-	set -e && for pyvers in $(PYTHON3S); do \
-		python$$pyvers setup.py install --install-layout=deb \
-			--root $(CURDIR)/debian/python3-kajiki; \
-	done
+#override_dh_auto_install:
+#	set -e && for pyvers in $(PYTHONS); do \
+#		python$$pyvers setup.py install --install-layout=deb \
+#			--root $(CURDIR)/debian/python-kajiki; \
+#	done
+#	set -e && for pyvers in $(PYTHON3S); do \
+#		python$$pyvers setup.py install --install-layout=deb \
+#			--root $(CURDIR)/debian/python3-kajiki; \
+#	done
 
-override_dh_clean:
-	dh_clean -O--buildsystem=python_distutils
-	rm -rf build
+#override_dh_clean:
+#	dh_clean -O--buildsystem=python_distutils
+#	rm -rf build
 
-override_dh_sphinxdoc:
-ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
-	PYTHONPATH=. sphinx-build -b html docs $(CURDIR)/debian/python-kajiki-doc/usr/share/doc/python-kajiki-doc/html
-	dh_sphinxdoc -O--buildsystem=python_distutils
-endif
+#override_dh_sphinxdoc:
+#ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+#	PYTHONPATH=. sphinx-build -b html docs $(CURDIR)/debian/python-kajiki-doc/usr/share/doc/python-kajiki-doc/html
+#	dh_sphinxdoc -O--buildsystem=python_distutils
+#endif
 
-override_dh_auto_test:
-ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
-	nosetests
-	nosetests3
-endif
+#override_dh_auto_test:
+#ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+#	nosetests
+#	nosetests3
+#endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-kajiki.git



More information about the Python-modules-commits mailing list