[Python-modules-commits] r22769 - in packages/python-validictory/trunk (9 files)

paultag at users.alioth.debian.org paultag at users.alioth.debian.org
Tue Oct 16 00:29:07 UTC 2012


    Date: Tuesday, October 16, 2012 @ 00:29:05
  Author: paultag
Revision: 22769

Very rough cut of the packaging.

Added:
  packages/python-validictory/trunk/debian/
  packages/python-validictory/trunk/debian/changelog
  packages/python-validictory/trunk/debian/compat
  packages/python-validictory/trunk/debian/control
  packages/python-validictory/trunk/debian/copyright
  packages/python-validictory/trunk/debian/rules
  packages/python-validictory/trunk/debian/source/
  packages/python-validictory/trunk/debian/source/format
  packages/python-validictory/trunk/debian/watch

Added: packages/python-validictory/trunk/debian/changelog
===================================================================
--- packages/python-validictory/trunk/debian/changelog	                        (rev 0)
+++ packages/python-validictory/trunk/debian/changelog	2012-10-16 00:29:05 UTC (rev 22769)
@@ -0,0 +1,5 @@
+python-validictory (0.8.3-1) UNRELEASED; urgency=low
+
+  * Initial packaging.
+
+ -- Paul Tagliamonte <paultag at debian.org>  Fri, 29 Jun 2012 16:58:53 -0400

Added: packages/python-validictory/trunk/debian/compat
===================================================================
--- packages/python-validictory/trunk/debian/compat	                        (rev 0)
+++ packages/python-validictory/trunk/debian/compat	2012-10-16 00:29:05 UTC (rev 22769)
@@ -0,0 +1 @@
+9

Added: packages/python-validictory/trunk/debian/control
===================================================================
--- packages/python-validictory/trunk/debian/control	                        (rev 0)
+++ packages/python-validictory/trunk/debian/control	2012-10-16 00:29:05 UTC (rev 22769)
@@ -0,0 +1,38 @@
+Source: python-validictory
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Paul Tagliamonte <paultag at debian.org>
+Build-Depends: debhelper (>= 9),
+ python-all (>= 2.6.6-3~),
+ python-setuptools,
+ python-sphinx (>= 1.0.7+dfsg),
+ python3-all (>= 3.1.2),
+ python3-setuptools
+Standards-Version: 3.9.3
+Homepage: https://github.com/sunlightlabs/python-validictory
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-validictory/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-validictory/trunk/
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.1
+
+Package: python-validictory
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Suggests: python-validictory-doc
+Description: foo
+ foo
+
+Package: python3-validictory
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Suggests: python-validictory-doc
+Description: foo
+ bar
+
+Package: python-validictory-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: foo
+ bar

Added: packages/python-validictory/trunk/debian/copyright
===================================================================
--- packages/python-validictory/trunk/debian/copyright	                        (rev 0)
+++ packages/python-validictory/trunk/debian/copyright	2012-10-16 00:29:05 UTC (rev 22769)
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: sunlight
+Upstream-Contact: sunlight maintainers
+Source: https://github.com/sunlightlabs/python-validictory
+
+Files: *
+Copyright: 2012, Sunlight Labs
+License: BSD-3-sunlight
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+   * Redistributions of source code must retain the above copyright notice,
+     this list of conditions and the following disclaimer.
+   * 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.
+   * Neither the name of Sunlight Labs 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.

Added: packages/python-validictory/trunk/debian/rules
===================================================================
--- packages/python-validictory/trunk/debian/rules	                        (rev 0)
+++ packages/python-validictory/trunk/debian/rules	2012-10-16 00:29:05 UTC (rev 22769)
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+
+DOC_PACKAGE_NAME=python-validictory-doc
+PY2_PACKAGE_NAME=python-validictory
+PY3_PACKAGE_NAME=python3-validictory
+
+PACKAGE_DOCDIR=debian/$(DOC_PACKAGE_NAME)/usr/share/doc/$(DOC_PACKAGE_NAME)
+
+PYVERS  = $(shell pyversions -r)
+PY3VERS = $(shell py3versions -r)
+
+%:
+	dh $@ --with python2,python3,sphinxdoc
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rvf ./docs/build ./*.egg-info ./build
+
+override_dh_auto_build:
+	set -xe; \
+	for py in $(PYVERS) $(PY3VERS); do \
+		$$py setup.py build; \
+	done
+	make -C docs html
+
+override_dh_auto_install:
+	set -xe; \
+	for py in $(PYVERS); do \
+		$$py setup.py install --skip-build --root debian/$(PY2_PACKAGE_NAME) \
+		--install-layout deb; \
+	done
+	set -xe; \
+		for py in $(PY3VERS); do \
+		$$py setup.py install --skip-build --root debian/$(PY3_PACKAGE_NAME) \
+		--install-layout deb; \
+	done
+	# Remove me when dh_python2 can handle this file
+	rm -vf debian/*/usr/lib/python*/*-packages/*.egg-info/SOURCES.txt


Property changes on: packages/python-validictory/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-validictory/trunk/debian/source/format
===================================================================
--- packages/python-validictory/trunk/debian/source/format	                        (rev 0)
+++ packages/python-validictory/trunk/debian/source/format	2012-10-16 00:29:05 UTC (rev 22769)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/python-validictory/trunk/debian/watch
===================================================================
--- packages/python-validictory/trunk/debian/watch	                        (rev 0)
+++ packages/python-validictory/trunk/debian/watch	2012-10-16 00:29:05 UTC (rev 22769)
@@ -0,0 +1,3 @@
+version=3
+http://pypi.python.org/packages/source/v/validictory/ \
+    validictory-(\d.*).tar.gz




More information about the Python-modules-commits mailing list