[Python-modules-commits] [python-parsimonious] 02/08: Debianize

ChangZhuo Chen czchen at moszumanska.debian.org
Fri Jul 8 09:39:59 UTC 2016


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

czchen pushed a commit to branch master
in repository python-parsimonious.

commit 343d1ed9e23393df73d0726581f8e9d876b4d201
Author: ChangZhuo Chen (陳昌倬) <czchen at debian.org>
Date:   Fri Jul 8 17:32:20 2016 +0800

    Debianize
---
 debian/changelog     |  5 ++++
 debian/compat        |  1 +
 debian/control       | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright     | 31 ++++++++++++++++++++++
 debian/rules         | 10 +++++++
 debian/source/format |  1 +
 debian/watch         |  3 +++
 7 files changed, 125 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..35cb6be
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-parsimonious (0.6.2-1) unstable; urgency=low
+
+  * Initial release. Closes: #830306
+
+ -- ChangZhuo Chen (陳昌倬) <czchen at debian.org>  Wed, 25 Nov 2015 18:37:10 +0800
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..df8919d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,74 @@
+Source: python-pgspecial
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: ChangZhuo Chen (陳昌倬) <czchen at debian.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python3-all,
+Standards-Version: 3.9.8
+Section: python
+Homepage: https://github.com/dbcli/pgspecial
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-parsimonious.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-parsimonious.git
+X-Python3-Version: >= 3.1
+X-Python-Version: >= 2.6
+
+Package: python-parsimonious
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends},
+Description: fastest pure-Python PEG parser (Python 2)
+ Parsimonious aims to be the fastest arbitrary-lookahead parser written
+ in pure Python—and the most usable. It's based on parsing expression
+ grammars (PEGs), which means you feed it a simplified sort of EBNF
+ notation. Parsimonious was designed to undergird a MediaWiki parser
+ that wouldn't take 5 seconds or a GB of RAM to do one page, but it's
+ applicable to all sorts of languages.
+ .
+ The goals of Parsimonious are:
+ .
+  * Speed
+  * Frugal RAM use
+  * Minimalistic, understandable, idiomatic Python code
+  * Readable grammars
+  * Extensible grammars
+  * Complete test coverage
+  * Separation of concerns. Some Python parsing kits mix recognition
+    with instructions about how to turn the resulting tree into some
+    kind of other representation. This is limiting when you want to do
+    several different things with a tree: for example, render wiki
+    markup to HTML or to text.
+  * Good error reporting. I want the parser to work with me as I develop
+    a grammar.
+ .
+ This package is for Python 2 environment.
+
+Package: python3-parsimonious
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+Description: fastest pure-Python PEG parser (Python 3)
+ Parsimonious aims to be the fastest arbitrary-lookahead parser written
+ in pure Python—and the most usable. It's based on parsing expression
+ grammars (PEGs), which means you feed it a simplified sort of EBNF
+ notation. Parsimonious was designed to undergird a MediaWiki parser
+ that wouldn't take 5 seconds or a GB of RAM to do one page, but it's
+ applicable to all sorts of languages.
+ .
+ The goals of Parsimonious are:
+ .
+  * Speed
+  * Frugal RAM use
+  * Minimalistic, understandable, idiomatic Python code
+  * Readable grammars
+  * Extensible grammars
+  * Complete test coverage
+  * Separation of concerns. Some Python parsing kits mix recognition
+    with instructions about how to turn the resulting tree into some
+    kind of other representation. This is limiting when you want to do
+    several different things with a tree: for example, render wiki
+    markup to HTML or to text.
+  * Good error reporting. I want the parser to work with me as I develop
+    a grammar.
+ .
+ This package is for Python 3 environment.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9048d82
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: parsimonious
+Source: https://github.com/erikrose/parsimonious
+
+Files:     *
+Copyright: Copyright (c) 2012 Erik Rose
+License:   Expat
+
+Files:     debian/*
+Copyright: 2016 ChangZhuo Chen (陳昌倬) <czchen at debian.org>
+License:   Expat
+
+License: Expat
+ 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..54a3bf8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+#DH_VERBOSE = 1
+export PYBUILD_NAME = parsimonious
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_clean:
+	rm -rf pgspecial.egg-info
+	dh_clean
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/watch b/debian/watch
new file mode 100644
index 0000000..4726a50
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/parsimonious/parsimonious-(.+)\.(?: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-parsimonious.git



More information about the Python-modules-commits mailing list