[Python-modules-commits] [python-macholib] 06/12: switched to dh9
IOhannes m zmölnig
umlaeute at moszumanska.debian.org
Sat Oct 10 14:31:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
umlaeute pushed a commit to branch master
in repository python-macholib.
commit 3739efe6ce672f2b46dd44078e292ade21c9e466
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Mon Jul 6 16:50:19 2015 +0200
switched to dh9
---
debian/control | 20 +++++++++++++++++--
debian/control.in | 39 -------------------------------------
debian/python-macholib-doc.doc-base | 9 +++++++++
debian/python-macholib-doc.docs | 1 +
debian/python-macholib.install | 1 -
debian/python3-macholib.install | 1 -
debian/rules | 22 ++++++++++++++++-----
7 files changed, 45 insertions(+), 48 deletions(-)
diff --git a/debian/control b/debian/control
index aadede7..47970a6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
-Build-Depends: cdbs (>= 0.4.93~),
+Build-Depends:
debhelper (>= 9~),
dh-buildinfo,
python,
@@ -11,7 +11,8 @@ Build-Depends: cdbs (>= 0.4.93~),
devscripts,
dh-python,
python-setuptools,
- python3-setuptools
+ python3-setuptools,
+ python-sphinx
Standards-Version: 3.9.6
Homepage: https://bitbucket.org/ronaldoussoren/macholib
Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-macholib.git
@@ -20,6 +21,7 @@ Vcs-Browser: http://anonscm.debian.org/?p=python-modules/packages/python-macholi
Package: python-macholib
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
+Suggests: python-macholib-doc
Description: module for Mach-O header analysis and editing (Python 2 interface)
This module can be used to analyze and edit Mach-O headers, the executable
format used by Mac OS X.
@@ -33,6 +35,7 @@ Description: module for Mach-O header analysis and editing (Python 2 interface)
Package: python3-macholib
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends},
+Suggests: python-macholib-doc
Description: module for Mach-O header analysis and editing (Python 3 interface)
This module can be used to analyze and edit Mach-O headers, the executable
format used by Mac OS X.
@@ -42,3 +45,16 @@ Description: module for Mach-O header analysis and editing (Python 3 interface)
code that is platform and endian independent.
.
This package provides the Python 3.x module.
+
+Package: python-macholib-doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: module for Mach-O header analysis and editing (API documentation)
+ This module can be used to analyze and edit Mach-O headers, the executable
+ format used by Mac OS X.
+ It's typically used as a dependency analysis tool, and also to rewrite dylib
+ references in Mach-O headers to be @executable_path relative.
+ Though this tool targets a platform specific file format, it is pure Python
+ code that is platform and endian independent.
+ .
+ This package provides the documentation.
diff --git a/debian/control.in b/debian/control.in
deleted file mode 100644
index 1e473c5..0000000
--- a/debian/control.in
+++ /dev/null
@@ -1,39 +0,0 @@
-Source: python-macholib
-Section: python
-Priority: optional
-Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
-Build-Depends: @cdbs@,
- dh-python,
- python-setuptools,
- python3-setuptools
-Standards-Version: 3.9.6
-Homepage: https://bitbucket.org/ronaldoussoren/macholib
-Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-macholib.git
-Vcs-Browser: http://anonscm.debian.org/?p=python-modules/packages/python-macholib.git;a=summary
-
-Package: python-macholib
-Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
-Description: module for Mach-O header analysis and editing (Python 2 interface)
- This module can be used to analyze and edit Mach-O headers, the executable
- format used by Mac OS X.
- It's typically used as a dependency analysis tool, and also to rewrite dylib
- references in Mach-O headers to be @executable_path relative.
- Though this tool targets a platform specific file format, it is pure Python
- code that is platform and endian independent.
- .
- This package provides the Python 2.x module.
-
-Package: python3-macholib
-Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends},
-Description: module for Mach-O header analysis and editing (Python 3 interface)
- This module can be used to analyze and edit Mach-O headers, the executable
- format used by Mac OS X.
- It's typically used as a dependency analysis tool, and also to rewrite dylib
- references in Mach-O headers to be @executable_path relative.
- Though this tool targets a platform specific file format, it is pure Python
- code that is platform and endian independent.
- .
- This package provides the Python 3.x module.
diff --git a/debian/python-macholib-doc.doc-base b/debian/python-macholib-doc.doc-base
new file mode 100644
index 0000000..5fe5361
--- /dev/null
+++ b/debian/python-macholib-doc.doc-base
@@ -0,0 +1,9 @@
+Document: macholib-doc
+Title: Python macholib Documentation
+Author: Bob Ippolito & Ronald Oussoren
+Abstract: Sphinx documentation for python-macholib
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-macholib-doc/html/index.html
+Files: /usr/share/doc/python-macholib-doc/html/*
diff --git a/debian/python-macholib-doc.docs b/debian/python-macholib-doc.docs
new file mode 100644
index 0000000..6d28621
--- /dev/null
+++ b/debian/python-macholib-doc.docs
@@ -0,0 +1 @@
+build/html
diff --git a/debian/python-macholib.install b/debian/python-macholib.install
deleted file mode 100644
index b2cc136..0000000
--- a/debian/python-macholib.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python2*
diff --git a/debian/python3-macholib.install b/debian/python3-macholib.install
deleted file mode 100644
index 4606faa..0000000
--- a/debian/python3-macholib.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/python3*
diff --git a/debian/rules b/debian/rules
index 50465af..f219cd8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,21 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+export PYBUILD_NAME=macholib
+export http_proxy = http://127.0.0.1:9
+export https_proxy = https://127.0.0.1:9
-include /usr/share/cdbs/1/rules/utils.mk
+%:
+ dh $@ --buildsystem=pybuild --with python2,python3,sphinxdoc
-clean::
- rm -rf *.egg-info/
+override_dh_auto_build:
+ dh_auto_build
+ sphinx-build -bhtml doc build/html
+
+override_dh_clean:
+ dh_clean
+ rm -rf $(CURDIR)/*.egg-info/
+ rm -rf $(CURDIR)/build
+
+override_dh_sphinxdoc:
+ dh_sphinxdoc
+ find debian/python-macholib-doc -name license.txt -delete
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-macholib.git
More information about the Python-modules-commits
mailing list