diff options
Diffstat (limited to 'x11-toolkits/py-kivy/Makefile')
-rw-r--r-- | x11-toolkits/py-kivy/Makefile | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/x11-toolkits/py-kivy/Makefile b/x11-toolkits/py-kivy/Makefile index c94b409ce584..ea3ef470a6d4 100644 --- a/x11-toolkits/py-kivy/Makefile +++ b/x11-toolkits/py-kivy/Makefile @@ -2,10 +2,8 @@ # $FreeBSD$ PORTNAME= kivy -PORTVERSION= 1.9.1 -PORTREVISION= 4 +PORTVERSION= 1.10.0 CATEGORIES= x11-toolkits python -MASTER_SITES= GH LOCAL/dbn/${PORTNAME} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dbn@FreeBSD.org @@ -14,18 +12,19 @@ COMMENT= Python NUI library for rapid application development LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= fails to build - +BUILD_DEPENDS= git:devel/git \ + ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${FLAVOR} LIB_DEPENDS= libmtdev.so:devel/libmtdev +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${FLAVOR} TEST_DEPENDS= nosetests-${PYTHON_VER}:devel/py-nose@${FLAVOR} MAKE_ENV= KIVY_NO_CONFIG=yes KIVY_NO_FILELOG=yes USE_OPENGL_ES2=1 \ PYTHONPATH=${WRKSRC} +USES= display:test python:2.7+ uniquefiles:dirs USE_GITHUB= yes -USES= display:test python:2.7 uniquefiles:dirs USE_GL= egl gl glesv2 -USE_PYTHON= autoplist concurrent distutils cython +USE_PYTHON= autoplist concurrent cython distutils PYDISTUTILS_BUILD_TARGET= build_ext PYDISTUTILS_BUILDARGS= --inplace @@ -52,14 +51,15 @@ SPELLING_DESC= Spell checking support TEXT_DESC= Text rendering support (compulsory) WINDOW_DESC= Window support (compulsory) -DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${FLAVOR} +DOCS_BUILD_DEPENDS= sphinx-build-${PYTHON_VER}:textproc/py-sphinx@${FLAVOR} ENCHANT_DESC= Spell checking support via Enchant ENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>=0:textproc/py-enchant@${FLAVOR} GSTREAMER_MAKE_ENV= USE_GSTREAMER=1 GSTREAMER_MAKE_ENV_OFF= USE_GSTREAMER=0 GSTREAMER_LIB_DEPENDS= libgstreamer-1.0.so:multimedia/gstreamer1 GSTREAMER_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygst.py:multimedia/py-gstreamer@${FLAVOR} -GSTREAMER_USES= pkgconfig +GSTREAMER_USES= gettext-runtime pkgconfig +GSTREAMER_USE= GNOME=glib20 OPENCV_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cv.py:graphics/py-opencv@${FLAVOR} PIL_DESC= Text and window rendering support via Pillow PIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${FLAVOR} @@ -73,7 +73,7 @@ SDL2_USE= SDL=sdl2,mixer2,image2,ttf2 SDL2_USES= pkgconfig X11_MAKE_ENV= USE_X11=1 X11_MAKE_ENV_OFF= USE_X11=0 -X11_USE= XORG=x11 +X11_USE= XORG=xrender,x11 .if !defined(ARCH) ARCH!= uname -p @@ -88,7 +88,7 @@ post-build-DOCS-on: (cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} doc/autobuild.py) (cd ${WRKSRC}; \ - ${SETENV} ${MAKE_ENV} sphinx-build -b html \ + ${SETENV} ${MAKE_ENV} sphinx-build-${PYTHON_VER} -b html \ -d ${WRKSRC}/doc/build/doctrees \ doc/sources ${WRKSRC}/doc/build/html) @@ -103,10 +103,4 @@ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc/build/html; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -post-install-PDF-on: post-install-DOCS-on - ${INSTALL_DATA} ${WRKSRC}/doc/build/latex-a4/Kivy.pdf \ - ${STAGEDIR}${DOCSDIR}/Kivy-a4.pdf - ${INSTALL_DATA} ${WRKSRC}/doc/build/latex-letter/Kivy.pdf \ - ${STAGEDIR}${DOCSDIR}/Kivy-letter.pdf - .include <bsd.port.mk> |