[Python-modules-commits] [itypes] 02/03: Import Debian changes 1.1.0-1
Pierre-Elliott Bécue
peb-guest at moszumanska.debian.org
Wed Jan 10 00:15:58 UTC 2018
This is an automated email from the git hooks/post-receive script.
peb-guest pushed a commit to branch master
in repository itypes.
commit 18877a2dd31dcbcf9e5ba435dc5a1c197c65f786
Author: Pierre-Elliott Bécue <becue at crans.org>
Date: Wed Jan 10 01:15:16 2018 +0100
Import Debian changes 1.1.0-1
itypes (1.1.0-1) unstable; urgency=low
* Initial release (Closes: #886800)
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 40 ++++++++++++++++++++++++++++++++++
debian/copyright | 37 +++++++++++++++++++++++++++++++
debian/python-itypes.lintian-overrides | 9 ++++++++
debian/rules | 6 +++++
debian/source/format | 1 +
debian/watch | 3 +++
8 files changed, 102 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bb0438e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+itypes (1.1.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #886800)
+
+ -- Pierre-Elliott Bécue <becue at crans.org> Wed, 10 Jan 2018 00:41:27 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..650b3ff
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: itypes
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Pierre-Elliott Bécue <becue at crans.org>
+Homepage: https://github.com/tomchristie/itypes
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 11),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools,
+Standards-Version: 4.1.3
+Testsuite: autopkgtest-pkg-python
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/itypes.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/itypes.git
+
+Package: python3-itypes
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Python3 basic immutable containers types library
+ This package provides basic immutable container types for Python.
+ .
+ The classic use case of these is in circumstances where it may result in more
+ comprehensible code, or when one wants to create custom types with restricted,
+ immutable interfaces.
+ .
+ This package contains the python3 version of the library.
+
+Package: python-itypes
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Python basic immutable containers types library
+ This package provides basic immutable container types for Python.
+ .
+ The classic use case of these is in circumstances where it may result in more
+ comprehensible code, or when one wants to create custom types with restricted,
+ immutable interfaces.
+ .
+ This package contains the python2 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..25cb816
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: itypes
+Source: https://github.com/tomchristie/itypes
+Comment: Upstream did not provide a specific license file. In PKG-INFO and in
+ setup.py, the license is referred as a BSD License. I sent a mail to upstream
+ to ask him to add such a license file, but the statement on pypi + the
+ statement in the PKG-INFO file seems enough.
+
+Files: *
+Copyright: Copyright 2015-2017 Tom Christie <tom at tomchristie.com>
+License: BSD-2-Clause
+
+Files: debian/*
+Copyright: Copyright 2018 Pierre-Elliott Bécue <becue at crans.org>
+License: BSD-2-Clause
+
+License: BSD-2-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff --git a/debian/python-itypes.lintian-overrides b/debian/python-itypes.lintian-overrides
new file mode 100644
index 0000000..a9f53ca
--- /dev/null
+++ b/debian/python-itypes.lintian-overrides
@@ -0,0 +1,9 @@
+# itypes is a dependency for coreapi which in turn is a new optional dependency
+# for djangorestframework (in debian) whose tests can't work without coreapi.
+# djangorestframework is a dependency for hyperkitty which for now is python2
+# only. Hyperkitty's upstream is currently working on python3 compatibility of
+# hyperkitty[1]. In the meantime, this package will provide the python2
+# library along with the python3 library.
+#
+# [1] https://gitlab.com/mailman/hyperkitty/merge_requests/67
+python-itypes: new-package-should-not-package-python2-module
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1593e57
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=itypes
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
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)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..887f5d3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/@PACKAGE@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/itypes.git
More information about the Python-modules-commits
mailing list