From a795d0c19012d1a71b7edad41de068a6b4020223 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Thu, 30 May 2013 04:57:06 +0900 Subject: initial debian files --- debian/rules | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..dc97b46 --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f +# Uncomment this to turn on verbose mode. +#DH_VERBOSE=1 + +%: + dh $@ --with python2 --buildsystem=python_distutils + +build-python%: + python$* setup.py build_sqlcipher + +install-python%: + python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb + + +override_dh_auto_clean: + dh_auto_clean + rm -rf build + rm -rf docs/_build + rm -rf *.egg-info -- cgit v1.2.3 From 13ea8f4baa6c119f0a49bb8d9251b3baac4f4ec5 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Thu, 30 May 2013 05:07:42 +0900 Subject: fix rules --- debian/rules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index dc97b46..6d7b1af 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ install-python%: override_dh_auto_clean: - dh_auto_clean - rm -rf build - rm -rf docs/_build - rm -rf *.egg-info + dh_auto_clean + rm -rf build + rm -rf docs/_build + rm -rf *.egg-info -- cgit v1.2.3 From 06d4243b3ecf03add6cf0012686cda014ef9581d Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Thu, 30 May 2013 05:35:28 +0900 Subject: going native --- debian/rules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 6d7b1af..db8924e 100755 --- a/debian/rules +++ b/debian/rules @@ -5,12 +5,12 @@ %: dh $@ --with python2 --buildsystem=python_distutils -build-python%: +override_dh_auto_build: python$* setup.py build_sqlcipher -install-python%: - python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb - +override_dh_auto_install: + python$* setup.py install --skip-build --root=debian/python-sqlcipher \ + --install-layout=deb override_dh_auto_clean: dh_auto_clean -- cgit v1.2.3 From c7c1dc1fbc66aace6c561fce9080fba79dd04e56 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Thu, 30 May 2013 05:46:50 +0900 Subject: add build step, we were missing python files --- debian/rules | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index db8924e..4928b4f 100755 --- a/debian/rules +++ b/debian/rules @@ -7,6 +7,7 @@ override_dh_auto_build: python$* setup.py build_sqlcipher + python$* setup.py build override_dh_auto_install: python$* setup.py install --skip-build --root=debian/python-sqlcipher \ -- cgit v1.2.3 From d38bb9b099e9783e1bddb6ddf265e8de96a849f6 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 31 May 2013 01:04:20 +0900 Subject: do not use amalgamation builder --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 4928b4f..401e052 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ override_dh_auto_build: python$* setup.py build_sqlcipher - python$* setup.py build + python$* setup.py build_py override_dh_auto_install: python$* setup.py install --skip-build --root=debian/python-sqlcipher \ -- cgit v1.2.3 From 395787d20208c439797855313cc9bbb7fb76784a Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 4 Jun 2013 15:46:34 -0400 Subject: fix for backporting to wheezy: E: dh_python2:145: extension for python2.6 is missing. Build extensions for all supported Python versions --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 401e052..2d9c8f3 100755 --- a/debian/rules +++ b/debian/rules @@ -13,6 +13,9 @@ override_dh_auto_install: python$* setup.py install --skip-build --root=debian/python-sqlcipher \ --install-layout=deb +override_dh_python2: + dh_python2 --no-guessing-versions + override_dh_auto_clean: dh_auto_clean rm -rf build -- cgit v1.2.3