summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2016-05-27 03:35:12 +0100
committerColin Watson <cjwatson@debian.org>2016-05-27 12:14:14 +0100
commit40dde8250db302f41250aced2e475096980ec3a0 (patch)
tree8482cc3d42a3ea1650e0ef4f087300efc05bf5d9 /debian
parentaf5fc0eea0029a8c7abdd97169846ccaa03f8334 (diff)
Initial release (closes: #824554).
Diffstat (limited to 'debian')
-rw-r--r--debian/.git-dpm8
-rw-r--r--debian/.gitignore6
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control54
-rw-r--r--debian/copyright30
-rwxr-xr-xdebian/rules7
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
9 files changed, 115 insertions, 0 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm
new file mode 100644
index 0000000..096ed38
--- /dev/null
+++ b/debian/.git-dpm
@@ -0,0 +1,8 @@
+# see git-dpm(1) from git-dpm package
+af5fc0eea0029a8c7abdd97169846ccaa03f8334
+af5fc0eea0029a8c7abdd97169846ccaa03f8334
+af5fc0eea0029a8c7abdd97169846ccaa03f8334
+af5fc0eea0029a8c7abdd97169846ccaa03f8334
+pymacaroons_0.9.2.orig.tar.gz
+f9f38699dd91ed54e53c3da244a26083ea42b8c7
+17174
diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..17b6e76
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,6 @@
+*.debhelper
+*.substvars
+debhelper-build-stamp
+files
+python-pymacaroons
+python3-pymacaroons
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ae5ebc8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pymacaroons (0.9.2-1) UNRELEASED; urgency=medium
+
+ * Initial release (closes: #824554).
+
+ -- Colin Watson <cjwatson@debian.org> Fri, 27 May 2016 03:36:46 +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..e0103c4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,54 @@
+Source: pymacaroons
+Section: python
+Priority: optional
+Maintainer: Colin Watson <cjwatson@debian.org>
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python (>= 2.6.6-3~),
+ python-all,
+ python-libnacl,
+ python-setuptools,
+ python-six,
+ python3 (>= 3.1.2-8~),
+ python3-all,
+ python3-libnacl,
+ python3-setuptools,
+ python3-six,
+Standards-Version: 3.9.8
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+Vcs-Git: https://anonscm.debian.org/git/collab-maint/pymacaroons.git
+Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/pymacaroons.git
+Homepage: https://github.com/ecordell/pymacaroons
+
+Package: python-pymacaroons
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends},
+ ${python:Depends}
+Description: Macaroon library for Python 2
+ Macaroons, like cookies, are a form of bearer credential. Unlike opaque
+ tokens, macaroons embed caveats that define specific authorization
+ requirements for the target service, the service that issued the root
+ macaroon and which is capable of verifying the integrity of macaroons it
+ receives.
+ .
+ Macaroons allow for delegation and attenuation of authorization. They are
+ simple and fast to verify, and decouple authorization policy from the
+ enforcement of that policy.
+
+Package: python3-pymacaroons
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends},
+ ${python3:Depends}
+Description: Macaroon library for Python 3
+ Macaroons, like cookies, are a form of bearer credential. Unlike opaque
+ tokens, macaroons embed caveats that define specific authorization
+ requirements for the target service, the service that issued the root
+ macaroon and which is capable of verifying the integrity of macaroons it
+ receives.
+ .
+ Macaroons allow for delegation and attenuation of authorization. They are
+ simple and fast to verify, and decouple authorization policy from the
+ enforcement of that policy.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..87e5879
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pymacaroons
+Source: http://pypi.python.org/pypi/pymacaroons/
+
+Files: *
+Copyright: Copyright (c) 2014 Evan Cordell
+License: Expat
+
+Files: debian/*
+Copyright: Copyright (C) 2016 Colin Watson <cjwatson@debian.org>
+License: Expat
+
+License: Expat
+ 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/rules b/debian/rules
new file mode 100755
index 0000000..8c57664
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME := pymacaroons
+export PYBUILD_DISABLE := test
+
+%:
+ 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..f647ed6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/pymacaroons/pymacaroons-(..+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))