[Python-modules-commits] [python-imagesize] 02/03: Initial release (closes: #819913).

Dmitry Shachnev mitya57 at moszumanska.debian.org
Sat Apr 30 12:46:31 UTC 2016


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

mitya57 pushed a commit to branch master
in repository python-imagesize.

commit aaea23544aba53ed7165466eb063cc8333a4376a
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Sat Apr 30 15:43:02 2016 +0300

    Initial release (closes: #819913).
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 33 +++++++++++++++++++++++++++++++++
 debian/copyright | 30 ++++++++++++++++++++++++++++++
 debian/rules     |  9 +++++++++
 debian/watch     |  3 +++
 6 files changed, 81 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ca6a8c6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-imagesize (0.7.1-1) unstable; urgency=medium
+
+  * Initial release (closes: #819913).
+
+ -- Dmitry Shachnev <mitya57 at debian.org>  Sat, 30 Apr 2016 15:42:52 +0300
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..121ff96
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: python-imagesize
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Dmitry Shachnev <mitya57 at debian.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python3-all,
+               python3-setuptools
+Standards-Version: 3.9.8
+Homepage: https://github.com/shibukawa/imagesize_py
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-imagesize.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-imagesize.git
+
+Package: python-imagesize
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: Python 2 module for getting image size from png/jpeg/jpeg2000/gif file
+ This small module parses image header and returns width and height of the
+ image. Supported formats are: PNG, JPEG, JPEG2000, GIF.
+ .
+ This is the Python 2 version of the module.
+
+Package: python3-imagesize
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: Python 3 module for getting image size from png/jpeg/jpeg2000/gif file
+ This small module parses image header and returns width and height of the
+ image. Supported formats are: PNG/JPEG/JPEG2000/GIF.
+ .
+ This is the Python 3 version of the module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e396e43
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://pypi.python.org/pypi/imagesize
+Upstream-Name: imagesize
+
+Files: *
+Copyright: 2016 Yoshiki Shibukawa <yoshiki at shibu.jp>
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Dmitry Shachnev <mitya57 at debian.org>
+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/rules b/debian/rules
new file mode 100755
index 0000000..ef89d33
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=imagesize
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	dh_auto_test -- --system custom --test-args "{interpreter} -m unittest discover -v -s test"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..62ba382
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/(\d\S*)\.tar\.gz/python-imagesize_$1\.orig\.tar\.gz/ \
+ https://github.com/shibukawa/imagesize_py/tags .*/(\d\S*)\.tar\.gz

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



More information about the Python-modules-commits mailing list