[Python-modules-commits] [python-slugify] 02/03: Import python-slugify_1.2.0-1.dsc

Hugo Lefeuvre hle at moszumanska.debian.org
Tue Jun 21 18:37:03 UTC 2016


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

hle pushed a commit to branch master
in repository python-slugify.

commit b0d3792c4f0798b74e4f6ef47cd5bf54f0f2181f
Author: Hugo Lefeuvre <hle at debian.org>
Date:   Tue Jun 21 20:29:07 2016 +0200

    Import python-slugify_1.2.0-1.dsc
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 44 ++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright     | 38 ++++++++++++++++++++++++++++++++++++++
 debian/rules         | 20 ++++++++++++++++++++
 debian/slugify.1     |  7 +++++++
 debian/source/format |  1 +
 debian/watch         |  3 +++
 8 files changed, 119 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6482730
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-slugify (1.2.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #816727)
+
+ -- Hugo Lefeuvre <hle at debian.org>  Tue, 21 Jun 2016 10:06:26 +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..dbe6463
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,44 @@
+Source: python-slugify
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Hugo Lefeuvre <hle at debian.org>
+Build-Depends: debhelper (>=9),
+               dh-python,
+               python-all (>= 2.6.6-3~),
+               python-setuptools,
+               python-unidecode (>= 0.04.16),
+               python3-all,
+               python3-setuptools,
+               python3-unidecode (>= 0.04.16)
+Standards-Version: 3.9.8
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Homepage: https://github.com/un33k/python-slugify
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-slugify.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-slugify.git
+
+Package: python-slugify
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends}
+Description: Python slugify module that handles unicode (Python 2)
+ Python module that provides tools for slugifying unicode strings.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-slugify
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Description: Python slugify module that handles unicode (Python 3)
+ Python module that provides tools for slugifying unicode strings.
+ .
+ This package installs the library for Python 3.
+
+Package: slugify
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Description: Python slugify application that handles unicode (Python 3)
+ Python application for slugifying unicode strings.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0240d36
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-slugify
+Source: https://github.com/un33k/python-slugify
+
+Files: *
+Copyright: 2012-2016 Val Neekman <info at neekware.com>
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2016 Hugo Lefeuvre <hle at debian.org>
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ All rights reserved.
+ .
+ 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. Neither the name of this project nor the names of its contributors 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 OWNER 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/rules b/debian/rules
new file mode 100755
index 0000000..a62f8df
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=slugify
+export PYBUILD_DEST_DIR_python2=debian/python-slugify
+export PYBUILD_DEST_DIR_python3=debian/python3-slugify
+export PYBUILD_DEST_DIR_APP=debian/slugify
+
+%:
+	dh $@  --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_install:
+	dh_auto_install
+	# Move the python3 application to the application package.
+	mkdir -p $(PYBUILD_DEST_DIR_APP)/usr/bin
+	mv $(PYBUILD_DEST_DIR_python3)/usr/bin/slugify $(PYBUILD_DEST_DIR_APP)/usr/bin
+	# Remove the python2 application.
+	rm $(PYBUILD_DEST_DIR_python2)/usr/bin/slugify
+
+override_dh_installman:
+	dh_installman -p slugify debian/slugify.1
diff --git a/debian/slugify.1 b/debian/slugify.1
new file mode 100644
index 0000000..a3645dc
--- /dev/null
+++ b/debian/slugify.1
@@ -0,0 +1,7 @@
+.TH SLUGIFY "1" "June 2016" "slugify 1.2.0" "User Commands"
+.SH NAME
+slugify \- Python slugify application that handles unicode
+.SH DESCRIPTION
+slugify is a Python slugifying application that handles unicode. To use it, simply type slugify TEXTTOSLUGIFY.
+.SH EXAMPLES
+"slugify This is a test ---" returns "this-is-a-test"
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/watch b/debian/watch
new file mode 100644
index 0000000..ffeb790
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/python-slugify-$1\.tar\.gz/ \
+  https://github.com/un33k/python-slugify/tags .*/v?(\d\S*)\.tar\.gz

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



More information about the Python-modules-commits mailing list