[Python-modules-commits] [python-datrie] 03/03: Initial release (Closes: #828741)

Ondřej Nový onovy at moszumanska.debian.org
Mon Jun 27 12:42:27 UTC 2016


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

onovy pushed a commit to branch master
in repository python-datrie.

commit 2d7bf72312ffd66905c43ecd19593fb2622ccc9f
Author: Filip Pytloun <filip at pytloun.cz>
Date:   Mon Jun 27 14:34:24 2016 +0200

    Initial release (Closes: #828741)
---
 debian/changelog                                   |  5 +++
 debian/compat                                      |  1 +
 debian/control                                     | 51 ++++++++++++++++++++++
 debian/copyright                                   | 30 +++++++++++++
 ...t-require-pytest-running-on-regular-setup.patch | 19 ++++++++
 debian/patches/series                              |  1 +
 debian/rules                                       |  6 +++
 debian/watch                                       |  3 ++
 8 files changed, 116 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3235286
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-datrie (0.7.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #828741)
+
+ -- Filip Pytloun <filip at pytloun.cz>  Mon, 27 Jun 2016 12:55:44 +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..5b385f7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,51 @@
+Source: python-datrie
+Maintainer: Filip Pytloun <filip at pytloun.cz>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               libdatrie-dev,
+               python-all-dev,
+               python-hypothesis,
+               python-pytest,
+               python-setuptools,
+               python3-all-dev,
+               python3-hypothesis,
+               python3-pytest,
+               python3-setuptools,
+Standards-Version: 3.9.8
+Homepage: https://github.com/kmike/datrie
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: python-datrie
+Architecture: any
+Depends: ${misc:Depends},
+         ${python:Depends},
+         ${shlibs:Depends},
+Description: Super-fast, efficiently stored Trie for Python
+ trie variable is a dict-like object that can have unicode keys of certain
+ ranges and Python objects as values.
+ .
+ In addition to implementing the mapping interface, tries facilitate finding
+ the items for a given prefix, and vice versa, finding the items whose keys are
+ prefixes of a given string. As a common special case, finding the
+ longest-prefix item is also supported.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-datrie
+Architecture: any
+Depends: ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends},
+Description: Super-fast, efficiently stored Trie for Python 3
+ trie variable is a dict-like object that can have unicode keys of certain
+ ranges and Python objects as values.
+ .
+ In addition to implementing the mapping interface, tries facilitate finding
+ the items for a given prefix, and vice versa, finding the items whose keys are
+ prefixes of a given string. As a common special case, finding the
+ longest-prefix item is also supported.
+ .
+ This package installs the library for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d3ad8dc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: datrie
+Upstream-Contact: Mikhail Korobov <kmike84 at gmail.com>
+Source: https://github.com/kmike/datrie
+
+Files: *
+Copyright: 2012-2016, Mikhail Korobov <kmike84 at gmail.com>
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2016, Filip Pytloun <filip at pytloun.cz>
+License: LGPL-2.1+
+
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
+ .
+ On Debian systems, the complete text of version 2 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/patches/0001-Don-t-require-pytest-running-on-regular-setup.patch b/debian/patches/0001-Don-t-require-pytest-running-on-regular-setup.patch
new file mode 100644
index 0000000..c93dbf1
--- /dev/null
+++ b/debian/patches/0001-Don-t-require-pytest-running-on-regular-setup.patch
@@ -0,0 +1,19 @@
+From: Filip Pytloun <filip at pytloun.cz>
+Date: Mon, 27 Jun 2016 13:10:02 +0200
+Subject: Don't require pytest-running on regular setup
+
+---
+ setup.py | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index d84c09d..eea48b6 100755
+--- a/setup.py
++++ b/setup.py
+@@ -53,6 +53,4 @@ setup(name="datrie",
+               'src/stdio_ext.c'
+           ], include_dirs=[LIBDATRIE_DIR])
+       ],
+-
+-      setup_requires=["pytest-runner"],
+       tests_require=["pytest", "hypothesis"])
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2c9265a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Don-t-require-pytest-running-on-regular-setup.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3a94e99
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=datrie
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1155797
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/datrie/datrie-(.+)\.(?: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-datrie.git



More information about the Python-modules-commits mailing list