[Python-modules-commits] [python-hashids] 03/03: Initial release.

Edward Betts edward at moszumanska.debian.org
Wed Apr 13 12:53:29 UTC 2016


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

edward pushed a commit to branch master
in repository python-hashids.

commit 4f2d2d2f8abb0e8e6dd111dcdd8f5078245d370a
Author: Edward Betts <edward at 4angle.com>
Date:   Wed Apr 13 13:51:05 2016 +0100

    Initial release.
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 33 +++++++++++++++++++++++++++++++++
 debian/copyright | 35 +++++++++++++++++++++++++++++++++++
 debian/rules     |  7 +++++++
 debian/watch     |  3 +++
 6 files changed, 84 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f453fe0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-hashids (1.1.0-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Edward Betts <edward at 4angle.com>  Wed, 13 Apr 2016 13:27:26 +0100
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..9ec1067
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: python-hashids
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Edward Betts <edward at 4angle.com>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-pytest,
+               python3-all,
+               python3-pytest
+Standards-Version: 3.9.7
+Homepage: https://github.com/davidaurelio/hashids-python
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-hashids.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-hashids.git
+
+Package: python-hashids
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Python implementation of hashids
+ A python port of the JavaScript hashids implementation. It generates
+ YouTube-like hashes from one or many numbers. Use hashids when you do not
+ want to expose your database ids to the user.
+
+Package: python3-hashids
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Python implementation of hashids (Python 3 version)
+ A python port of the JavaScript hashids implementation. It generates
+ YouTube-like hashes from one or many numbers. Use hashids when you do not
+ want to expose your database ids to the user.
+ .
+ This package contains python-hashids for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8909206
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hashids
+Upstream-Contact: David Aurelio <dev at david-aurelio.com>
+Source: https://github.com/davidaurelio/hashids-python
+
+Files: *
+Copyright: Copyright (c) 2012-2014 Ivan Akimov, David Aurelio
+License: MIT
+
+Files: debian/*
+Copyright: 2016, Edward Betts
+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..bb8cd58
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=hashids
+export PYBUILD_TEST_PYTEST=1
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1144fc4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/hashids/hashids-(.+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-hashids.git



More information about the Python-modules-commits mailing list