[Python-modules-commits] [humanfriendly] 02/17: Debianize

Gaurav Juvekar gauravjuvekar-guest at moszumanska.debian.org
Sun Mar 12 19:58:49 UTC 2017


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

gauravjuvekar-guest pushed a commit to branch master
in repository humanfriendly.

commit 6377c6d2424934870d1c801111fd83330906d72c
Author: Gaurav Juvekar <gauravjuvekar at gmail.com>
Date:   Thu Jan 19 11:38:54 2017 +0530

    Debianize
---
 debian/changelog                  |  5 +++++
 debian/compat                     |  1 +
 debian/control                    | 46 +++++++++++++++++++++++++++++++++++++++
 debian/copyright                  | 34 +++++++++++++++++++++++++++++
 debian/python3-humanfriendly.docs |  1 +
 debian/rules                      | 10 +++++++++
 debian/source/format              |  1 +
 debian/source/options             |  1 +
 debian/watch                      |  4 ++++
 9 files changed, 103 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..20559b4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-humanfriendly (2.3.2-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #851824)
+
+ -- Gaurav Juvekar <gauravjuvekar at gmail.com>  Thu, 19 Jan 2017 11:38:11 +0530
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..95b1de2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: python-humanfriendly
+Section: python
+Priority: optional
+Maintainer: Gaurav Juvekar <gauravjuvekar at gmail.com>
+Build-Depends: debhelper (>= 10), dh-python,
+               python-all,
+               python-setuptools,
+               python3-all,
+               python3-setuptools,
+               python-monotonic
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Standards-Version: 3.9.8
+Homepage: https://humanfriendly.readthedocs.io
+
+Package: python-humanfriendly
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends},
+Recommends: ${python:Recommends}
+Suggests: ${python:Suggests}
+Description: Python library to make user friendly text interfaces
+ A Python library that can be used to make text interfaces more user friendly.
+ It provides parsing and formatting numbers, file sizes, pathnames and
+ timespans in simple human friendly formats. It provides easy to use timers for
+ long running operations, prompts for selecting a choice from a list of options
+ by typing the option's number or a unique substring of the option, and
+ terminal interaction including text styling (ANSI escape sequences), user
+ friendly rendering of usage messages and querying the terminal for its size.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-humanfriendly
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends},
+Recommends: ${python3:Recommends}
+Suggests: ${python3:Suggests}
+Description: Python3 library to make user friendly text interfaces
+ A Python3 library that can be used to make text interfaces more user friendly.
+ It provides parsing and formatting numbers, file sizes, pathnames and
+ timespans in simple human friendly formats. It provides easy to use timers for
+ long running operations, prompts for selecting a choice from a list of options
+ by typing the option's number or a unique substring of the option, and
+ terminal interaction including text styling (ANSI escape sequences), user
+ friendly rendering of usage messages and querying the terminal for its size.
+ .
+ This package installs the library for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3e427b8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: humanfriendly
+Upstream-Contact: Peter Odding <peter at peterodding.com>
+Source: https://humanfriendly.readthedocs.io
+
+Files: *
+Copyright: (c) 2017 Peter Odding <peter at peterodding.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2017 © Gaurav Juvekar <gauravjuvekar at gmail.com>
+License: Expat
+
+License: Expat
+ Copyright (c) 2017 Peter Odding
+ .
+ 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/python3-humanfriendly.docs b/debian/python3-humanfriendly.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-humanfriendly.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..36af0b0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME=humanfriendly
+export PYBUILD_AFTER_INSTALL_python2=rm -rf {destdir}/usr/bin/
+%:
+	dh $@ --with python3,python2 --buildsystem=pybuild
+
+override_dh_auto_test:
+	# Do no thing as testing depends on python-coloredlogs which depends on this
+	# package forming a circular dependency
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/source/options b/debian/source/options
new file mode 100644
index 0000000..d81db3f
--- /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..b7dc491
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# try also https://pypi.debian.net/humanfriendly/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/humanfriendly/humanfriendly-(.+)\.(?: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/humanfriendly.git



More information about the Python-modules-commits mailing list