--- pexif-0.15.orig/debian/changelog +++ pexif-0.15/debian/changelog @@ -0,0 +1,5 @@ +pexif (0.15-1) unstable; urgency=low + + * Initial version (Closes: #785572) + + -- Marcelo Jorge Vieira Fri, 05 Jun 2015 12:33:02 -0300 --- pexif-0.15.orig/debian/compat +++ pexif-0.15/debian/compat @@ -0,0 +1 @@ +7 --- pexif-0.15.orig/debian/control +++ pexif-0.15/debian/control @@ -0,0 +1,19 @@ +Source: pexif +Maintainer: Marcelo Jorge Vieira +Section: python +Priority: optional +Build-Depends: python-setuptools (>= 0.6b3), + python-all (>= 2.6.6-3), + debhelper (>= 7.4.3), + dh-python +Standards-Version: 3.9.6 +Homepage: https://pypi.python.org/pypi/pexif +Vcs-Browser: http://anonscm.debian.org/cgit/users/metal/pexif.git +Vcs-Git: git://anonscm.debian.org/users/metal/pexif.git +X-Python-Version: >= 2.6 + +Package: python-pexif +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Description: Python EXIF parsing + This module allows you to parse and edit the EXIF data tags in a JPEG image --- pexif-0.15.orig/debian/copyright +++ pexif-0.15/debian/copyright @@ -0,0 +1,34 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pexif +Upstream-Contact: Ben Leslie +Source: https://github.com/bennoleslie/pexif + +Files: * +Copyright: (c) 2008, Ben Leslie +License: MIT + +Files: debian/* +Copyright: (c) 2015, Marcelo Jorge Vieira +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. --- pexif-0.15.orig/debian/rules +++ pexif-0.15/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +PKG_EXAMPLE_DIR="/usr/share/doc/python-pexif/examples/" + +%: + dh $@ --with python2 --buildsystem=python_distutils + +override_dh_auto_install: + python setup.py install --root=debian/python-pexif --install-layout=deb --install-scripts=$(PKG_EXAMPLE_DIR) + +override_dh_auto_test: + PYTHONPATH="${PYTHONPATH}:${CURDIR}" python test/test.py + dh_auto_test -- --test-pytest + +override_dh_auto_clean: + find . -name "*.pyc" -delete + dh_auto_clean --- pexif-0.15.orig/debian/watch +++ pexif-0.15/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +http://pypi.debian.net/pexif/pexif-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))