mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
pyexiv2 is a python binding to exiv2, the C++ library for manipulation of
EXIF and IPTC image metadata. It is a python module that allows your python scripts to read and write metadata (EXIF, IPTC, thumbnail) embedded in image files (JPEG, TIFF, ...). It is designed as a high level interface to the functionalities offered by exiv2 (and is built on top of it). Using python's built-in data types and standard modules, it provides easy manipulation of image metadata. WWW: http://tilloy.net/dev/pyexiv2/ PR: ports/124193 Submitted by: Denis Barov <dindin at dindin.ru>
This commit is contained in:
parent
7702bac9b2
commit
b4a105ea42
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214161
@ -624,6 +624,7 @@
|
||||
SUBDIR += py-chart
|
||||
SUBDIR += py-editobj
|
||||
SUBDIR += py-exif
|
||||
SUBDIR += py-exiv2
|
||||
SUBDIR += py-freeimagepy
|
||||
SUBDIR += py-gd
|
||||
SUBDIR += py-gdchart
|
||||
|
37
graphics/py-exiv2/Makefile
Normal file
37
graphics/py-exiv2/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: py-exiv2
|
||||
# Date created: 2008-06-01
|
||||
# Whom: Denis Barov <dindin@dindin.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= exiv2
|
||||
PORTVERSION= 0.1.2
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= http://tilloy.net/dev/pyexiv2/releases/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= dindin@dindin.ru
|
||||
COMMENT= Python bindings for exiv2
|
||||
|
||||
LIB_DEPENDS= exiv2.3:${PORTSDIR}/graphics/exiv2\
|
||||
boost_python.4:${PORTSDIR}/devel/boost-python
|
||||
|
||||
WRKSRC= ${WRKDIR}/py${PORTNAME}
|
||||
USE_PYTHON= yes
|
||||
USE_GMAKE= yes
|
||||
USE_BZIP2= yes
|
||||
USE_SCONS= yes
|
||||
USE_LDCONFIG= yes
|
||||
SCONS_ENV+= PREFIX=${PREFIX} CPPPATH=${PREFIX}/inlude LIBPATH=${PREFIX}/lib
|
||||
SCONS_BUILDENV= ${SCONS_ENV}
|
||||
SCONS_ARGS+= prefix=${PREFIX} use_env=1
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|python_inc_path\]|python_inc_path,\
|
||||
"${PREFIX}/include"\]|' -e 's|LIBS=libs|LIBS=libs,\
|
||||
LIBPATH=\"${PREFIX}/lib\"|'\
|
||||
${WRKSRC}/src/SConscript
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/py-exiv2/distinfo
Normal file
3
graphics/py-exiv2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pyexiv2-0.1.2.tar.bz2) = 246dae9b4eca5d2fe2a4e3762e13fac1
|
||||
SHA256 (pyexiv2-0.1.2.tar.bz2) = b28109f0607b5c3f020e73274a540e5f19ce8b164a9953d0ff2f9229764d7ae2
|
||||
SIZE (pyexiv2-0.1.2.tar.bz2) = 35796
|
10
graphics/py-exiv2/pkg-descr
Normal file
10
graphics/py-exiv2/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
pyexiv2 is a python binding to exiv2, the C++ library for manipulation of
|
||||
EXIF and IPTC image metadata. It is a python module that allows your python
|
||||
scripts to read and write metadata (EXIF, IPTC, thumbnail) embedded in image
|
||||
files (JPEG, TIFF, ...).
|
||||
|
||||
It is designed as a high level interface to the functionalities offered by
|
||||
exiv2 (and is built on top of it). Using python's built-in data types and
|
||||
standard modules, it provides easy manipulation of image metadata.
|
||||
|
||||
WWW: http://tilloy.net/dev/pyexiv2/
|
2
graphics/py-exiv2/pkg-plist
Normal file
2
graphics/py-exiv2/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
%%PYTHON_SITELIBDIR%%/libpyexiv2.so
|
||||
%%PYTHON_SITELIBDIR%%/pyexiv2.py
|
Loading…
Reference in New Issue
Block a user