[Python-modules-commits] [python-distro] 03/04: Initial packaging.
Barry Warsaw
barry at moszumanska.debian.org
Mon Nov 28 19:59:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository python-distro.
commit 6c39b9620f6ce55e6215b1e2f86d2c7694b39c64
Author: Barry Warsaw <barry at python.org>
Date: Mon Nov 28 14:57:08 2016 -0500
Initial packaging.
---
debian/compat | 1 +
debian/control | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 27 +++++++++++++++++++++++++++
debian/rules | 8 ++++++++
debian/watch | 3 +++
5 files changed, 87 insertions(+)
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..e193341
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: python-distro
+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),
+ dh-python,
+ python-all (>= 2.6.6-3~),
+ python-setuptools,
+ python3-all,
+ python3-setuptools,
+Standards-Version: 3.9.8
+Homepage: https://github.com/nir0s/distro
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-distro.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-distro.git
+
+Package: python-distro
+Architecture: all
+Depends: ${misc:Depends},
+ ${python:Depends}
+Description: Linux OS platform information API
+ distro (for: Linux Distribution) provides information about the Linux
+ distribution it runs on, such as a reliable machine-readable ID, or version
+ information.
+ .
+ It is a renewed alternative implementation for Python's original
+ platform.linux_distribution function, but it also provides much more
+ functionality which isn't necessarily Python bound like a command-line
+ interface.
+ .
+ This is the Python 2 version of the library.
+
+Package: python3-distro
+Architecture: all
+Depends: ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends},
+Description: Linux OS platform information API
+ distro (for: Linux Distribution) provides information about the Linux
+ distribution it runs on, such as a reliable machine-readable ID, or version
+ information.
+ .
+ It is a renewed alternative implementation for Python's original
+ platform.linux_distribution function, but it also provides much more
+ functionality which isn't necessarily Python bound like a command-line
+ interface.
+ .
+ This is the Python 2 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8738b85
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: distro
+Source: <https://pypi.python.org/pypi/distro/>
+
+Files: *
+Copyright: 2015,2016 Nir Cohen
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2016 Barry Warsaw <barry at debian.org>
+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..ece7b69
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=distro
+#export PYBUILD_VERBOSE=1
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..44ff3f0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/distro/distro-(.+)\.(?: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-distro.git
More information about the Python-modules-commits
mailing list