[Python-modules-commits] [lazr.delegates] 01/07: lazr.delegates (2.0.1-1) unstable; urgency=medium
Barry Warsaw
barry at moszumanska.debian.org
Fri Jan 9 22:25:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository lazr.delegates.
commit 7727231b153ece9517a8a81b0559393cb68d05f7
Author: Barry Warsaw <barry at debian.org>
Date: Thu Aug 21 19:27:12 2014 -0400
lazr.delegates (2.0.1-1) unstable; urgency=medium
* Initial release. (Closes: #758828)
---
debian/README.source | 19 +++++++++++
debian/changelog | 5 +++
debian/compat | 1 +
debian/control | 61 +++++++++++++++++++++++++++++++++++
debian/copyright | 38 ++++++++++++++++++++++
debian/python-lazr.delegates-doc.docs | 1 +
debian/rules | 20 ++++++++++++
debian/source/format | 1 +
debian/tests/control | 2 ++
debian/tests/smoketest-2 | 4 +++
debian/tests/smoketest-3 | 4 +++
debian/watch | 2 ++
12 files changed, 158 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..dbfd7f7
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,19 @@
+This package uses git-dpm to manage it packaging branch. See the manpage for
+git-dpm(1) or https://wiki.debian.org/PackagingWithGit/GitDpm
+
+The branch names used are:
+
+ * master - the packaging branch
+ * pristine-tar - take a guess :)
+ * upstream - the upstream source, i.e. sans debian/
+
+I use the following to build the source package:
+
+$ git-buildpackage -S
+
+and then complete various local builds and tests using sbuild, pbuilder, and
+adt-run. The choice of branch names above means we don't need a
+debian/gbp.conf file. Other than that, this package doesn't use
+git-buildpackage for maintenance.
+
+ -- Barry Warsaw <barry at debian.org>, Thu, 21 Aug 2014 10:42:39 -0400
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7343dd6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lazr.delegates (2.0.1-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #758828)
+
+ -- Barry Warsaw <barry at debian.org> Thu, 21 Aug 2014 19:27:12 -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..f336521
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,61 @@
+Source: lazr.delegates
+Maintainer: Barry Warsaw <barry at debian.org>
+Uploaders: Debian Python Modules Team
+ <python-modules-team at lists.alioth.debian.org>
+Homepage: https://launchpad.net/lazr.delegates
+Section: python
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all (>= 2.6.6-3~),
+ python-docutils,
+ python-nose,
+ python-setuptools,
+ python-sphinx (>= 1.0.7+dfsg-1~),
+ python-zope.interface,
+ python3-all,
+ python3-nose,
+ python3-setuptools,
+ python3-zope.interface
+Standards-Version: 3.9.5
+XS-Testsuite: autopkgtest
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/lazr.delegates.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=python-modules/packages/lazr.delegates.git
+
+Package: python-lazr.delegates
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Suggests: python-lazr.delegates-doc
+Description: easily write objects that delegate behavior
+ The ``lazr.delegates`` package makes it easy to write objects that delegate
+ behavior to another object. The new object adds some property or behavior on
+ to the other object, while still providing the underlying interface, and
+ delegating behavior.
+ .
+ This is the Python 2 version.
+
+Package: python3-lazr.delegates
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Suggests: python-lazr.delegates-doc
+Description: easily write objects that delegate behavior
+ The ``lazr.delegates`` package makes it easy to write objects that delegate
+ behavior to another object. The new object adds some property or behavior on
+ to the other object, while still providing the underlying interface, and
+ delegating behavior.
+ .
+ This is the Python 3 version.
+
+Package: python-lazr.delegates-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: easily write objects that delegate behavior
+ The ``lazr.delegates`` package makes it easy to write objects that delegate
+ behavior to another object. The new object adds some property or behavior on
+ to the other object, while still providing the underlying interface, and
+ delegating behavior.
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ff3835e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lazr.smtptest
+Source: https://pypi.python.org/pypi/lazr.delegates
+
+Files: *
+Copyright: Copyright 2009-2014 Canonical Ltd. All rights reserved.
+License: LGPL-3
+ This file is part of lazr.delegates
+ .
+ lazr.delegates is free software: you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, version 3 of the License.
+ .
+ lazr.delegates is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with lazr.delegates. If not, see <http://www.gnu.org/licenses/>.
+
+Files: debian/*
+Copyright: 2014 Barry A. Warsaw
+License: LGPL-3
+ lazr.delegates is free software: you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, version 3 of the License.
+ .
+ lazr.delegates is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with lazr.delegates. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian-based systems the full text of the LGPL can be found at
+ /usr/share/common-licenses/LGPL-3.
diff --git a/debian/python-lazr.delegates-doc.docs b/debian/python-lazr.delegates-doc.docs
new file mode 100644
index 0000000..6f7511e
--- /dev/null
+++ b/debian/python-lazr.delegates-doc.docs
@@ -0,0 +1 @@
+build/sphinx/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4092ab4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=lazr.delegates
+#export DH_VERBOSE=1
+
+%:
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_install:
+ dh_install
+ rm -f debian/python-lazr.delegates/usr/lib/python2.7/dist-packages/lazr/delegates/_python3.py
+ rm -f debian/python3-lazr.delegates/usr/lib/python3.*/dist-packages/lazr/delegates/_python2.py
+
+override_dh_installdocs:
+ python setup.py build_sphinx
+ dh_installdocs
+
+override_dh_sphinxdoc:
+ dh_sphinxdoc
+ find debian/python-lazr.delegates-doc -name .pybuild | xargs rm -rf
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/tests/control b/debian/tests/control
new file mode 100644
index 0000000..5efbdfc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: smoketest-2 smoketest-3
+Depends: @
diff --git a/debian/tests/smoketest-2 b/debian/tests/smoketest-2
new file mode 100644
index 0000000..a0aad53
--- /dev/null
+++ b/debian/tests/smoketest-2
@@ -0,0 +1,4 @@
+#!/usr/bin/python
+
+import lazr.delegates
+print lazr.delegates.__file__, lazr.delegates.__version__
diff --git a/debian/tests/smoketest-3 b/debian/tests/smoketest-3
new file mode 100644
index 0000000..7c8bc26
--- /dev/null
+++ b/debian/tests/smoketest-3
@@ -0,0 +1,4 @@
+#!/usr/bin/python3
+
+import lazr.delegates
+print(lazr.delegates.__file__, lazr.delegates.__version__)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1fd033b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/packages/source/l/lazr.delegates/lazr.delegates-(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/lazr.delegates.git
More information about the Python-modules-commits
mailing list