[Python-modules-commits] [python-packaging] 03/06: Initial release. (Closes: #XXXXXX)

Barry Warsaw barry at moszumanska.debian.org
Mon Jul 13 21:25:27 UTC 2015


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

barry pushed a commit to branch master
in repository python-packaging.

commit b45a110da5e9270de39f8585b585ce9e85d4159a
Author: Barry Warsaw <barry at python.org>
Date:   Mon Jul 13 15:41:51 2015 -0400

    Initial release. (Closes: #XXXXXX)
---
 debian/changelog         |  5 +++++
 debian/compat            |  1 +
 debian/control           | 33 +++++++++++++++++++++++++++++++++
 debian/copyright         | 27 +++++++++++++++++++++++++++
 debian/rules             | 10 ++++++++++
 debian/tests/control     |  1 +
 debian/tests/smoketest-2 |  4 ++++
 debian/tests/smoketest-3 |  4 ++++
 debian/watch             |  3 +++
 9 files changed, 88 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..68b320e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-packaging (15.2-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #XXXXXX)
+
+ -- Barry Warsaw <barry at debian.org>  Mon, 13 Jul 2015 15:14:17 -0400
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..cad8a61
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: python-packaging
+Section: python
+Priority: extra
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Barry Warsaw <barry at debian.org>
+Build-Depends: debhelper (>= 9),
+               python-pytest,
+               python-all (>= 2.6.6-3~),
+               python3-all,
+               python3-pytest,
+Standards-Version: 3.9.6
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
+XS-Testsuite: autopkgtest
+Homepage: https://github.com/pypa/packaging
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-packaging.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=python-modules/packages/python-packaging.git
+
+Package: python-packaging
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+Description: core utilities for Python packages
+ .
+ This package provides the Python 2 library.
+
+Package: python3-packaging
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Provides: ${python3:Provides}
+Description: core utilities for Python packages
+ .
+ This package provides the Python 3 library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..040babd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: packaging
+Source: https://github.com/dstufft/packaging
+
+Files: debian/*
+Copyright: (c) 2015, Barry Warsaw <barry at debian.org>
+License: Apache-2.0
+
+Files: *
+Copyright: (c) 2015, Donald Stufft <donald at stufft.io>
+License: Apache-2.0
+
+License: Apache-2.0
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+ .
+       http://www.apache.org/licenses/LICENSE-2.0
+ .
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ .
+ On Debian systems, the full text of the Apache License, Version 2.0 can be
+ found in the file /usr/share/common-licenses/Apache-2.0
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 0000000..590f1a1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=packaging
+#export PYBUILD_VERBOSE=1
+#export DH_VERBOSE=1
+
+export PYBUILD_PYTEST=1
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..17d10f1
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Tests: smoketest-2 smoketest-3
diff --git a/debian/tests/smoketest-2 b/debian/tests/smoketest-2
new file mode 100644
index 0000000..92eddcb
--- /dev/null
+++ b/debian/tests/smoketest-2
@@ -0,0 +1,4 @@
+#!/usr/bin/python
+
+import packaging
+print packaging.__file__, packaging.__version__
diff --git a/debian/tests/smoketest-3 b/debian/tests/smoketest-3
new file mode 100644
index 0000000..39eed2b
--- /dev/null
+++ b/debian/tests/smoketest-3
@@ -0,0 +1,4 @@
+#!/usr/bin/python3
+
+import packaging
+print(packaging.__file__, packaging.__version__)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7575055
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/,pgpsigurlmangle=s/$/.asc/ \
+http://pypi.debian.net/packaging/packaging-(.+)\.(?: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-packaging.git



More information about the Python-modules-commits mailing list