[Python-modules-commits] [mwclient] 02/04: initial packaging
Hans-Christoph Steiner
eighthave at moszumanska.debian.org
Wed Jan 10 11:26:57 UTC 2018
This is an automated email from the git hooks/post-receive script.
eighthave pushed a commit to branch master
in repository mwclient.
commit 230b2a0d037e771cfce7a4d00764571e0d43e780
Author: Hans-Christoph Steiner <hans at eds.org>
Date: Wed Jan 10 11:58:31 2018 +0100
initial packaging
---
debian/.gitignore | 6 ++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 43 +++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 27 +++++++++++++++++++++++++++
debian/gbp.conf | 3 +++
debian/rules | 5 +++++
debian/source/format | 1 +
debian/source/options | 1 +
debian/watch | 3 +++
10 files changed, 95 insertions(+)
diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..31fbbc4
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,6 @@
+files
+python3-mwclient.debhelper.log
+python3-mwclient.postinst.debhelper
+python3-mwclient.prerm.debhelper
+python3-mwclient.substvars
+python3-mwclient/
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f839cec
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mwclient (0.8.6-1) unstable; urgency=low
+
+ * Initial release. (Closes: #886826)
+
+ -- Hans-Christoph Steiner <hans at eds.org> Wed, 10 Jan 2018 11:37:31 +0100
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..488b4ed
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: mwclient
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Hans-Christoph Steiner <hans at eds.org>
+Build-Depends: debhelper (>= 10),
+ dh-python,
+ python3-all,
+ python3-setuptools,
+Standards-Version: 4.1.3
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/mwclient.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/mwclient.git
+Homepage: https://github.com/mwclient/mwclient
+
+Package: python3-mwclient
+Architecture: all
+Depends: ${misc:Depends},
+ ${python3:Depends},
+XB-Python-Version: ${python3:Versions}
+Description: MediaWiki API client in Python
+ mwclient is a lightweight Python client library to the MediaWiki API
+ which provides access to most API functionality. It works with Python
+ 2.7, 3.3 and above, and supports MediaWiki 1.16 and above. For
+ functions not available in the current MediaWiki, a
+ MediaWikiVersionError is raised.
+ .
+ Most properties and generators accept the same parameters as the API,
+ without their two-letter prefix. Exceptions to this rule:
+ .
+ * Image.imageinfo is the imageinfo of the latest image. Earlier
+ versions can be fetched using imagehistory()
+ * Site.all*: parameter [ap]from renamed to start
+ * categorymembers is implemented as Category.members
+ * deletedrevs is deletedrevisions
+ * usercontribs is usercontributions
+ * First parameters of search and usercontributions are search and
+ user respectively
+ .
+ Properties and generators are implemented as Python generators. Their
+ limit parameter is only an indication of the number of items in one
+ chunk. It is not the total limit. Doing list(generator(limit =
+ limit)) will return ALL items of generator, and not be limited by the
+ limit value. Default chunk size is generally the maximum chunk size.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..29a0be7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mwclient
+Upstream-Contact: Dan Michael O. Heggø <danmichaelo at gmail.com>
+Source: https://github.com/mwclient/mwclient
+
+Files: *
+Copyright: 2006-2012, Bryan Tong Minh <bryan.tongminh at gmail.com>
+ 2012-2017, Dan Michael O. Heggø <danmichaelo at gmail.com>
+ 2013-2017, Waldir Pimenta <waldyrious at gmail.com>
+ 2014, Frances Hocutt <frances.hocutt at gmail.com>
+ 2016, Lukas Juhrich <lukasjuhrich at wh2.tu-dresden.de>
+License: MIT
+
+Files: debian/*
+Copyright: 2018 Hans-Christoph Steiner <hans at eds.org>
+License: MIT
+
+License: MIT
+ 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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..5474c60
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..03d3965
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+%:
+ dh $@ --with 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/watch b/debian/watch
new file mode 100644
index 0000000..5a6d706
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/\.RC/~RC/ \
+https://pypi.debian.net/mwclient/mwclient-(.*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/mwclient.git
More information about the Python-modules-commits
mailing list