aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-exiv2
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-12-26 17:15:45 +0800
committerrm <rm@FreeBSD.org>2012-12-26 17:15:45 +0800
commitaadd3dc4a36d3ae9cecc469008d7b000690cd5ba (patch)
tree7d4a8eb966a8141965de1494a22bf29216b2de26 /graphics/py-exiv2
parentff81778bf79f0182663c32c4a60579fb3d59a57f (diff)
downloadfreebsd-ports-gnome-aadd3dc4a36d3ae9cecc469008d7b000690cd5ba.tar.gz
freebsd-ports-gnome-aadd3dc4a36d3ae9cecc469008d7b000690cd5ba.tar.zst
freebsd-ports-gnome-aadd3dc4a36d3ae9cecc469008d7b000690cd5ba.zip
- update to 0.3.2
- trim Makefile header - remove shlib versions from LIB_DEPENDS (portlint warning) - limit python version to 2.x only - add tests PR: 174394 Reported by: Markus Golser <markus@weihergut.it> Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'graphics/py-exiv2')
-rw-r--r--graphics/py-exiv2/Makefile21
-rw-r--r--graphics/py-exiv2/distinfo4
2 files changed, 11 insertions, 14 deletions
diff --git a/graphics/py-exiv2/Makefile b/graphics/py-exiv2/Makefile
index a4ab1abbb88e..42038a24f7ef 100644
--- a/graphics/py-exiv2/Makefile
+++ b/graphics/py-exiv2/Makefile
@@ -1,26 +1,20 @@
-# New ports collection makefile for: py-exiv2
-# Date created: 2008-06-01
-# Whom: Denis Barov <dindin@dindin.ru>
-#
+# Created by: Denis Barov <dindin@dindin.ru>
# $FreeBSD$
-#
PORTNAME= exiv2
-PORTVERSION= 0.3.0
-PORTREVISION= 1
+PORTVERSION= 0.3.2
CATEGORIES= graphics python
-MASTER_SITES= http://launchpadlibrarian.net/61465005/ \
- http://www.dindin.ru/download/
+MASTER_SITES= https://launchpadlibrarian.net/83595798/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Python bindings for exiv2
-LIB_DEPENDS= exiv2.12:${PORTSDIR}/graphics/exiv2\
- boost_python.4:${PORTSDIR}/devel/boost-python-libs
+LIB_DEPENDS= exiv2:${PORTSDIR}/graphics/exiv2\
+ boost_python:${PORTSDIR}/devel/boost-python-libs
-USE_PYTHON= yes
+USE_PYTHON= -2.7
USE_GMAKE= yes
USE_BZIP2= yes
USE_SCONS= yes
@@ -40,4 +34,7 @@ post-install:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
${PYTHON_SITELIBDIR}/pyexiv2
+regression-test: build
+ @cd ${WRKSRC} && ${SCONS_BIN} test
+
.include <bsd.port.mk>
diff --git a/graphics/py-exiv2/distinfo b/graphics/py-exiv2/distinfo
index 74402093188e..8dbc84d79024 100644
--- a/graphics/py-exiv2/distinfo
+++ b/graphics/py-exiv2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pyexiv2-0.3.0.tar.bz2) = e96549feab366de85070aa2f8cedcc4d0017d53b78faea5067c60425c117f9f8
-SIZE (pyexiv2-0.3.0.tar.bz2) = 202714
+SHA256 (pyexiv2-0.3.2.tar.bz2) = 0abc117c6afa71f54266cb91979a5227f60361db1fcfdb68ae9615398d7a2127
+SIZE (pyexiv2-0.3.2.tar.bz2) = 283163