[Python-modules-commits] [twistar] 03/07: Added packaging

Jan-Pascal van Best janpascal-guest at moszumanska.debian.org
Mon Oct 12 21:32:27 UTC 2015


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

janpascal-guest pushed a commit to branch master
in repository twistar.

commit af4b8ef4941e3bb771634ce53636a49056bb7d78
Author: Jan-Pascal van Best <janpascal at vanbest.org>
Date:   Wed Oct 7 16:31:31 2015 +0200

    Added packaging
---
 debian/changelog                   |  5 ++++
 debian/compat                      |  1 +
 debian/control                     | 40 +++++++++++++++++++++++++++++
 debian/copyright                   | 52 ++++++++++++++++++++++++++++++++++++++
 debian/gbp.conf                    |  6 +++++
 debian/pydist-overrides            |  1 +
 debian/python-twistar-doc.doc-base | 10 ++++++++
 debian/python-twistar-doc.docs     |  2 ++
 debian/python-twistar.docs         |  1 +
 debian/rules                       | 15 +++++++++++
 debian/watch                       |  2 ++
 11 files changed, 135 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..03a89f9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+twistar (1.3-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #800717)
+
+ -- Jan-Pascal van Best <janpascal at vanbest.org>  Wed, 17 Jun 2015 20:56:38 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c383acd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: twistar
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Jan-Pascal van Best <janpascal at vanbest.org>
+Homepage: http://findingscience.com/twistar
+Section: python
+X-Python-Version: >= 2.6
+Priority: optional
+Build-Depends: debhelper (>= 9~),
+               dh-python,
+               python-all (>= 2.6.6-3~),
+               python-setuptools,
+               python-twisted-lore,
+               python-epydoc,
+               python-psycopg2,
+               python-mysqldb
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/twistar.git
+Vcs-Browser: http://anonscm.debian.org/cgit/python-modules/packages/twistar.git
+
+Package: python-twistar
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-twistar-doc, python-mysqldb, python-psycopg2
+Description: Python ORM library for the Twisted framework
+ Twistar is a Python implementation of the active record pattern (also known as
+ an object-relational mapper or ORM) that uses the Twisted framework’s RDBMS
+ support to provide a non-blocking interface to relational databases.
+ .
+ This package installs the library for Python 2.
+
+Package: python-twistar-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Python ORM library for the Twisted framework (documentation)
+ Twistar is a Python implementation of the active record pattern (also known as
+ an object-relational mapper or ORM) that uses the Twisted framework’s RDBMS
+ support to provide a non-blocking interface to relational databases.
+ .
+ This package contains documentation for Twistar, including API docs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e9a4c51
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,52 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Twistar
+Upstream-Contact: Brian Muller <bamuller at gmail.com>
+Source: https://github.com/bmuller/twistar
+
+Files: *
+Copyright: 2010-2013, Butterfat, LLC
+License: MIT
+
+Files: BermiInflector/*
+Copyright: 2006, Bermi Ferrer Martinez
+License: BSD-derived
+
+Files: debian/*
+Copyright: 2015, Jan-Pascal van Best <janpascal at vanbest.org>
+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.
+
+License: BSD-derived
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software to deal in this software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of this software, and to permit
+ persons to whom this software is furnished to do so, subject to the following
+ condition:
+ .
+ THIS 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 THIS SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THIS SOFTWARE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..3ffb715
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,6 @@
+[DEFAULT]
+# the tag format used for upstream tags
+upstream-tag = v%(version)s
+
+[git-import-orig]
+upstream-branch = upstream
diff --git a/debian/pydist-overrides b/debian/pydist-overrides
new file mode 100644
index 0000000..aa0ac90
--- /dev/null
+++ b/debian/pydist-overrides
@@ -0,0 +1 @@
+twisted python-twisted-core
diff --git a/debian/python-twistar-doc.doc-base b/debian/python-twistar-doc.doc-base
new file mode 100644
index 0000000..cc9eec4
--- /dev/null
+++ b/debian/python-twistar-doc.doc-base
@@ -0,0 +1,10 @@
+Document: python-twistar
+Title: Python Twistar Documentation
+Author: Brian Muller
+Abstract: Documentation for the Twistar ORM library for Twisted
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-twistar-doc/index.html
+Files: /usr/share/doc/python-twistar-doc/*.html
+ /usr/share/doc/python-twistar-doc/apidoc/*.html
diff --git a/debian/python-twistar-doc.docs b/debian/python-twistar-doc.docs
new file mode 100644
index 0000000..4129733
--- /dev/null
+++ b/debian/python-twistar-doc.docs
@@ -0,0 +1,2 @@
+apidoc
+doc/*.html
diff --git a/debian/python-twistar.docs b/debian/python-twistar.docs
new file mode 100644
index 0000000..8d526b9
--- /dev/null
+++ b/debian/python-twistar.docs
@@ -0,0 +1 @@
+README.markdown
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..aa399dd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#! /usr/bin/make -f
+
+export DH_VERBOSE = 1
+export PYBUILD_NAME = twistar
+
+%:
+	dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_test:
+	trial twistar
+
+override_dh_auto_build:
+	dh_auto_build
+	epydoc twistar --quiet --output=apidoc --name=Twistar 
+	lore --config template=doc/template.tpl doc/*.xhtml
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d5f7941
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pypi.debian.net/twistar/twistar-(.+)\.(?: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/twistar.git



More information about the Python-modules-commits mailing list