1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Fix package name conflict with py-gobject.

Use new lib_depend syntax.
USE_GMAKE => USES=gmake
BUILD/RUN_DEPENDS=gobject-introspection -> USE_GNOME=introspection.
Restrict python version to -2.7 [1]
Enable stage support.

Submitted by:	mva [1]
This commit is contained in:
Koop Mast 2013-10-05 23:40:16 +00:00
parent 9a5ea000ee
commit b0e3206108
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329519

View File

@ -8,6 +8,7 @@ CATEGORIES= devel python
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 3
DISTNAME= pygobject-${PORTVERSION}
DIST_SUBDIR= gnome3
@ -17,18 +18,14 @@ COMMENT= Python bindings for GObject
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi
RUN_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}3
USE_XZ= yes
USE_GMAKE= yes
USES= pathfix pkgconfig
USE_GNOME= glib20
USE_PYTHON= 2.6+
USES= gmake pathfix pkgconfig
USE_GNOME= glib20 introspection
USE_PYTHON= -2.7
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@ -39,7 +36,6 @@ CONFLICTS= py*-gtk-0* py*-gobject-2.*.[0-6] py*-gobject-2.*.[7-9] \
PLIST_SUB= PYTHON_VER="${PYTHON_VER}" ARCH=${ARCH} UNAME_R=${UNAME_R} \
VERSION=${PORTVERSION}
NO_STAGE= yes
.include <bsd.port.pre.mk>
UNAME_R!= ${UNAME} -r