debian/0000755000000000000000000000000012302376370007171 5ustar debian/copyright0000644000000000000000000000514012173730636011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: itsdangerous Upstream-Contact: Armin Ronacher Source: https://github.com/mitsuhiko/itsdangerous Files: * Copyright: 2011 by Armin Ronacher and the Django Software Foundation 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. Neither the name of the authors nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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. Files: /debian/* Copyright: 2013, Simon Fondrie-Teitler License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/changelog0000644000000000000000000000160012302376370011040 0ustar python-itsdangerous (0.22+dfsg1-1build1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:51:52 +0000 python-itsdangerous (0.22+dfsg1-1) unstable; urgency=low * New upstream release. * Added a debian/gbp.conf * Added debian/rules for upstream repository git management. * Ran wrap-and-sort, moved Homepage filed at the end of 1st block. * Removed useless python (>= 2.6) depends:. * Adds the build of python3 package. * Adds myself as uploader, sets python-module as team, and adds VCS fields. * rm -rf build itsdangerous.egg-info on clean. -- Thomas Goirand Wed, 17 Jul 2013 05:33:11 +0000 python-itsdangerous (0.17-1) unstable; urgency=low * Initial release. Closes: 703934 -- Simon Fondrie-Teitler Mon, 25 Mar 2013 17:06:37 -0500 debian/compat0000644000000000000000000000000212173730636010374 0ustar 9 debian/control0000644000000000000000000000373312173730636010607 0ustar Source: python-itsdangerous Maintainer: Debian Python Modules Team Uploaders: Simon Fondrie-Teitler , Thomas Goirand Section: python Priority: optional Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3), python-setuptools (>= 0.6b3), python3-all, python3-setuptools Vcs-Browser: http://anonscm.debian.org/gitweb/?p=python-modules/packages/python-itsdangerous.git Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-itsdangerous.git Homepage: http://pythonhosted.org/itsdangerous/ Standards-Version: 3.9.4 Package: python-itsdangerous Architecture: all Depends: python (>= 2.7) | python-simplejson, ${misc:Depends}, ${python:Depends} Description: Various helpers to pass trusted data to untrusted environment - python 2.x itsdangerous provides a module that is a port of the django signing module. It's not directly copied but some changes were applied to make it work better on its own. . itsdangerous allows web applications to use a key only it knows to cryptographically sign data and hand it over to someone else (e.g. a user). When it gets the data back it can easily ensure that nobody tampered with it. . This package provides the itsdangerous Python module for Python 2.x. Package: python3-itsdangerous Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: Various helpers to pass trusted data to untrusted environment - python 3.x itsdangerous provides a module that is a port of the django signing module. It's not directly copied but some changes were applied to make it work better on its own. . itsdangerous allows web applications to use a key only it knows to cryptographically sign data and hand it over to someone else (e.g. a user). When it gets the data back it can easily ensure that nobody tampered with it. . This package provides the itsdangerous Python module for Python 3.x. debian/rules0000755000000000000000000000417312173730636010263 0ustar #!/usr/bin/make -f UPSTREAM_GIT ?= git://github.com/mitsuhiko/itsdangerous.git DEBVERS ?= $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') VERSION ?= $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//') DEBFLAVOR ?= $(shell dpkg-parsechangelog | grep -E ^Distribution: | cut -d" " -f2) DEBPKGNAME ?= $(shell dpkg-parsechangelog | grep -E ^Source: | cut -d" " -f2) GIT_TAG ?= $(shell echo '$(VERSION)' | sed -e 's/~/_/') MANIFEST_EXCLUDE_STANDARD ?= $(DEBPKGNAME) DEBIAN_BRANCH ?= $(shell cat debian/gbp.conf | grep debian-branch | cut -d'=' -f2 | awk '{print $1}') PYTHONS:=$(shell pyversions -vr) PYTHON3S:=$(shell py3versions -vr) %: dh $@ --buildsystem=python_distutils --with python2,python3 override_dh_clean: dh_clean -O--buildsystem=python_distutils rm -rf build itsdangerous.egg-info override_dh_auto_install: set -e && for pyvers in $(PYTHONS); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python-itsdangerous; \ done set -e && for pyvers in $(PYTHON3S); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python3-itsdangerous; \ done ############################################ ### Below is to manage upstream Git repo ### ### and is not used during package build ### ############################################ fetch-upstream-remote: git remote add upstream $(UPSTREAM_GIT) || true git fetch upstream gen-orig-xz: if [ ! -f ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] ; then \ git archive --prefix=$(DEBPKGNAME)-$(GIT_TAG)/ $(GIT_TAG) | xz >../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ; \ fi [ ! -e ../build-area ] && mkdir ../build-area || true [ ! -e ../build-area/$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] && cp ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ../build-area get-master-branch: if ! git checkout master ; then \ echo "No upstream branch: checking out" ; \ git checkout -b master upstream/master ; \ fi git checkout $(DEBIAN_BRANCH) get-vcs-source: $(CURDIR)/debian/rules fetch-upstream-remote $(CURDIR)/debian/rules gen-orig-xz $(CURDIR)/debian/rules get-master-branch debian/source/0000755000000000000000000000000012173730636010476 5ustar debian/source/format0000644000000000000000000000001412173730636011704 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000024012173730636010611 0ustar [DEFAULT] upstream-branch = master debian-branch = debian/unstable upstream-tag = %(version)s compression = xz [git-buildpackage] export-dir = ../build-area/ debian/watch0000644000000000000000000000024412173730636010227 0ustar version=3 opts=dversionmangle=s/\+dfsg\d+$// \ http://pypi.python.org/packages/source/i/itsdangerous/ itsdangerous-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))