[Python-modules-commits] [python-iso3166] 02/02: prepare 0.8.git20170319-1
Wolfgang Borgert
debacle at moszumanska.debian.org
Thu May 25 12:22:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to branch master
in repository python-iso3166.
commit a5f6833a893f0ac94eaad4176cd5713e1be90ade
Author: W. Martin Borgert <debacle at debian.org>
Date: Thu May 25 14:22:20 2017 +0200
prepare 0.8.git20170319-1
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 42 ++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 31 +++++++++++++++++++++++++++++++
debian/patches/fix-unittest | 17 +++++++++++++++++
debian/patches/series | 1 +
debian/rules | 9 +++++++++
debian/source/format | 1 +
8 files changed, 107 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f1cc2b6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-iso3166 (0.8.git20170319-1) unstable; urgency=medium
+
+ * Initial upload (Closes: #861669).
+
+ -- W. Martin Borgert <debacle at debian.org> Thu, 25 May 2017 11:17:14 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3d25109
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: python-iso3166
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: W. Martin Borgert <debacle at debian.org>
+Build-Depends: debhelper (>= 10),
+ dh-buildinfo,
+ dh-python,
+ python,
+ python-pytest,
+ python-setuptools,
+ python3,
+ python3-pytest,
+ python3-setuptools
+Standards-Version: 3.9.8
+Homepage: https://github.com/deactivated/python-iso3166/
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-iso3166.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-iso3166.git
+
+Package: python-iso3166
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: ${python:Suggests}
+Provides: ${python:Provides}
+Description: Standalone ISO 3166-1 country definitions (Python 2)
+ ISO 3166-1 defines two-letter, three-letter, and three-digit
+ country codes. python-iso3166 is a self-contained module that
+ converts between these codes and the corresponding country name.
+ .
+ This package contains the Python 2 library.
+
+Package: python3-iso3166
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: ${python3:Suggests}
+Provides: ${python3:Provides}
+Description: Standalone ISO 3166-1 country definitions (Python 3)
+ ISO 3166-1 defines two-letter, three-letter, and three-digit
+ country codes. python-iso3166 is a self-contained module that
+ converts between these codes and the corresponding country name.
+ .
+ This package contains the Python 3 library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4df048f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-iso3166
+Upstream-Contact: Mike Spindel <mike at spindel.is>
+Source: https://github.com/deactivated/python-iso3166/
+
+Files: *
+Copyright: 2010..2014 Mike Spindel <mike at spindel.is>
+License: MIT
+
+Files: debian/*
+Copyright: 2017, W. Martin Borgert <debacle at debian.org>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff --git a/debian/patches/fix-unittest b/debian/patches/fix-unittest
new file mode 100644
index 0000000..9497a11
--- /dev/null
+++ b/debian/patches/fix-unittest
@@ -0,0 +1,17 @@
+Description: fix outdated unittest
+Author: W. Martin Borgert <debacle at debian.org>
+Origin: vendor
+Last-Update: 2017-05-25
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/tests/test_lookup.py
++++ b/tests/test_lookup.py
+@@ -42,7 +42,7 @@
+
+
+ def test_name():
+- check_lookup("US", ["united states", "United STates"], ["zzzzz"])
++ check_lookup("US", ["united states of america", "United STates of america"], ["zzzzz"])
+
+
+ def test_numeric():
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1da3af3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-unittest
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bccc2aa
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=iso3166
+export PYBUILD_TEST_PYTEST=1
+
+%:
+ dh $@ --buildsystem=pybuild --with python2,python3
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-iso3166.git
More information about the Python-modules-commits
mailing list