[Python-modules-commits] [python-repoze.lru] 04/05: debian/rules: cleanup

Takaki Taniguchi takaki at moszumanska.debian.org
Wed Nov 25 14:30:26 UTC 2015


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

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

commit 6400ff8765debc8d73359f2881e6adf573f34351
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date:   Wed Nov 25 23:25:58 2015 +0900

    debian/rules: cleanup
---
 debian/docs                       |  1 +
 debian/python-repoze.lru.install  |  1 -
 debian/python3-repoze.lru.install |  1 -
 debian/rules                      | 41 ++++++++++++++++++++-------------------
 4 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/debian/docs b/debian/docs
index 58d6a20..500b058 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,2 +1,3 @@
+CHANGES.txt
 COPYRIGHT.txt
 README.txt
diff --git a/debian/python-repoze.lru.install b/debian/python-repoze.lru.install
deleted file mode 100644
index dbdb301..0000000
--- a/debian/python-repoze.lru.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/python2*
diff --git a/debian/python3-repoze.lru.install b/debian/python3-repoze.lru.install
deleted file mode 100644
index fef6392..0000000
--- a/debian/python3-repoze.lru.install
+++ /dev/null
@@ -1 +0,0 @@
-/usr/lib/python3*
diff --git a/debian/rules b/debian/rules
index 86c991a..534c5e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,29 +1,30 @@
 #!/usr/bin/make -f
 
-PYTHON2:=$(shell pyversions -r)
-PYTHON3:=$(shell py3versions -r)
-py3sdo=set -e; $(foreach py, $(PYTHON3), $(py) $(1);)
-pyalldo=set -e; $(foreach py, $(PYTHON2) $(PYTHON3), $(py) $(1);)
+#PYTHON2:=$(shell pyversions -r)
+#PYTHON3:=$(shell py3versions -r)
+#py3sdo=set -e; $(foreach py, $(PYTHON3), $(py) $(1);)
+#pyalldo=set -e; $(foreach py, $(PYTHON2) $(PYTHON3), $(py) $(1);)
 
+export PYBUILD_NAME=repoze.lru
 %:
-	dh $@ --with python2,python3
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
-override_dh_auto_build:
-	dh_auto_build
-	$(call py3sdo, setup.py build)
+#override_dh_auto_build:
+#	dh_auto_build
+#	$(call py3sdo, setup.py build)
 
-override_dh_auto_install:
-	dh_auto_install
-	$(call py3sdo, setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb)
+#override_dh_auto_install:
+#	dh_auto_install
+#	$(call py3sdo, setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb)
 
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -rf build *.egg-info
+#override_dh_auto_clean:
+#	dh_auto_clean
+#	rm -rf build *.egg-info
 
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-override_dh_auto_test:
-	$(call pyalldo, setup.py test)
-endif
+#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+#override_dh_auto_test:
+#	$(call pyalldo, setup.py test)
+#endif
 
-override_dh_installchangelogs:
-	dh_installchangelogs CHANGES.txt
+#override_dh_installchangelogs:
+#	dh_installchangelogs CHANGES.txt

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



More information about the Python-modules-commits mailing list