summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Goirand <zigo@debian.org>2019-09-08 12:45:58 +0200
committergit-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com>2019-09-08 16:44:57 +0000
commit527617adfb8d581d6d719c27f0b06fa0e273f5e1 (patch)
treec253cfc41109a03e602402b8d39d5cdf5b802610
parent6fcebc318a5132ca28eb84305c639cd4c6bcafa6 (diff)
parentb717ae59315ff7c1808c982825c01b67757ea4f7 (diff)
Imported using git-ubuntu import.
-rw-r--r--debian/changelog24
-rw-r--r--debian/compat1
-rw-r--r--debian/control40
-rw-r--r--debian/copyright12
-rw-r--r--debian/gbp.conf9
-rwxr-xr-xdebian/rules37
6 files changed, 56 insertions, 67 deletions
diff --git a/debian/changelog b/debian/changelog
index 6d79f88..ce7092e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,27 @@
+python-pager (3.3-2) unstable; urgency=medium
+
+ [ Ondřej Nový ]
+ * Fixed homepage (https).
+ * d/copyright: Changed source URL to https protocol
+ * d/control: Use team+openstack@tracker.debian.org as maintainer
+ * Use debhelper-compat instead of debian/compat.
+ * d/control: Set Vcs-* to salsa.debian.org
+
+ [ Daniel Baumann ]
+ * Updating vcs fields.
+ * Updating copyright format url.
+ * Updating maintainer field.
+ * Running wrap-and-sort -bast.
+ * Removing gbp.conf, not used anymore or should be specified in the
+ developers dotfiles.
+ * Updating standards version to 4.1.0.
+
+ [ Thomas Goirand ]
+ * Removed Python 2 support (Closes: #937994).
+ * d/copyright: fixed ordering and years.
+
+ -- Thomas Goirand <zigo@debian.org> Sun, 08 Sep 2019 12:45:58 +0200
+
python-pager (3.3-1) unstable; urgency=medium
* Initial release. (Closes: #809804)
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index 1f446fe..7a7ba67 100644
--- a/debian/control
+++ b/debian/control
@@ -1,33 +1,25 @@
Source: python-pager
Section: python
Priority: optional
-Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
-Uploaders: Thomas Goirand <zigo@debian.org>
-Build-Depends: debhelper (>= 9),
- dh-python,
- openstack-pkg-tools,
- python-setuptools,
- python-all,
- python3-setuptools,
- python3-all
-Standards-Version: 3.9.6
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-pager.git
-Vcs-Git: git://anonscm.debian.org/openstack/python-pager.git
-Homepage: http://bitbucket.org/techtonik/python-pager
-
-Package: python-pager
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
-Description: terminal/console pager module in pure Python - Python 2.7
- Pager is a Python module that pages output to the screen, reads keys and
- console dimensions without executing external utils. It was meant to be
- included in the Python standard library.
- .
- This package contains the Python 2.7 module.
+Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
+Uploaders:
+ Thomas Goirand <zigo@debian.org>,
+Build-Depends:
+ debhelper-compat (= 9),
+ dh-python,
+ openstack-pkg-tools (>= 99~),
+ python3-all,
+ python3-setuptools,
+Standards-Version: 4.1.0
+Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-pager
+Vcs-Git: https://salsa.debian.org/openstack-team/python/python-pager.git
+Homepage: https://bitbucket.org/techtonik/python-pager
Package: python3-pager
Architecture: all
-Depends: ${python3:Depends}, ${misc:Depends}
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
Description: terminal/console pager module in pure Python - Python 3.x
Pager is a Python module that pages output to the screen, reads keys and
console dimensions without executing external utils. It was meant to be
diff --git a/debian/copyright b/debian/copyright
index 736b935..721880d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,15 +1,15 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pager
-Source: http://bitbucket.org/techtonik/python-pager
-
-Files: debian/*
-Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
-License: public-domain-or-Expat
+Source: https://bitbucket.org/techtonik/python-pager
Files: *
Copyright: (c) 2013, anatoly techtonik <techtonik@gmail.com>
License: public-domain-or-Expat
+Files: debian/*
+Copyright: (c) 2014-2019, Thomas Goirand <zigo@debian.org>
+License: public-domain-or-Expat
+
License: public-domain-or-Expat
Public Domain (or MIT if a license is required)
.
diff --git a/debian/gbp.conf b/debian/gbp.conf
deleted file mode 100644
index 10f9500..0000000
--- a/debian/gbp.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-[DEFAULT]
-upstream-branch = master
-debian-branch = debian/unstable
-upstream-tag = %(version)s
-compression = xz
-
-[buildpackage]
-export-dir = ../build-area/
-
diff --git a/debian/rules b/debian/rules
index da2d3c6..9077265 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,40 +1,23 @@
#!/usr/bin/make -f
-PYTHONS:=$(shell pyversions -vr)
-PYTHON3S:=$(shell py3versions -vr)
-
UPSTREAM_GIT = hg::https://bitbucket.org/techtonik/python-pager
include /usr/share/openstack-pkg-tools/pkgos.make
%:
- dh $@ --buildsystem=python_distutils --with python2,python3
+ dh $@ --buildsystem=python_distutils --with python3
+
+override_dh_auto_clean:
+ rm -rf build
+ find . -iname '*.pyc' -delete
+ for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done
+
+override_dh_auto_build:
+ echo "Do nothing..."
override_dh_auto_install:
- set -e ; for pyvers in $(PYTHONS); do \
- python$$pyvers setup.py install --install-layout=deb \
- --root $(CURDIR)/debian/python-pager; \
- done
- set -e ; for pyvers in $(PYTHON3S); do \
- python$$pyvers setup.py install --install-layout=deb \
- --root $(CURDIR)/debian/python3-pager; \
- done
- rm -rf $(CURDIR)/debian/python*-pager/usr/lib/python*/dist-packages/*.pth
+ pkgos-dh_auto_install --no-py2
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
echo "No test suite in this package."
endif
-
-override_dh_clean:
- dh_clean -O--buildsystem=python_distutils
- rm -rf build
-
-# Commands not to run
-override_dh_installcatalogs:
-override_dh_installemacsen override_dh_installifupdown:
-override_dh_installinfo override_dh_installmenu override_dh_installmime:
-override_dh_installmodules override_dh_installlogcheck:
-override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
-override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
-override_dh_installcron override_dh_installdebconf:
-override_dh_installlogrotate override_dh_installgsettings: