[Python-modules-commits] [lazy-object-proxy] 03/04: Initial release (Closes: #806678)
Sandro Tosi
morph at moszumanska.debian.org
Sat Dec 5 23:08:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository lazy-object-proxy.
commit c3439a1609bd5a4d84c76c3381e5adbccb7296a8
Author: Sandro Tosi <morph at debian.org>
Date: Sat Dec 5 22:59:15 2015 +0000
Initial release (Closes: #806678)
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 45 +++++++++++++++++++++++++++++++++++++++++++++
debian/rules | 17 +++++++++++++++++
debian/watch | 3 +++
6 files changed, 123 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ff7e436
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lazy-object-proxy (1.2.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #806678)
+
+ -- Sandro Tosi <morph at debian.org> Sun, 29 Nov 2015 23:49:34 +0000
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..00ba294
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: lazy-object-proxy
+Section: python
+Priority: optional
+Maintainer: Sandro Tosi <morph at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 9), python, python3, dh-python
+Standards-Version: 3.9.6
+Homepage: https://github.com/ionelmc/python-lazy-object-proxy
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/lazy-object-proxy.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/lazy-object-proxy.git
+
+Package: python-lazy-object-proxy
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
+Description: Python fast and thorough lazy object proxy
+ A lazy object proxy is an object that wraps a callable but defers the call
+ until the object is actually required, and caches the result of said call.
+ .
+ These kinds of objects are useful in resolving various dependency issues, few
+ examples:
+ .
+ * Objects that need to held circular references at each other, but at
+ different stages. To instantiate object Foo you need an instance of Bar.
+ Instance of Bar needs an instance of Foo in some of it methods (but not at
+ construction). Circular imports sound familiar?
+ .
+ * Performance sensitive code. You don't know ahead of time what you're going
+ to use but you don't want to pay for allocating all the resources at the
+ start as you usually need just few of them.
+ .
+ This package contains the Python 2 version of lazy-object-proxy .
+
+Package: python3-lazy-object-proxy
+Architecture: any
+Depends: ${shlibs:Depends}, ${python3:Depends}, ${misc:Depends}
+Description: Python 3 fast and thorough lazy object proxy
+ A lazy object proxy is an object that wraps a callable but defers the call
+ until the object is actually required, and caches the result of said call.
+ .
+ These kinds of objects are useful in resolving various dependency issues, few
+ examples:
+ .
+ * Objects that need to held circular references at each other, but at
+ different stages. To instantiate object Foo you need an instance of Bar.
+ Instance of Bar needs an instance of Foo in some of it methods (but not at
+ construction). Circular imports sound familiar?
+ .
+ * Performance sensitive code. You don't know ahead of time what you're going
+ to use but you don't want to pay for allocating all the resources at the
+ start as you usually need just few of them.
+ .
+ This package contains the Python 3 version of lazy-object-proxy .
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b4e044c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,45 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lazy-object-proxy
+Source: https://github.com/ionelmc/python-lazy-object-proxy
+
+Files: *
+Copyright: Copyright (c) 2014-2015, Ionel Cristian Mărieș <contact at ionelmc.ro>
+License: BSD
+ 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.
+ .
+ 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 HOLDER 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.
+
+Files: debian/*
+Copyright: 2015 Sandro Tosi <morph at debian.org>
+License: BSD
+
+Files: ci/appveyor-with-compiler.cmd
+Author: Olivier Grisel
+License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
+
+Files: ci/appveyor-bootstrap.ps1
+Authors: Olivier Grisel and Kyle Kastner
+License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b612bc0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+PY2VERS := $(shell pyversions -s)
+PY3VERS := $(shell py3versions -s)
+
+%:
+ dh $@ --with python2,python3
+
+override_dh_auto_install:
+ set -e ; \
+ for python in $(PY2VERS); do \
+ $$python setup.py install --root=debian/python-lazy-object-proxy --install-layout=deb; \
+ done
+ set -e ; \
+ for python in $(PY3VERS); do \
+ $$python setup.py install --root=debian/python3-lazy-object-proxy --install-layout=deb; \
+ done
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bcfc905
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/lazy-object-proxy/lazy-object-proxy-(.+)\.(?: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/lazy-object-proxy.git
More information about the Python-modules-commits
mailing list