[Python-modules-commits] [python-multidict] 03/03: add debian dir
Piotr Ożarowski
piotr at moszumanska.debian.org
Sat Jul 23 20:06:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
piotr pushed a commit to branch master
in repository python-multidict.
commit 476dc825c0e8bf2a780ea22eaf85c24cd426e087
Author: Piotr Ożarowski <ozarow at gmail.com>
Date: Sat Jul 23 22:03:12 2016 +0200
add debian dir
---
debian/.git-dpm | 3 +++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 35 +++++++++++++++++++++++++++++++++++
debian/copyright | 15 +++++++++++++++
debian/python3-multidict.docs | 2 ++
debian/python3-multidict.pyremove | 2 ++
debian/rules | 12 ++++++++++++
debian/source/options | 1 +
debian/watch | 3 +++
10 files changed, 79 insertions(+)
diff --git a/debian/.git-dpm b/debian/.git-dpm
index a34027e..794233a 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@ f35ea17dee35c5572a917a29ac858948f2c6b062
python-multidict_1.2.1.orig.tar.gz
057906b5d6e41862aaec250d6582b1dc42cbd58d
90022
+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..abc4373
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-multidict (1.2.1-1) unstable; urgency=low
+
+ * Initial release (closes: 832279)
+
+ -- Piotr Ożarowski <piotr at debian.org> Sat, 23 Jul 2016 20:22:23 +0200
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..dcb7d2c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: python-multidict
+Section: python
+Priority: optional
+Maintainer: Piotr Ożarowski <piotr at debian.org>
+Build-Depends: debhelper (>= 9), dh-python,
+ python3-all-dev, python3-all-dbg,
+ python3-setuptools,
+ python3-pytest,
+ cython3
+Standards-Version: 3.9.8
+Homepage: https://github.com/aio-libs/multidict/
+
+Package: python3-multidict
+Architecture: any
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Description: multidict implementation (Python library)
+ Multidicts are useful for working with HTTP headers, URL query args etc.
+ .
+ HTTP Headers and URL query string require specific data structure:
+ multidict. It behaves mostly like a dict but it can have
+ several values for the same key.
+
+Package: python3-multidict-dbg
+Architecture: any
+Depends: python3-multidict (= ${binary:Version}), ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Priority: extra
+Section: debug
+Description: multidict implementation (Python library, debug extension)
+ Multidicts are useful for working with HTTP headers, URL query args etc.
+ .
+ HTTP Headers and URL query string require specific data structure:
+ multidict. It behaves mostly like a dict but it can have
+ several values for the same key.
+ .
+ This package contains extension built for the Python 3 debug interpreter.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..841ba5a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,15 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: multidict
+Upstream-Contact: Andrew Svetlov <andrew.svetlov at gmail.com>
+Source: https://github.com/aio-libs/multidict
+
+Files: *
+Copyright: 2016 © Andrew Svetlov <andrew.svetlov at gmail.com>
+License: Apache2
+
+Files: debian/*
+Copyright: 2016 © Piotr Ożarowski <piotr at debian.org>
+License: Apache2
+
+License: Apache2
+ See /usr/share/common-licenses/Apache-2.0
diff --git a/debian/python3-multidict.docs b/debian/python3-multidict.docs
new file mode 100644
index 0000000..a781792
--- /dev/null
+++ b/debian/python3-multidict.docs
@@ -0,0 +1,2 @@
+docs/index.rst
+docs/multidict.rst
diff --git a/debian/python3-multidict.pyremove b/debian/python3-multidict.pyremove
new file mode 100644
index 0000000..e7acef2
--- /dev/null
+++ b/debian/python3-multidict.pyremove
@@ -0,0 +1,2 @@
+multidict/*.c
+multidict/*.pyx
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..43311e5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#! /usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+export PYBUILD_NAME=multidict
+%:
+ dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_strip:
+ dh_strip --no-automatic-dbgsym
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..d81db3f
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+.egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9d95a21
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/multidict/multidict-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-multidict.git
More information about the Python-modules-commits
mailing list