summaryrefslogtreecommitdiff
diff options
authorThomas Goirand <zigo@debian.org>2019-10-06 12:11:53 +0200
committergit-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com>2019-10-06 16:51:31 +0000
commit1aa2acee05f4f3ff5f14f87d6b01017fb23cfee1 (patch)
tree64fe8cc5be2a46c2c3e6c6409426860b07648071
parent16d54e3f2ad1760800b00dc0058e9d8fc217ca1f (diff)
Imported using git-ubuntu import.
Notes
Notes: [ Ondřej Nový ] * d/control: Add trailing tilde to min version depend to allow backports. * Use debhelper-compat instead of debian/compat. * Bump Standards-Version to 4.4.0. [ Thomas Goirand ] * Removed Python 2 support (Closes: #937668). * d/copyright: fixed ordering and years.
-rw-r--r--debian/changelog14
-rw-r--r--debian/compat1
-rw-r--r--debian/control20
-rw-r--r--debian/copyright8
-rwxr-xr-xdebian/rules16
5 files changed, 31 insertions, 28 deletions
diff --git a/debian/changelog b/debian/changelog
index 87313e6..5ed7d48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+python-crank (0.7.2-5) unstable; urgency=medium
+
+ [ Ondřej Nový ]
+ * d/control: Add trailing tilde to min version depend to allow
+ backports.
+ * Use debhelper-compat instead of debian/compat.
+ * Bump Standards-Version to 4.4.0.
+
+ [ Thomas Goirand ]
+ * Removed Python 2 support (Closes: #937668).
+ * d/copyright: fixed ordering and years.
+
+ -- Thomas Goirand <zigo@debian.org> Sun, 06 Oct 2019 12:11:53 +0200
+
python-crank (0.7.2-4) unstable; urgency=medium
[ Ondřej Nový ]
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index b95f77a..b7f4390 100644
--- a/debian/control
+++ b/debian/control
@@ -5,33 +5,19 @@ Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Uploaders:
Thomas Goirand <zigo@debian.org>,
Build-Depends:
- debhelper (>= 10),
+ debhelper-compat (= 10),
dh-python,
- openstack-pkg-tools (>= 89),
- python-all,
- python-setuptools,
+ openstack-pkg-tools (>= 89~),
python3-all,
python3-setuptools,
Build-Depends-Indep:
- python-nose,
- python-webob,
python3-nose,
python3-webob,
-Standards-Version: 4.3.0
+Standards-Version: 4.4.0
Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-crank
Vcs-Git: https://salsa.debian.org/openstack-team/python/python-crank.git
Homepage: https://github.com/TurboGears/crank
-Package: python-crank
-Architecture: all
-Depends:
- ${misc:Depends},
- ${python:Depends},
-Description: dispatch mechanism for use across frameworks - Python 2.7
- Generalized Object based Dispatch mechanism for use across frameworks.
- .
- This package contains the Python 2.7 module.
-
Package: python3-crank
Architecture: all
Depends:
diff --git a/debian/copyright b/debian/copyright
index cc3222d..6615beb 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,14 +2,14 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: crank
Source: https://github.com/TurboGears/crank
-Files: debian/*
-Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
-License: Expat
-
Files: *
Copyright: (c) 2010-2015, Christopher Perkins <chris@percious.com>
License: Expat
+Files: debian/*
+Copyright: (c) 2014-2019, Thomas Goirand <zigo@debian.org>
+License: Expat
+
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/debian/rules b/debian/rules
index b1fbb6f..7fb7ff4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,19 +4,23 @@ UPSTREAM_GIT := https://github.com/TurboGears/crank.git
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:
- pkgos-dh_auto_install
+ pkgos-dh_auto_install --no-py2
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
- nosetests -v
set -e ; for pyvers in $(PYTHON3S); do \
PYTHON=python$$pyvers nosetests3 -v ; \
done
endif
-override_dh_clean:
- dh_clean -O--buildsystem=python_distutils
- rm -rf build