From 8ee131287918078350444a66c57a4e0fc68dbc67 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Fri, 7 Aug 2015 18:48:05 -0700 Subject: [PATCH 1/2] Add debian packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 13 +++++++++++++ debian/copyright | 26 ++++++++++++++++++++++++++ debian/rules | 4 ++++ 5 files changed, 49 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..34dd0b7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python3-mwparserfromhell (0.5) UNRELEASED; urgency=medium + + * Initial version of the package + + -- yuvipanda Fri, 07 Aug 2015 18:16:37 -0700 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..8f0dba5 --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: python3-mwparserfromhell +Maintainer: Ben Kurtovic +Section: python +Priority: optional +Build-Depends: python3-setuptools, python3-all, debhelper (>= 9) +Standards-Version: 3.9.6 + +Package: python3-mwparserfromhell +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: **mwparserfromhell** (the *MediaWiki Parser from Hell*) is a Python package + that provides an easy-to-use and outrageously powerful parser for MediaWiki_ + wikicode. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4b980fb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mwparserfromhell + +Files: * +Copyright: 2012-2015 Ben Kurtovic +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. + . + 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..641186e --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 --buildsystem=pybuild From 8e713c7596bb8342bc9757a3c25b05abd8b7fbb5 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Fri, 7 Aug 2015 18:50:03 -0700 Subject: [PATCH 2/2] Update debian version number to match reality --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 34dd0b7..35e60c8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -python3-mwparserfromhell (0.5) UNRELEASED; urgency=medium +python3-mwparserfromhell (0.4.2) UNRELEASED; urgency=medium * Initial version of the package