[Python-modules-commits] [straight.plugin] 03/04: Initial release of straight.plugin.

Sergio Durigan Junior sergiodj-guest at moszumanska.debian.org
Fri Jul 1 22:42:51 UTC 2016


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

sergiodj-guest pushed a commit to branch master
in repository straight.plugin.

commit eb17cbc5b71acf881e5630e212dc2f4c1a969c65
Author: Sergio Durigan Junior <sergiodj at sergiodj.net>
Date:   Fri Jul 1 18:39:48 2016 -0400

    Initial release of straight.plugin.
    
    Closes: #829153
---
 debian/.git-dpm                            |  3 ++
 debian/changelog                           |  5 ++
 debian/compat                              |  1 +
 debian/control                             | 79 ++++++++++++++++++++++++++++++
 debian/copyright                           | 30 ++++++++++++
 debian/python-straight.plugin-doc.doc-base | 23 +++++++++
 debian/python-straight.plugin-doc.docs     |  1 +
 debian/python-straight.plugin-doc.manpages |  1 +
 debian/rules                               | 14 ++++++
 debian/watch                               |  4 ++
 10 files changed, 161 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 947bf2b..59d3bfb 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 straight.plugin_1.4.1.orig.tar.gz
 721d41494ee58fea62e1db1ba358ae671a3bcf32
 15516
+debianTag="debian/%e%v"
+patchedTag="patches/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0159972
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+straight.plugin (1.4.1-1) unstable; urgency=medium
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Sergio Durigan Junior <sergiodj at sergiodj.net>  Thu, 30 Jun 2016 00:30:37 -0400
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..4cfdcff
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,79 @@
+Source: straight.plugin
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sergio Durigan Junior <sergiodj at sergiodj.net>
+Build-Depends: debhelper (>=9),
+	       dh-python,
+	       python-all (>= 2.6.6-3~),
+	       python-setuptools,
+	       python-sphinx,
+	       python-mock,
+	       python3-all,
+	       python3-setuptools,
+	       python3-sphinx,
+	       python3-mock,
+	       sphinx-common
+Standards-Version: 3.9.8
+Homepage: https://github.com/ironfroggy/straight.plugin
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/straight.plugin.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/straight.plugin.git
+
+Package: python-straight.plugin
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-straight.plugin-doc
+Description: A simple namespaced plugin facility for Python (Python 2)
+ straight.plugin is a Python plugin loader inspired by twisted.plugin
+ with two important distinctions:
+ .
+ - Fewer dependencies
+ - Python 3 compatible
+ .
+ The system is used to allow multiple Python packages to provide
+ plugins within a namespace package, where other packages will locate
+ and utilize. The plugins themselves are modules in a namespace
+ package where the namespace identifies the plugins in it for some
+ particular purpose or intent.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-straight.plugin
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-straight.plugin-doc
+Description: A simple namespaced plugin facility for Python (Python 3)
+ straight.plugin is a Python plugin loader inspired by twisted.plugin
+ with two important distinctions:
+ .
+ - Fewer dependencies
+ - Python 3 compatible
+ .
+ The system is used to allow multiple Python packages to provide
+ plugins within a namespace package, where other packages will locate
+ and utilize. The plugins themselves are modules in a namespace
+ package where the namespace identifies the plugins in it for some
+ particular purpose or intent.
+ .
+ This package installs the library for Python 3.
+
+Package: python-straight.plugin-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: A simple namespaced plugin facility for Python (common documentation)
+ straight.plugin is a Python plugin loader inspired by twisted.plugin
+ with two important distinctions:
+ .
+ - Fewer dependencies
+ - Python 3 compatible
+ .
+ The system is used to allow multiple Python packages to provide
+ plugins within a namespace package, where other packages will locate
+ and utilize. The plugins themselves are modules in a namespace
+ package where the namespace identifies the plugins in it for some
+ particular purpose or intent.
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a8f9e29
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: straight.plugin
+Source: https://github.com/ironfroggy/straight.plugin
+
+Files: *
+Copyright: 2011 Calvin Spealman <ironfroggy at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Sergio Durigan Junior <sergiodj at sergiodj.net>
+License: Expat
+
+License: Expat
+ 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/python-straight.plugin-doc.doc-base b/debian/python-straight.plugin-doc.doc-base
new file mode 100644
index 0000000..78ca88f
--- /dev/null
+++ b/debian/python-straight.plugin-doc.doc-base
@@ -0,0 +1,23 @@
+Document: straight.plugin
+Title: Debian straight.plugin Manual
+Author: Calvin Spealman <ironfroggy at gmail.com>
+Abstract: This is the manual for straight.plugin
+ straight.plugin is a Python plugin loader inspired by twisted.plugin
+ with two important distinctions:
+ .
+ - Fewer dependencies
+ - Python 3 compatible
+ .
+ The system is used to allow multiple Python packages to provide
+ plugins within a namespace package, where other packages will locate
+ and utilize. The plugins themselves are modules in a namespace
+ package where the namespace identifies the plugins in it for some
+ particular purpose or intent.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-straight.plugin-doc/html/index.html
+Files:
+ /usr/share/doc/python-straight.plugin-doc/html/*.html
+ /usr/share/doc/python-straight.plugin-doc/html/_sources/*
+ /usr/share/doc/python-straight.plugin-doc/html/_static/*
diff --git a/debian/python-straight.plugin-doc.docs b/debian/python-straight.plugin-doc.docs
new file mode 100644
index 0000000..dd2636a
--- /dev/null
+++ b/debian/python-straight.plugin-doc.docs
@@ -0,0 +1 @@
+docs/_build/html/
diff --git a/debian/python-straight.plugin-doc.manpages b/debian/python-straight.plugin-doc.manpages
new file mode 100644
index 0000000..babae4e
--- /dev/null
+++ b/debian/python-straight.plugin-doc.manpages
@@ -0,0 +1 @@
+docs/_build/man/straightplugin.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d61e1a5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME = straight.plugin
+
+%:
+	dh $@  --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=../ $(MAKE) -C docs/ html man
+
+override_dh_auto_test:
+	python setup.py test
+	python3 setup.py test
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4c00141
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%straight.plugin-$1.tar.gz%" \
+   https://github.com/ironfroggy/straight.plugin/tags \
+   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

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



More information about the Python-modules-commits mailing list