[Python-modules-commits] [python-vagrant] 03/13: skeleton debian files

Hans-Christoph Steiner eighthave at moszumanska.debian.org
Fri Jun 17 12:01:27 UTC 2016


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

eighthave pushed a commit to branch master
in repository python-vagrant.

commit dbff5d2ce4c3f15235d7533d20731436421c7f50
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Thu Jun 16 22:06:09 2016 +0200

    skeleton debian files
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 39 +++++++++++++++++++++++++++++++++++++++
 debian/rules     | 26 ++++++++++++++++++++++++++
 debian/watch     |  3 +++
 5 files changed, 74 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3930623
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-vagrant (0.5.13-1) unstable; urgency=low
+
+  * Initial release. (Closes: #)
+
+ -- Hans-Christoph Steiner <hans at eds.org>  Thu, 16 Jun 2016 21:52:06 +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..590aa9b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: python-vagrant
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Hans-Christoph Steiner <hans at eds.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python3-all,
+               python3-setuptools,
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-vagrant.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-vagrant.git
+Homepage: https://github.com/todddeluca/python-vagrant
+
+Package: python-vagrant
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends},
+XB-Python-Version: ${python:Versions}
+Description: Python library to interact with Git repositories - Python 2.7
+ python-vagrant provides object model access to a Git repository, so Python can be
+ used to manipulate it. Repository objects can be opened or created, which can
+ then be traversed to find parent commit(s), trees, blobs, etc.
+ .
+ This package provides the Python 2.7 module.
+
+Package: python3-vagrant
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+XB-Python-Version: ${python3:Versions}
+Description: Python library to interact with Git repositories - Python 3.x
+ python-vagrant provides object model access to a Git repository, so Python can be
+ used to manipulate it. Repository objects can be opened or created, which can
+ then be traversed to find parent commit(s), trees, blobs, etc.
+ .
+ This package provides the Python 3.x module.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2469415
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+PYTHONS:=$(shell pyversions -vr)
+PYTHON3S:=$(shell py3versions -vr)
+
+export HOME=$(CURDIR)/build/test
+
+%:
+	dh $@ --with python2,python3
+
+override_dh_auto_install:
+	set -e ; for pyvers in $(PYTHONS); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python-vagrant ; \
+	done
+	set -e ; for pyvers in $(PYTHON3S); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python3-vagrant ; \
+	done
+	rm -f $(CURDIR)/debian/python*/usr/lib/python*/dist-packages/*.pth
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf build
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..12494e0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/\.RC/~RC/ \
+http://pypi.debian.net/python-vagrant/python-vagrant-(.*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-vagrant.git



More information about the Python-modules-commits mailing list