[Python-modules-commits] [python-wikipedia] 02/02: Import Debian changes 1.4.0-1

Ethan Ward ethanward-guest at moszumanska.debian.org
Fri Aug 11 20:48:04 UTC 2017


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

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

commit 8bd4a8f6ecc3be482598d9eeac4a592be8179f30
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Tue Aug 1 18:25:45 2017 -0500

    Import Debian changes 1.4.0-1
    
    python-wikipedia (1.4.0-1) unstable; urgency=medium
    
      * Initial Debian packaging (closes: #869111)
---
 debian/.git-dpm       | 11 +++++++++++
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright      | 30 ++++++++++++++++++++++++++++++
 debian/docs           |  1 +
 debian/rules          | 10 ++++++++++
 debian/source/format  |  1 +
 debian/source/options |  1 +
 debian/tests/control  | 21 +++++++++++++++++++++
 debian/watch          |  3 +++
 11 files changed, 130 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
new file mode 100644
index 0000000..c962cc6
--- /dev/null
+++ b/debian/.git-dpm
@@ -0,0 +1,11 @@
+# see git-dpm(1) from git-dpm package
+175111078b2f5c39122b059c936cb5464fbe2289
+175111078b2f5c39122b059c936cb5464fbe2289
+175111078b2f5c39122b059c936cb5464fbe2289
+175111078b2f5c39122b059c936cb5464fbe2289
+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..8b7588d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-wikipedia (1.4.0-1) unstable; urgency=medium
+
+  * Initial Debian packaging (closes: #869111)
+
+ -- Ethan Ward <ethan.ward at mycroft.ai>  Tue, 01 Aug 2017 18:25:45 -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..54bbbbe
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: python-wikipedia
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Ethan Ward <ethan.ward at mycroft.ai>
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all,
+               python-bs4,
+               python-requests (<<3),
+               python-requests (>=2),
+               python-setuptools,
+               python3-all,
+               python3-bs4,
+               python3-requests (<<3),
+               python3-requests (>=2),
+               python3-setuptools
+Standards-Version: 4.0.0
+Homepage: https://pypi.python.org/pypi/wikipedia/1.4.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 (Python 2)
+ 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.
+ .
+ This package contains the module for Python 2.
+
+Package: python3-wikipedia
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Wikipedia API (Python 3)
+ 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.
+ .
+ This package contains the module for Python 3.
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..b10575e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=wikipedia
+export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
+export PYBUILD_TEST_ARGS=tests/ '*test.py'
+
+%:
+	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/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/tests/control b/debian/tests/control
new file mode 100644
index 0000000..26e34ce
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,21 @@
+Test-Command: set -e
+ ; cp -r tests "$AUTOPKGTEST_TMP"
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -m unittest discover tests/ '*test.py' 2>/dev/null
+ ; done
+Depends: python-all,
+         python-bs4,
+         python-wikipedia
+
+Test-Command: set -e
+ ; cp -r tests "$AUTOPKGTEST_TMP"
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -m unittest discover tests/ '*test.py' 2>/dev/null
+ ; done
+Depends: python3-all,
+         python3-bs4,
+         python3-wikipedia
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..eded2e9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/wikipedia/wikipedia-(.+)\.(?: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-wikipedia.git



More information about the Python-modules-commits mailing list