sciense/gramps: drop dependency on py-xml

Drop py-xml dependency - it's not used in this port. While here
add NO_ARCH and limit python version to 2.x, because of pygtk2
dependency and gramps codebase.
This commit is contained in:
Ruslan Makhmatkhanov 2015-06-20 09:54:35 +00:00
parent 249b044e4f
commit 85a0d2f2ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390158

View file

@ -3,6 +3,7 @@
PORTNAME= gramps
PORTVERSION= 3.4.9
PORTREVISION= 1
CATEGORIES= science gnome python
MASTER_SITES= SF/${PORTNAME}/Stable/${PORTVERSION}
@ -13,11 +14,11 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb>0:${PORTSDIR}/databases/py-bsddb \
${PYTHON_PKGNAMEPREFIX}icu>=1.8:${PORTSDIR}/devel/py-icu \
${PYXML}
${PYTHON_PKGNAMEPREFIX}icu>=1.8:${PORTSDIR}/devel/py-icu
NO_ARCH= yes
USE_BDB= 5+
USES= desktop-file-utils gettext shared-mime-info gmake python
USES= desktop-file-utils gettext shared-mime-info gmake python:2
USE_GNOME= pygtk2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-mime-install