forked from Lainports/freebsd-ports
Python XMP Toolkit is a library for working with XMP (= Extensible Metadata Platform) metadata, as well as reading/writing XMP metadata stored in many different file formats. Python XMP Toolkit is wrapping Exempi (using ctypes), a C/C++ XMP library based on Adobe XMP Toolkit, ensuring that future updates to the XMP standard are easily incorporated into the library with a minimum amount of work. Python XMP Toolkit has been developed by: * ESA/Hubble - European Space Agency * ESO - European Southern Observatory * CRS4 - Centre for Advanced Studies, Research and Development in Sardinia WWW: https://github.com/python-xmp-toolkit/python-xmp-toolkit
28 lines
697 B
Makefile
28 lines
697 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= python-xmp-toolkit
|
|
DISTVERSION= 2.0.1
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= XMP Toolkit for working with metadata
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libexempi.so:textproc/exempi
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
|
|
py27_TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@(cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v -e 'test_core')
|
|
|
|
.include <bsd.port.mk>
|