[Python-modules-commits] [python-trie] 03/03: Init packaging of pytrie
Orestis Ioannou
oorestisime-guest at moszumanska.debian.org
Thu Jul 21 21:25:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
oorestisime-guest pushed a commit to branch master
in repository python-trie.
commit 54c36db91be60ba98732f47fd008c752d88ffd75
Author: Orestis Ioannou <orestis at oioannou.com>
Date: Thu Jun 2 01:14:52 2016 +0200
Init packaging of pytrie
---
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 57 +++++++++++++++++++++++++++++++++++++++++
debian/copyright | 38 +++++++++++++++++++++++++++
debian/python-trie-doc.doc-base | 9 +++++++
debian/python-trie-doc.docs | 1 +
debian/rules | 14 ++++++++++
debian/watch | 3 +++
8 files changed, 128 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..87fbac3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-trie (0.2-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #822195)
+
+ -- Orestis Ioannou <orestis at oioannou.com> Wed, 01 Jun 2016 23:54:41 +0200
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..6dc147c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,57 @@
+Source: python-trie
+Section: python
+Priority: optional
+Maintainer: Orestis Ioannou <orestis at oioannou.com>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-sphinx,
+ python3-all,
+Standards-Version: 3.9.8
+Homepage: http://pythonhosted.org/PyTrie/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-trie.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/python-trie.git
+
+Package: python-trie
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Description: Pure Python implementation of the trie data structure (Python 2)
+ A trie is an ordered tree data structure that is used to store a mapping where
+ the keys are sequences, usually strings over an alphabet.
+ In addition to implementing the mapping interface, tries allow finding the
+ items for a given prefix, and vice versa, finding the items whose keys are
+ prefixes of a given key.
+ .
+ This is the Python 2 package.
+
+Package: python3-trie
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+Description: Pure Python implementation of the trie data structure (Python 3)
+ A trie is an ordered tree data structure that is used to store a mapping where
+ the keys are sequences, usually strings over an alphabet.
+ In addition to implementing the mapping interface, tries allow finding the
+ items for a given prefix, and vice versa, finding the items whose keys are
+ prefixes of a given key.
+ .
+ This is the Python 3 package.
+
+Package: python-trie-doc
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${sphinxdoc:Depends},
+Section: doc
+Description: Pure Python implementation of the trie data structure (doc)
+ A trie is an ordered tree data structure that is used to store a mapping where
+ the keys are sequences, usually strings over an alphabet.
+ In addition to implementing the mapping interface, tries allow finding the
+ items for a given prefix, and vice versa, finding the items whose keys are
+ prefixes of a given key.
+ .
+ This package contains the HTML documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..cdc1053
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pytrie
+Source: http://bitbucket.org/gsakkis/pytrie/
+
+Files: *
+Copyright: Copyright (c) 2009, George Sakkis
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2016 Orestis Ioannou <orestis at oioannou.com>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ 3. The name of the copyright holders may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/python-trie-doc.doc-base b/debian/python-trie-doc.doc-base
new file mode 100644
index 0000000..3dd2b55
--- /dev/null
+++ b/debian/python-trie-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-trie-doc
+Title: Pytrie User Documentation
+Author: George Sakkis
+Abstract: A pure Python implementation of the trie data structure.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/python-trie-doc/html/index.html
+Files: /usr/share/doc/python-trie-doc/html/*.html
diff --git a/debian/python-trie-doc.docs b/debian/python-trie-doc.docs
new file mode 100644
index 0000000..a213c54
--- /dev/null
+++ b/debian/python-trie-doc.docs
@@ -0,0 +1 @@
+docs/build/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..317a0d1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=trie
+
+%:
+ dh $@ --with sphinxdoc,python2,python3 --buildsystem=pybuild
+
+override_dh_auto_build:
+ rm -r docs/build
+ $(MAKE) -C docs html
+ dh_auto_build
+
+override_dh_auto_test:
+ cp test/* . && python test_trie.py
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ca80207
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/PyTrie/PyTrie-(.+)\.(?: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-trie.git
More information about the Python-modules-commits
mailing list