diff options
-rw-r--r-- | debian/NEWS | 15 | ||||
-rw-r--r-- | debian/changelog | 379 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 84 | ||||
-rw-r--r-- | debian/copyright | 47 | ||||
-rw-r--r-- | debian/docs | 2 | ||||
-rw-r--r-- | debian/patches/no_package_data.patch | 25 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 23 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/tests/control | 2 | ||||
-rwxr-xr-x | debian/tests/unittests | 20 | ||||
-rw-r--r-- | debian/upstream/signing-key.asc | 89 | ||||
-rw-r--r-- | debian/watch | 3 |
15 files changed, 693 insertions, 0 deletions
diff --git a/debian/NEWS b/debian/NEWS new file mode 100644 index 0000000..9432789 --- /dev/null +++ b/debian/NEWS @@ -0,0 +1,15 @@ +python-launchpadlib (1.9.8-1) unstable; urgency=low + + launchpadlib 1.9 will cause some issues, as it uses the GNOME Keyring / KDE + wallet to store credentials. + https://help.launchpad.net/API/ThirdPartyIntegration + + Known issues and workarounds: + + Seeing keyring.backend.PasswordSetError or gnomekeyring.IOError? + Try ssh -X and run export `dbus-launch` in the ssh session. + + Otherwise, uninstalling python-gnomekeyring will force the credentials to + be stored in ~/keyring_pass.cfg instead of a keyring and bypass these issues. + + -- Luca Falavigna <dktrkranz@debian.org> Fri, 04 Mar 2011 22:31:30 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..39d1767 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,379 @@ +python-launchpadlib (1.10.7-1) UNRELEASED; urgency=medium + + * Team upload. + * New upstream release. + + -- Colin Watson <cjwatson@debian.org> Thu, 27 Jun 2019 10:05:19 +0100 + +python-launchpadlib (1.10.6-2) unstable; urgency=medium + + [ Ondřej Nový ] + * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP + * d/control: Remove ancient X-Python-Version field + * d/control: Remove ancient X-Python3-Version field + * Convert git repository from git-dpm to gbp layout + + [ Stefano Rivera ] + * Bump Standards-Version to 4.2.0, no changes needed. + * Bump copyright years. + * Bump debhelper compat level to 11. + + -- Stefano Rivera <stefanor@debian.org> Sun, 26 Aug 2018 20:25:08 +0100 + +python-launchpadlib (1.10.6-1) unstable; urgency=medium + + [ Colin Watson ] + * Team upload. + * New upstream release: + - Fix saving of credentials in python3 with gnome-keyring (closes: + #882166, LP: #1685962). + * Move VCS to salsa.debian.org. + + [ Ondřej Nový ] + * d/copyright: Use https protocol in Format field + + -- Colin Watson <cjwatson@debian.org> Thu, 08 Mar 2018 11:43:11 +0000 + +python-launchpadlib (1.10.5-1) unstable; urgency=medium + + * Team upload. + * New upstream release: + - Fix fallback if authorizing a token with a browser raises + webbrowser.Error (LP: #1685549). + + -- Colin Watson <cjwatson@debian.org> Tue, 05 Sep 2017 12:36:21 +0100 + +python-launchpadlib (1.10.4-1) unstable; urgency=medium + + [ Ondřej Nový ] + * Fixed VCS URL (https) + + [ Dimitri John Ledkov ] + * New upstream release + * Drop deprecated warnings patch, applied upstream + * Cherrypick upstream patch to fix LP: #1471927 + + -- Dimitri John Ledkov <xnox@ubuntu.com> Sat, 13 Aug 2016 04:18:24 +0100 + +python-launchpadlib (1.10.3-3) unstable; urgency=medium + + * Fix test suite on Python 3.5 by ignoring PendingDeprecationWarnings from + lazr.restfulclient. (Closes: #802136). + + -- Stefano Rivera <stefanor@debian.org> Sun, 18 Oct 2015 17:04:51 -0700 + +python-launchpadlib (1.10.3-2) unstable; urgency=medium + + * Upload to unstable. + * Bump copyright years. + * Drop XS-Testsuite header, now unnecessary. + * Bump Standards-Version to 3.9.6, no changes needed. + + -- Stefano Rivera <stefanor@debian.org> Fri, 03 Jul 2015 21:49:10 -0700 + +python-launchpadlib (1.10.3-1) experimental; urgency=medium + + * New upstream release. + * Drop using Files-Excluded, new upstream release tarball is cruft-less. + * Python 3 support. + * Switch to debhelper 9. + * Switch to pybuild. + * Drop patches accepted upstream + * Add python3 support to the auto-package test. + + -- Dimitri John Ledkov <dimitri.j.ledkov@linux.intel.com> Fri, 19 Dec 2014 22:12:36 +0000 + +python-launchpadlib (1.10.2+ds-2) unstable; urgency=low + + [ Stefano Rivera ] + * Upload to unstable. + * Bump Standards-Version to 3.9.5, no changes needed. + * Export HOME in the autopkgtest, cache is stored there. + * Verify upstream GPG signatures in watch file. + + [ Jakub Wilk ] + * Use canonical URIs for Vcs-* fields. + + -- Stefano Rivera <stefanor@debian.org> Tue, 21 Jan 2014 19:13:37 +0200 + +python-launchpadlib (1.10.2+ds-1) experimental; urgency=low + + * New upstream release. + - Supports disabling SSL validation, by exporting + LP_DISABLE_SSL_CERTIFICATE_VALIDATION=1. + * Refresh patches. + * Repack to drop eggs directory (Filed LP#1098878) + * Upload to experimental, as wheezy is frozen. + * Bump Standards-Version to 3.9.4. + - Bump debhelper dependency to 8.1 for build-{arch,indep} support. + * Add autopkgtest to run test suite. + + -- Stefano Rivera <stefanor@debian.org> Sat, 12 Jan 2013 16:34:27 +0200 + +python-launchpadlib (1.9.12-2) unstable; urgency=low + + * New maintainer. + * Clean properly (Closes: #671328). + - Remove egg-info. + * Bump Standards-Version to 3.9.3, no changes needed. + * Build-Depend on python-all rather than python. + * Make all versioned dependencies more backport-friendly, by stripping + debian-revisions or appending ~. + * Make watch file a little more robust. + * Wrap long lines in debian/control. + * Use machine readable copyright format. + * begone-ez_setup.patch: Friends don't let friends use ez_setup. + * Run unit tests during build. + - python-unittest2.patch: Use unittest backport package on Python <2.7. + - B-D on python-keyring, python-lazr.restfulclient, python-oauth, + python-simplejson, python-testresources, python-unittest2, and + python-wadllib. + + -- Stefano Rivera <stefanor@debian.org> Thu, 03 May 2012 17:07:26 +0200 + +python-launchpadlib (1.9.12-1) unstable; urgency=low + + * New upstream release. + * debian/patches/auth_message.patch: + - Refresh for new upstream release. + + -- Luca Falavigna <dktrkranz@debian.org> Mon, 19 Dec 2011 21:43:08 +0100 + +python-launchpadlib (1.9.11-1) unstable; urgency=low + + * New upstream release. + - No longer use HOME environment variable to determine path of the + home directory (Closes: #644678). + * debian/patches/auth_message.patch: + - Refresh for new upstream release. + * debian/control: + - Suggest python-pkg-resources and python-testresources. + - Drop Breaks: ${python:Breaks} field, no longer needed. + * debian/rules: + - Pass --no-guessing-deps to dh_python2 to avoid listing unneeded + dependencies, they are added manually instead. + + -- Luca Falavigna <dktrkranz@debian.org> Sat, 26 Nov 2011 10:51:46 +0100 + +python-launchpadlib (1.9.9-2) unstable; urgency=low + + * debian/patches/auth_message.patch: + - Add a delay before attempting to launch browser (Closes: #584556). + + -- Luca Falavigna <dktrkranz@debian.org> Sun, 02 Oct 2011 00:24:04 +0200 + +python-launchpadlib (1.9.9-1) unstable; urgency=low + + * New upstream release. + * debian/docs: + - Do not install NEWS.txt, already provided as changelog. + + -- Luca Falavigna <dktrkranz@debian.org> Thu, 11 Aug 2011 18:30:25 +0200 + +python-launchpadlib (1.9.8-2) unstable; urgency=low + + * Python transition: + - Add support for python2.7 (Closes: #623211) + * debian/control: + - Bump Standards-Version to 3.9.2, no changes required. + + -- Luca Falavigna <dktrkranz@debian.org> Mon, 18 Apr 2011 22:46:51 +0200 + +python-launchpadlib (1.9.8-1) unstable; urgency=low + + * New upstream release. + - Restore compatibility with login_with() API (Closes: #616484). + * debian/control: + - Bump X-Python-Version to >= 2.6 (Closes: #615100). + - Explicitly require minimun versions for python-lazr.uri and + python-lazr.restfulclient dependencies (Closes: #616483). + - Bump python-keyring minimum version to be at least 0.5. + * debian/NEWS: + - Document major issues with newer launchpadlib versions, shamelessly + taken from ubuntu-dev-tools, and provided by Stefano Rivera. + + -- Luca Falavigna <dktrkranz@debian.org> Sun, 06 Mar 2011 00:45:13 +0100 + +python-launchpadlib (1.8.0-2) unstable; urgency=low + + * Upload to unstable. + + -- Luca Falavigna <dktrkranz@debian.org> Thu, 24 Feb 2011 21:20:57 +0100 + +python-launchpadlib (1.8.0-1) experimental; urgency=low + + * New upstream release. + * Switch to dh_python2. + * debian/control: + - Depend on python-keyring. + - Bump Standards-Version to 3.9.1, no changes required. + + -- Luca Falavigna <dktrkranz@debian.org> Sat, 04 Dec 2010 11:59:09 +0100 + +python-launchpadlib (1.6.2-1) unstable; urgency=low + + * New upstream release. + * debian/patches/no_package_data.patch: + - Do not install documentation files in Python module directory. + * debian/control: + - Tighten python-lazr.restfulclient dependency to be >= 0.9.19. + - Bump Standards-Version to 3.9.0, no changes required. + * debian/docs: + - Install documentation files under /usr/share/doc (Closes: #580324). + + -- Luca Falavigna <dktrkranz@debian.org> Mon, 28 Jun 2010 23:36:51 +0200 + +python-launchpadlib (1.6.1-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Tighten python-lazr.restfulclient dependency to be >= 0.9.18. + + -- Luca Falavigna <dktrkranz@debian.org> Thu, 17 Jun 2010 20:35:14 +0200 + +python-launchpadlib (1.6.0-1) unstable; urgency=low + + * New upstream version. + * debian/control: + - Add Breaks field listing packages not yet compatible with new + Launchpad API 1.0. + * debian/preinst: + - Remove it, useful for Ubuntu Lucid only. + + -- Luca Falavigna <dktrkranz@debian.org> Thu, 13 May 2010 21:05:20 +0200 + +python-launchpadlib (1.5.7-1) unstable; urgency=low + + * New upstream release. + * Switch to format 3.0 (quilt). + + -- Luca Falavigna <dktrkranz@debian.org> Tue, 23 Mar 2010 21:21:00 +0100 + +python-launchpadlib (1.5.6-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Move myself as Maintainer, DPMT as Uploaders. + * debian/rules: + - Install upstream changelog. + + -- Luca Falavigna <dktrkranz@debian.org> Sat, 06 Mar 2010 15:27:48 +0100 + +python-launchpadlib (1.5.5-1) unstable; urgency=low + + * New upstream version. + * debian/control: + - Tighten python-lazr.restfulclient dependency to be >= 0.9.11. + + -- Luca Falavigna <dktrkranz@debian.org> Wed, 17 Feb 2010 21:49:35 +0100 + +python-launchpadlib (1.5.4-2) unstable; urgency=low + + * Always depend on python-simplejson, drop the alternative python2.6 + dependency, as launchpadlib explicitly needs simplejson, not json + provided by python2.6, thanks Martin Pitt! (Closes: #566795). + * Bump Standards-Version to 3.8.4, no changes required. + + -- Luca Falavigna <dktrkranz@debian.org> Sat, 13 Feb 2010 14:12:53 +0100 + +python-launchpadlib (1.5.4-1) unstable; urgency=low + + * New upstream release. + * lazr.restfulclient must be at least 0.9.10. + + -- Luca Falavigna <dktrkranz@debian.org> Fri, 25 Dec 2009 15:47:59 +0100 + +python-launchpadlib (1.5.3-1) unstable; urgency=low + + * New upstream release. + + -- Luca Falavigna <dktrkranz@debian.org> Tue, 03 Nov 2009 22:13:38 +0100 + +python-launchpadlib (1.5.2-1) unstable; urgency=low + + * Initial Debian release (Closes: #551273). + * Package taken from Ubuntu, major changes introduced are: + - Switch to debhelper 7. + - Switch to python-support, also providing preinst script to handle + removal of stale .pyc files to ease transition. + + -- Luca Falavigna <dktrkranz@debian.org> Sun, 18 Oct 2009 22:32:34 +0200 + +python-launchpadlib (1.5.1-0ubuntu1) karmic; urgency=low + + * New upstream release. + + -- James Westby <james.westby@ubuntu.com> Tue, 25 Aug 2009 11:51:36 +0100 + +python-launchpadlib (0.2~bzr35-0ubuntu1) jaunty; urgency=low + + * New upstream snapshot. + - Optimise PATCH by not sending a GET afterwards, and using the object + returned in the body of the response to the PATCH. + + -- James Westby <james.westby@ubuntu.com> Tue, 17 Feb 2009 21:09:34 +0000 + +python-launchpadlib (0.2~bzr34-0ubuntu1) jaunty; urgency=low + + * New upstream snapshot. + - Handle datetime parameters, converting them to string format before + sending them out. + - Make the error message if not using keyword args more understandable. + + -- James Westby <james.westby@ubuntu.com> Mon, 16 Feb 2009 15:46:06 +0000 + +python-launchpadlib (0.2~bzr29-0ubuntu1) jaunty; urgency=low + + * New upstream snapshot. + - Some fixes to the XSL. + - Make launchpadlib take advantage of 'http_etag' information embedded + in entry representations. + - Make launchpadlib JSON-encode all outgoing strings that will be + used as named operation arguments. + - Make IPerson.archive available. + + -- James Westby <james.westby@canonical.com> Sun, 04 Jan 2009 01:09:05 +0000 + +python-launchpadlib (0.2~bzr25-0ubuntu1) intrepid; urgency=low + + * New upstream snapshot. + - Add support for hosted file resources, e.g. bug attachments. + - Add support for indexing of collections that aren't top-level + collections, so you don't have to slice and then index. + - For hosted file resources expose filename and date uploaded. + Take filename as an argument when uploading a file. + - Automatically encode non-string parameters to named operations as JSON. + * Increase dependency on python-httplib2 to (>= 0.4.0) as the new version + uses some of its new features. + + -- James Westby <james.westby@canonical.com> Tue, 07 Oct 2008 13:23:46 +0100 + +python-launchpadlib (0.2~bzr17-0ubuntu1) intrepid; urgency=low + + * New upstream snapshot. + - Use the webbrowser module instead of trying to guess the user's browser. + - dir() on a Resource object now shows all Launchpad attributes and + operations. (bug 253407) + - Sign all HTTP requests with the OAuth credentials (previously, requests + triggered by redirects were not being signed.) + - Make it possible to load a resource from a stored URL. (bug 251497) + - Fix "A link attribute that's None gives an error instead of returning + None". (bug 255364) + - Do not fetch a collection's content when only requested to call a named + operation on that collection (bug 253635) + - Add support for slices on Collection objects (bug 251523) + - Make it possible to look up projects by name. + - Implement client-side conditional GET and PUT. + - Request compressed data in the TE header, not the Accept-Encoding header. + (bug 261619) + + -- James Westby <james.westby@canonical.com> Sun, 31 Aug 2008 18:57:01 +0100 + +python-launchpadlib (0.1~bzr7-0ubuntu1) intrepid; urgency=low + + * Initial release (LP: #254592) + * Disable setuptools_bzr in setup.py as we are building from a tarball, + and this breaks the detection of data files, meaning that important + data files are not included in the package. + + -- James Westby <james.westby@canonical.com> Mon, 04 Aug 2008 13:50:55 +0100 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..45e1151 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +src/*.egg-info/* 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..6b47670 --- /dev/null +++ b/debian/control @@ -0,0 +1,84 @@ +Source: python-launchpadlib +Section: python +Priority: optional +Maintainer: Stefano Rivera <stefanor@debian.org> +Uploaders: + Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> +Build-Depends: + debhelper (>= 11), + dh-python, + python-all (>= 2.6.6-3~), + python-keyring (>= 0.5), + python-lazr.restfulclient (>= 0.11.2), + python-setuptools, + python-simplejson, + python-testresources, + python-unittest2, + python-wadllib, + python3-all (>= 2.6.6-3~), + python3-keyring (>= 0.5), + python3-lazr.restfulclient (>= 0.11.2), + python3-setuptools, + python3-simplejson, + python3-testresources, + python3-wadllib, +Standards-Version: 4.2.0 +Homepage: https://launchpad.net/launchpadlib +Vcs-Git: https://salsa.debian.org/python-team/modules/python-launchpadlib +Vcs-Browser: https://salsa.debian.org/python-team/modules/python-launchpadlib + +Package: python-launchpadlib +Architecture: all +Depends: + python-httplib2 (>= 0.4.0), + python-keyring (>= 0.5), + python-lazr.restfulclient (>= 0.11.2), + python-lazr.uri (>= 1.0.2-4~), + python-simplejson, + python-wadllib, + ${misc:Depends}, + ${python:Depends} +Suggests: python-pkg-resources, python-testresources +Description: Launchpad web services client library + A free Python library for scripting Launchpad through its web services + interface. + . + It currently provides access to the following parts of Launchpad: + * People and Teams + * Team memberships + * Bugs and bugtasks + . + The Launchpad API is currently in beta, and may well change in ways + incompatible with this library. + . + You can find current API documentation at + https://help.launchpad.net/API/launchpadlib + +Package: python3-launchpadlib +Architecture: all +Depends: + python3-httplib2 (>= 0.4.0), + python3-keyring (>= 0.5), + python3-lazr.restfulclient (>= 0.11.2), + python3-lazr.uri (>= 1.0.2-4~), + python3-simplejson, + python3-wadllib, + ${misc:Depends}, + ${python3:Depends} +Suggests: python3-pkg-resources, python3-testresources +Description: Launchpad web services client library (Python 3) + A free Python library for scripting Launchpad through its web services + interface. + . + It currently provides access to the following parts of Launchpad: + * People and Teams + * Team memberships + * Bugs and bugtasks + . + The Launchpad API is currently in beta, and may well change in ways + incompatible with this library. + . + You can find current API documentation at + https://help.launchpad.net/API/launchpadlib + . + This package is for Python 3. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b7c7204 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,47 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: launchpadlib +Source: https://launchpad.net/launchpadlib + +Files: * +Copyright: 2008-2018, Canonical Ltd. +License: LGPL-3.0 + +Files: src/launchpadlib/testing/helpers.py + src/launchpadlib/testing/launchpad.py + src/launchpadlib/testing/resources.py + src/launchpadlib/testing/tests/test_launchpad.py +Copyright: 2008-2018, Canonical Ltd. +License: LGPL-3.0+ + +Files: debian/* +Copyright: 2008,2009, James Westby <james.westby@ubuntu.com> + 2009-2011, Luca Falavigna <dktrkranz@debian.org> + 2012-2018, Stefano Rivera <stefanor@debian.org> +License: LGPL-3.0 + +License: LGPL-3.0 + lazr.uri is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, version 3 of the License. + . + lazr.uri is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + . + On Debian-based systems the full text of the LGPL, version 3, can be found at + /usr/share/common-licenses/LGPL-3. + +License: LGPL-3.0+ + lazr.uri is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your + option) any later version. + . + lazr.uri is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + . + On Debian-based systems the full text of the LGPL, version 3, can be found at + /usr/share/common-licenses/LGPL-3. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..9dce6fd --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +src/launchpadlib/README.txt +src/launchpadlib/docs/ diff --git a/debian/patches/no_package_data.patch b/debian/patches/no_package_data.patch new file mode 100644 index 0000000..1132b68 --- /dev/null +++ b/debian/patches/no_package_data.patch @@ -0,0 +1,25 @@ +From: Luca Falavigna <dktrkranz@debian.org> +Date: Thu, 8 Oct 2015 12:22:11 -0700 +Subject: Do not install documentation files in Python module directory + +Bug-Debian: http://bugs.debian.org/580324 +Forwarded: not-needed + +Patch-Name: no_package_data.patch +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 5376415..dbe9547 100755 +--- a/setup.py ++++ b/setup.py +@@ -55,7 +55,7 @@ setup( + version=__version__, + packages=find_packages('src'), + package_dir={'':'src'}, +- include_package_data=True, ++ include_package_data=False, + zip_safe=False, + author='The Launchpad developers', + author_email='launchpadlib@lists.launchpad.net', diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..b359923 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +no_package_data.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c2a7ca5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=launchpadlib + +%: + dh $@ --with python2,python3 --buildsystem=pybuild + +override_dh_auto_test: + mkdir -p $(CURDIR)/build/home + HOME=$(CURDIR)/build/home dh_auto_test --buildsystem=pybuild + +override_dh_auto_clean: + dh_auto_clean + rm -rf build + +override_dh_installchangelogs: + dh_installchangelogs src/launchpadlib/NEWS.txt + +override_dh_python2: + dh_python2 --no-guessing-deps + +override_dh_python3: + dh_python3 --no-guessing-deps 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/tests/control b/debian/tests/control new file mode 100644 index 0000000..60dfe27 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,2 @@ +Tests: unittests +Depends: @, python-nose, python-all, python-unittest2, python3-nose, python3-all diff --git a/debian/tests/unittests b/debian/tests/unittests new file mode 100755 index 0000000..790c58b --- /dev/null +++ b/debian/tests/unittests @@ -0,0 +1,20 @@ +#!/bin/sh +set -efu + +# Launchpadlib tries to keep a cache in HOME +HOME="$AUTOPKGTEST_TMP/home" +mkdir "$HOME" + +pythons="$(pyversions -sv)" +pythons3="$(py3versions -sv)" + +cd "$AUTOPKGTEST_TMP" +for py in $pythons; do + echo "=== python$py ===" + nosetests-$py launchpadlib.tests 2>&1 +done + +for py in $pythons3; do + echo "=== python$py ===" + python$py /usr/bin/nosetests3 launchpadlib.tests 2>&1 +done diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc new file mode 100644 index 0000000..5427c92 --- /dev/null +++ b/debian/upstream/signing-key.asc @@ -0,0 +1,89 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBEpusXcBEAC9dztIdRs2aeoFQ5S5D5V/N0vFwVZTu21S2bVmxwPsVZfvXDCZ +5JINp2vgp42iwYTTHm0pESCwCoxZNZMLQu/zbSOR0QqkCoMI5j61/DOOMbr5d6kR +raxfE7qnb09h3BcXsNHmCyYv9hoFHYoNbyTuOEYHNfeQDOKS1+MtGn2DrRrlYYpG +remLkRjJy1iSPVJWJn866Ljld9MEjGP1dT95QW1dktZ6Mqbvr4mKFexy8ags8gpZ +NdMrdkufPal0+qG0FeKD9WqtHXKEWcjEytbUQMLUiAO4N4/bdR0zwuWuHtVHVfMM +c4zOVgh2llmgROYAF+5WZJaVeKirff1GGzjZNIsXaBgGa5rC5dq3T2P7NFS2/bHY +10gzizNH3NrEK356ml4zEhJDTsAS13xm2SKiDnpwkcLiBEdgtyXEqEZqYiHU6/kB +nT7AG+3dLhD08nUqvaDFzkwybc4dP+Q66PEwmGWz2cXg8Yd1aJ3SMxRVCTf2XLEd +oV+mkUE/LiQYjv1QZH3KST8e4u1SEvZldwA95pSBoQzCs2uNhvIbCCdbuQ026DPA +5e/hU66/pwGG9EfGREKrpNEDTfN0jRdSqS20rcfrmo9HZisEkVpMBtG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 +/qk+kcgm27leR1LVvacEEmOFeNNO+/pl+6Tx+EAKXF9xYlSa0A/eWynxw1XBUnmO +/ylL2dlrLxIevGmoF3hPbBPvmQir+aER0rKdpLC4a7ledytjuAjmTCC/jmE2xBif +KERN3W//HVu6xvnRTS4LjVIS/dz8cGXrNlYqkje05NF33pEFGR3Pu0fDYxheF9wm +2RIuBE8tpi69VnE/Cq/7bDMguR3iGJybeeqXQ7/QWBCqUuULz3IKisCA6EWbIzrq +iubWQjTu27nEa9hcbgLj1KffRBS4jTNh82R3v83TYCxgLQEpMQYgqPhDH9xKzeA2 +aJeBaZPvv9CoseehcKaJW5ztyuRPKyZiJwEVPV/3LQxXXXen4CL32jp0RV87z3lT +k0wMjsLFto9pBPNliXslGY+D93gG5KncAE+qJ54/rac8AMyLEbcw0yn9dRrgzGdP +PECXt17h+kfT0UP6Iu86ZSf5gFpmJizNvq6m6mmMBcm/zGcgvM7EQ05gugWgkBUC +nSfCBM44YT3g3VAe +=q6yA +-----END PGP PUBLIC KEY BLOCK----- diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..2f724c1 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/\+ds//,pgpsigurlmangle=s/$/.asc/,repacksuffix=+ds \ +https://launchpad.net/launchpadlib/+download .*/launchpadlib-(.+).tar.gz |