[Python-modules-commits] [inflection] 03/04: Initial Debian packaging (closes: #869104)

Ethan Ward ethanward-guest at moszumanska.debian.org
Tue Jul 25 17:41:25 UTC 2017


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

ethanward-guest pushed a commit to branch master
in repository inflection.

commit 32ab0410939bad321590b71e6796d6de890bcab2
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Tue Jul 25 12:36:13 2017 -0500

    Initial Debian packaging (closes: #869104)
---
 debian/.git-dpm       |  3 +++
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 33 +++++++++++++++++++++++++++++++++
 debian/copyright      | 30 ++++++++++++++++++++++++++++++
 debian/docs           |  1 +
 debian/rules          |  7 +++++++
 debian/source/options |  1 +
 debian/watch          |  2 ++
 9 files changed, 83 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 5c032e6..04b5ed2 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 inflection_0.3.1.orig.tar.gz
 4b42884984e8fbb1cde01ad3036e024b27909bd5
 8715
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6af7683
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+inflection (0.3.1-1) UNRELEASED; urgency=medium
+
+  * Initial Debian packaging (closes: #869104)
+
+ -- Mycroft Devs <devops at mycroft.ai>  Mon, 17 Jul 2017 10:06:40 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b798993
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: inflection
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Mycroft Devs <devops at mycroft.ai>
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python3-all,
+               python3-setuptools
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/inflection.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/inflection.git
+
+Package: python-inflection
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Description: A port of Ruby on Rails' inflector to Python
+ This package contains the module for Python 2.x. Inflection
+ is a string transformation library. It singularizes and
+ pluralizes English words, and transforms strings from CamelCase
+ to underscored string.
+
+Package: python3-inflection
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: A port of Ruby on Rails' inflector to Python
+ This package contains the module for Python 3.x. Inflection
+ is a string transformation library. It singularizes and
+ pluralizes English words, and transforms strings from CamelCase
+ to underscored string.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7438ff7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: inflection
+Source: https://pypi.python.org/pypi/inflection
+
+Files: *
+Copyright: (c) 2015 Janne Vanhala
+License: MIT-style
+
+Files: debian/*
+Copyright: (c) 2017, Ethan Ward <ethan.ward at mycroft.ai>
+License: MIT-style
+
+License: MIT-style
+ 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/docs b/debian/docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..df1d941
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=inflection
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bbdc942
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/packages/source/i/inflection/inflection-(.*).tar.gz

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



More information about the Python-modules-commits mailing list