1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Those ports fail to build with python3

- Add some explicit FLAVOR to dependencies where needed
This commit is contained in:
Antoine Brodin 2017-12-12 18:35:32 +00:00
parent 55d99fa7d2
commit 6cfdfbc1cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456181
13 changed files with 14 additions and 18 deletions

View File

@ -7,7 +7,7 @@ CATEGORIES= devel
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC}
USES= python
USES= python:2.7
USE_GNOME= pygtk2
.include "${.CURDIR}/../geany-plugins/files/Makefile.common"

View File

@ -9,7 +9,7 @@ DISTNAME= kate-${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Support for Python plugins in Kate
USES= cmake:outsource,noninja kde:4 python tar:xz
USES= cmake:outsource,noninja kde:4 python:2.7 tar:xz
USE_KDE= kdelibs automoc4 kate \
pykde4_build pykde4_run
USE_QT4= gui webkit \

View File

@ -18,7 +18,7 @@ RUN_DEPENDS= openmsx:emulators/openmsx
OPTIONS_DEFINE= DEBUG DOCS
USES= gmake pkgconfig python:build
USES= gmake pkgconfig python:2.7,build
USE_GCC= yes
USE_CXXSTD= gnu++0x
USE_GNOME= gtk20 libxml2

View File

@ -22,7 +22,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libpng.so:graphics/png
RUN_DEPENDS= bash:shells/bash
USES= autoreconf gmake libtool perl5 python shebangfix tar:bzip2 \
USES= autoreconf gmake libtool perl5 python:2.7 shebangfix tar:bzip2 \
uidfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --with-check=no --localstatedir=/var/games

View File

@ -13,7 +13,7 @@ COMMENT= Kiki the nanobot is a 3-D puzzle game
BUILD_DEPENDS= swig:devel/swig13
USES= compiler dos2unix gmake python
USES= compiler dos2unix gmake python:2.7
USE_GL= gl glu glut
USE_SDL= sdl mixer image
DOS2UNIX_REGEX= .*/(Makefile|.*\.cpp|.*\.h|.*\.i)$

View File

@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gsed:textproc/gsed
USES= gettext gmake perl5 pkgconfig python tar:bzip2
USES= gettext gmake perl5 pkgconfig python:2.7 tar:bzip2
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-rtb-dir=${PREFIX}/lib/${PORTNAME}

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://www.mollux.org/projects/pecomato/download/sources/ \
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Command-line picture metadata processor
USES= gmake python:build
USES= gmake python:2.7,build
MAKEFILE= Makefile.unix

View File

@ -12,7 +12,7 @@ DISTNAME= pyexif-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python library to extract EXIF metadata from JPEG and TIFF image files
USES= python
USES= python:2.7
WRKSRC= ${WRKDIR}/pyexif
DATADIR= ${PREFIX}/share/py-exif
DOCSDIR= ${PREFIX}/share/doc/py-exif

View File

@ -17,7 +17,7 @@ LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \
python shared-mime-info tar:bzip2
python:2.7 shared-mime-info tar:bzip2
USE_GNOME= gnomeprefix intlhack libgnomeui
USE_GL= gl
GNU_CONFIGURE= yes

View File

@ -14,7 +14,7 @@ COMMENT= TOMOE GTK+ library
LIB_DEPENDS= libtomoe.so:japanese/tomoe
GNU_CONFIGURE= yes
USES= gmake libtool pathfix pkgconfig python:build
USES= gmake libtool pathfix pkgconfig python:2.7,build
USE_GNOME= gtk20
USE_LDCONFIG= yes

View File

@ -27,7 +27,7 @@ OPTIONS_DEFINE= JYTHON
PLUGINDIR= share/eclipse/dropins/pydev/eclipse/plugins
PYDEV_BUNDLES_INFO= ${PREFIX}/${PLUGINDIR}/bundles.info
USES= python zip
USES= python:2.7 zip
.include <bsd.port.options.mk>

View File

@ -14,7 +14,7 @@ LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.GPL
LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSE.LGPL
LICENSE_FILE_MPL11= ${WRKSRC}/LICENSE.MPL
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
TEST_DEPENDS= hunspell:textproc/hunspell
GH_ACCOUNT= changwoo
@ -22,7 +22,7 @@ GH_PROJECT= ${PORTNAME}-dict-ko
USE_GITHUB= yes
NO_ARCH= yes
USES= python:build,test
USES= python:2.7,build,test
PLIST_FILES= %%DATADIR%%/ko_KR.aff \
%%DATADIR%%/ko_KR.dic

View File

@ -7,10 +7,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Python interface for XSLT C library for GNOME
py34_BROKEN= does not package
py35_BROKEN= does not package
py36_BROKEN= does not package
MASTERDIR= ${.CURDIR}/../libxslt
BUILD_WRKSRC= ${WRKSRC}/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
@ -18,7 +14,7 @@ DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
USE_GNOME= libxslt
USES+= python
USES+= python:2.7
USE_PYTHON= flavors
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--with-python=${PYTHON_CMD}