[Python-modules-commits] [python-exif] 01/02: finalise package
Wolfgang Borgert
debacle at moszumanska.debian.org
Tue Oct 7 22:50:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to branch master
in repository python-exif.
commit 31d5df66058938703382591dad97cd9405a15f7e
Author: W. Martin Borgert <debacle at debian.org>
Date: Tue Oct 7 23:56:47 2014 +0200
finalise package
---
debian/changelog | 6 +++---
debian/control | 8 ++++----
debian/install | 2 --
debian/python-exif.install | 1 +
debian/python3-exif.install | 1 +
debian/rules | 7 ++++++-
debian/watch | 3 ++-
7 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d6a7b33..981e3c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,11 @@
-python-exif (1.4.2-1) UNRELEASED; urgency=low
+python-exif (1.4.2-1) unstable; urgency=low
* New upstream release (Closes: #763347), new upstream homepage
- * Bump Standards-Version to 3.9.6 (with no changes).
+ * Bump Standards-Version to 3.9.5 (with no changes).
* Add Python 3 variant
* Moved packaging to git
- --
+ -- W. Martin Borgert <debacle at debian.org> Tue, 07 Oct 2014 21:56:02 +0000
python-exif (1.1.0-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index af9c7a6..688b3fa 100644
--- a/debian/control
+++ b/debian/control
@@ -2,9 +2,9 @@ Source: python-exif
Section: python
Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: TANIGUCHI Takaki <takaki at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-all
-Standards-Version: 3.9.4
+Uploaders: TANIGUCHI Takaki <takaki at debian.org>, W. Martin Borgert <debacle at debian.org>
+Build-Depends: python-all (>= 2.7~), python-setuptools, debhelper (>= 9), python3-all, python3-setuptools
+Standards-Version: 3.9.5
Homepage: https://github.com/ianare/exif-py
Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-exif.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=python-modules/packages/python-exif.git
@@ -19,7 +19,7 @@ Description: Python library to extract Exif data from TIFF and JPEG files
.
This package provides the Python 2.x module.
-Package: python-exif
+Package: python3-exif
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}
Provides: ${python3:Provides}
diff --git a/debian/install b/debian/install
deleted file mode 100644
index b53aa37..0000000
--- a/debian/install
+++ /dev/null
@@ -1,2 +0,0 @@
-EXIF.py usr/share/pyshared
-
diff --git a/debian/python-exif.install b/debian/python-exif.install
new file mode 100644
index 0000000..9326b3c
--- /dev/null
+++ b/debian/python-exif.install
@@ -0,0 +1 @@
+EXIF.py /usr/lib/python2.7/dist-packages/
\ No newline at end of file
diff --git a/debian/python3-exif.install b/debian/python3-exif.install
new file mode 100644
index 0000000..4c896e3
--- /dev/null
+++ b/debian/python3-exif.install
@@ -0,0 +1 @@
+EXIF.py /usr/lib/python3/dist-packages/
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index ad7b62d..50b5645 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,12 @@
# -*- makefile -*-
#export DH_VERBOSE=1
-export PYBUILD_NAME=exifread
+export PYBUILD_NAME=exif
%:
dh $@ --buildsystem=pybuild --with python2,python3
+
+override_dh_install:
+ dh_install
+ sed -i '1c\#!/usr/bin/python3' $(CURDIR)/debian/python3-exif/usr/lib/python3/dist-packages/EXIF.py
+ rm $(CURDIR)/debian/python*-exif/usr/bin/EXIF.py
diff --git a/debian/watch b/debian/watch
index 30bdac6..b7198c8 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
-http://sf.net/exif-py/EXIFpy_(.*)\.tar\.gz
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/exif-py-$1\.tar\.gz/ \
+ https://github.com/ianare/exif-py/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-exif.git
More information about the Python-modules-commits
mailing list