[Python-modules-commits] [python-macholib] 03/03: initial packaging

IOhannes m zmölnig umlaeute at moszumanska.debian.org
Thu Jul 2 20:31:01 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 d531b0aaea4c6dad534d1d769183d5a7772d2967
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Jul 2 22:25:24 2015 +0200

    initial packaging
---
 debian/changelog                |  5 +++++
 debian/compat                   |  1 +
 debian/control                  | 44 +++++++++++++++++++++++++++++++++++++++++
 debian/control.in               | 39 ++++++++++++++++++++++++++++++++++++
 debian/copyright                | 32 ++++++++++++++++++++++++++++++
 debian/gbp.conf                 |  5 +++++
 debian/python-macholib.install  |  1 +
 debian/python3-macholib.install |  1 +
 debian/rules                    |  9 +++++++++
 debian/source/local-options     |  2 ++
 debian/watch                    |  4 ++++
 11 files changed, 143 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a765a11
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-macholib (1.7~dfsg-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #790898)
+
+ -- IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>  Thu, 02 Jul 2015 19:25:29 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..aadede7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,44 @@
+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 (>= 0.4.93~),
+ debhelper (>= 9~),
+ dh-buildinfo,
+ python,
+ python3,
+ devscripts,
+ 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/control.in b/debian/control.in
new file mode 100644
index 0000000..1e473c5
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,39 @@
+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/copyright b/debian/copyright
new file mode 100644
index 0000000..feab1e9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: macholib
+Source: https://pypi.python.org/pypi/macholib/
+Files-Excluded: doc/_build/* macholib.egg-info/*
+
+Files: *
+Copyright: 2006-2009 Bob Ippolito <bob at redivi.com>
+  2008-2014 Ronald Oussoren <ronaldoussoren at mac.com>
+License: MIT
+
+Files: debian/*
+Copyright: 2015 IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..a7281f9
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,5 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
diff --git a/debian/python-macholib.install b/debian/python-macholib.install
new file mode 100644
index 0000000..b2cc136
--- /dev/null
+++ b/debian/python-macholib.install
@@ -0,0 +1 @@
+usr/lib/python2*
diff --git a/debian/python3-macholib.install b/debian/python3-macholib.install
new file mode 100644
index 0000000..4606faa
--- /dev/null
+++ b/debian/python3-macholib.install
@@ -0,0 +1 @@
+usr/lib/python3*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..50465af
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+include /usr/share/cdbs/1/rules/utils.mk
+
+clean::
+	rm -rf *.egg-info/
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..9cdfca9
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+unapply-patches
+abort-on-upstream-changes
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a9a2a32
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# process this file with uscan(1)
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+  http://pypi.debian.net/macholib/macholib-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
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