diff options
| author | Ondřej Nový <onovy@debian.org> | 2019-08-11 15:14:07 +0200 |
|---|---|---|
| committer | git-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com> | 2019-08-11 16:45:22 +0000 |
| commit | a6bd57f770293c3b166019a13ea184ae1d4e171f (patch) | |
| tree | a46502aeaab1b435c9c8e48d3b571d326b4f3d6c | |
| parent | 4ab198463ccb2f6e1a9062e97bfb55546da8077d (diff) | |
0.5.15-3 (patches unapplied)import/0.5.15-3ubuntu/jammy-develubuntu/jammyubuntu/impish-develubuntu/impishubuntu/hirsute-develubuntu/hirsuteubuntu/groovy-develubuntu/groovyubuntu/focal-develubuntu/focalubuntu/eoan-proposedubuntu/eoan-develubuntu/eoandebian/bullseye
Imported using git-ubuntu import.
Notes
Notes:
* Team upload.
* Use debhelper-compat instead of debian/compat.
* Drop Python 2 support.
* Use pybuild for building package.
* Enable autopkgtest-pkg-python testsuite.
* Bump debhelper compat level to 12.
* Bump standards version to 4.4.0 (no changes).
* Add vagrant to runtime depends.
| -rw-r--r-- | debian/.gitlab-ci.yml | 9 | ||||
| -rw-r--r-- | debian/changelog | 13 | ||||
| -rw-r--r-- | debian/compat | 1 | ||||
| -rw-r--r-- | debian/control | 54 | ||||
| -rwxr-xr-x | debian/rules | 21 |
5 files changed, 29 insertions, 69 deletions
diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml new file mode 100644 index 0000000..d9acd28 --- /dev/null +++ b/debian/.gitlab-ci.yml @@ -0,0 +1,9 @@ +image: registry.salsa.debian.org/salsa-ci-team/ci-image-git-buildpackage:latest + +build: + artifacts: + paths: + - "*.deb" + expire_in: 1 day + script: + - gitlab-ci-git-buildpackage-all diff --git a/debian/changelog b/debian/changelog index e76ee60..897ff6f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +python-vagrant (0.5.15-3) unstable; urgency=medium + + * Team upload. + * Use debhelper-compat instead of debian/compat. + * Drop Python 2 support. + * Use pybuild for building package. + * Enable autopkgtest-pkg-python testsuite. + * Bump debhelper compat level to 12. + * Bump standards version to 4.4.0 (no changes). + * Add vagrant to runtime depends. + + -- Ondřej Nový <onovy@debian.org> Sun, 11 Aug 2019 15:14:07 +0200 + python-vagrant (0.5.15-2) unstable; urgency=medium [ Chris Lamb ] diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b4de394..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -11 diff --git a/debian/control b/debian/control index d65700e..3cb5291 100644 --- a/debian/control +++ b/debian/control @@ -5,68 +5,22 @@ Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian. Uploaders: Hans-Christoph Steiner <hans@eds.org>, Build-Depends: - debhelper (>= 11~), + debhelper-compat (= 12), dh-python, - python-all, - python-setuptools, python3-all, python3-setuptools, -Standards-Version: 4.2.1 +Standards-Version: 4.4.0 Vcs-Git: https://salsa.debian.org/python-team/modules/python-vagrant.git Vcs-Browser: https://salsa.debian.org/python-team/modules/python-vagrant Homepage: https://github.com/todddeluca/python-vagrant - -Package: python-vagrant -Architecture: all -Depends: - ${misc:Depends}, - ${python:Depends}, -XB-Python-Version: ${python:Versions} -Description: Python 2.7 bindings for interacting with Vagrant virtual machines - python-vagrant is a Python module that provides a _thin_ wrapper - around the `vagrant` command line executable, allowing programmatic - control of Vagrant virtual machines (boxes). This project began to - create Python bindings for Vagrant to programmatically access vagrant - boxes using Fabric. This module is useful for: - . - - Starting a Vagrant virtual machine (VM) (`up`) - - Terminating a Vagrant VM (`destroy`) - - Halting a Vagrant VM without destroying it (`halt`) - - Querying the status of a VM or VMs (`status`) - - Getting ssh configuration information useful for SSHing into the - VM (`host`, `port`, ...) - - Running `vagrant` commands in a multi-VM environment - (http://vagrantup.com/v1/docs/multivm.html) by using `vm_name` - parameter - - Initializing the VM based on a named base box, using init(). - - Adding, Removing, and Listing boxes (`box add`, `box remove`, - `box list`) - - Provisioning VMs - up() accepts options like `no_provision`, - `provision`, and `provision_with`, and there is a `provision()` - method - - Using sandbox mode from the Sahara gem: - https://github.com/jedi4ever/sahara - . - This package is _beta_ and its API is not guaranteed to be - stable. The API attempts to be congruent with the `vagrant` API - terminology, to facilitate knowledge transfer for users already - familiar with Vagrant. Over time, the python-vagrant API has changed - to better match the underling `vagrant` CLI and to evolve with the - changes in that CLI. - . - The package version numbering is in the form `0.X.Y`. The initial `0` - reflects the _beta_ nature of this project. The number `X` is - incremented when backwards-incompatible changes occur. The number `Y` - is incremented when backwards-compatible features or bug fixes are - added. - . - This package provides the Python 2.7 module. +Testsuite: autopkgtest-pkg-python Package: python3-vagrant Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, + vagrant, XB-Python-Version: ${python3:Versions} Description: Python 3 bindings for interacting with Vagrant virtual machines python-vagrant is a Python module that provides a _thin_ wrapper diff --git a/debian/rules b/debian/rules index 453a645..38515dd 100755 --- a/debian/rules +++ b/debian/rules @@ -1,25 +1,10 @@ #!/usr/bin/make -f # -*- makefile -*- -PYTHONS:=$(shell pyversions -vr) -PYTHON3S:=$(shell py3versions -vr) +export PYBUILD_NAME=vagrant +export PYBUILD_DISABLE=test 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 + dh $@ --with python3 --buildsystem=pybuild |
