[Python-modules-commits] [python-transitions] 01/01: Initial Debian packaging

Stein Magnus Jodal jodal at moszumanska.debian.org
Wed Jul 26 11:01:35 UTC 2017


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

jodal pushed a commit to branch master
in repository python-transitions.

commit 1c7632ffc955392dc9b194233c2893f2fc9b9e45
Author: Stein Magnus Jodal <jodal at debian.org>
Date:   Wed Jul 26 12:05:13 2017 +0200

    Initial Debian packaging
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 42 ++++++++++++++++++++++++++++++++++++++++++
 debian/copyright | 31 +++++++++++++++++++++++++++++++
 debian/rules     | 13 +++++++++++++
 debian/watch     |  3 +++
 6 files changed, 95 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..af61780
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-transitions (0.5.3-1) unstable; urgency=medium
+
+  * Initial release (closes: 869775)
+
+ -- Stein Magnus Jodal <jodal at debian.org>  Wed, 26 Jul 2017 12:04:22 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5b4e186
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: python-transitions
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Stein Magnus Jodal <jodal at debian.org>,
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all,
+               python-dill,
+               python-nose,
+               python-pygraphviz,
+               python-setuptools,
+               python3-all,
+               python3-dill,
+               python3-nose,
+               python3-pygraphviz,
+               python3-setuptools,
+               python3-six,
+Standards-Version: 4.0.0
+Homepage: https://github.com/pytransitions/transitions
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-transitions.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-transitions.git
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
+
+Package: python-transitions
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends},
+Description: Lightweight state machine library (Python 2)
+ transitions is a lightweight, object-oriented state machine implementation.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-transitions
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+Description: Lightweight state machine library (Python 3)
+ transitions is a lightweight, object-oriented state machine implementation.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..41cd0c3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: transitions
+Upstream-Contact: Tal Yarkoni <tyarkoni at gmail.com>
+Source: https://github.com/pytransitions/transitions
+
+Files: *
+Copyright: 2014 Tal Yarkoni
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Stein Magnus Jodal <jodal at debian.org>
+License: Expat
+
+License: Expat
+ 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/rules b/debian/rules
new file mode 100755
index 0000000..7f8881f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=transitions
+
+# Upstream doesn't include the tests in the PyPI release yet. See
+# https://github.com/pytransitions/transitions/pull/242
+#export PYBUILD_TEST_NOSE=1
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f195bf3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/transitions/transitions-(.+)\.(?: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-transitions.git



More information about the Python-modules-commits mailing list