[Python-modules-commits] [wikipedia] 03/07: Initial Debian packaging (closes: #869111)

Ethan Ward ethanward-guest at moszumanska.debian.org
Tue Jul 25 21:43:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

ethanward-guest pushed a commit to branch master
in repository wikipedia.

commit 6bfa8bbc01c037e14c7c3f4173cf5bd69388746e
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Tue Jul 25 16:19:04 2017 -0500

    Initial Debian packaging (closes: #869111)
---
 debian/.git-dpm       |  3 +++
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 35 +++++++++++++++++++++++++++++++++++
 debian/copyright      | 30 ++++++++++++++++++++++++++++++
 debian/docs           |  1 +
 debian/rules          |  7 +++++++
 debian/source/options |  1 +
 debian/watch          |  2 ++
 9 files changed, 85 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index f4e3e6e..c962cc6 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 wikipedia_1.4.0.orig.tar.gz
 fbf0495cf4d39b30ac9ff99ce9cd71b629dcab38
 27748
+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..908feac
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+wikipedia (1.4.0-1) UNRELEASED; urgency=medium
+
+  * Initial Debian packaging (closes: #869111)
+
+ -- Mycroft Devs <devops at mycroft.ai>  Mon, 17 Jul 2017 14:14:40 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e42cc26
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: wikipedia
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Mycroft Devs <devops at mycroft.ai>
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python3-all,
+               python3-setuptools
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/wikipedia.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/wikipedia.git
+
+Package: python-wikipedia
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Wikipedia API for Python
+ This package contains the module for Python 2.x. Wikipedia is a Python
+ library that makes it easy to access and parse data from Wikipedia.
+ Search Wikipedia, get article summaries, get data like links and images
+ from a page, and more. Wikipedia wraps the MediaWiki API so you can
+ focus on using Wikipedia data, not getting it.
+
+Package: python3-wikipedia
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Wikipedia API for Python
+ This package contains the module for Python 2.x. Wikipedia is a Python
+ library that makes it easy to access and parse data from Wikipedia.
+ Search Wikipedia, get article summaries, get data like links and images
+ from a page, and more. Wikipedia wraps the MediaWiki API so you can
+ focus on using Wikipedia data, not getting it.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..99361a5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: wikipedia
+Source: https://pypi.python.org/pypi/wikipedia
+
+Files: *
+Copyright: (c) 2014, Jonathan Goldsmith
+License: MIT-style
+
+Files: debian/*
+Copyright: (c) 2017, Ethan Ward <ethan.ward at mycroft.ai>
+License: MIT-style
+
+License: MIT-style
+ 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/docs b/debian/docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0e37a4f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=foo
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /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..5377e6d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/packages/source/w/wikipedia/wikipedia-(.*).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/wikipedia.git



More information about the Python-modules-commits mailing list