From 74a9bbb8621aa11c06350a3b6e9b1dc272c70980 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Fri, 23 Dec 2016 14:30:01 +0100 Subject: [PATCH] Import Debian changes 1.4.0-3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit appdirs (1.4.0-3) unstable; urgency=medium * Mention Eddy Petrișor in copyright file (Closes: #848313) * Bump Standards-Version to 3.9.8 (no changes needed) * Use https for copyright format specification * Use secure HTTPS for git URIs appdirs (1.4.0-2) unstable; urgency=medium * Build pypy-appdirs package. * Add myself to Uploaders. * Add autopkgtest support. appdirs (1.4.0-1) unstable; urgency=medium * New upstream release. * Use pypi.debian.net redirector for debian/watch * Bump Standards-Version to 3.9.6 (no changes required) * Update Vcs-Browser to point to cgit URL appdirs (1.3.0-2) unstable; urgency=medium * Remove appdirs-1.3.0.egg-info symlink on upgrade. (Closes: #747088) appdirs (1.3.0-1) unstable; urgency=medium * New upstream release. * debian/rules: Add missing test/__init__.py for tests. appdirs (1.2.0+git20130326-1) unstable; urgency=low * Initial version. (Closes: #737107) --- debian/changelog | 44 +++++++++++++++++++++ debian/compat | 1 + debian/control | 79 +++++++++++++++++++++++++++++++++++++ debian/copyright | 32 +++++++++++++++ debian/python-appdirs.prerm | 11 ++++++ debian/rules | 14 +++++++ debian/source/format | 1 + debian/tests/control | 2 + debian/tests/python | 9 +++++ debian/watch | 2 + 10 files changed, 195 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/python-appdirs.prerm create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/tests/control create mode 100755 debian/tests/python create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..753a0c0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,44 @@ +appdirs (1.4.0-3) unstable; urgency=medium + + * Mention Eddy Petrișor in copyright file (Closes: #848313) + * Bump Standards-Version to 3.9.8 (no changes needed) + * Use https for copyright format specification + * Use secure HTTPS for git URIs + + -- Benjamin Drung Fri, 23 Dec 2016 14:30:01 +0100 + +appdirs (1.4.0-2) unstable; urgency=medium + + * Build pypy-appdirs package. + * Add myself to Uploaders. + * Add autopkgtest support. + + -- Tristan Seligmann Wed, 02 Sep 2015 15:49:47 +0200 + +appdirs (1.4.0-1) unstable; urgency=medium + + * New upstream release. + * Use pypi.debian.net redirector for debian/watch + * Bump Standards-Version to 3.9.6 (no changes required) + * Update Vcs-Browser to point to cgit URL + + -- Benjamin Drung Mon, 03 Aug 2015 13:22:35 +0200 + +appdirs (1.3.0-2) unstable; urgency=medium + + * Remove appdirs-1.3.0.egg-info symlink on upgrade. (Closes: #747088) + + -- Benjamin Drung Mon, 12 May 2014 11:54:33 +0200 + +appdirs (1.3.0-1) unstable; urgency=medium + + * New upstream release. + * debian/rules: Add missing test/__init__.py for tests. + + -- Benjamin Drung Thu, 24 Apr 2014 11:12:32 +0200 + +appdirs (1.2.0+git20130326-1) unstable; urgency=low + + * Initial version. (Closes: #737107) + + -- Benjamin Drung Thu, 30 Jan 2014 12:21:00 +0100 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..2d3889a --- /dev/null +++ b/debian/control @@ -0,0 +1,79 @@ +Source: appdirs +Maintainer: Benjamin Drung +Uploaders: Tristan Seligmann +Section: python +Priority: optional +Build-Depends: debhelper (>= 9), + dh-python, + pypy, + pypy-setuptools, + python-all (>= 2.6.6-3~), + python-setuptools (>= 0.6b3), + python3-all, + python3-setuptools +X-Python-Version: >= 2.4 +X-Python3-Version: >= 3.0 +Standards-Version: 3.9.8 +Homepage: https://github.com/ActiveState/appdirs +Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/appdirs.git +Vcs-Git: https://anonscm.debian.org/git/collab-maint/appdirs.git + +Package: python-appdirs +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Description: determining appropriate platform-specific directories (Python 2) + Depending on your system (Linux, Mac OS X, or Windows), you have to use + different directories for storing user data. appdirs will help you choose an + appropriate: + . + * user data directory (user_data_dir function) + * user config directory (user_config_dir function) + * user cache directory (user_cache_dir function) + * site data directory (site_data_dir function) + * site config directory (site_config_dir function) + * user log directory (user_log_dir function) + . + On Linux systems, these function return directories based on the XDG Base + Directory Specification. + . + This is the Python 2 version of the package. + +Package: python3-appdirs +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: determining appropriate platform-specific directories (Python 3) + Depending on your system (Linux, Mac OS X, or Windows), you have to use + different directories for storing user data. appdirs will help you choose an + appropriate: + . + * user data directory (user_data_dir function) + * user config directory (user_config_dir function) + * user cache directory (user_cache_dir function) + * site data directory (site_data_dir function) + * site config directory (site_config_dir function) + * user log directory (user_log_dir function) + . + On Linux systems, these function return directories based on the XDG Base + Directory Specification. + . + This is the Python 3 version of the package. + +Package: pypy-appdirs +Architecture: all +Depends: ${misc:Depends}, ${pypy:Depends} +Description: determining appropriate platform-specific directories (PyPy) + Depending on your system (Linux, Mac OS X, or Windows), you have to use + different directories for storing user data. appdirs will help you choose an + appropriate: + . + * user data directory (user_data_dir function) + * user config directory (user_config_dir function) + * user cache directory (user_cache_dir function) + * site data directory (site_data_dir function) + * site config directory (site_config_dir function) + * user log directory (user_log_dir function) + . + On Linux systems, these function return directories based on the XDG Base + Directory Specification. + . + This is the PyPy version of the package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e6fb088 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: appdirs +Source: https://github.com/ActiveState/appdirs + +Files: * +Copyright: 2005-2010 ActiveState Software Inc. + 2013 Eddy Petrișor +License: MIT + +Files: debian/* +Copyright: 2014 Benjamin Drung +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/python-appdirs.prerm b/debian/python-appdirs.prerm new file mode 100644 index 0000000..54ab430 --- /dev/null +++ b/debian/python-appdirs.prerm @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +case "$1" in + upgrade) + # Work around symlink file to symlink directory (Debian bug #747088) + rm -rf /usr/lib/python2*/dist-packages/appdirs-1.3.0.egg-info + ;; +esac + +#DEBHELPER# diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..53f6a64 --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=appdirs + +%: + dh $@ --with python2,python3,pypy --buildsystem=pybuild + +override_dh_auto_test: + touch test/__init__.py + dh_auto_test + rm -f test/__init__.py + +override_dh_installchangelogs: + dh_installchangelogs CHANGES.rst 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..c6effb7 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,2 @@ +Tests: python +Restrictions: allow-stderr diff --git a/debian/tests/python b/debian/tests/python new file mode 100755 index 0000000..a0fcab4 --- /dev/null +++ b/debian/tests/python @@ -0,0 +1,9 @@ +#!/bin/bash +set -e +set -x +SRC="${PWD}" +cd "${ADTTMP}" +for py in $(pyversions -vi) $(py3versions -vi) ; do + python$py -m unittest discover -s "${SRC}"/test +done +pypy -m unittest discover -s "${SRC}"/test diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..aaf2a57 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.debian.net/appdirs/appdirs-(.+)(?:\.zip|\.tar\.(?:gz|bz2|xz))