summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/.git-dpm11
-rw-r--r--debian/changelog72
-rw-r--r--debian/clean1
-rw-r--r--debian/compat1
-rw-r--r--debian/control46
-rw-r--r--debian/copyright97
-rw-r--r--debian/docs1
-rw-r--r--debian/patches/0001-Catch-StopIteration-in-a-generator-and-return-instea.patch34
-rw-r--r--debian/patches/series1
-rw-r--r--debian/python-blist.lintian-overrides1
-rw-r--r--debian/python3-blist.lintian-overrides1
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
14 files changed, 277 insertions, 0 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm
new file mode 100644
index 0000000..ce09239
--- /dev/null
+++ b/debian/.git-dpm
@@ -0,0 +1,11 @@
+# see git-dpm(1) from git-dpm package
+74604df9d213e434ce7a6720e771f068b2144211
+74604df9d213e434ce7a6720e771f068b2144211
+ecfc3ba4143115d03622dc947cd7bbf834f76f23
+ecfc3ba4143115d03622dc947cd7bbf834f76f23
+blist_1.3.6.orig.tar.gz
+fc661934b2a7e9a9c835b12b46276913dfe1e248
+122442
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..59eca21
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,72 @@
+blist (1.3.6-5) UNRELEASED; urgency=medium
+
+ [ Ondřej Nový ]
+ * Fixed homepage (https)
+ * Fixed VCS URL (https)
+ * d/control: Set Vcs-* to salsa.debian.org
+ * d/copyright: Fix Format URL to correct one
+ * d/control: Deprecating priority extra as per policy 4.0.1
+ * d/watch: Use https protocol
+
+ -- Ondřej Nový <onovy@debian.org> Thu, 15 Feb 2018 09:01:04 +0100
+
+blist (1.3.6-4) unstable; urgency=medium
+
+ * Update debian/watch.
+ * Update debian/copyright.
+ * Add XB-Python-Version fields.
+ * Increase standards version to 3.9.6.
+
+ -- Michael Gilbert <mgilbert@debian.org> Mon, 20 Apr 2015 01:13:10 +0000
+
+blist (1.3.6-3) unstable; urgency=medium
+
+ * Depend on python-all-dev (closes: #758175).
+
+ -- Michael Gilbert <mgilbert@debian.org> Fri, 15 Aug 2014 20:21:57 +0000
+
+blist (1.3.6-2) unstable; urgency=medium
+
+ [ Jakub Wilk ]
+ * Use canonical URIs for Vcs-* fields.
+
+ [ Michael Gilbert ]
+ * Fix some lintian warnings.
+ * Use pybuild and build a python3 package (closes: #748346).
+
+ -- Michael Gilbert <mgilbert@debian.org> Wed, 13 Aug 2014 21:55:33 +0000
+
+blist (1.3.6-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Michael Gilbert <mgilbert@debian.org> Sun, 06 Apr 2014 03:50:42 +0000
+
+blist (1.3.4-3) unstable; urgency=medium
+
+ * Avoid unwanted download when importing distribute_tools (closes: #733425).
+
+ -- Michael Gilbert <mgilbert@debian.org> Sun, 29 Dec 2013 23:30:10 +0000
+
+blist (1.3.4-2) unstable; urgency=low
+
+ * Team upload
+
+ [ Evgeni Golov ]
+ * Non-maintainer upload.
+ * Use dh_python2.
+ * Add python-all-dev to Build-Depends.
+ * Add python:Depends to Depends.
+ * This all closes: #681583
+
+ [ Scott Kitterman ]
+ * Add python-setuptools to Build-Depends
+ * Add missing Vcs-* to Control
+
+ -- Scott Kitterman <scott@kitterman.com> Mon, 23 Jul 2012 00:40:43 -0400
+
+blist (1.3.4-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Michael Gilbert <mgilbert@debian.org> Tue, 17 Apr 2012 16:35:44 -0400
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..d9c2ff0
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+blist/*.so
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..01237d5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: blist
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders:
+ Michael Gilbert <mgilbert@debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all-dev,
+ python3-all-dev,
+ python-setuptools,
+ python3-setuptools,
+Standards-Version: 3.9.6
+XS-Python-Version: all
+Homepage: https://pypi.python.org/pypi/blist
+Vcs-Git: https://salsa.debian.org/python-team/modules/blist.git
+Vcs-Browser: https://salsa.debian.org/python-team/modules/blist
+
+Package: python-blist
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ ${python:Depends},
+Provides:
+ ${python:Provides},
+Description: List-like type for Python with better asymptotic performance
+ This package is a drop-in replacement for Python lists providing better
+ performance when modifying large lists (provides sortedlist, sortedset,
+ weaksortedlist, weaksortedset, sorteddict, and btuple types).
+
+Package: python3-blist
+Architecture: any
+XB-Python-Version: ${python3:Versions}
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ ${python3:Depends},
+Provides:
+ ${python3:Provides},
+Description: List-like type for Python 3 with better asymptotic performance
+ This package is a drop-in replacement for Python 3 lists providing better
+ performance when modifying large lists (provides sortedlist, sortedset,
+ weaksortedlist, weaksortedset, sorteddict, and btuple types).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5e00d15
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,97 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://pypi.python.org/pypi/blist
+
+Files: *
+Copyright:
+ 2007-2010 Stutzbach Enterprises, LLC <daniel@stutzbachenterprises.com>
+License: BSD-3-clause
+
+Files: blist/test/*
+Copyright:
+ PYTHON SOFTWARE FOUNDATION (http://python.org)
+ 2007-2010 Stutzbach Enterprises, LLC <daniel@stutzbachenterprises.com>
+License: Python
+
+Files: blist/test/unittest.py
+Copyright:
+ 1999-2003 Steve Purcell <stephen_purcell@yahoo.com> (http://pyunit.sourceforge.net)
+ 2007-2010 Stutzbach Enterprises, LLC <daniel@stutzbachenterprises.com>
+License: Python
+
+Files: debian/*
+Copyright: 2012-2015 Michael Gilbert <mgilbert@debian.org>
+License: BSD-3-clause
+
+License: BSD-3-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.
+ 3. The name of the author may not be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+
+License: Python
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
+ otherwise using this software ("Python") in source or binary form and
+ its associated documentation.
+ .
+ 2. Subject to the terms and conditions of this License Agreement, PSF
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
+ license to reproduce, analyze, test, perform and/or display publicly,
+ prepare derivative works, distribute, and otherwise use Python
+ alone or in any derivative version, provided, however, that PSF's
+ License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007 Python Software Foundation;
+ All Rights Reserved" are retained in Python alone or in any derivative
+ version prepared by Licensee.
+ .
+ 3. In the event Licensee prepares a derivative work that is based on
+ or incorporates Python or any part thereof, and wants to make
+ the derivative work available to others as provided herein, then
+ Licensee hereby agrees to include in any such work a brief summary of
+ the changes made to Python.
+ .
+ 4. PSF is making Python available to Licensee on an "AS IS"
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
+ INFRINGE ANY THIRD PARTY RIGHTS.
+ .
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+ .
+ 6. This License Agreement will automatically terminate upon a material
+ breach of its terms and conditions.
+ .
+ 7. Nothing in this License Agreement shall be deemed to create any
+ relationship of agency, partnership, or joint venture between PSF and
+ Licensee. This License Agreement does not grant permission to use PSF
+ trademarks or trade name in a trademark sense to endorse or promote
+ products or services of Licensee, or any third party.
+ .
+ 8. By copying, installing or otherwise using Python, Licensee
+ agrees to be bound by the terms and conditions of this License
+ Agreement.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/patches/0001-Catch-StopIteration-in-a-generator-and-return-instea.patch b/debian/patches/0001-Catch-StopIteration-in-a-generator-and-return-instea.patch
new file mode 100644
index 0000000..e8a001b
--- /dev/null
+++ b/debian/patches/0001-Catch-StopIteration-in-a-generator-and-return-instea.patch
@@ -0,0 +1,34 @@
+From 74604df9d213e434ce7a6720e771f068b2144211 Mon Sep 17 00:00:00 2001
+From: Andrej Shadura <andrew.shadura@collabora.co.uk>
+Date: Sun, 8 Jul 2018 09:00:16 +0200
+Subject: Catch StopIteration in a generator and return instead, per PEP 479
+
+Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
+---
+ blist/_sortedlist.py | 13 ++++++++-----
+ 1 file changed, 8 insertions(+), 5 deletions(-)
+
+diff --git a/blist/_sortedlist.py b/blist/_sortedlist.py
+index b34f69e..1f77170 100644
+--- a/blist/_sortedlist.py
++++ b/blist/_sortedlist.py
+@@ -420,11 +420,14 @@ class _setmixin(object):
+ def __iter__(self):
+ it = super(_setmixin, self).__iter__()
+ while True:
+- item = next(it)
+- n = len(self)
+- yield item
+- if n != len(self):
+- raise RuntimeError('Set changed size during iteration')
++ try:
++ item = next(it)
++ n = len(self)
++ yield item
++ if n != len(self):
++ raise RuntimeError('Set changed size during iteration')
++ except StopIteration:
++ return
+
+ def safe_cmp(f):
+ def g(self, other):
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1e0e05f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Catch-StopIteration-in-a-generator-and-return-instea.patch
diff --git a/debian/python-blist.lintian-overrides b/debian/python-blist.lintian-overrides
new file mode 100644
index 0000000..fc882fe
--- /dev/null
+++ b/debian/python-blist.lintian-overrides
@@ -0,0 +1 @@
+no-upstream-changelog
diff --git a/debian/python3-blist.lintian-overrides b/debian/python3-blist.lintian-overrides
new file mode 100644
index 0000000..fc882fe
--- /dev/null
+++ b/debian/python3-blist.lintian-overrides
@@ -0,0 +1 @@
+no-upstream-changelog
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b82ed19
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+export PYBUILD_NAME=blist
+
+%:
+ 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..41f9f80
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/blist/blist-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))