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 12:40:15 +00:00
parent aed3eed595
commit a8cc35a10e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456126
23 changed files with 35 additions and 36 deletions

View File

@ -10,10 +10,10 @@ MASTER_SITES= http://www.million.nl/file/
MAINTAINER= lme@FreeBSD.org
COMMENT= The Discworld Boardgame Board
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
NO_WRKSUBDIR= yes
USES= python
USES= python:2.7
SUB_FILES= thudboard

View File

@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYGAME}
USES= python
USES= python:2.7
PORTDOCS= AUTHORS BUGS README
OPTIONS_DEFINE= DOCS

View File

@ -29,7 +29,7 @@ BROKEN_armv7= fails to configure: C++ compiler is not installed or does not wor
#hack to get custom exactcode configure script to enable tiff support with
#broken headers on c++ in base system:
CPPFLAGS+= -fpermissive -I${LOCALBASE}/include
USES= gmake jpeg perl5 pkgconfig python tar:bzip2
USES= gmake jpeg perl5 pkgconfig python:2.7 tar:bzip2
USE_XORG= x11
HAS_CONFIGURE= yes
INSTALL_WRKSRC= ${WRKSRC}/objdir

View File

@ -13,15 +13,15 @@ COMMENT= Unique and feature rich Image Viewer
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow
RUN_DEPENDS= ${PYGAME} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= python:run shebangfix
USES= python:2.7 shebangfix
SHEBANG_FILES= imgv.py
post-patch:

View File

@ -14,7 +14,7 @@ COMMENT= Python Managesieve Server
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= python tar:bzip2
USES= python:2.7 tar:bzip2
USE_RC_SUBR= ${PORTNAME}
NO_ARCH= yes

View File

@ -19,13 +19,13 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/Help/COPYING
RUN_DEPENDS= ${LOCALBASE}/bin/rox:x11-fm/rox-filer \
${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg \
${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus
${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR}
WRKSRC= ${WRKDIR}/XDG-Menu
DATADIR= ${PREFIX}/apps/XDG-Menu
USES= python shebangfix
USES= python:2.7 shebangfix
SHEBANG_FILES= AppRun AppletRun
INSTALLS_ICONS= yes
NO_ARCH= yes

View File

@ -16,7 +16,7 @@ LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake libtool python
USES= gmake libtool python:2.7
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${PYTHON_INCLUDEDIR}
LDFLAGS+= -L${LOCALBASE}/lib

View File

@ -14,7 +14,7 @@ LICENSE_COMB= dual
LIB_DEPENDS= libargp.so:devel/argp-standalone liburcu-bp.so:sysutils/liburcu
USES= bison gettext libtool pkgconfig python readline shebangfix \
USES= bison gettext libtool pkgconfig python:2.7 readline shebangfix \
sqlite ssl
BROKEN_SSL= libressl

View File

@ -18,7 +18,7 @@ PLIST= ${.CURDIR}/pkg-plist
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}/bindings/python
NO_ARCH= yes
NO_BUILD= yes
USES= python
USES= python:2.7
LIBPROXY_SLAVE= python

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Proxy that authenticates the user using the NTLM protocol
USES= dos2unix python
USES= dos2unix python:2.7
DOCS= COPYING Install.txt changelog.txt readme.txt research.txt

View File

@ -15,7 +15,7 @@ LICENSE= GPLv3
BUILD_DEPENDS= xmlada>=3.2:textproc/xmlada
USES= ada gmake python:build shebangfix
USES= ada gmake python:2.7,build shebangfix
GNU_CONFIGURE= yes
NO_MTREE= yes
YEAR= 2014

View File

@ -23,7 +23,7 @@ USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= sphinx-build:textproc/py-sphinx
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${FLAVOR}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PYDISTUTILS_BUILD_TARGET+= build_sphinx

View File

@ -24,13 +24,13 @@ LIB_DEPENDS= liblcms.so:graphics/lcms \
libcairo.so:graphics/cairo \
libhyphen.so:textproc/hyphen \
libfontconfig.so:x11-fonts/fontconfig
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter \
${PYTHON_SITELIBDIR}/PIL/_imaging.so:graphics/py-pillow
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR}
USE_QT4= corelib gui linguist_build moc_build qmake_build rcc_build uic_build xml network
USE_GNOME= libartlgpl2 libxml2
USES= cmake:outsource desktop-file-utils ghostscript:run jpeg \
pkgconfig python shared-mime-info tar:xz
pkgconfig python:2.7 shared-mime-info tar:xz
USE_LDCONFIG= yes
CMAKE_ARGS+= -DWANT_HUNSPELL=YES -Wno-ferror-limit

View File

@ -12,8 +12,7 @@ COMMENT= Code_Saturne Kernel
LICENSE= GPLv2
BUILD_DEPENDS= cs_preprocess:science/ecs \
pyrcc4:textproc/py-qt4-xml
BUILD_DEPENDS= cs_preprocess:science/ecs
LIB_DEPENDS= libfvm.so:science/fvm \
libmei.so:science/mei
RUN_DEPENDS= xmgrace:math/grace \
@ -21,9 +20,9 @@ RUN_DEPENDS= xmgrace:math/grace \
xterm:x11/xterm \
cs_preprocess:science/ecs
USES= fortran gettext gmake iconv libtool pyqt:4 python shebangfix
USES= fortran gettext gmake iconv libtool pyqt:4 python:2.7 shebangfix
USE_GNOME= libxml2
USE_PYQT= core
USE_PYQT= core xml_build
SHEBANG_FILES= bin/runcase.in
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2
GNU_CONFIGURE= yes

View File

@ -12,7 +12,7 @@ MASTER_SITES= http://www.lysator.liu.se/fsh/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast remote command execution
USES= python
USES= python:2.7
GNU_CONFIGURE= yes
INFO= fsh

View File

@ -13,7 +13,7 @@ COMMENT= TrustedPickle is a Python (de)Pickler with a way to verify the data
LICENSE= BSD2CLAUSE
USES= dos2unix python tar:tgz
USES= dos2unix python:2.7 tar:tgz
NO_ARCH= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/TrustedPickle.py \

View File

@ -25,7 +25,7 @@ OPTIONS_DEFINE= GMETAD
OPTIONS_DEFAULT= GMETAD
GMETAD_DESC= include gmetad
USES= libtool pkgconfig python
USES= libtool pkgconfig python:2.7
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-setuid=ganglia --enable-setgid=ganglia \

View File

@ -23,7 +23,7 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \
libxml2.so:textproc/libxml2
BUILD_DEPENDS= bison:devel/bison
USES= autoreconf cpe gettext gmake libtool perl5 pkgconfig python tar:bzip2 \
USES= autoreconf cpe gettext gmake libtool perl5 pkgconfig python:2.7 tar:bzip2 \
shebangfix
SHEBANG_FILES= ldirectord/ldirectord.in \
lib/plugins/stonith/external/ibmrsa-telnet \

View File

@ -13,7 +13,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libpopt.so:devel/popt
USES= gmake python
USES= gmake python:2.7
USE_GITHUB= yes
GH_ACCOUNT= rhinstaller

View File

@ -29,7 +29,7 @@ ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than amd64"
USES= cpe gettext gmake libtool localbase:ldflags perl5 pkgconfig \
python shebangfix
python:2.7 shebangfix
USE_GNOME= glib20
USE_LDCONFIG= yes
GNU_CONFIGURE= yes

View File

@ -13,7 +13,7 @@ COMMENT= Extensible Python module to parse simple text file formats like CSV
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USES= python:2.7
NO_ARCH= yes
PORTDOCS= README THANKS

View File

@ -25,7 +25,7 @@ RUN_DEPENDS= meld:textproc/meld \
yelp:x11/yelp
USES= compiler:c++11-lang gettext gmake libtool localbase:ldflags pathfix \
pkgconfig python tar:xz
pkgconfig python:2.7 tar:xz
USE_GNOME= cairo gdkpixbuf2 gnomedocutils gnomeprefix gnomevfs2 intltool libgnomeui
USE_XORG= ice sm
GNU_CONFIGURE= yes

View File

@ -25,18 +25,18 @@ LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \
libcjs.so:lang/cjs \
libcinnamon-menu-3.so:x11/cinnamon-menus \
libaccountsservice.so:sysutils/accountsservice
RUN_DEPENDS= py*-dbus>=0:devel/py-dbus \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \
ca_root_nss>=0:security/ca_root_nss \
gnome-themes-standard>=3.0.0:x11-themes/gnome-themes-standard \
cinnamon-control-center:sysutils/cinnamon-control-center \
cinnamon-translations>=0:misc/cinnamon-translations \
cinnamon-screensaver:x11/cinnamon-screensaver \
nemo:x11-fm/nemo \
py*-pillow>=0:graphics/py-pillow \
py*-lxml>=0:devel/py-lxml
${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
USES= autoreconf compiler:c11 gettext gmake libtool \
pathfix pkgconfig python shebangfix
pathfix pkgconfig python:2.7 shebangfix
USE_GNOME= evolutiondataserver3 gconf2 gnomedesktop3 \
gnomeprefix gtk30 intlhack introspection:build