[Python-modules-commits] [python-altgraph] 03/03: Initial packaging

IOhannes m zmölnig umlaeute at moszumanska.debian.org
Mon Jul 6 13:41:09 UTC 2015


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

umlaeute pushed a commit to branch master
in repository python-altgraph.

commit 3cd15a5acbfa40ebd0d7dcd6256e9919ac34d8b7
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Mon Jul 6 15:36:42 2015 +0200

    Initial packaging
---
 debian/changelog                    |  5 ++++
 debian/compat                       |  1 +
 debian/control                      | 58 +++++++++++++++++++++++++++++++++++++
 debian/copyright                    | 33 +++++++++++++++++++++
 debian/gbp.conf                     |  5 ++++
 debian/python-altgraph-doc.doc-base |  9 ++++++
 debian/python-altgraph-doc.docs     |  1 +
 debian/rules                        | 25 ++++++++++++++++
 debian/source/local-options         |  2 ++
 debian/watch                        |  4 +++
 10 files changed, 143 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8a84ac0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-altgraph (0.12~dfsg-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #790904)
+
+ -- 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..cee9433
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,58 @@
+Source: python-altgraph
+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: debhelper (>= 9~),
+ dh-buildinfo,
+ python,
+ python3,
+ devscripts,
+ dh-python,
+ python-sphinx,
+ python-setuptools,
+ python3-setuptools
+Standards-Version: 3.9.6
+Homepage: https://bitbucket.org/ronaldoussoren/altgraph
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-altgraph.git
+Vcs-Browser: http://anonscm.debian.org/?p=python-modules/packages/python-altgraph.git;a=summary
+
+Package: python-altgraph
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
+Description: Python graph (network) package
+ altgraph is a fork of graphlib: a graph (network) package for constructing
+ graphs, BFS and DFS traversals, topological sort, shortest paths, etc. with
+ graphviz output.
+ .
+ altgraph includes some additional usage of Python 2.6+ features and
+ enhancements related to modulegraph and macholib.
+ .
+ This package provides the Python 2.x module.
+
+Package: python3-altgraph
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends},
+Description: Python 3 graph (network) package
+ altgraph is a fork of graphlib: a graph (network) package for constructing
+ graphs, BFS and DFS traversals, topological sort, shortest paths, etc. with
+ graphviz output.
+ .
+ altgraph includes some additional usage of Python 2.6+ features and
+ enhancements related to modulegraph and macholib.
+ .
+ This package provides the Python 3.x module.
+
+Package: python-altgraph-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Python graph (network) package - API documentation
+ altgraph is a fork of graphlib: a graph (network) package for constructing
+ graphs, BFS and DFS traversals, topological sort, shortest paths, etc. with
+ graphviz output.
+ .
+ altgraph includes some additional usage of Python 2.6+ features and
+ enhancements related to modulegraph and macholib.
+ .
+ This package provides the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..87df893
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: altgraph
+Source: https://pypi.python.org/pypi/altgraph/
+Files-Excluded: doc/_build/* altgraph.egg-info/*
+
+Files: *
+Copyright: (c) 2004 Istvan Albert
+ (c) Bob Ippolito
+ (c) 2010-2014 Ronald Oussoren
+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-altgraph-doc.doc-base b/debian/python-altgraph-doc.doc-base
new file mode 100644
index 0000000..781c15e
--- /dev/null
+++ b/debian/python-altgraph-doc.doc-base
@@ -0,0 +1,9 @@
+Document: altgraph-doc
+Title: Python altgraph Documentation
+Author: Istvan Albert, Bob Ippolito & Ronald Oussoren
+Abstract: Sphinx documentation for python-altgraph
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-altgraph-doc/html/index.html
+Files: /usr/share/doc/python-altgraph-doc/html/*
diff --git a/debian/python-altgraph-doc.docs b/debian/python-altgraph-doc.docs
new file mode 100644
index 0000000..6d28621
--- /dev/null
+++ b/debian/python-altgraph-doc.docs
@@ -0,0 +1 @@
+build/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4b1070f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=altgraph
+export http_proxy = http://127.0.0.1:9
+export https_proxy = https://127.0.0.1:9
+
+%:
+	dh $@ --buildsystem=pybuild --with python2,python3,sphinxdoc
+
+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-altgraph-doc -name license.txt -delete
+
+#build/python-altgraph-doc::
+#	sphinx-build -bhtml doc build/html
+#	dh_sphinxdoc -ppython-altgraph-doc build/html
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..c4e2a2f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# process this file with uscan(1)
+version=3
+opts=dversionmangle=s/~dfsg(\.[0-9]*)?$//,uversionmangle=s/(rc|a|b|c)/~$1/ \
+  http://pypi.debian.net/altgraph/altgraph-(.+)\.(?: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-altgraph.git



More information about the Python-modules-commits mailing list