Index: head/astro/py-astLib/Makefile =================================================================== --- head/astro/py-astLib/Makefile (revision 529062) +++ head/astro/py-astLib/Makefile (revision 529063) @@ -1,30 +1,30 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= astLib PORTVERSION= 0.11.4 CATEGORIES= astro python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Astronomy modules for Python LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>=1.1:astro/py-astropy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.98:math/py-matplotlib@${PY_FLAVOR} \ ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.7.0:science/py-scipy@${PY_FLAVOR} PORTSCOUT= skipv:0.15,0.17,0.17.1 # incorrect versioning upstream USES= python:3.5+ USE_PYTHON= autoplist concurrent distutils post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/PyWCSTools/*.so .include Index: head/audio/lollypop/Makefile =================================================================== --- head/audio/lollypop/Makefile (revision 529062) +++ head/audio/lollypop/Makefile (revision 529063) @@ -1,45 +1,45 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= lollypop DISTVERSION= 1.0.12 CATEGORIES= audio MAINTAINER= greg@unrelenting.technology COMMENT= Play and organize your music collection LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} \ itstool:textproc/itstool RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.8:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>=1.1.1:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gstreamer1>=1.4.0:multimedia/py-gstreamer1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pylast>=1.4.0:audio/py-pylast@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} + ${PY_PILLOW} LIB_DEPENDS= libnotify.so:devel/libnotify \ libappstream-glib.so:devel/appstream-glib \ libtotem-plparser.so:multimedia/totem-pl-parser USES= python:3.5+ pkgconfig gnome gettext meson shebangfix sqlite desktop-file-utils USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org GL_ACCOUNT= World GL_COMMIT= fdcb83e6a3dbd7afa9c479490d124d6603dbc7df GL_TUPLE= gnumdk:lollypop-po:7dd29b33dbd6f976f4d376a32851fe8abbda2949:po/subprojects/po USE_GNOME= glib20 gtk30 pygobject3 introspection:build intltool intlhack USE_GSTREAMER1= yes mpg123 ogg flac opus libav faad good speex USE_PYTHON= py3kplist INSTALLS_ICONS= yes SHEBANG_FILES= lollypop/*.py meson_post_install.py GLIB_SCHEMAS= org.gnome.Lollypop.gschema.xml OPTIONS_DEFINE= PULSEAUDIO PULSEAUDIO_USE= gstreamer1=pulse SUB_FILES= pkg-message .include Index: head/cad/k40-whisperer/Makefile =================================================================== --- head/cad/k40-whisperer/Makefile (revision 529062) +++ head/cad/k40-whisperer/Makefile (revision 529063) @@ -1,58 +1,51 @@ # $FreeBSD$ PORTNAME= k40-whisperer DISTVERSION= 0.43 PORTREVISION= 1 CATEGORIES= cad python MASTER_SITES= http://www.scorchworks.com/K40whisperer/ DISTNAME= K40_Whisperer-${DISTVERSION}_src MAINTAINER= 0mp@FreeBSD.org COMMENT= GUI control software for the stock K40 laser cutter controller LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/gpl-3.0.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}usb>0:devel/py-usb@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}usb>0:devel/py-usb@${PY_FLAVOR} \ + ${PY_PILLOW} USES= python:run,-3.7 shebangfix zip SHEBANG_FILES= *.py DESKTOP_ENTRIES= "K40 Whisperer" \ "${COMMENT}" \ "${DATADIR}/scorchworks.ico" \ "${_WHISPERER_COMMAND}" \ "Development;Art;Engineering;VectorGraphics;" \ false NO_ARCH= yes NO_BUILD= yes SUB_FILES= ${_WHISPERER_COMMAND} pkg-message SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \ WHISPERER_COMMAND=${_WHISPERER_COMMAND} PLIST_SUB= WHISPERER_COMMAND=${_WHISPERER_COMMAND} OPTIONS_DEFINE= DOCS _DOCS= Change_Log.txt README_Linux.txt README_MacOS.md _NON_DATA_FILES= ${_DOCS} ${LICENSE_FILE:S,${WRKSRC}/,,} build_exe.bat \ py2exe_setup.py requirements.txt _WHISPERER_COMMAND= ${PORTNAME} -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${_WHISPERER_COMMAND} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DATADIR} "${_NON_DATA_FILES:S,^,! -name &,}") @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${_DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.include +.include Index: head/comms/apitran/Makefile =================================================================== --- head/comms/apitran/Makefile (revision 529062) +++ head/comms/apitran/Makefile (revision 529063) @@ -1,50 +1,43 @@ # $FreeBSD$ PORTNAME= apitran PORTVERSION= g20180926 PORTREVISION= 4 CATEGORIES= comms astro hamradio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= hamradio@FreeBSD.org COMMENT= Toolkit to handle the automatic picture transmission protocol LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ ${PYNUMPY} \ + ${PY_PILLOW} \ sox:audio/sox \ display:graphics/ImageMagick6 USES= python:run shebangfix USE_GITHUB= yes GH_ACCOUNT= rsj56 GH_PROJECT= apitran GH_TAGNAME= d209347 NO_BUILD= yes NO_ARCH= yes SHEBANG_FILES= apitran -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - do-install: ${INSTALL_SCRIPT} ${WRKSRC}/apitran ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in NOAA_APT_Frame_Format.gif README.md ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ex_1ch_11025.png ex_2ch_48000.png ex_2ch_48000.wav ${INSTALL_DATA} ${WRKSRC}/Examples/$f ${STAGEDIR}${EXAMPLESDIR} .endfor -.include +.include Index: head/databases/py-mongoengine/Makefile =================================================================== --- head/databases/py-mongoengine/Makefile (revision 529062) +++ head/databases/py-mongoengine/Makefile (revision 529063) @@ -1,42 +1,35 @@ # Created by: Mirko Zinn # $FreeBSD$ PORTNAME= mongoengine PORTVERSION= 0.18.0 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Object-Document-Mapper for working with MongoDB LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=3.4:databases/pymongo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker@${PY_FLAVOR} \ + ${PY_PILLOW} py27_TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=2.0.0:graphics/py-pillow6@${PY_FLAVOR} -.else -TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=2.0.0:graphics/py-pillow@${PY_FLAVOR} -.endif - # bson is provided by pymongo post-patch: @${RM} -r ${WRKSRC}/bson do-test: cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test -.include +.include Index: head/deskutils/calibre/Makefile =================================================================== --- head/deskutils/calibre/Makefile (revision 529062) +++ head/deskutils/calibre/Makefile (revision 529063) @@ -1,137 +1,135 @@ # Created by: stas # $FreeBSD$ PORTNAME= calibre PORTVERSION= 4.12.0 PORTREVISION= 2 CATEGORIES= deskutils python MASTER_SITES= http://download.calibre-ebook.com/${PORTVERSION}/ MAINTAINER= madpilot@FreeBSD.org COMMENT= Ebook management application LICENSE= GPLv3 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libpoppler-qt5.so:graphics/poppler-qt5 \ libwmflite.so:graphics/libwmf \ libchm.so:misc/chmlib \ libicudata.so:devel/icu \ libpodofo.so:graphics/podofo \ libmtp.so:multimedia/libmtp \ libfreetype.so:print/freetype2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}css-parser>=1.0.4:www/py-css-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}apsw>=0:databases/py-apsw@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0.3:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}html5-parser>=0.4.3:www/py-html5-parser@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}html5-parser>=0.4.3:www/py-html5-parser@${PY_FLAVOR} \ + ${PY_PILLOW} RUN_DEPENDS= xdg-open:devel/xdg-utils \ ${PYTHON_PKGNAMEPREFIX}css-parser>=1.0.4:www/py-css-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dnspython>=0:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mechanize>=0:www/py-mechanize@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netifaces>=0:net/py-netifaces@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect>=0:www/py-cssselect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}apsw>=0:databases/py-apsw@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0.3:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=0:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5-parser>=0.4.3:www/py-html5-parser@${PY_FLAVOR} \ + ${PY_PILLOW} \ pdftohtml:graphics/poppler-utils USES= desktop-file-utils gettext-runtime gl gnome localbase:ldflags \ pkgconfig pyqt:5 qt:5 shared-mime-info shebangfix \ ssl tar:xz xorg USE_RC_SUBR= calibre SUB_LIST+= PYTHON_VERSION=${PYTHON_VERSION} USE_PYQT= core gui network sip svg webengine widgets xmlpatterns USE_QT= buildtools_build core dbus gui qmake_build widgets USE_GL= egl gl USE_GNOME= glib20 USE_XORG= xrender xext x11 EXTRACT_BEFORE_ARGS= -x -s '/^calibre/~-src/' -f SHEBANG_GLOB= *.sh *.py *.recipe python_OLD_CMD= "/usr/bin/env python2" "/usr/bin/env python2" "/usr/bin/env python" /bin/python2 \ /usr/bin/python2 ${PYTHON_BIN} WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION} MAKE_ENV+= FC_INC_DIR="${LOCALBASE}/include/fontconfig" \ FC_LIB_DIR="${LOCALBASE}/lib" \ OVERRIDE_CFLAGS="${CFLAGS}" \ OVERRIDE_LDFLAGS="${LDFLAGS}" \ PODOFO_LIB_DIR="${LOCALBASE}/lib" \ PODOFO_INC_DIR="${LOCALBASE}/include/podofo" \ WITH_USB=yes \ CALIBRE_CONFIG_DIRECTORY=${WRKDIR}/calibre-config \ XDG_DATA_DIRS=${STAGEDIR}${PREFIX}/share \ XDG_CONFIG_HOME=${WRKDIR}/xdg-config \ XDG_UTILS_INSTALL_MODE=system \ QMAKE=${QMAKE} \ SIP_BIN=${SIP} \ SIP_DIR=${PYQT_SIPDIR} OPTIONS_SINGLE= PYTHON OPTIONS_SINGLE_PYTHON= PYTHON2 PYTHON3 OPTIONS_DEFAULT= PYTHON2 OPTINS_SUB= yes -PYTHON2_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} -PYTHON2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} PYTHON2_USES= python:2.7 PYTHON2_VARS= PYTHON_BIN=${LOCALBASE}/bin/python2 \ DEPRECATED="Uses deprecated version of python" \ EXPIRATION_DATE=2020-09-15 PYTHON2_PLIST_SUB= SODIR="" -PYTHON3_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} -PYTHON3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} PYTHON3_USES= python:3.5+ PYTHON3_VARS= PYTHON_BIN=${LOCALBASE}/bin/python3 PYTHON3_MAKE_ENV= CALIBRE_PY3_PORT=1 PYTHON3_PLIST_SUB= SODIR="3/" post-patch: @${REINPLACE_CMD} -e "s|#!/usr/bin/env python{py_major_version}|#!${PYTHON_CMD}|" \ -e "s|#!/usr/bin/env python2|#!${PYTHON_CMD}|" \ -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \ ${WRKSRC}/setup/install.py \ ${WRKSRC}/src/calibre/gui2/dialogs/custom_recipes.py \ ${WRKSRC}/src/calibre/gui2/preferences/tweaks.py do-build: @${MKDIR} ${WRKDIR}/calibre-config ${WRKDIR}/xdg-config @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ ${PYSETUP} build) do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages \ ${STAGEDIR}${PREFIX}/share/icons/hicolor \ ${STAGEDIR}${PREFIX}/share/applications \ ${STAGEDIR}${PREFIX}/share/desktop-directories \ ${STAGEDIR}${PREFIX}/share/mime/packages # Create this file to avoid what looks like a bug in xdg-desktop-menu @${TOUCH} ${STAGEDIR}${PREFIX}/share/applications/defaults.list (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ ${PYSETUP} install --prefix ${PREFIX} \ --staging-root ${STAGEDIR}${PREFIX}) @${RM} ${STAGEDIR}${PREFIX}/bin/calibre-uninstall \ ${STAGEDIR}${PREFIX}/share/applications/defaults.list @${RMDIR} ${STAGEDIR}${PREFIX}/share/desktop-directories do-install-PYTHON2-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/calibre/calibre/plugins/* do-install-PYTHON3-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/calibre/calibre/plugins/3/* .include Index: head/deskutils/griffith/Makefile =================================================================== --- head/deskutils/griffith/Makefile (revision 529062) +++ head/deskutils/griffith/Makefile (revision 529063) @@ -1,51 +1,51 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= griffith PORTVERSION= 0.15 CATEGORIES= deskutils MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight film collection manager LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy12>=1.1:databases/py-sqlalchemy12@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=4.3:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}reportlab>=3.4:print/py-reportlab@${PY_FLAVOR} USES= gettext-runtime gmake gnome python:3.4+ shebangfix USE_GITLAB= yes GL_ACCOUNT= Strit GL_COMMIT= a593201179695efe93829d9c9a70962ef29dd109 SHEBANG_FILES= griffith USE_GNOME= pygobject3 NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= CHARDET CHARDET_DESC= chardet support CHARDET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} post-patch: .for file in Makefile @${REINPLACE_CMD} -e \ '/^LANGUAGES=/s|find.*|cd i18n/\&\&ls -d *)|g ; \ /^PREFIX/s|?=|=|g ; s|/usr|${PREFIX}|; /ln -s/d; /chmod +x/d; \ /^ETCDIR/s|=.*|= $$(PREFIX)/etc|g' ${WRKSRC}/${file} .endfor .for f in docs/en/Makefile docs/pl/Makefile docs/pt/Makefile @${REINPLACE_CMD} -e \ '/^PREFIX/s|?=|=|g ; s|/usr|${PREFIX}|; \ /^MANDIR/s|=.*|=${STAGEDIR}${MANPREFIX}/man|g' \ ${WRKSRC}/${f} .endfor post-install: ${RLN} ${STAGEDIR}${DATADIR}/lib/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include Index: head/devel/py-asciimatics/Makefile =================================================================== --- head/devel/py-asciimatics/Makefile (revision 529062) +++ head/devel/py-asciimatics/Makefile (revision 529063) @@ -1,27 +1,27 @@ # $FreeBSD$ PORTNAME= asciimatics PORTVERSION= 1.11.0 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Mouse/keyboard input, text color/positioning, and ASCII animations LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>=2.7.0:graphics/py-pillow6@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pyfiglet>=0.7.2:misc/py-pyfiglet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth@${PY_FLAVOR} USES= python:2.7 # only because misc/py-pyfiglet is py27-only USE_PYTHON= distutils autoplist NO_ARCH= yes .include Index: head/devel/py-factory-boy/Makefile =================================================================== --- head/devel/py-factory-boy/Makefile (revision 529062) +++ head/devel/py-factory-boy/Makefile (revision 529063) @@ -1,57 +1,51 @@ # $FreeBSD$ PORTNAME= factory-boy PORTVERSION= 2.12.0 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= factory_boy-${DISTVERSION} MAINTAINER= meka@tilda.center COMMENT= Create comlex objects for testing purposes LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Faker>=0:devel/py-Faker@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django30>=0:www/py-django30@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy13>=0:databases/py-sqlalchemy13@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mongoengine>=0:databases/py-mongoengine@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}text-unidecode>=0:converters/py-text-unidecode@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}text-unidecode>=0:converters/py-text-unidecode@${PY_FLAVOR} \ + ${PY_PILLOW} USES= python USE_PYTHON= autoplist concurrent distutils TEST_ENV= PYTHONPATH=${WRKSRC}/src NO_ARCH= yes -.include -.if ${PYTHON_REL} < 3500 -TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} -.else -TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} -.endif - do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest discover \ -k test_alchemy \ -k test_base \ -k test_declarations \ -k test_django \ -k test_docs_internal \ -k test_faker \ -k test_fuzzy \ -k test_helpers \ -k test_using \ -k test_utils -.include +.include Index: head/devel/py-pydenticon/Makefile =================================================================== --- head/devel/py-pydenticon/Makefile (revision 529062) +++ head/devel/py-pydenticon/Makefile (revision 529063) @@ -1,35 +1,28 @@ # Created by: Brendan Molloy # $FreeBSD$ PORTNAME= pydenticon PORTVERSION= 0.3.1 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for generating identicons - an enhanced port of Sigil LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +RUN_DEPENDS= ${PY_PILLOW} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} -.endif - do-test: @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) -.include +.include Index: head/games/fretsonfire/Makefile =================================================================== --- head/games/fretsonfire/Makefile (revision 529062) +++ head/games/fretsonfire/Makefile (revision 529063) @@ -1,63 +1,56 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= fretsonfire PORTVERSION= 1.3.110 PORTREVISION= 14 CATEGORIES= games python MASTER_SITES= SF DISTNAME= ${PORTNAME_UCASE}-${PORTVERSION} DIST_SUBDIR= ${PORTNAME} MAINTAINER= acm@FreeBSD.org COMMENT= Game of musical skill and fast fingers LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/copying.txt RUN_DEPENDS= ${PYNUMPY} \ ${PYGAME} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \ ${LOCALBASE}/share/${PORTNAME}/default.ttf:games/fretsonfire-data USES= dos2unix python DOS2UNIX_FILES= *.txt NO_BUILD= yes NO_ARCH= yes DATADIR= share/${PORTNAME} EXTRACT_AFTER_ARGS= --exclude 'data' SUB_FILES= pkg-message FretsOnFire SUB_LIST= PROGRAM_DIR="${FOF_DIR}/${PORTNAME_UCASE}" WRKSRC= "${WRKDIR}/Frets on Fire-${PORTVERSION}" FOF_DIR= ${PREFIX}/lib/${PORTNAME} OPTIONS_DEFINE= DOCS PORTNAME_UCASE= FretsOnFire -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} -.endif - do-install: @${MKDIR} ${STAGEDIR}${FOF_DIR}/${PORTNAME_UCASE} @cd ${WRKSRC}/src && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${FOF_DIR}/${PORTNAME_UCASE}/{}" \; && \ ${FIND} -E * -type f -iregex ".*\.(py)" -exec ${INSTALL_DATA} {} "${STAGEDIR}${FOF_DIR}/${PORTNAME_UCASE}/{}" \; @${MKDIR} ${STAGEDIR}${FOF_DIR}/data @${LN} -s ${LOCALBASE}/${DATADIR}/* ${STAGEDIR}${FOF_DIR}/data ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME_UCASE} ${STAGEDIR}${PREFIX}/bin @${REINPLACE_CMD} -i '' -e 's|#!.*|#!${PYTHON_CMD}|' ${STAGEDIR}${PREFIX}/bin/${PORTNAME_UCASE} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/README ${INSTALL_DATA} ${WRKSRC}/install.txt ${STAGEDIR}${DOCSDIR}/INSTALL -.include +.include Index: head/games/hypatia_engine/Makefile =================================================================== --- head/games/hypatia_engine/Makefile (revision 529062) +++ head/games/hypatia_engine/Makefile (revision 529063) @@ -1,30 +1,23 @@ # $FreeBSD$ PORTNAME= hypatia_engine PORTVERSION= 0.3.1 PORTREVISION= 4 CATEGORIES= games python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lillian.lynn.lemmer@gmail.com COMMENT= Game engine for 2D top-down, tile-based action RPGs LICENSE= MIT RUN_DEPENDS= ${PYGAME} \ ${PYTHON_PKGNAMEPREFIX}pyganim>0:graphics/py-pyganim@${PY_FLAVOR} \ - ${PY_ENUM34} + ${PY_ENUM34} \ + ${PY_PILLOW} USES= python USE_PYTHON= autoplist concurrent distutils -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/games/openage/Makefile =================================================================== --- head/games/openage/Makefile (revision 529062) +++ head/games/openage/Makefile (revision 529063) @@ -1,54 +1,54 @@ # $FreeBSD$ PORTNAME= openage DISTVERSIONPREFIX= v DISTVERSION= 0.3.0-1262 DISTVERSIONSUFFIX= -ga554ab49 PORTREVISION= 4 CATEGORIES= games MAINTAINER= freebsd@sysctl.cz COMMENT= Free engine clone of the Genie Engine LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/legal/GPLv3 BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libopusfile.so:audio/opusfile \ libpng.so:graphics/png \ libnyan.so:lang/nyan RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} USES= cmake compiler:c++17-lang gl python:3.4+ qt:5 sdl shebangfix SHEBANG_FILES= configure run.py buildsystem/cythonize.py USE_GITHUB= yes GH_ACCOUNT= SFTtech USE_SDL= image2 sdl2 USE_GL= gl glu USE_QT= core declarative gui network buildtools_build qmake_build USE_PYTHON= cython USE_LDCONFIG= yes CMAKE_OFF= WANT_BACKTRACE WANT_GPERFTOOLS_PROFILER WANT_INOTIFY CMAKE_ARGS= -DGLOBAL_CONFIG_DIR:STRING=${ETCDIR} post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/env python3|${PYTHON_CMD}|' ${WRKSRC}/buildsystem/modules/FindPython.cmake post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/openage @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg .include Index: head/games/py-mnemosyne/Makefile =================================================================== --- head/games/py-mnemosyne/Makefile (revision 529062) +++ head/games/py-mnemosyne/Makefile (revision 529063) @@ -1,34 +1,34 @@ # Created by: Beech Rintoul # $FreeBSD$ PORTNAME= mnemosyne PORTVERSION= 2.6.1 PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= games python MASTER_SITES= SF/mnemosyne-proj/${PORTNAME}/${PORTNAME}-${DISTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Mnemosyne-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Flash-card tool which optimises your learning process LICENSE= LGPL3 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webob>=1.4:www/py-webob@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cheroot>=0:www/py-cheroot@${PY_FLAVOR} USES= pyqt:5 python:3.5+ USE_PYQT= gui_run network_run printsupport_run sip_run sql_run webengine_run USE_PYTHON= distutils autoplist NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's|\(share/\)icons|\1pixmaps|' ${WRKSRC}/setup.py .include Index: head/games/pysolfc/Makefile =================================================================== --- head/games/pysolfc/Makefile (revision 529062) +++ head/games/pysolfc/Makefile (revision 529063) @@ -1,107 +1,100 @@ # $FreeBSD$ PORTNAME= pysolfc DISTVERSION= 2.6.4 PORTREVISION= 1 CATEGORIES= games python MASTER_SITES= SF/${PORTNAME}/PySolFC/${PYSOLFCDIR} \ SF/${PORTNAME}/PySolFC-Cardsets/${CARDSETDIR}:cardsets DISTFILES= ${PYSOLFCDIST} \ ${CARDSETDIST}:cardsets DIST_SUBDIR= ${PORTNAME} MAINTAINER= kai@FreeBSD.org COMMENT= Solitaire game, written in Python and the successor of PySol LICENSE= GPLv2+ GPLv3+ MIT PCW PD UCP UCJ ULG LICENSE_COMB= multi RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}random2>=0:math/py-random2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ + ${PY_PILLOW} LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_DISTFILES_GPLv3+ = ${PYSOLFCDIST} LICENSE_FILE_MIT= ${WRKDIR}/${CARDSETDIR}/cardset-spider/COPYRIGHT LICENSE_DISTFILES_MIT= ${CARDSETDIST} # This applies also to following cardsets: # - ${WRKDIR}/${CARDSETDIR}/cardset-rangoon-e/COPYRIGHT # - ${WRKDIR}/${CARDSETDIR}/cardset-rangoon-r/COPYRIGHT LICENSE_FILE_PCW= ${WRKDIR}/${CARDSETDIR}/cardset-rangoon-d/COPYRIGHT LICENSE_NAME_PCW= Postcardware LICENSE_PERMS_PCW= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept LICENSE_DISTFILES_PCW= ${CARDSETDIST} LICENSE_FILE_PD= ${WRKDIR}/${CARDSETDIR}/cardset-tksol/COPYRIGHT LICENSE_DISTFILES_PD= ${CARDSETDIST} LICENSE_FILE_UCP= ${WRKDIR}/${CARDSETDIR}/cardset-patience/COPYRIGHT LICENSE_NAME_UCP= Unknown Copyright / Cardset "Patience" LICENSE_PERMS_UCP= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept LICENSE_DISTFILES_UCP= ${CARDSETDIST} LICENSE_FILE_UCJ= ${WRKDIR}/${CARDSETDIR}/cardset-jacoby/COPYRIGHT LICENSE_NAME_UCJ= Unknown Copyright / Cardset "Jacoby" LICENSE_PERMS_UCJ= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept LICENSE_DISTFILES_UCJ= ${CARDSETDIST} LICENSE_FILE_ULG= ${WRKDIR}/${CARDSETDIR}/cardset-greywyvern/COPYRIGHT LICENSE_NAME_ULG= Unknown License / Cardset "Greywyvern" LICENSE_PERMS_ULG= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept LICENSE_DISTFILES_ULG= ${CARDSETDIST} # The rest of the cardsets are licensed with the GPLv+2 LICENSE_FILE_GPLv2+ = ${WRKDIR}/${CARDSETDIR}/cardset-1567/COPYRIGHT LICENSE_DISTFILES_GPLv2+ = ${CARDSETDIST} USES= python shebangfix tar:xz USE_PYTHON= distutils noflavors autoplist SHEBANG_FILES= data/themes/clearlooks/convert_imgs.sh NO_ARCH= yes PLIST_FILES= share/pixmaps/pysolfc.png DATADIR= ${PREFIX}/share/PySolFC WRKSRC= ${WRKDIR}/${PYSOLFCDIR} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext PYSOLFCDIR= PySolFC-${DISTVERSION} PYSOLFCDIST= ${PYSOLFCDIR}${EXTRACT_SUFX} CARDSETDIR= PySolFC-Cardsets-2.0 CARDSETDIST= ${CARDSETDIR}.tar.bz2 -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-patch: @${MV} ${WRKSRC}/pysol.py ${WRKSRC}/pysolfc @${REINPLACE_CMD} -e 's|pysol.py|pysolfc|' ${WRKSRC}/setup.py @${REINPLACE_CMD} -e 's|^Icon.*|Icon=${PORTNAME}|' \ -e 's|^Exec.*|Exec=${PORTNAME}|' \ ${WRKSRC}/data/pysol.desktop @${FIND} ${WRKDIR} -name .thumbnails -or -name .xvpics | \ ${XARGS} ${RM} -r @${FIND} ${WRKSRC} -name "*.bak" -delete post-patch-NLS-off: @${REINPLACE_CMD} -e "s|for l in ('ru', 'ru_RU')|for l in ()|" \ ${WRKSRC}/setup.py post-install: ${RLN} ${STAGEDIR}${PREFIX}/share/icons/pysol01.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png (cd ${WRKDIR}/${CARDSETDIR} && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}) (cd ${WRKDIR}/${CARDSETDIR} && \ ${FIND} . -type f | ${SED} -e 's|^./|${DATADIR_REL}/|' >> ${TMPPLIST}) -.include +.include Index: head/games/unknown-horizons/Makefile =================================================================== --- head/games/unknown-horizons/Makefile (revision 529062) +++ head/games/unknown-horizons/Makefile (revision 529063) @@ -1,45 +1,45 @@ # Created by: GreenDog # $FreeBSD$ PORTNAME= unknown-horizons PORTVERSION= 2019.1 CATEGORIES= games MAINTAINER= fiziologus@gmail.com COMMENT= Real time simulation game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/doc/licenses/GPL -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fife>0:games/py-fife@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} USES= gettext-tools gnome python:3.5+ shebangfix USE_GITHUB= yes USE_GNOME= intltool USE_PYTHON= autoplist distutils noflavors SHEBANG_FILES= run_uh.py NO_ARCH= yes OPTIONS_DEFINE= ENET NLS OPTIONS_DEFAULT= ENET ENET_DESC= Multipliplayer support through pyenet ENET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyenet>0:net/py-pyenet@${PY_FLAVOR} post-patch-ENET-off: @${REINPLACE_CMD} -e 's|import enet|return None|' ${WRKSRC}/horizons/network/__init__.py post-patch-NLS-off: @${REINPLACE_CMD} -e '/build.sub_commands.append.*build_i18n/ d' ${WRKSRC}/setup.py do-build: cd ${WRKSRC} && ${SETENV} UH_USER_DIR=${WRKSRC} ${PYTHON_CMD} horizons/engine/generate_atlases.py 2048 post-install-NLS-off: @${RM} -r ${STAGEDIR}${PREFIX}/share/locale .include Index: head/graphics/caffe/Makefile =================================================================== --- head/graphics/caffe/Makefile (revision 529062) +++ head/graphics/caffe/Makefile (revision 529063) @@ -1,85 +1,85 @@ # $FreeBSD$ PORTNAME= caffe PORTVERSION= 1.0 PORTREVISION= 32 CATEGORIES= graphics MAINTAINER= eric@camachat.org COMMENT= Fast open framework for deep learning LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS_INSTALL= caffe2-* BUILD_DEPENDS= ${PYNUMPY} \ bash:shells/bash LIB_DEPENDS= libsnappy.so:archivers/snappy \ libleveldb.so:databases/leveldb \ liblmdb.so:databases/lmdb \ libboost_system.so:devel/boost-libs \ ${PY_BOOST} \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libprotobuf.so:devel/protobuf \ libopencv_highgui.so:graphics/opencv \ libopencv_core.so:graphics/opencv-core \ libopenblas.so:math/openblas \ libhdf5.so:science/hdf5 RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=2.5.0:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.12:graphics/py-scikit-image@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>=1.7:graphics/py-pillow6@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}networkx>=1.8:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.1:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyWavelets>=0.4:math/py-PyWavelets@${PY_FLAVOR} USES= compiler:c++11-lib fortran gmake pkgconfig python:2.7 USE_CXXSTD= c++11 USE_LDCONFIG= yes USE_PYTHON= flavors cython CXXFLAGS+= -DGTEST_USE_OWN_TR1_TUPLE=1 LDFLAGS+= -DGTEST_USE_OWN_TR1_TUPLE=1 LDFLAGS+= -lboost_thread MAKE_ENV+= PYTHON_LIBRARIES="${PY_BOOST_LIB} ${PYTHON_VERSION}" MAKE_ARGS+= DISTRIBUTE_DIR=${STAGEDIR}${PREFIX} ALL_TARGET= all py INSTALL_TARGET= dist TEST_TARGET= runtest PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} DATADIR=${DATADIR} GH_ACCOUNT= BVLC USE_GITHUB= yes .include .if ${CHOSEN_COMPILER_TYPE} == clang TRUE_CXX= clang++ .else TRUE_CXX= g++${GCC_DEFAULT} .endif post-extract: @${CP} -v ${.CURDIR}/files/Makefile.config ${WRKSRC}/ post-patch: @${REINPLACE_CMD} \ -e "s|%%CXX%%|${TRUE_CXX}|g" \ -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ -e "s|%%DATADIR%%|${DATADIR}|g" \ -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" \ -e "s|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g" \ -e "s|%%STAGEDIR%%|${STAGEDIR}|g" \ ${WRKSRC}/Makefile.config ${WRKSRC}/Makefile pre-install: @${MKDIR} ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} post-install: @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/* ${STAGEDIR}/${PREFIX}/lib/*.so.* \ ${STAGEDIR}/${PYTHON_SITELIBDIR}/${PORTNAME}/*.so .include Index: head/graphics/impressive/Makefile =================================================================== --- head/graphics/impressive/Makefile (revision 529062) +++ head/graphics/impressive/Makefile (revision 529063) @@ -1,75 +1,75 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= impressive PORTVERSION= 0.12.1 PORTREVISION= 4 CATEGORIES= graphics python MASTER_SITES= SF/${PORTNAME}/Impressive/${PORTVERSION}/ DISTNAME= Impressive-${PORTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Stylish way of giving presentations LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license.txt DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-09-15 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \ ${PYGAME} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} + ${PY_PILLOW} USES= python:2.7 sdl shebangfix USE_SDL= sdl SHEBANG_FILES= impressive.py NO_BUILD= yes NO_ARCH= yes PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz PORTDOCS= ${PORTNAME}.html demo.pdf OPTIONS_DEFINE= DOCS OPTIONS_GROUP= MULTIMEDIA PDFFEATURE OPTIONS_MULTI= PDFENGINE OPTIONS_DEFAULT=FFMPEG MPLAYER MUPDF PDFTK XDG OPTIONS_GROUP_MULTIMEDIA= FFMPEG MPLAYER OPTIONS_GROUP_PDFFEATURE= PDFTK XDG OPTIONS_MULTI_PDFENGINE= GHOSTSCRIPT MUPDF POPPLER XPDF FFMPEG_DESC= Optimize generation of video preview images MPLAYER_DESC= Enable audio/video playback PDFTK_DESC= Enable automatic extraction of PDF page titles XDG_DESC= Enable web/e-mail hyperlinks in PDF files GHOSTSCRIPT_DESC= Use Ghostscript for PDF rendering MUPDF_DESC= Use MuPDF for PDF rendering POPPLER_DESC= Use Poppler for PDF rendering XPDF_DESC= Use Xpdf for PDF rendering FFMPEG_IMPLIES= MPLAYER GHOSTSCRIPT_IMPLIES= PDFTK POPPLER_IMPLIES= PDFTK XPDF_IMPLIES= PDFTK FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer PDFTK_RUN_DEPENDS= pdftk:print/pdftk XDG_RUN_DEPENDS= xdg-open:devel/xdg-utils GHOSTSCRIPT_USES= ghostscript:run MUPDF_RUN_DEPENDS= mupdf:graphics/mupdf POPPLER_RUN_DEPENDS= pdftoppm:graphics/poppler-utils XPDF_RUN_DEPENDS= ${LOCALBASE}/libexec/xpdf/pdftoppm:graphics/xpdf do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/py-PyOpenGL/Makefile =================================================================== --- head/graphics/py-PyOpenGL/Makefile (revision 529062) +++ head/graphics/py-PyOpenGL/Makefile (revision 529063) @@ -1,45 +1,37 @@ # Created by: Randall Hopper # $FreeBSD$ PORTNAME= PyOpenGL PORTVERSION= 3.1.0 PORTREVISION= 5 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} #DISTNAME= PyOpenGL-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= OpenGL (and related library) interface for Python -BUILD_DEPENDS= ${PYNUMPY} -RUN_DEPENDS= ${PYNUMPY} +BUILD_DEPENDS= ${PYNUMPY} \ + ${PY_PILLOW} +RUN_DEPENDS= ${PYNUMPY} \ + ${PY_PILLOW} OPTIONS_DEFINE= TKINTER OPTIONS_DEFAULT= TKINTER TKINTER_DESC= Build with tkinter for X support USES= dos2unix gl python USE_GL= glut USE_PYTHON= distutils autoplist TKINTER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} -.include - -.if ${PYTHON_REL} < 3500 -BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-patch: @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's|||g' @${FIND} ${WRKSRC} -name "*.bak" -delete ${REINPLACE_CMD} -e 's|posix |posix|g' ${WRKSRC}/OpenGL/__init__.py -.include +.include Index: head/graphics/py-actdiag/Makefile =================================================================== --- head/graphics/py-actdiag/Makefile (revision 529062) +++ head/graphics/py-actdiag/Makefile (revision 529063) @@ -1,40 +1,40 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= actdiag PORTVERSION= 0.5.4 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Simple activity-diagram image generator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-08-15 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow6>=2.2.1:graphics/py-pillow6@${PY_FLAVOR} \ +RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}blockdiag>=1.5.0:graphics/py-blockdiag@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}funcparserlib>=0.3.6:devel/py-funcparserlib@${PY_FLAVOR} USES= python:2.7 USE_PYTHON= autoplist distutils DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} PORTDOCS= README.rst OPTIONS_DEFINE= DOCS post-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ @${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/py-blockdiag/Makefile =================================================================== --- head/graphics/py-blockdiag/Makefile (revision 529062) +++ head/graphics/py-blockdiag/Makefile (revision 529063) @@ -1,54 +1,54 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= blockdiag PORTVERSION= 1.5.4 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Simple block-diagram image generator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow6>=2.2.1:graphics/py-pillow6@${PY_FLAVOR} \ +RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}funcparserlib>=0.3.6:devel/py-funcparserlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webcolors>=0:graphics/py-webcolors@${PY_FLAVOR} USES= python:2.7 USE_PYTHON= autoplist distutils DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= README.rst PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES IPAFONT PDF IPAFONT_DESC= Use IPA Font as default PDF_DESC= Enable PDF output OPTIONS_DEFAULT= PDF IPAFONT_RUN_DEPENDS= ${LOCALBASE}/share/font/ipa/ipag.otf:japanese/font-ipa PDF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR} post-patch: ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/blockdiag/utils/bootstrap.py post-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ @${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/graphics/py-cairosvg/Makefile =================================================================== --- head/graphics/py-cairosvg/Makefile (revision 529062) +++ head/graphics/py-cairosvg/Makefile (revision 529063) @@ -1,32 +1,32 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= cairosvg PORTVERSION= 2.4.2 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= CairoSVG-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple SVG Converter based on Cairo LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairocffi>=0:graphics/py-cairocffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect2>=0:textproc/py-cssselect2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}tinycss2>=0:textproc/py-tinycss2@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-isort>=0:devel/py-pytest-isort@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0:devel/py-pytest-flake8@${PY_FLAVOR} USES= python:3.5+ USE_PYTHON= autoplist distutils NO_ARCH= yes .include Index: head/graphics/py-cartopy/Makefile =================================================================== --- head/graphics/py-cartopy/Makefile (revision 529062) +++ head/graphics/py-cartopy/Makefile (revision 529063) @@ -1,54 +1,46 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= cartopy PORTVERSION= 0.17.0 PORTREVISION= 4 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Cartopy-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Cartographic library with Matplotlib support for visualisation LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= geos>=3.3.3:graphics/geos \ proj>=4.9.0:graphics/proj \ ${PYNUMPY} LIB_DEPENDS= libgeos.so:graphics/geos \ libproj.so:graphics/proj RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pyshp>=1.1.4:devel/py-pyshp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Shapely>=1.5.6:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.3.0:devel/py-six@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent cython distutils CPPFLAGS+= -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H OPTIONS_DEFINE= EPSG OWS PLOTTING EPSG_DESC= EPSG database support OWS_DESC= OGC Web Service support PLOTTING_DESC= Plotting support EPSG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyepsg>=0:graphics/py-pyepsg@${PY_FLAVOR} -OWS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.8.11:graphics/py-OWSLib@${PY_FLAVOR} +OWS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.8.11:graphics/py-OWSLib@${PY_FLAVOR} \ + ${PY_PILLOW} PLOTTING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdal>=1.10.0:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.5.1:math/py-matplotlib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}scipy>=0.10:science/py-scipy@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}scipy>=0.10:science/py-scipy@${PY_FLAVOR} \ + ${PY_PILLOW} -.include - -.if ${PYTHON_REL} < 3500 -OWS_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=1.7.8:graphics/py-pillow6@${PY_FLAVOR} -PLOTTING_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=1.7.8:graphics/py-pillow6@${PY_FLAVOR} -.else -OWS_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=1.7.8:graphics/py-pillow@${PY_FLAVOR} -PLOTTING_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=1.7.8:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/graphics/py-django-easy-thumbnails/Makefile =================================================================== --- head/graphics/py-django-easy-thumbnails/Makefile (revision 529062) +++ head/graphics/py-django-easy-thumbnails/Makefile (revision 529063) @@ -1,47 +1,39 @@ # Created by: Matthew X. Economou # $FreeBSD$ PORTNAME= easy-thumbnails PORTVERSION= 2.5 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}django- MAINTAINER= xenophon+fbsdports@irtnog.org COMMENT= Easy thumbnails for Django LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} \ + ${PY_PILLOW} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ + ${PY_PILLOW} DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} -DOCS_BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} -DOCS_BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-patch-DOCS-on: @${REINPLACE_CMD} -e 's|^\(release = \)\(easy_thumbnails.get_version()\)|\1version|' ${WRKSRC}/docs/conf.py post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") -.include +.include Index: head/graphics/py-face_recognition/Makefile =================================================================== --- head/graphics/py-face_recognition/Makefile (revision 529062) +++ head/graphics/py-face_recognition/Makefile (revision 529063) @@ -1,35 +1,28 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= face_recognition PORTVERSION= 1.3.0 PORTREVISION= 1 CATEGORIES= graphics python devel MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Recognize faces from Python or from the command line LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=6.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}face_recognition_models>0:graphics/py-face_recognition_models@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dlib>=19.7:science/py-dlib@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}dlib>=19.7:science/py-dlib@${PY_FLAVOR} \ + ${PY_PILLOW} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/graphics/py-imageio/Makefile =================================================================== --- head/graphics/py-imageio/Makefile (revision 529062) +++ head/graphics/py-imageio/Makefile (revision 529063) @@ -1,26 +1,26 @@ # $FreeBSD$ PORTNAME= imageio DISTVERSION= 2.6.1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python library for reading and writing image, video formats LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreeimage.so:graphics/freeimage RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ ${PYTHON_PKGNAMEPREFIX}imageio-ffmpeg>=0:graphics/py-imageio-ffmpeg@${PY_FLAVOR} \ ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} + ${PY_PILLOW} USES= python:3.4+ USE_PYTHON= autoplist distutils NO_ARCH= yes .include Index: head/graphics/py-imageio24/Makefile =================================================================== --- head/graphics/py-imageio24/Makefile (revision 529062) +++ head/graphics/py-imageio24/Makefile (revision 529063) @@ -1,38 +1,31 @@ # $FreeBSD$ PORTNAME= imageio DISTVERSION= 2.4.1 PORTREVISION= 5 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 24 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python library for reading and writing image, video formats LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfreeimage.so:graphics/freeimage RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ ${PY_ENUM34} \ ${PY_FUTURES} \ + ${PY_PILLOW} \ ${PYNUMPY} USES= python USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes PORTSCOUT= limit:^2\.4\. -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/graphics/py-img2pdf/Makefile =================================================================== --- head/graphics/py-img2pdf/Makefile (revision 529062) +++ head/graphics/py-img2pdf/Makefile (revision 529063) @@ -1,37 +1,30 @@ # $FreeBSD$ PORTNAME= img2pdf DISTVERSION= 0.3.3 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Convert images to PDF via direct JPEG inclusion LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PY_ENUM34} +RUN_DEPENDS= ${PY_ENUM34} \ + ${PY_PILLOW} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdfrw>0:textproc/py-pdfrw@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - # Note: The tests only work with Python 3, see also: # https://gitlab.mister-muffin.de/josch/img2pdf/issues/60 do-test: @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) -.include +.include Index: head/graphics/py-nwdiag/Makefile =================================================================== --- head/graphics/py-nwdiag/Makefile (revision 529062) +++ head/graphics/py-nwdiag/Makefile (revision 529063) @@ -1,54 +1,54 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= nwdiag PORTVERSION= 1.0.4 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Simple network-diagram image generator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-08-15 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow6>=2.2.1:graphics/py-pillow6@${PY_FLAVOR} \ +RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}funcparserlib>=0.3.6:devel/py-funcparserlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}blockdiag>=1.5.0:graphics/py-blockdiag@${PY_FLAVOR} USES= python:2.7 USE_PYTHON= autoplist distutils DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE} PORTDOCS= README.rst PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-install: .for f in ${PORTNAME} rackdiag ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${PREFIX}/man/man1/ @${ECHO_CMD} man/man1/${f}.1.gz >> ${TMPPLIST} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for d in ${PORTNAME} packetdiag @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${d} ${INSTALL_DATA} \ ${INSTALL_WRKSRC}/examples/${d}/${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR}/${d} .endfor .include Index: head/graphics/py-photocollage/Makefile =================================================================== --- head/graphics/py-photocollage/Makefile (revision 529062) +++ head/graphics/py-photocollage/Makefile (revision 529063) @@ -1,42 +1,35 @@ # $FreeBSD$ PORTNAME= photocollage DISTVERSION= 1.4.4 PORTREVISION= 2 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Graphical tool to make photo collage posters LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>:devel/py-six@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}six>:devel/py-six@${PY_FLAVOR} \ + ${PY_PILLOW} USES= gettext-tools python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-patch: @${REINPLACE_CMD} -e ' \ s|${PORTNAME}|${PORTNAME}-${PYTHON_VER}| ; \ s|^Name.*|& (python${PYTHON_VER})|' \ ${WRKSRC}/data/${PORTNAME}.desktop @${REINPLACE_CMD} -E 's/photocollage\.(png|svg|desktop|appdata\.xml)/photocollage-${PYTHON_VER}.\1/' ${WRKSRC}/setup.py @${REINPLACE_CMD} -E 's/APP_NAME = "photocollage"/APP_NAME = "photocollage-${PYTHON_VER}"/' ${WRKSRC}/photocollage/__init__.py @cd ${WRKSRC} && for f in $$(${FIND} -E . -regex '.*\.(png|svg|desktop|appdata\.xml)'); do \ ${MV} $$f $$(${ECHO} $$f | ${SED} -E 's|photocollage\.([[:alpha:].]*)|photocollage-${PYTHON_VER}.\1|'); \ done -.include +.include Index: head/graphics/py-pyinsane2/Makefile =================================================================== --- head/graphics/py-pyinsane2/Makefile (revision 529062) +++ head/graphics/py-pyinsane2/Makefile (revision 529063) @@ -1,30 +1,23 @@ # $FreeBSD$ PORTNAME= pyinsane2 DISTVERSION= 2.0.13 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python library to access and use image scanners LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.0:devel/py-nose@${PY_FLAVOR} +RUN_DEPENDS= ${PY_PILLOW} USES= gmake python USE_PYTHON= distutils autoplist NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/graphics/py-pyocr/Makefile =================================================================== --- head/graphics/py-pyocr/Makefile (revision 529062) +++ head/graphics/py-pyocr/Makefile (revision 529063) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= pyocr DISTVERSION= 0.7.2 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python wrapper for OCR engines (Tesseract, Cuneiform, etc) LICENSE= GPLv3 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} +RUN_DEPENDS= ${PY_PILLOW} USES= gmake python:3.4+ USE_PYTHON= distutils autoplist NO_ARCH= yes .include Index: head/graphics/py-pypillowfight/Makefile =================================================================== --- head/graphics/py-pypillowfight/Makefile (revision 529062) +++ head/graphics/py-pypillowfight/Makefile (revision 529063) @@ -1,29 +1,22 @@ # $FreeBSD$ PORTNAME= pypillowfight DISTVERSION= 0.3.0 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Library containing various image processing algorithms LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.0:devel/py-nose@${PY_FLAVOR} +RUN_DEPENDS= ${PY_PILLOW} USES= python USE_PYTHON= distutils autoplist -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/graphics/py-sane/Makefile =================================================================== --- head/graphics/py-sane/Makefile (revision 529062) +++ head/graphics/py-sane/Makefile (revision 529063) @@ -1,31 +1,31 @@ # Created by: buganini@gmail.com # $FreeBSD$ PORTNAME= sane PORTVERSION= 2.0 PORTREVISION= 2 CATEGORIES= graphics python MASTER_SITES= http://effbot.org/media/downloads/ \ http://www.pythonware.net/storage/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Imaging-1.1.7 MAINTAINER= buganini@gmail.com COMMENT= Python bindings for Sane DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-08-15 LIB_DEPENDS= libsane.so:graphics/sane-backends -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} +RUN_DEPENDS= ${PY_PILLOW} DIST_SUBDIR= python USES= python:2.7 USE_PYTHON= distutils WRKSRC= ${WRKDIR}/${DISTNAME}/Sane post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/setup.py .include Index: head/graphics/py-scikit-image/Makefile =================================================================== --- head/graphics/py-scikit-image/Makefile (revision 529062) +++ head/graphics/py-scikit-image/Makefile (revision 529063) @@ -1,53 +1,46 @@ # $FreeBSD$ PORTNAME= scikit-image PORTVERSION= 0.14.3 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= graphics python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= makc@FreeBSD.org COMMENT= Image Processing SciKit (Toolbox for SciPy) LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.9:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpydoc>=0.6:textproc/py-numpydoc@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.9:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpydoc>=0.6:textproc/py-numpydoc@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=1.8:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.1:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyWavelets>=0.4:math/py-PyWavelets@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cloudpickle>=0.2.1:devel/py-cloudpickle@${PY_FLAVOR} USES= cpe python USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils cython cython_run PYDISTUTILS_BUILD_TARGET= build build_ext PYDISTUTILS_BUILDARGS+= saveopts -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=1.7:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=1.7:graphics/py-pillow@${PY_FLAVOR} -.endif - post-install: @${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/skimage -name "*.so" -exec ${STRIP_CMD} {} \; do-test: @cd ${WRKSRC} && \ ${PYTHON_CMD} ${PYSETUP} build_ext -i && \ ${PYTHON_CMD} selftest.py && \ ${PYTHON_CMD} -m nose -vx Tests/test_*.py -.include +.include Index: head/graphics/py-seqdiag/Makefile =================================================================== --- head/graphics/py-seqdiag/Makefile (revision 529062) +++ head/graphics/py-seqdiag/Makefile (revision 529063) @@ -1,47 +1,47 @@ # Created by: TAKATSU Tomonari # $FreeBSD$ PORTNAME= seqdiag PORTVERSION= 0.9.6 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tota@FreeBSD.org COMMENT= Simple sequence-diagram image generator LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-08-15 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow6>=2.2.1:graphics/py-pillow6@${PY_FLAVOR} \ +RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}funcparserlib>=0.3.6:devel/py-funcparserlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}blockdiag>=1.5.0:graphics/py-blockdiag@${PY_FLAVOR} USES= python:2.7 USE_PYTHON= autoplist distutils DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE} PORTDOCS= README.rst PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ @${ECHO_CMD} man/man1/${PORTNAME}.1.gz >> ${TMPPLIST} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/examples/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include Index: head/graphics/py-sorl-thumbnail/Makefile =================================================================== --- head/graphics/py-sorl-thumbnail/Makefile (revision 529062) +++ head/graphics/py-sorl-thumbnail/Makefile (revision 529063) @@ -1,62 +1,53 @@ # Created by: Kevin Golding # $FreeBSD$ PORTNAME= sorl-thumbnail PORTVERSION= 12.4.1 PORTREVISION= 2 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@caomhin.org COMMENT= Sorl-thumbnail provides an easy way to generate image thumbnails LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= PILLOW OPTIONS_SINGLE= IMAGELIB OPTIONS_GROUP= CACHING OPTIONS_SINGLE_IMAGELIB= GRAPHICSMAGICK IMAGEMAGICK PILLOW WAND OPTIONS_GROUP_CACHING= REDIS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" GRAPHICSMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/gm:graphics/GraphicsMagick IMAGEMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/convert:graphics/ImageMagick6 +PILLOW_RUN_DEPENDS= ${PY_PILLOW} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>0:databases/py-redis@${PY_FLAVOR} WAND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Wand>0:graphics/py-wand@${PY_FLAVOR} GRAPHICSMAGICK_DESC= Use GraphicsMagick for image processing (faster) IMAGEMAGICK_DESC= Use ImageMagick for image processing PILLOW_DESC= Use internal image processing REDIS_DESC= Use REDIS as Key Value Store WAND_DESC= Use Wand with ImageMagick -.include - -.if ${PORT_OPTIONS:MPILLOW} -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif -.endif - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") -.include +.include Index: head/graphics/py-willow/Makefile =================================================================== --- head/graphics/py-willow/Makefile (revision 529062) +++ head/graphics/py-willow/Makefile (revision 529063) @@ -1,33 +1,33 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= willow PORTVERSION= 1.3 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Willow-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Wrapper that combines multiple Python image libraries into one API LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.5+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= PILLOW WAND OPENCV OPTIONS_DEFAULT=PILLOW OPENCV_DESC= Use OpenCV as backend PILLOW_DESC= Use Pillow as backend WAND_DESC= Use Wand as backend OPENCV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opencv>=0:graphics/py-opencv@${PY_FLAVOR} -PILLOW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} +PILLOW_RUN_DEPENDS= ${PY_PILLOW} WAND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wand>=0:graphics/py-wand@${PY_FLAVOR} .include Index: head/graphics/qgis/Makefile =================================================================== --- head/graphics/qgis/Makefile (revision 529062) +++ head/graphics/qgis/Makefile (revision 529063) @@ -1,166 +1,166 @@ # Created by: Laurent Courty # $FreeBSD$ PORTNAME= qgis DISTVERSIONPREFIX= final- DISTVERSION= 3_10_1 PORTREVISION= 3 CATEGORIES= graphics geography MAINTAINER= rhurlin@gwdg.de COMMENT= Free and Open Source Geographic Information System LICENSE= GPLv2 BUILD_DEPENDS= gpsbabel>=1.5.4:astro/gpsbabel \ txt2tags:textproc/txt2tags \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.17.1:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.12.1:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=1.1.1:textproc/py-MarkupSafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.4:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.18.0:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=9.0.3:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=3.0.2:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.4.1:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=2.1.3:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2019.1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.6.8:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} RUN_DEPENDS= astyle:devel/astyle \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.17.1:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=2.4.1:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=2.3.0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.12.1:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=1.1.1:textproc/py-MarkupSafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.4:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=4.4.0:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.1:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nltk>=3.4.1:textproc/py-nltk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.5:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.18.0:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=0.24.2:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=6.0.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pip>=9.0.3:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=3.0.2:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.6.3:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.3:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.4.1:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=2.1.3:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrsgis>=0.2.4:graphics/py-pyrsgis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2019.1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qt5-quick>=5.12.2:x11-toolkits/py-qt5-quick@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.14.2_2:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Shapely>=1.6.4:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.6.8:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libnetcdf.so:science/netcdf \ libproj.so:graphics/proj \ libqjson-qt5.so:devel/qjson \ libqscintilla2_qt5.so:devel/qscintilla2-qt5 \ libqt5keychain.so:security/qtkeychain \ libqwt6.so:x11-toolkits/qwt6 \ libspatialindex.so:devel/spatialindex \ libspatialite.so:databases/spatialite \ libsz.so:science/szip \ libxerces-c.so:textproc/xerces-c3 \ libzip.so:archivers/libzip ### Fortran is needed by numpy, GRASS, etc. USES= bison cmake compiler:features cpe desktop-file-utils \ fortran gl gmake gnome pgsql pyqt:5 python:3.6+ qca qt:5 \ shebangfix sqlite:3 USE_GNOME= libxml2 USE_GL= gl USE_QT= 3d buildtools_build core concurrent dbus declarative \ designer doc gamepad gui linguist_build location \ network printsupport qmake_build script serialport \ sql sql-pgsql sql-sqlite3 svg testlib uitools \ webengine widgets webkit xml USE_PYQT= core gui network qml quickwidgets qscintilla2 \ sip sql svg webkit_run webkitwidgets_run xml USE_LDCONFIG= yes CONFLICTS_INSTALL= qgis-ltr USE_GITHUB= yes GH_PROJECT= ${PORTNAME:tu} CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \ -DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \ -DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ -DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \ -DQWT_INCLUDE_DIR:PATH=${LOCALBASE}/include/qt5/qwt6 \ -DQWT_LIBRARY:FILEPATH=${LOCALBASE}/lib/qt5/libqwt6.so \ -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW \ -DUSE_OPENCL:BOOL=FALSE CMAKE_ON= BUILD_TESTING ENABLE_TESTS WITH_3D WITH_ASTYLE \ WITH_BINDINGS WITH_CUSTOM_WIDGETS WITH_INTERNAL_MDAL \ WITH_POSTGRESQL CMAKE_OFF= WITH_GLOBE WITH_QWTPOLAR .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev CMAKE_OFF+= SUPPRESS_QT_WARNINGS .endif SHEBANG_FILES= src/plugins/grass/scripts/*.py OPTIONS_DEFINE= GRASS SERVER OPTIONS_DEFAULT= GRASS SERVER NO_OPTIONS_SORT= yes OPTIONS_SUB= yes SERVER_DESC= Enable QGIS server GRASS_BUILD_DEPENDS= grass7:databases/grass7 GRASS_RUN_DEPENDS= ${GRASS_BUILD_DEPENDS} GRASS_CMAKE_BOOL= WITH_GRASS7 SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE PLIST_SUB= DISTVERSION=${PORTVERSION} .include post-patch: @${REINPLACE_CMD} -e 's|markupsafe ||g' \ ${WRKSRC}/python/ext-libs/CMakeLists.txt # On i386, '-mllvm -inline-threshold=128' does not build under all circumstances # See bugs 242557 and 241687. .if ${OPSYS} == FreeBSD && ${ARCH} == "i386" @${REINPLACE_CMD} -e 's|"-mllvm -inline-threshold=128"|"-O1"|g' \ ${WRKSRC}/src/core/CMakeLists.txt .endif pre-configure: ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 post-install: @${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak @${RM} /tmp/srs.db check: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include Index: head/graphics/qgis-ltr/Makefile =================================================================== --- head/graphics/qgis-ltr/Makefile (revision 529062) +++ head/graphics/qgis-ltr/Makefile (revision 529063) @@ -1,161 +1,161 @@ # Created by: Laurent Courty # $FreeBSD$ PORTNAME= qgis DISTVERSIONPREFIX= final- DISTVERSION= 3_4_11 PORTREVISION= 5 CATEGORIES= graphics geography PKGNAMESUFFIX= -ltr MAINTAINER= rhurlin@gwdg.de COMMENT= Free and Open Source Geographic Information System LICENSE= GPLv2 BUILD_DEPENDS= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} \ gpsbabel>=1.5.4:astro/gpsbabel \ txt2tags:textproc/txt2tags \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.17.1:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.12.1:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=1.1.1:textproc/py-MarkupSafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.4:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.17.1:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=9.0.3:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=3.0.2:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.4.1:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=2.1.3:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2019.1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.6.8:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} RUN_DEPENDS= astyle:devel/astyle \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.17.1:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=2.4.1:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=2.3.0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.12.1:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=1.1.1:textproc/py-MarkupSafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.2.4:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=2.0.0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=4.4.0:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.1:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.17.1:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=3.1.1:devel/py-pbr@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=6.0.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pip>=9.0.3:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=3.0.2:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.3:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.4.1:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=2.1.3:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2019.1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.14.2_2:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Shapely>=1.6.4:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.6.8:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} LIB_DEPENDS= libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libnetcdf.so:science/netcdf \ libproj.so:graphics/proj \ libqjson-qt5.so:devel/qjson \ libqscintilla2_qt5.so:devel/qscintilla2-qt5 \ libqt5keychain.so:security/qtkeychain \ libqwt6.so:x11-toolkits/qwt6 \ libspatialindex.so:devel/spatialindex \ libspatialite.so:databases/spatialite \ libsz.so:science/szip \ libxerces-c.so:textproc/xerces-c3 \ libzip.so:archivers/libzip ### Fortran is needed by numpy, GRASS, etc. USES= bison cmake compiler:features cpe desktop-file-utils \ fortran gmake gnome pgsql pyqt:5 python:3.6+ qca qt:5 \ shebangfix sqlite:3 USE_GNOME= libxml2 USE_QT= 3d buildtools_build core concurrent dbus declarative \ designer doc gamepad gui linguist_build location \ network printsupport qmake_build script serialport \ sql sql-pgsql sql-sqlite3 svg testlib uitools \ webengine widgets webkit xml USE_PYQT= core gui network qml qscintilla2 sip sql svg xml \ webkit_run webkitwidgets_run USE_LDCONFIG= yes CONFLICTS_INSTALL= qgis USE_GITHUB= yes GH_PROJECT= ${PORTNAME:tu} CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \ -DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \ -DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ -DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \ -DQWT_INCLUDE_DIR:PATH=${LOCALBASE}/include/qt5/qwt6 \ -DQWT_LIBRARY:FILEPATH=${LOCALBASE}/lib/qt5/libqwt6.so \ -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW CMAKE_ON= BUILD_TESTING ENABLE_TESTS WITH_3D WITH_ASTYLE \ WITH_BINDINGS WITH_CUSTOM_WIDGETS WITH_POSTGRESQL CMAKE_OFF= WITH_GLOBE WITH_QWTPOLAR .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev CMAKE_OFF+= SUPPRESS_QT_WARNINGS .endif SHEBANG_FILES= src/plugins/grass/scripts/*.py OPTIONS_DEFINE= GRASS SERVER OPTIONS_DEFAULT= GRASS SERVER NO_OPTIONS_SORT= yes OPTIONS_SUB= yes SERVER_DESC= Enable QGIS server GRASS_BUILD_DEPENDS= grass7:databases/grass7 GRASS_RUN_DEPENDS= ${GRASS_BUILD_DEPENDS} GRASS_CMAKE_BOOL= WITH_GRASS7 GRASS_FORCE_MAKE_JOBS= NO SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_BOOL= WITH_SERVER PLIST_SUB= DISTVERSION=${PORTVERSION} .include # make describe needs them here, after bsd.port.pre.mk CPP= clang-cpp${LLVM_DEFAULT} CC= clang${LLVM_DEFAULT} CXX= clang++${LLVM_DEFAULT} post-patch: @${REINPLACE_CMD} -e 's|markupsafe ||g' \ ${WRKSRC}/python/ext-libs/CMakeLists.txt pre-configure: ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 post-install: @${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak @${RM} /tmp/srs.db check: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include Index: head/graphics/sk1/Makefile =================================================================== --- head/graphics/sk1/Makefile (revision 529062) +++ head/graphics/sk1/Makefile (revision 529063) @@ -1,60 +1,60 @@ # $FreeBSD$ PORTNAME= sk1 DISTVERSION= 2.0 DISTVERSIONSUFFIX= rc3 PORTREVISION= 2 CATEGORIES= graphics python MASTER_SITES= https://downloads.sk1project.net/sk1/${DISTVERSIONFULL}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Professional quality illustration program LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/GPLv3.txt DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-08-15 LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libMagickCore-6.so:graphics/ImageMagick6 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pycups>0:print/py-pycups@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR} USES= desktop-file-utils gettext gnome python:2.7 shebangfix SHEBANG_FILES= ${PYSETUP} USE_PYTHON= distutils distutils PYSETUP= setup-sk1.py PYDISTUTILS_INSTALLARGS= --root=${STAGEDIR} USE_GNOME= cairo glib20 pango USE_WX= 3.0+ WX_COMPS= python:lib INSTALLS_ICONS= yes MAKE_ENV= FREEBSD_PYTHON_VER=${PYTHON_VER} _VER= ${DISTVERSIONFULL} PLIST_SUB= VER="${_VER}" post-patch: @${REINPLACE_CMD} -E " \ s,/usr/(bin|include|lib|share),${LOCALBASE}/\1,g ; \ s|%s-wx-%s' % \(NAME, VERSION\)|%s-wx-%s-%s' % (NAME, VERSION, os.environ['FREEBSD_PYTHON_VER'])| ; \ s/sk1\.(desktop|png|xpm|svg)/sk1-${PYTHON_VER}.\1/g ; \ s|\(install_path, \['GPLv3.txt', 'LICENSE', \]\),|| " \ ${WRKSRC}/setup-sk1.py @${REINPLACE_CMD} -e 's|/usr/|${LOCALBASE}/|' ${WRKSRC}/setup.cfg_* @${REINPLACE_CMD} -e ' \ s|sk1|sk1-${PYTHON_VER}| ; \ s|^Name.*|& (python${PYTHON_VER})|' \ ${WRKSRC}/src/sk1.desktop .for ext in desktop png xpm svg @${MV} ${WRKSRC}/src/sk1.${ext} ${WRKSRC}/src/sk1-${PYTHON_VER}.${ext} .endfor post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/sk1-wx-${_VER}-${PYTHON_VER}/uc2/*/_*.so .include Index: head/graphics/variety/Makefile =================================================================== --- head/graphics/variety/Makefile (revision 529062) +++ head/graphics/variety/Makefile (revision 529063) @@ -1,57 +1,57 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= variety PORTVERSION= 0.7.1 CATEGORIES= graphics MAINTAINER= nivit@FreeBSD.org COMMENT= Wallpaper changer LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-distutils-extra>=2.38:devel/py-python-distutils-extra@${PY_FLAVOR} LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 \ libnotify.so:devel/libnotify RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.3.2:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cairo>=1.10.0:graphics/py-cairo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}configobj>=5.0.6:devel/py-configobj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>=1.1.1_1:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.9:www/py-httplib2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=2.6.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}lxml>=3.4.1_1:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ImageMagick6>=6.9.0.4,1:graphics/ImageMagick6 \ bash>=4.3.33:shells/bash \ ca_root_nss>=3.17.4:security/ca_root_nss \ coreutils>=8.23:sysutils/coreutils \ yelp>=3.14.1:x11/yelp USES= desktop-file-utils gettext-tools gnome python:3.5+ shebangfix USE_GNOME= gdkpixbuf2 gtk30 intltool pygobject3:run USE_PYTHON= distutils noflavors USE_GITHUB= yes GH_ACCOUNT= varietywalls SHEBANG_FILES= bin/variety data/scripts/* INSTALLS_ICONS= yes post-patch: @(cd ${WRKSRC} && ${REINPLACE_CMD} \ -i '' \ -E -e 's,%%LOCALBASE%%,${LOCALBASE},1' \ -e 's,%%PREFIX%%,${PREFIX},1' \ -e 's,/usr(/share/backgrounds),${LOCALBASE}\1,1' \ data/config/variety.conf po/*.po* \ data/ui/PreferencesVarietyDialog.ui \ variety/Options.py variety/ThumbsWindow.py \ variety/__init__.py variety/VarietyWindow.py) .include # PYDISTUTILS_INSTALLNOSINGLE is deprecated so... PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed} .include Index: head/lang/mono/Makefile =================================================================== --- head/lang/mono/Makefile (revision 529062) +++ head/lang/mono/Makefile (revision 529063) @@ -1,102 +1,95 @@ # Created by: Yukihiro Nakai # $FreeBSD$ PORTNAME= mono PORTVERSION= 5.10.1.57 PORTREVISION= 3 CATEGORIES= lang MASTER_SITES= https://download.mono-project.com/sources/mono/ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= mono@FreeBSD.org COMMENT= Open source implementation of .NET Development Framework LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 powerpc BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ bash:shells/bash \ cmake>0:devel/cmake LIB_DEPENDS= libinotify.so:devel/libinotify -RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss +RUN_DEPENDS= ${PY_PILLOW} \ + ca_root_nss>=0:security/ca_root_nss CONFLICTS_INSTALL= czmq-3* OPTIONS_DEFINE= MONOLITE NLS X11 OPTIONS_DEFAULT= MONOLITE X11 OPTIONS_SUB= yes MONOLITE_DESC= Use monolite to bootstrap mcs (otherwise use installed mcs) MONOLITE_DISTFILES= monolite-linux-${MONOLITE_VERSION}-latest.tar.gz:monolite MONOLITE_MASTER_SITES= http://download.mono-project.com/monolite/:monolite MONOLITE_VERSION= 1051000004 NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext X11_USES= display:test USES= autoreconf bison compiler:c11 cpe gmake iconv libtool \ pathfix perl5 python shebangfix tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes USE_LDCONFIG= yes SHEBANG_FILES= scripts/mono-heapviz mono/mini/genmdesc.py mono/tests/test_lldb.py BINARY_ALIAS= python=${PYTHON_CMD} CONFIGURE_ARGS= --disable-dtrace --enable-btls CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no MAKE_ENV= MONO_SHARED_DIR="${WRKDIR}" \ INSTALL_STRIP_FLAG="${STRIP}" \ TZ=UTC TEST_ARGS= -k TEST_TARGET= check PORTSCOUT= limit:^\d+\.\d+\.[1-9]\d* LOCALBASE?= /usr/local .if !exists(${LOCALBASE}/bin/mcs) OPTIONS_SLAVE= MONOLITE .endif -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-extract-MONOLITE-on: ${MKDIR} ${WRKSRC}/mcs/class/lib/monolite-linux ${MV} ${WRKDIR}/monolite-linux-${MONOLITE_VERSION}-latest ${WRKSRC}/mcs/class/lib/monolite-linux/${MONOLITE_VERSION} post-patch: ${REINPLACE_CMD} -e 's|^#!/bin/bash|#!/usr/bin/env bash|g' \ ${WRKSRC}/scripts/mono-find-provides.in \ ${WRKSRC}/scripts/mono-find-requires.in \ ${WRKSRC}/scripts/mono-test-install ${FIND} ${WRKSRC} -name '*.sh' | ${XARGS} ${REINPLACE_CMD} \ -e 's|^#!/bin/bash|#!/bin/sh|g' ${SED} 's/tarball/${PORTVERSION}/' ${WRKSRC}/mono/mini/Makefile.am.in \ > ${WRKSRC}/mono/mini/Makefile.am ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}|g' \ ${WRKSRC}/mcs/class/corlib/System/Environment.cs \ ${WRKSRC}/external/corefx/src/System.Runtime.Extensions/src/System/Environment.Unix.cs ${REINPLACE_CMD} -e 's|/usr/share/.mono|${PREFIX}/share/mono|g' \ ${WRKSRC}/man/mono-configuration-crypto.1 \ ${WRKSRC}/man/mono.1 \ ${WRKSRC}/man/mozroots.1 post-configure: ${REINPLACE_CMD} -e 's|share\/man|man|g' \ ${WRKSRC}/mcs/jay/Makefile post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/mono -.include +.include Index: head/math/asymptote/Makefile =================================================================== --- head/math/asymptote/Makefile (revision 529062) +++ head/math/asymptote/Makefile (revision 529063) @@ -1,96 +1,89 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= asymptote PORTVERSION= 2.56 PORTREVISION= 3 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= nivit@FreeBSD.org COMMENT= Powerful script-based vector graphics language LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libsigsegv.so:devel/libsigsegv RUN_DEPENDS= animate:graphics/ImageMagick6 \ gv:print/gv \ - ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ + ${PY_PILLOW} USES= compiler:c++14-lang gettext-runtime ghostscript gl gmake ncurses perl5 python \ shebangfix tar:tgz SHEBANG_FILES= GUI/*.py USE_GL= gl glu glut USE_PERL5= build USE_TEX= dvipsk formats CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes MAKE_ENV= ASYMPTOTE_HOME=${WRKDIR} HOME=${WRKDIR} MAKE_JOBS_UNSAFE= yes ALL_TARGET= asy asy-keywords.el INSTALL_TARGET= install-asy SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFAULT= FFTW GSL MANPAGES READLINE OPTIONS_DEFINE= BDWGC DOCS EXAMPLES FFTW GSL MANPAGES OFFSCREEN READLINE BDWGC_LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded BDWGC_DESC= Enable Boehm-Demers-Weiser garbage collector BDWGC_CONFIGURE_ENABLE= gc=${LOCALBASE} DOCS_ALL_TARGET= html DOCS_BUILD_DEPENDS= texi2dvi:print/texinfo DOCS_CONFIGURE_WITH= docdir=${DOCSDIR} DOCS_INSTALL_TARGET= install-html FFTW_CONFIGURE_ENABLE= fftw FFTW_DESC= Use FFTW to compute the Discrete Fourier Transform FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 GSL_CONFIGURE_ENABLE= gsl GSL_DESC= Enable GNU Scientific library GSL_LIB_DEPENDS= libgsl.so:math/gsl MANPAGES_ALL_TARGET= man MANPAGES_BUILD_DEPENDS= texi2dvi:print/texinfo MANPAGES_INFO= asy-faq MANPAGE_INSTALL_TARGET= install-man OFFSCREEN_CONFIGURE_ENABLE= offscreen OFFSCREEN_DESC= Enable offscreen rendering using OSMesa library OFFSCREEN_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa READLINE_CONFIGURE_ENABLE= readline READLINE_USES= readline:port -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-patch: @${REINPLACE_CMD} 's/-lgc/-lgc-threaded/' ${WRKSRC}/configure @${REINPLACE_CMD} 's,/usr/lib/libgs.so,${LOCALBASE}/lib/libgs.so,' \ ${WRKSRC}/settings.cc @${REINPLACE_CMD} 's,makeinfo,${LOCALBASE}/bin/makeinfo,' \ ${WRKSRC}/doc/png/Makefile.in # Fix the python interpreter in the generated file share/asymptote/GUI/xasyVersion.py: @${REINPLACE_CMD} 's,/usr/bin/env python,${PYTHON_CMD},' ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asy -.include +.include Index: head/math/py-PyWavelets/Makefile =================================================================== --- head/math/py-PyWavelets/Makefile (revision 529062) +++ head/math/py-PyWavelets/Makefile (revision 529063) @@ -1,36 +1,29 @@ # $FreeBSD$ PORTNAME= PyWavelets PORTVERSION= 0.5.2 PORTREVISION= 4 DISTVERSIONPREFIX= v CATEGORIES= math python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= eric@camachat.org COMMENT= Discrete Wavelet Transforms in Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYNUMPY} -RUN_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYNUMPY} \ + ${PY_PILLOW} USE_GITHUB= yes GH_PROJECT= pywt USES= cpe python USE_PYTHON= autoplist distutils cython cython_run PYDISTUTILS_BUILD_TARGET= build build_ext PYDISTUTILS_BUILDARGS+= saveopts -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=1.7:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=1.7:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/math/py-plastex/Makefile =================================================================== --- head/math/py-plastex/Makefile (revision 529062) +++ head/math/py-plastex/Makefile (revision 529063) @@ -1,24 +1,24 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= plastex PORTVERSION= 2.1 CATEGORIES= math python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= plasTeX-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= LaTeX Document Processing Framework LICENSE= MIT -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} +RUN_DEPENDS= ${PY_PILLOW} USES= python:3.5+ USE_PYTHON= autoplist distutils USE_TEX= base:run NO_ARCH= yes .include Index: head/misc/cs/Makefile =================================================================== --- head/misc/cs/Makefile (revision 529062) +++ head/misc/cs/Makefile (revision 529063) @@ -1,33 +1,27 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= cs PORTVERSION= 0.9.6 PORTREVISION= 2 CATEGORIES= misc MASTER_SITES= http://njhurst.com/programming/cross-stitch/ MAINTAINER= ports@FreeBSD.org COMMENT= Cross Stitch software LICENSE= GPLv2+ +RUN_DEPENDS= ${PY_PILLOW} + NO_BUILD= yes USES= python:run shebangfix tar:tgz SHEBANG_FILES= xs.py PLIST_FILES= bin/xs -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - do-install: (cd ${WRKSRC} && ${INSTALL_SCRIPT} xs.py ${STAGEDIR}${PREFIX}/bin/xs) -.include +.include Index: head/misc/ironscanner/Makefile =================================================================== --- head/misc/ironscanner/Makefile (revision 529062) +++ head/misc/ironscanner/Makefile (revision 529063) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= ironscanner DISTVERSION= 1.1.0.20180828 CATEGORIES= misc python MAINTAINER= yuri@FreeBSD.org COMMENT= Collect as much information as possible on image scanners LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ +RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pyinsane2>0:graphics/py-pyinsane2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} USES= python:3.4+ USE_GITLAB= yes GL_SITE= https://gitlab.gnome.org/World GL_ACCOUNT= OpenPaperwork GL_COMMIT= e73528c5602088eb75f99b78a498dec622b5c97e USE_PYTHON= distutils autoplist noflavors NO_ARCH= yes .include Index: head/misc/mmdnn/Makefile =================================================================== --- head/misc/mmdnn/Makefile (revision 529062) +++ head/misc/mmdnn/Makefile (revision 529063) @@ -1,35 +1,28 @@ # $FreeBSD$ PORTNAME= mmdnn DISTVERSION= 0.2.5-21 DISTVERSIONSUFFIX= -gc1c748e PORTREVISION= 1 CATEGORIES= misc python # machine-learning MAINTAINER= yuri@FreeBSD.org COMMENT= Tools to inter-operate among different deep learning frameworks LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYNUMPY} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.6.0:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} USES= python USE_GITHUB= yes GH_ACCOUNT= microsoft GH_PROJECT= MMdnn USE_PYTHON= distutils noflavors autoplist NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=3.1.0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=3.1.0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/misc/py-gluoncv/Makefile =================================================================== --- head/misc/py-gluoncv/Makefile (revision 529062) +++ head/misc/py-gluoncv/Makefile (revision 529063) @@ -1,49 +1,42 @@ # $FreeBSD$ PORTNAME= gluoncv DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 PORTREVISION= 1 CATEGORIES= misc # machine-learning PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Gluon CV toolkit for state-of-the-art deep learning in computer vision LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE PY_DEPENDS= ${PYNUMPY} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mxnet>0:misc/py-mxnet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}portalocker>0:devel/py-portalocker@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} USES= compiler:c11 python localbase USE_GITHUB= yes GH_ACCOUNT= dmlc GH_PROJECT= gluon-cv USE_PYTHON= distutils cython autoplist PYDISTUTILS_BUILDARGS= --with-cython PYDISTUTILS_INSTALLARGS= --with-cython -.include - -.if ${PYTHON_REL} < 3500 -PY_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -PY_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-patch: # https://github.com/dmlc/gluon-cv/issues/1095 @truncate -s 0 ${WRKSRC}/README.md post-install: @${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD} -.include +.include Index: head/misc/py-tflearn/Makefile =================================================================== --- head/misc/py-tflearn/Makefile (revision 529062) +++ head/misc/py-tflearn/Makefile (revision 529063) @@ -1,26 +1,26 @@ # $FreeBSD$ PORTNAME= tflearn DISTVERSION= 0.3.2-53 DISTVERSIONSUFFIX= -g5c23566 CATEGORIES= misc python # machine-learning PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Modular and transparent deep learning library on top of TensorFlow LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tensorflow>0:science/py-tensorflow@${PY_FLAVOR} USES= python:3.6+ USE_GITHUB= yes USE_PYTHON= distutils autoplist NO_ARCH= yes .include Index: head/misc/wotsap/Makefile =================================================================== --- head/misc/wotsap/Makefile (revision 529062) +++ head/misc/wotsap/Makefile (revision 529063) @@ -1,30 +1,30 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= wotsap PORTVERSION= 0.7 PORTREVISION= 4 CATEGORIES= misc MASTER_SITES= http://www.lysator.liu.se/~jc/wotsap/download/ EXTRACT_SUFX= .tgz MAINTAINER= danilo@FreeBSD.org COMMENT= Web of trust statistics and pathfinder DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-09-15 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} +RUN_DEPENDS= ${PY_PILLOW} USES= python:2.7,run shebangfix NO_BUILD= yes SHEBANG_FILES= wotsap pks2wot PLIST_FILES= bin/pks2wot bin/wotsap PORTSCOUT= ignore:1 do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pks2wot ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/wotsap ${STAGEDIR}${PREFIX}/bin .include Index: head/multimedia/freevo/Makefile =================================================================== --- head/multimedia/freevo/Makefile (revision 529062) +++ head/multimedia/freevo/Makefile (revision 529063) @@ -1,94 +1,94 @@ # Created by: Lewis Thompson (purple@lewiz.net) # $FreeBSD$ PORTNAME= freevo PORTVERSION= 1.9.0 PORTREVISION= 21 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/Freevo%20releases/${PORTVERSION} MAINTAINER= fbsd@opal.com COMMENT= Open source digital jukebox LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-09-15 RUN_DEPENDS= mplayer:multimedia/mplayer \ mencoder:multimedia/mencoder \ aumix:audio/aumix \ tv_cat:textproc/p5-xmltv \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=3.3.0_1:devel/py-zope.interface@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/kaa/__init__.py:multimedia/py-kaa-base@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/kaa/imlib2/__init__.py:multimedia/py-kaa-imlib2@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/kaa/metadata/__init__.py:multimedia/py-kaa-metadata@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/BeautifulSoup.py:www/py-beautifulsoup32@${PY_FLAVOR} \ ${PYGAME} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_SITELIBDIR}/Numeric/Numeric_headers/__init__.py:math/py-numeric@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} FREEVO_USER= freevo FREEVO_GROUP= ${FREEVO_USER} FREEVO_HOME= /var/db/${FREEVO_USER} USERS= ${FREEVO_USER} GROUPS= ${FREEVO_GROUP} SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} \ PORTVERSION=${PORTVERSION} \ FREEVO_HOME=${FREEVO_HOME} SUB_FILES= pkg-message pkg-deinstall NO_ARCH= yes USES= python:2.7 shebangfix USE_PYTHON= distutils noegginfo PYDISTUTILS_INSTALLNOSINGLE= yes PYDISTUTILS_SETUP= ${PYSETUP} SHEBANG_FILES= src/www/htdocs/downloadurl PLIST_SUB= PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO} USE_RC_SUBR= ${PORTNAME} RC_SCRIPT= ${PREFIX}/etc/rc.d/${PORTNAME} CONFDIR= ${PREFIX}/etc/${PORTNAME} DATADIR= ${PREFIX}/share/${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= NLS .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " .endif post-patch: .if ! ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} -e 's| freevo_locale| # freevo_locale|' ${WRKSRC}/${PORTNAME} @${MV} ${WRKSRC}/i18n ${WRKSRC}/i18n-nls-disabled .endif @${REINPLACE_CMD} -e 's|/etc/freevo|${PREFIX}/etc/freevo|' ${WRKSRC}/freevo_config.py @${REINPLACE_CMD} -e 's|/etc/freevo|${PREFIX}/etc/freevo|' ${WRKSRC}/local_conf.py.example @${MV} ${WRKSRC}/src/www/htdocs/favorites.rpy.orig ${WRKDIR} @${MV} ${WRKSRC}/src/www/htdocs/search.rpy.orig ${WRKDIR} @${RM} ${WRKSRC}/src/www/htdocs/fileinfo.rpy.orig ${WRKSRC}/src/www/htdocs/guide.rpy.orig \ ${WRKSRC}/src/www/htdocs/guidechannel.rpy.orig ${WRKSRC}/src/www/htdocs/proginfo.rpy.orig \ ${WRKSRC}/src/www/htdocs/vlcwin.rpy.orig do-configure: @${DO_NADA} post-install: ${MKDIR} ${STAGEDIR}${CONFDIR} ${INSTALL_DATA} ${WRKSRC}/local_conf.py.example ${STAGEDIR}${CONFDIR} ${MKDIR} ${STAGEDIR}/var/log/freevo ${MKDIR} ${STAGEDIR}/var/run/freevo .include Index: head/net/py-rainbowstream/Makefile =================================================================== --- head/net/py-rainbowstream/Makefile (revision 529062) +++ head/net/py-rainbowstream/Makefile (revision 529063) @@ -1,42 +1,35 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= rainbowstream PORTVERSION= 1.4.0 PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Smart and nice Twitter client on terminal LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-08-15 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}arrow>0:devel/py-arrow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.5.3:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyfiglet>0:misc/py-pyfiglet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twitter-tools>0:net/py-twitter-tools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR} \ + ${PY_PILLOW} # Actually 2.7,3.2- # Limited to -3.6 because of pyfiglet. USES= python:2.7-3.6 USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/net-im/py-matrix-synapse/Makefile =================================================================== --- head/net-im/py-matrix-synapse/Makefile (revision 529062) +++ head/net-im/py-matrix-synapse/Makefile (revision 529063) @@ -1,100 +1,100 @@ # Created by: Brendan Molloy # $FreeBSD$ PORTNAME= matrix-synapse DISTVERSIONPREFIX= v DISTVERSION= 1.10.0 CATEGORIES= net-im python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@skyforge.at COMMENT= Matrix protocol reference homeserver LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE # Keep the RUN_DEPENDS layout similar to the master/synapse/python_dependencies.py file RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.5.1:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}frozendict>=1:devel/py-frozendict@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unpaddedbase64>=1.1.0:devel/py-unpaddedbase64@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}canonicaljson>=1.1.3:devel/py-canonicaljson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}signedjson>=1.1.0:security/py-signedjson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynacl>=1.2.1:security/py-pynacl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}idna>=2.5:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=18.9.0:devel/py-twisted@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}treq>=15.1:www/py-treq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.9:devel/py-pyasn1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.0.7:devel/py-pyasn1-modules@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}daemonize>=2.4.2:devel/py-daemonize@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.0:security/py-bcrypt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=4.3.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.4.4:devel/py-sortedcontainers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pysaml2>=4.5.2:security/py-pysaml2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymacaroons>=0.13.0:security/py-pymacaroons@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0.5.2:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}phonenumbers>=8.2.0:devel/py-phonenumbers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.2.0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>17.4.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.18:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>=3.10.0:devel/py-simplejson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.9:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bleach>=1.4.3:www/py-bleach@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4:devel/py-typing-extensions@${PY_FLAVOR} \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}virtualenv>=15.0:devel/py-virtualenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tox>=2.3.1:devel/py-tox@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=2.0:devel/py-mock@${PY_FLAVOR} USES= python:3.6+ USE_GITHUB= yes USE_PYTHON= autoplist distutils GH_ACCOUNT= matrix-org GH_PROJECT= synapse USE_RC_SUBR= synapse USERS= synapse GROUPS= synapse DBDIR?= /var/db/${PORTNAME} LOGDIR?= /var/log/${PORTNAME} PIDDIR?= /var/run/${PORTNAME} SUB_FILES= pkg-message log.config SUB_LIST= PYTHON_CMD=${PYTHON_CMD} DBDIR=${DBDIR} LOGDIR=${LOGDIR} PIDDIR=${PIDDIR} USERS=${USERS} PLIST_FILES= "@sample ${ETCDIR}/log.config.sample" DOCS=README.rst UPGRADE.rst CHANGES.md docs/postgres.md PORTDOCS=${DOCS:T} NO_ARCH= yes OPTIONS_DEFINE= LDAP PGSQL SQLITE URLPREVIEW DOCS OPTIONS_DEFAULT= SQLITE PGSQL DOCS URLPREVIEW_DESC= Add dependencies necessary for URL previews LDAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matrix-synapse-ldap3>=0.1:net/py-matrix-synapse-ldap3@${PY_FLAVOR} PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>2.7:databases/py-psycopg2@${PY_FLAVOR} SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} URLPREVIEW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.5.0:devel/py-lxml@${PY_FLAVOR} do-test: cd ${WRKSRC} && PYTHONPATH="." trial-${PYTHON_VER} tests post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/log.config ${STAGEDIR}${ETCDIR}/log.config.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/net-mgmt/netbox/Makefile =================================================================== --- head/net-mgmt/netbox/Makefile (revision 529062) +++ head/net-mgmt/netbox/Makefile (revision 529063) @@ -1,79 +1,79 @@ # $FreeBSD$ PORTNAME= netbox DISTVERSIONPREFIX= v DISTVERSION= 2.7.9 CATEGORIES= net-mgmt MAINTAINER= kai@FreeBSD.org COMMENT= IP address management tool LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2<2.3:www/py-django22@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-cacheops>=4.2:www/py-dj22-django-cacheops@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-cors-headers>=3.2.1:www/py-dj22-django-cors-headers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-debug-toolbar>=2.1:www/py-dj22-django-debug-toolbar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-filter>=2.2.0:www/py-dj22-django-filter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-mptt>=0.9.1:www/py-dj22-django-mptt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-prometheus>=1.1.0:www/py-dj22-django-prometheus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-rq>=2.2.0:devel/py-dj22-django-rq@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-tables2>=2.2.1:www/py-dj22-django-tables2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-taggit>=1.2.0:www/py-dj22-django-taggit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-taggit-serializer>=0.1.7:www/py-dj22-django-taggit-serializer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-timezone-field>=4.0:www/py-dj22-django-timezone-field@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-djangorestframework>=3.10.3:www/py-dj22-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-drf-yasg>=1.17.0:www/py-dj22-drf-yasg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-pglocks>=1.0.4:www/py-django-pglocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gfm>=0.1.4:textproc/py-gfm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=2.6.11:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netaddr>=0.7.19:net/py-netaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.8.2:security/py-pycryptodome@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.4:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=3.3.11:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}svgwrite>=1.3.1:graphics/py-svgwrite@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.2:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gunicorn>=19.9.0.:www/py-gunicorn@${PY_FLAVOR} USES= pgsql:9.4+ python:3.5+ USE_GITHUB= yes GH_ACCOUNT= netbox-community SUB_FILES= netboxrc.sample pkg-message SUB_LIST= DATADIR=${DATADIR} PYTHON_CMD=${PYTHON_CMD} PYTHON_VER=${PYTHON_VER} WWWOWN=${WWWOWN} NO_BUILD= yes NO_ARCH= yes OPTIONS_DEFINE= DOCS EXAMPLES do-install: cd ${WRKSRC}/netbox ; \ for src in $$( ${FIND} . ! -name '*.bak' ) ; do \ dst=${STAGEDIR}${DATADIR}$${src#.} ; \ if ${TEST} -d "$$src" ; then \ ${MKDIR} "$$dst" ; \ else \ ${INSTALL_DATA} "$$src" "$$dst" ; \ fi \ done post-install-DOCS-on: cd ${WRKSRC}/docs ; \ ${MKDIR} ${STAGEDIR}${DOCSDIR} ; \ for src in $$( ${FIND} . ! -name '*.bak' ) ; do \ dst=${STAGEDIR}${DOCSDIR}$${src#.} ; \ if ${TEST} -d "$$src" ; then \ ${MKDIR} "$$dst" ; \ else \ ${INSTALL_DATA} "$$src" "$$dst" ; \ fi \ done post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/netboxrc.sample ${STAGEDIR}${EXAMPLESDIR} .include Index: head/net-p2p/deluge-cli/Makefile =================================================================== --- head/net-p2p/deluge-cli/Makefile (revision 529062) +++ head/net-p2p/deluge-cli/Makefile (revision 529063) @@ -1,75 +1,75 @@ # $FreeBSD$ PORTNAME= deluge DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 1.3.15 PORTREVISION= 11 CATEGORIES= net-p2p python PKGNAMESUFFIX= -cli MAINTAINER= rm@FreeBSD.org COMMENT= CLI part of bittorrent client using Python and libtorrent-rasterbar LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= intltool-merge:textproc/intltool RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>=0.18:devel/py-xdg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libtorrent-rasterbar>=0:net-p2p/py-libtorrent-rasterbar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0.8:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>=1.0.1:textproc/py-chardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mako>=0.2.5:textproc/py-mako@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service_identity>=0:security/py-service_identity@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} + ${PY_PILLOW} USES= gettext python:2.7 USE_PYTHON= autoplist distutils USE_GITHUB= yes GH_ACCOUNT= deluge-torrent NO_ARCH= yes USE_RC_SUBR= deluged deluge_web SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} OPTIONS_DEFINE= DOCS PORTDOCS= ChangeLog README post-patch: @${REINPLACE_CMD} -e '/"new_release_check":/s|True,|False,|g ; \ /"geoip_db_location":/s|/usr/share/GeoIP/GeoIP.dat|${LOCALBASE}/share/GeoIP/GeoIP.dat|g' \ ${WRKSRC}/deluge/core/preferencesmanager.py @${REINPLACE_CMD} -e '/"check_new_releases":/s|True,|False,|g ; \ /"show_new_releases":/s|True,|False,|g' \ ${WRKSRC}/deluge/ui/gtkui/gtkui.py post-install: # do these by hand, else they wind up in the wrong place @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ; \ ${INSTALL_DATA} ${WRKSRC}/deluge/data/icons/scalable/apps/deluge.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps .for size in 16 22 24 32 36 48 64 72 96 128 192 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps ; \ ${INSTALL_DATA} ${WRKSRC}/deluge/data/icons/hicolor/${size}x${size}/apps/deluge.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps .endfor .for pic in png xpm ${INSTALL_DATA} ${WRKSRC}/deluge/data/pixmaps/deluge.${pic} \ ${STAGEDIR}${PREFIX}/share/pixmaps .endfor # install man pages .for man in deluge.1 deluge-console.1 deluge-gtk.1 deluge-web.1 deluged.1 ${INSTALL_MAN} ${WRKSRC}/docs/man/${man} ${STAGEDIR}${MANPREFIX}/man/man1/ .endfor ${INSTALL_DATA} ${WRKSRC}/deluge/data/share/applications/deluge.desktop \ ${STAGEDIR}${PREFIX}/share/applications post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/print/hplip/Makefile =================================================================== --- head/print/hplip/Makefile (revision 529062) +++ head/print/hplip/Makefile (revision 529063) @@ -1,156 +1,147 @@ # Created by: amistry@am-productions.biz # $FreeBSD$ PORTNAME= hplip PORTVERSION= 3.19.12 PORTREVISION= 2 CATEGORIES= print MASTER_SITES= SF MAINTAINER= woodsb02@FreeBSD.org COMMENT= Drivers and utilities for HP printers and All-in-One devices LICENSE= GPLv2+ MIT BSD3CLAUSE LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcupsimage.so:print/cups \ libdbus-1.so:devel/dbus RUN_DEPENDS= cups-filters>=0:print/cups-filters \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} CONFLICTS_INSTALL= hpijs-[0-9]* INSTALL_TARGET= install-strip USES= dos2unix gnome jpeg libtool pkgconfig python shebangfix USE_GNOME= pygobject3 USE_LDCONFIG= yes SHEBANG_GLOB= *.py hpps pstotiff DOS2UNIX_FILES= scan/sane/orblite.c GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cupsbackenddir=${PREFIX}/libexec/cups/backend \ --with-cupsfilterdir=${PREFIX}/libexec/cups/filter \ --with-icondir=${DESKTOPDIR} \ --with-systraydir=${PREFIX}/etc/xdg/autostart \ --with-mimedir=${PREFIX}/share/cups/mime \ --with-docdir=${DOCSDIR} \ --with-htmldir=${DOCSDIR} \ --with-drvdir=${PREFIX}/share/cups/drv \ --disable-qt4 CONFIGURE_ENV+= PYTHONINCLUDEDIR=${PYTHON_INCLUDEDIR} CPPFLAGS+= -I${LOCALBASE}/include -I${PYTHON_INCLUDEDIR} LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS FAX SCAN SNMP X11 XSANE QT5 OPTIONS_DEFAULT= QT5 SCAN SNMP X11 OPTIONS_SUB= yes DOCS_CONFIGURE_ENABLE= doc-build FAX_DESC= PC Send Fax support FAX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab>=0:print/py-reportlab@${PY_FLAVOR} FAX_CONFIGURE_ENABLE= fax-build SCAN_DESC= Scanning support +SCAN_RUN_DEPENDS= ${PY_PILLOW} SCAN_LIB_DEPENDS= libsane.so:graphics/sane-backends SCAN_CONFIGURE_ENABLE= scan-build SNMP_DESC= Network/JetDirect support SNMP_USES= ssl SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SNMP_CONFIGURE_ENABLE= network-build X11_DESC= Graphical User Interface (Qt) X11_CONFIGURE_ENABLE= gui-build XSANE_DESC= Install XSane for scanning (implies SCAN) XSANE_IMPLIES= SCAN XSANE_RUN_DEPENDS= xsane:graphics/xsane .include .if ${PORT_OPTIONS:MQT5} && ${PORT_OPTIONS:MX11} USES+= pyqt:5 USE_PYQT= core_run dbussupport_run gui_run sip widgets_run CONFIGURE_ARGS+= --enable-qt5 .else CONFIGURE_ARGS+= --disable-qt5 .endif .if ${PORT_OPTIONS:MX11} && ! ${PORT_OPTIONS:MQT5} BROKEN= The X11 option requires the QT5 option .endif -.include - -.if ${PORT_OPTIONS:MSCAN} -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif -.endif - post-patch: @${REINPLACE_CMD} -e 's|-ldld||g;' \ -e 's|-ldl||g' \ -e 's,-lusb-1.0,-lusb,g' \ -e 's,libusb-1.0/libusb.h,libusb.h,g' \ ${WRKSRC}/configure \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e '/[[:space:]]install-dist_rulesDATA/ s,install-dist_rulesDATA,,' \ -e '/[[:space:]]install-dist_rulessystemDATA/ s,install-dist_rulessystemDATA,,' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's,/etc/hp,${PREFIX}&,g' \ -e 's,/etc/cups,${LOCALBASE}&,g' \ -e 's,/etc/init.d,${LOCALBASE}/etc/rc.d,g' \ -e 's,/etc/sane.d,${LOCALBASE}&,g' \ -e 's,/usr/share,${LOCALBASE}/share,g' \ -e 's,/usr/include,${LOCALBASE}/include,g' \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/base/codes.py \ ${WRKSRC}/base/g.py \ ${WRKSRC}/base/password.py \ ${WRKSRC}/base/pkit.py \ ${WRKSRC}/base/queues.py \ ${WRKSRC}/base/services.py \ ${WRKSRC}/base/utils.py \ ${WRKSRC}/check.py \ ${WRKSRC}/fax/backend/hpfax.py \ ${WRKSRC}/fax/coverpages.py \ ${WRKSRC}/fax/filters/pstotiff \ ${WRKSRC}/hplip.list.in \ ${WRKSRC}/installer/core_install.py \ ${WRKSRC}/installer/dcheck.py \ ${WRKSRC}/installer/pluginhandler.py \ ${WRKSRC}/logcapture.py \ ${WRKSRC}/prnt/cups.py \ ${WRKSRC}/prnt/filters/hpps \ ${WRKSRC}/prnt/hpcups/HPCupsFilter.cpp \ ${WRKSRC}/prnt/hpijs/globals.cpp \ ${WRKSRC}/prnt/hpijs/hpcupsfax.cpp \ ${WRKSRC}/prnt/hpijs/hpijs.cpp \ ${WRKSRC}/ui/devmgr4.py \ ${WRKSRC}/ui4/devmgr5.py \ ${WRKSRC}/ui5/devmgr5.py @${REINPLACE_CMD} -e 's/umask(0)/umask(0o022)/' \ -e 's/umask(0o111)/umask(0o133)/' \ ${WRKSRC}/base/os_utils.py \ ${WRKSRC}/base/validation.py \ ${WRKSRC}/fax/backend/hpfax.py \ ${WRKSRC}/hpdio.py \ ${WRKSRC}/installer/pluginhandler.py post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/hp/hplip.conf \ ${STAGEDIR}${PREFIX}/etc/hp/hplip.conf.sample ${MKDIR} ${STAGEDIR}${DATADIR}/ui4/plugins ${MKDIR} ${STAGEDIR}/var/lib/hp post-install-SCAN-on: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/sane.d/dll.d ${MV} ${STAGEDIR}${PREFIX}/etc/sane.d/dll.conf \ ${STAGEDIR}${PREFIX}/etc/sane.d/dll.d/hpaio -.include +.include Index: head/print/py-reportlab/Makefile =================================================================== --- head/print/py-reportlab/Makefile (revision 529062) +++ head/print/py-reportlab/Makefile (revision 529063) @@ -1,74 +1,68 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= reportlab PORTVERSION= 3.5.21 PORTREVISION= 1 CATEGORIES= print python MASTER_SITES= CHEESESHOP \ https://www.reportlab.com/ftp/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PFBFER} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= bofh@FreeBSD.org COMMENT= Library to create PDF documents using the Python language LICENSE= BSD3CLAUSE +RUN_DEPENDS= ${PY_PILLOW} + USES= python USE_PYTHON= distutils autoplist CONFLICTS= py*-reportlab[^3]-[^3].* \ py*-reportlab-[^3].* PFBFER_VERSION= 20180109 PFBFER= pfbfer-${PFBFER_VERSION}.zip MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}" REPORTLABDIR= ${PYTHONPREFIX_SITELIBDIR}/reportlab DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= reportlab-userguide.pdf OPTIONS_DEFINE= CJK FREETYPE DOCS OPTIONS_DEFAULT= CJK FREETYPE # XXX disable this 20190809 while linimon investigates why having it # enabled consumes all memory and swap during poudriere builds. OPTIONS_EXCLUDE_powerpc64= DOCS CJK_DESC= Adobe CMaps CJK_RUN_DEPENDS= ${LOCALBASE}/share/fonts/adobe-cmaps/ac15/cid2code.txt:print/adobe-cmaps FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-patch: @${REINPLACE_CMD} -e 's|%%DISTDIR%%|${DISTDIR}|' \ -e 's|%%PFBFER%%|${PFBFER}|' \ ${WRKSRC}/setup.py post-patch-DOCS-on: .for f in genAll.py userguide/genuserguide.py @${REINPLACE_CMD} -e 's|%%STAGEDIR%%|${STAGEDIR}|' \ -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|' \ ${WRKSRC}/docs/${f} .endfor post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/reportlab/*/*.so post-install-DOCS-on: @cd ${WRKSRC}/docs && ${PYTHON_CMD} genAll.py @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR} .endfor -.include +.include Index: head/print/py-trml2pdf/Makefile =================================================================== --- head/print/py-trml2pdf/Makefile (revision 529062) +++ head/print/py-trml2pdf/Makefile (revision 529063) @@ -1,48 +1,48 @@ # Created by: Kevin Golding # $FreeBSD$ PORTNAME= trml2pdf PORTVERSION= 1.2 PORTREVISION= 6 CATEGORIES= print python MASTER_SITES= SF/kraft/${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@caomhin.org COMMENT= Tiny RML2PDF easily creates PDF documents LICENSE= LGPL21 DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-08-15 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} \ +RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}reportlab>=0:print/py-reportlab@${PY_FLAVOR} USES= python:2.7 shebangfix tar:bzip2 USE_PYTHON= flavors NO_BUILD= yes NO_ARCH= yes SHEBANG_FILES= trml2pdf/trml2pdf.py DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES do-install: @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/trml2pdf ${INSTALL_SCRIPT} ${WRKSRC}/trml2pdf/* \ ${STAGEDIR}${PYTHON_SITELIBDIR}/trml2pdf post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/rmls/ ${STAGEDIR}${EXAMPLESDIR}/rmls .include Index: head/science/gramps/Makefile =================================================================== --- head/science/gramps/Makefile (revision 529062) +++ head/science/gramps/Makefile (revision 529063) @@ -1,51 +1,51 @@ # Created by: Andreas Fehlner # $FreeBSD$ PORTNAME= gramps PORTVERSION= 5.1.1 DISTVERSIONPREFIX= v CATEGORIES= science gnome python MAINTAINER= woodsb02@FreeBSD.org COMMENT= GTK3-based genealogy program LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgeocode-glib.so:net/geocode-glib \ libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb3>0:databases/py-bsddb3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyicu>=1.8:devel/py-pyicu@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygraphviz>=0:graphics/py-pygraphviz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ xdg-open:devel/xdg-utils USES= desktop-file-utils gettext gnome python:3.3+ shared-mime-info USE_GITHUB= yes GH_ACCOUNT= gramps-project USE_GNOME= cairo gtk30 intltool librsvg2 pango pygobject3 USE_PYTHON= autoplist distutils noflavors NO_ARCH= yes CONFIGURE_ARGS= --disable-mime-install INSTALLS_OMF= yes INSTALLS_ICONS= yes OPTIONS_DEFINE= GEXIV GTKSPELL PIL RCS TTFFREEFONT OPTIONS_DEFAULT= GEXIV GTKSPELL GEXIV_DESC= Manage Exif metadata embedded in media GTKSPELL_DESC= Spell checking support via gtkspell PIL_DESC= Crop/convert images with Python Imaging Library (Pillow) RCS_DESC= Manage revisions of family trees with with GNU RCS TTFFREEFONT_DESC= More font support in reports GEXIV_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3 -PIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} +PIL_RUN_DEPENDS= ${PY_PILLOW} RCS_RUN_DEPENDS= rcsdiff:devel/rcs TTFFREEFONT_RUN_DEPENDS=${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf post-install: ${ECHO_CMD} -n ${PREFIX}/share > ${STAGEDIR}${PYTHON_SITELIBDIR}/gramps/gen/utils/resource-path .include Index: head/science/rdkit/Makefile =================================================================== --- head/science/rdkit/Makefile (revision 529062) +++ head/science/rdkit/Makefile (revision 529063) @@ -1,73 +1,66 @@ # $FreeBSD$ PORTNAME= rdkit DISTVERSIONPREFIX= Release_ DISTVERSION= 2018_09_3 PORTREVISION= 6 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Collection of cheminformatics and machine-learning software LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/license.txt BUILD_DEPENDS= catch>0:devel/catch \ flex:textproc/flex \ rapidjson>=0:devel/rapidjson LIB_DEPENDS= libboost_system.so:devel/boost-libs USES= bison:build cmake compiler:c++11-lang eigen:3 python USE_GITHUB= yes GH_TUPLE= schrodinger:maeparser:1.0.0:maeparser/External/CoordGen/maeparser \ schrodinger:coordgenlibs:ede3191:coordgenlibs/External/CoordGen/coordgenlibs USE_LDCONFIG= yes CMAKE_OFF= RDK_INSTALL_INTREE RDK_USE_FLEXBISON \ RDK_INSTALL_STATIC_LIBS RDK_SWIG_STATIC RDK_PGSQL_STATIC \ RDK_OPTIMIZE_NATIVE CMAKE_ARGS= -DFREEBSD_DOCSDIR:PATH=${DOCSDIR} -DCATCH_DIR=${LOCALBASE} DATADIR= ${PREFIX}/share/RDKit DOCSDIR= ${PREFIX}/share/doc/RDKit PLIST_SUB= SHLIB_VER=${PORTVERSION} OPTIONS_DEFINE= PYTHON DOCS OPTIONS_DEFAULT= PYTHON OPTIONS_SUB= yes PYTHON_CMAKE_BOOL= RDK_BUILD_PYTHON_WRAPPERS PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_LIB_DEPENDS= ${PY_BOOST} PYTHON_RUN_DEPENDS= ${PYNUMPY} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR} PORTDOCS= * .include .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH:Marm*} || ${ARCH} == i386 || ${ARCH:Mmips*el*} || ${ARCH} == riscv PLIST_SUB+= LITTLE_ENDIAN="" .else PLIST_SUB+= LITTLE_ENDIAN="@comment " .endif -.include - -.if ${PYTHON_REL} < 3500 -PYTHON_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -PYTHON_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-extract: @${MKDIR} ${WRKSRC}/External/rapidjson-1.1.0 @cd ${WRKSRC}/External/rapidjson-1.1.0 && ${LN} -s ${LOCALBASE}/include/rapidjson include post-stage: # https://github.com/rdkit/rdkit/issues/2094 #@${MKDIR} ${STAGEDIR}${PREFIX}/lib/cmake #@${MV} ${STAGEDIR}${PREFIX}/lib/*.cmake ${STAGEDIR}${PREFIX}/lib/cmake -.include +.include Index: head/security/py-volatility/Makefile =================================================================== --- head/security/py-volatility/Makefile (revision 529062) +++ head/security/py-volatility/Makefile (revision 529063) @@ -1,51 +1,51 @@ # Created by: antoine@FreeBSD.org # $FreeBSD$ PORTNAME= volatility DISTVERSION= 2.6.1-34 DISTVERSIONSUFFIX= -g753bfa87 PORTREVISION= 1 CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Advanced memory forensics framework LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-08-15 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distorm>=0:devel/py-distorm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yara>=0:security/py-yara@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openpyxl>=0:textproc/py-openpyxl@${PY_FLAVOR} USE_GITHUB= yes GH_ACCOUNT= volatilityfoundation USES= python:2.7 shebangfix USE_PYTHON= distutils autoplist SHEBANG_FILES= tools/*.py tools/mac/*.py OPTIONS_DEFINE= DOCS NO_ARCH= yes PORTDOCS= AUTHORS.txt CHANGELOG.txt CREDITS.txt LEGAL.txt README.txt .include PYDISTUTILS_INSTALLARGS+=--install-data ${DATADIR} post-patch: ${TOUCH} ${WRKSRC}/contrib/plugins/aspaces/__init__.py \ ${WRKSRC}/contrib/plugins/malware/__init__.py do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Index: head/security/vinetto/Makefile =================================================================== --- head/security/vinetto/Makefile (revision 529062) +++ head/security/vinetto/Makefile (revision 529063) @@ -1,35 +1,29 @@ # Created by: Aleksander Fafula # $FreeBSD$ PORTNAME= vinetto PORTVERSION= 0.07 PORTREVISION= 6 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-beta-${PORTVERSION} DISTNAME= ${PORTNAME}-beta-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Forensics tool to examine Thumbs.db files LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +RUN_DEPENDS= ${PY_PILLOW} + USES= python USE_PYTHON= autoplist distutils concurrent optsuffix PYDISTUTILS_PKGVERSION= 0.06alpha NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-patch: @${REINPLACE_CMD} -e "s|/usr/share/vinetto|${DATADIR}|g" ${WRKSRC}/setup.py @${REINPLACE_CMD} -e "s|/usr/share/vinetto|${DATADIR}|g" ${WRKSRC}/vinreport.py @${REINPLACE_CMD} -e "s|/usr/share/vinetto|${DATADIR}|g" ${WRKSRC}/vinetto -.include +.include Index: head/textproc/py-ocrmypdf/Makefile =================================================================== --- head/textproc/py-ocrmypdf/Makefile (revision 529062) +++ head/textproc/py-ocrmypdf/Makefile (revision 529063) @@ -1,82 +1,82 @@ # $FreeBSD$ PORTNAME= ocrmypdf DISTVERSION= 9.6.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Adds an OCR test layer to scanned PDF files LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.9.1:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} LIB_DEPENDS= liblept.so:graphics/leptonica RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.9.1:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}img2pdf>=0.3.0,<0.4:graphics/py-img2pdf@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=6.2.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4:misc/py-tqdm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reportlab>=3.3.0:print/py-reportlab@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>=3.0.4,<4:textproc/py-chardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pdfminer.six>=20181108:textproc/py-pdfminer.six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pikepdf>=1.8.1<2:textproc/py-pikepdf@${PY_FLAVOR} \ tesseract:graphics/tesseract TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.4.1:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-helpers-namespace>=2019.1.8:devel/py-pytest-helpers-namespace@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.29.0:devel/py-pytest-xdist@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.8.0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-xmp-toolkit>=2.0.1:textproc/py-python-xmp-toolkit@${PY_FLAVOR} USES= ghostscript:run python:3.6+ shebangfix USE_PYTHON= autoplist concurrent distutils SHEBANG_FILES= src/ocrmypdf/__main__.py \ src/ocrmypdf/hocrtransform.py \ src/ocrmypdf/leptonica.py \ src/ocrmypdf/pdfinfo/__init__.py \ tests/spoof/gs_feature_elision.py \ tests/spoof/gs_pdfa_failure.py \ tests/spoof/tesseract_badutf8.py \ tests/spoof/tesseract_big_image_error.py \ tests/spoof/tesseract_cache.py \ tests/spoof/tesseract_noop.py \ tests/spoof/unpaper_oldversion.py \ tests/spoof/gs_render_failure.py \ tests/spoof/gs_raster_failure.py \ tests/spoof/tesseract_crash.py USE_LOCALE= en_US.UTF-8 NO_ARCH= yes PLIST_FILES= etc/bash_completion.d/ocrmypdf.bash share/fish/vendor_completions.d/ocrmypdf.fish OPTIONS_DEFINE= PNGQUANT UNPAPER OPTIONS_DEFAULT=PNGQUANT UNPAPER PNGQUANT_DESC= Optimizes the encoding of PNG-style images in PDFs UNPAPER_DESC= Deskew and clean up pages before OCR processing PNGQUANT_RUN_DEPENDS= pngquant:graphics/pngquant UNPAPER_RUN_DEPENDS= unpaper:graphics/unpaper post-install: # Install shell completion files @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/ ${INSTALL_DATA} ${WRKSRC}/misc/completion/ocrmypdf.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ ${INSTALL_DATA} ${WRKSRC}/misc/completion/ocrmypdf.fish ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/ do-test: # Skip some checks as they yield wrong results if run with the root account @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -m pytest -rs -v \ -n ${MAKE_JOBS_NUMBER} -k ' \ not test_dev_null \ and not test_input_file_not_readable \ and not test_chmod' .include Index: head/textproc/py-pikepdf/Makefile =================================================================== --- head/textproc/py-pikepdf/Makefile (revision 529062) +++ head/textproc/py-pikepdf/Makefile (revision 529063) @@ -1,38 +1,38 @@ # $FreeBSD$ PORTNAME= pikepdf DISTVERSION= 1.10.0 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Read and write PDFs with Python, powered by qpdf LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>=2.4.3<3:devel/py-pybind11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>0:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} LIB_DEPENDS= libqpdf.so:print/qpdf RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.0:devel/py-lxml@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.1.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>=4.24,<5:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=4.4.0,<5:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-helpers-namespace>=2019.1.8:devel/py-pytest-helpers-namespace@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=1.3.3:devel/py-pytest-timeout@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.28,<2:devel/py-pytest-xdist@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=5.0.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}python-xmp-toolkit>=2.0.1:textproc/py-python-xmp-toolkit@${PY_FLAVOR} USES= compiler:c++14-lang python:3.5+ USE_PYTHON= distutils autoplist post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pikepdf/_qpdf.so do-test: @(cd ${WRKSRC} && ${SETENV} LC_ALL=en_US.UTF-8 ${PYTHON_CMD} -m pytest -rs -v ) .include Index: head/textproc/py-qrcode/Makefile =================================================================== --- head/textproc/py-qrcode/Makefile (revision 529062) +++ head/textproc/py-qrcode/Makefile (revision 529063) @@ -1,32 +1,25 @@ # Created by: Neil Booth # $FreeBSD$ PORTNAME= qrcode PORTVERSION= 6.1 PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= leres@FreeBSD.org COMMENT= QR Code image generator LICENSE= BSD3CLAUSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.8:devel/py-six@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.8:devel/py-six@${PY_FLAVOR} \ + ${PY_PILLOW} USES= python USE_PYTHON= autoplist concurrent distutils -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=2.6:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=2.6:graphics/py-pillow@${PY_FLAVOR} -.endif - post-patch: ${REINPLACE_CMD} -e 's|share/\(man/man1\)|\1|' ${WRKSRC}/setup.py -.include +.include Index: head/textproc/py-xhtml2pdf/Makefile =================================================================== --- head/textproc/py-xhtml2pdf/Makefile (revision 529062) +++ head/textproc/py-xhtml2pdf/Makefile (revision 529063) @@ -1,36 +1,29 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= xhtml2pdf PORTVERSION= 0.2.4 PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= PDF generator using HTML and CSS LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=1.0:www/py-html5lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pdf2>=0:print/py-pdf2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}reportlab>=3.0:print/py-reportlab@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PY_PILLOW} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.0:devel/py-nose@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/www/go-appengine-sdk/Makefile =================================================================== --- head/www/go-appengine-sdk/Makefile (revision 529062) +++ head/www/go-appengine-sdk/Makefile (revision 529063) @@ -1,92 +1,92 @@ # $FreeBSD$ PORTNAME= go-appengine-sdk DISTVERSION= 1.9.70 PORTREVISION= 1 CATEGORIES= www devel MASTER_SITES= https://storage.googleapis.com/appengine-sdks/featured/ DISTNAME= ${PORTNAME:S,-,_,g}_linux_amd64-${PORTVERSION} MAINTAINER= dmgk@FreeBSD.org COMMENT= App Engine SDK for Go # The actual license for this port is "APACHE20 and BSD3CLAUSE and MIT and PSFL and (GPLv2+ or LGPL21+ or MPL11)". LICENSE= APACHE20 BSD3CLAUSE GPLv2+ LGPL21+ MIT MPL11 PSFL LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-09-15 ONLY_FOR_ARCHS= amd64 i386 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=${PYTHON_VER}:databases/py-sqlite3@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6:security/py-pycrypto@${PY_FLAVOR} USES= gettext go python:2.7 shebangfix zip SHEBANG_GLOB= *.py *.bash *.sh *.pl *.cgi goapp WRKSRC= ${WRKDIR}/go_appengine GAEDATADIRS= google lib tools GAEGOROOTS= goroot-1.9 GAESCRIPTS= appcfg.py backends_conversion.py \ bulkload_client.py bulkloader.py dev_appserver.py \ download_appstats.py endpointscfg.py run_tests.py \ wrapper_util.py GOARCH= ${ARCH:S,i386,386,} PLIST_FILES= ${GAESCRIPTS:C,(.+)\.py,bin/\1-go,} \ bin/goapp PLIST_DIRS= ${GAEGOROOTS:C,(.+),${DATADIR}/\1/pkg/obj/${OPSYS:tl}_${GOARCH},} OPTIONS_DEFINE= EXAMPLES OPTIONS_DEFINE_i386= SSE2 OPTIONS_DEFAULT_i386= SSE2 SSE2_DESC= Generate code with SSE2 (check off for old x86 CPUs) SSE2_VARS_OFF= GO386=387 PORTDATA= * PORTEXAMPLES= * do-build: @for R in ${GAEGOROOTS}; do \ (cd ${WRKSRC}/$${R}/src && \ ${SETENV} ${MAKE_ENV} \ GOROOT_BOOTSTRAP=${LOCALBASE}/go \ GOOS=${OPSYS:tl} GOARCH=${GOARCH} \ GO386=${GO386} \ ${SH} make.bash); \ (cd ${WRKSRC}/$${R}/bin && \ ${RM} godoc cover && ${MV} go goapp); \ (cd ${WRKSRC}/$${R} && \ ${RM} -rf ./pkg/linux_amd64_appengine ./pkg/tool/linux_amd64); \ done # Create wrapper scripts to avoid conflicts with other AppEngine SDK(s) @cd ${WRKSRC} && \ for S in ${GAESCRIPTS} goapp; do \ ${ECHO} "#!/bin/sh" >> $${S%.py}-go; \ ${ECHO} "${PYTHON_CMD} ${DATADIR}/$${S} \$$*" >> $${S%.py}-go; \ done do-install: @${MKDIR} ${STAGEDIR}${DATADIR} for S in ${GAESCRIPTS} _python_runtime.py goapp; do \ ${INSTALL_SCRIPT} ${WRKSRC}/$${S} ${STAGEDIR}${DATADIR}; \ done ${INSTALL_SCRIPT} ${WRKSRC}/*-go ${STAGEDIR}${PREFIX}/bin ${MV} ${STAGEDIR}${PREFIX}/bin/goapp-go ${STAGEDIR}${PREFIX}/bin/goapp cd ${WRKSRC} && \ ${COPYTREE_SHARE} "${GAEDATADIRS}" ${STAGEDIR}${DATADIR} && \ ${CP} -a ${GAEGOROOTS} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/VERSION ${STAGEDIR}${DATADIR} cd ${STAGEDIR}${DATADIR} && \ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${DATADIR} -f ${GAEDATADIRS} -q do-install-EXAMPLES-on: cd ${WRKSRC}/demos && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include Index: head/www/google-appengine/Makefile =================================================================== --- head/www/google-appengine/Makefile (revision 529062) +++ head/www/google-appengine/Makefile (revision 529063) @@ -1,68 +1,68 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= google-appengine DISTVERSION= 1.9.82 PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= https://storage.googleapis.com/appengine-sdks/featured/ DISTFILES= ${PORTNAME:S|-|_|}_${PORTVERSION}.zip MAINTAINER= nivit@FreeBSD.org COMMENT= Development tools for Google App Engine (SDK) LICENSE= APACHE20 BSD3CLAUSE GPLv2 LGPL21 MIT MPL11 PSFL LICENSE_COMB= multi DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-09-15 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=${PYTHON_VER}:databases/py-sqlite3@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6:security/py-pycrypto@${PY_FLAVOR} WRKSRC= ${WRKDIR}/${PORTNAME:S,-,_,} USES= gettext python:2.7 shebangfix zip NO_ARCH= yes NO_BUILD= yes SHEBANG_FILES= ${GAESCRIPTS} OPTIONS_DEFINE= EXAMPLES MYSQL PHP OPTIONS_DEFAULT= MYSQL PORTDATA= * PORTEXAMPLES= * PLIST_FILES= ${GAESCRIPTS:C,^| ,bin/&,g} LN_OPTS= -sf GAEDATADIR= google lib new_project_template tools GAESCRIPTS= _php_runtime.py _python_runtime.py api_server.py appcfg.py \ backends_conversion.py bulkload_client.py bulkloader.py \ dev_appserver.py download_appstats.py endpointscfg.py \ gen_protorpc.py php_cli.py remote_api_shell.py \ run_tests.py wrapper_util.py MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.3:databases/py-MySQLdb@${PY_FLAVOR} PHP_USES= mysql:server PHP_VARS= gaedatadir+=php do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "${GAEDATADIR}" ${STAGEDIR}${DATADIR}) (cd ${STAGEDIR}${PREFIX}/bin && \ for S in ${GAESCRIPTS}; do \ ${INSTALL_SCRIPT} ${WRKSRC}/$${S} ${STAGEDIR}${DATADIR}; \ ${LN} ${LN_OPTS} ../${DATADIR_REL}/$${S} $${S}; \ done) ${INSTALL_DATA} ${WRKSRC}/VERSION ${STAGEDIR}${DATADIR} (cd ${STAGEDIR}${DATADIR} && \ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${DATADIR} -f ${GAEDATADIR:Nphp} -q) do-install-EXAMPLES-on: cd ${WRKSRC}/demos && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include Index: head/www/py-bokeh/Makefile =================================================================== --- head/www/py-bokeh/Makefile (revision 529062) +++ head/www/py-bokeh/Makefile (revision 529063) @@ -1,31 +1,31 @@ # Created by: Sergey Kozlov # $FreeBSD$ PORTNAME= bokeh PORTVERSION= 1.4.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= skozlov@FreeBSD.org COMMENT= Interactive Web Plotting for Python LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PY_FUTURES} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:devel/py-Jinja2@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>=16.8:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:devel/py-dateutil@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=4.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.5.2:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tornado>=4.3:www/py-tornado@${PY_FLAVOR} USES= python:3.5+ USE_PYTHON= autoplist distutils concurrent NO_ARCH= yes .include Index: head/www/py-django-filer/Makefile =================================================================== --- head/www/py-django-filer/Makefile (revision 529062) +++ head/www/py-django-filer/Makefile (revision 529063) @@ -1,35 +1,28 @@ # Created by: Matthew X. Economou # $FreeBSD$ PORTNAME= django-filer PORTVERSION= 1.3.2 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= xenophon+fbsdports@irtnog.org COMMENT= File and Image Management Application for django LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-easy-thumbnails>=2:graphics/py-django-easy-thumbnails@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-mptt>=0.6:www/py-django-mptt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django_polymorphic>=0.7:www/py-django_polymorphic@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}unidecode>=0:converters/py-unidecode@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}unidecode>=0:converters/py-unidecode@${PY_FLAVOR} \ + ${PY_PILLOW} USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=2.3.0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=2.3.0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/www/py-django-markdownx/Makefile =================================================================== --- head/www/py-django-markdownx/Makefile (revision 529062) +++ head/www/py-django-markdownx/Makefile (revision 529063) @@ -1,32 +1,25 @@ # Created by: Carlo Strub # $FreeBSD$ PORTNAME= django-markdownx PORTVERSION= 2.0.23 PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= cs@FreeBSD.org COMMENT= Django Markdown editor with image uploads and live preview LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \ + ${PY_PILLOW} USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/www/py-django-mezzanine/Makefile =================================================================== --- head/www/py-django-mezzanine/Makefile (revision 529062) +++ head/www/py-django-mezzanine/Makefile (revision 529063) @@ -1,53 +1,46 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= django-mezzanine PORTVERSION= 4.3.1 PORTREVISION= 1 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Content management platform built using the Django framework LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-contrib-comments>0:www/py-django-contrib-comments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-mezzanine-filebrowser>=0.5.0:www/py-django-mezzanine-filebrowser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-mezzanine-grappelli>=0.5.0:www/py-django-mezzanine-grappelli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tzlocal>=1.0:devel/py-tzlocal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bleach>=2.0:www/py-bleach@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5.3:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.1.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.4:www/py-requests-oauthlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.9.0:devel/py-future@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \ + ${PY_PILLOW} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pep8>=1.4.1:devel/pep8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyflakes>=0.6.1:devel/py-pyflakes@${PY_FLAVOR} USES= gettext python USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils GH_ACCOUNT= stephenmcd GH_PROJECT= mezzanine NO_ARCH= yes SUB_FILES= pkg-message SUB_LIST= PYTHON_VER=${PYTHON_VER} -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - do-test: @cd ${WRKSRC} && ${SETENV} TZ=UTC LC_ALL=en_US.UTF-8 ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test -.include +.include Index: head/www/py-django-photologue/Makefile =================================================================== --- head/www/py-django-photologue/Makefile (revision 529062) +++ head/www/py-django-photologue/Makefile (revision 529063) @@ -1,33 +1,26 @@ # Created by: Kevin Golding # $FreeBSD$ PORTNAME= django-photologue PORTVERSION= 3.8.1 PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@caomhin.org COMMENT= Powerful image management and gallery application for Django LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-sortedm2m>=1.5.0:www/py-django-sortedm2m@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ExifRead>=2.1.2:graphics/py-exifread@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}ExifRead>=2.1.2:graphics/py-exifread@${PY_FLAVOR} \ + ${PY_PILLOW} NO_ARCH= yes USES= python USE_PYTHON= autoplist distutils -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=4.3.0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=4.3.0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/www/py-django-simple-captcha/Makefile =================================================================== --- head/www/py-django-simple-captcha/Makefile (revision 529062) +++ head/www/py-django-simple-captcha/Makefile (revision 529063) @@ -1,46 +1,39 @@ # Created by: John Hixson # $FreeBSD$ PORTNAME= django-simple-captcha PORTVERSION= 0.5.12 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jhixson@FreeBSD.org COMMENT= Simple, yet powerful, Django captcha application LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.7.0:www/py-django111@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-ranged-response>=0.2.0:www/py-django-ranged-response@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=1.2.0:devel/py-six@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}six>=1.2.0:devel/py-six@${PY_FLAVOR} \ + ${PY_PILLOW} USES= python zip USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS MIGRATIONS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" MIGRATIONS_DESC= Schema and data migration support (via south) MIGRATIONS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}south>0:databases/py-south@${PY_FLAVOR} -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=2.2.2:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=2.2.2:graphics/py-pillow@${PY_FLAVOR} -.endif - post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") -.include +.include Index: head/www/py-instabot/Makefile =================================================================== --- head/www/py-instabot/Makefile (revision 529062) +++ head/www/py-instabot/Makefile (revision 529063) @@ -1,40 +1,33 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= instabot PORTVERSION= 0.106.0 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Instagram bot scripts and API wrapper LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0.17.1:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}huepy>=0.9.8.1:misc/py-huepy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pysocks>=1.6.8:net/py-pysocks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2019.1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.8.0:www/py-requests-toolbelt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}responses>=0.10.5:devel/py-responses@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}schedule>=0.6.0:devel/py-schedule@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tqdm>=4.30.0:misc/py-tqdm@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}tqdm>=4.30.0:misc/py-tqdm@${PY_FLAVOR} \ + ${PY_PILLOW} USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/www/py-pywikibot/Makefile =================================================================== --- head/www/py-pywikibot/Makefile (revision 529062) +++ head/www/py-pywikibot/Makefile (revision 529063) @@ -1,58 +1,51 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= pywikibot DISTVERSION= 3.0.20190722 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Wikipedia bot for Python LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} USES= dos2unix python DOS2UNIX_FILES= setup.py USE_PYTHON= autoplist distutils NO_ARCH= yes OPTIONS_DEFINE= EVENTSTREAMS ISBN PYDOT GOOGLE IRC MWPARSE PILLOW MWOAUTH HTML EVENTSTREAMS_DESC= Support for reading Server Sent Event streams ISBN_DESC= Support for standard numbers and codes via stdnum package PYDOT_DESC= Support for Graphviz via pydot module GOOGLE_DESC= Support for Google search IRC_DESC= Support for IRC MWPARSE_DESC= Support for MediaWiki parser PILLOW_DESC= Support for image processing via pillow module MWOAUTH_DESC= Support for MediaWiki OAuth handshake helper HTML_DESC= Support for HTML/XML Parser for Python EVENTSTREAMS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sseclient>0:www/py-sseclient@${PY_FLAVOR} ISBN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}stdnum>0:devel/py-stdnum@${PY_FLAVOR} PYDOT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydot>0:graphics/py-pydot@${PY_FLAVOR} GOOGLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google>0:www/py-google@${PY_FLAVOR} IRC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}irc>0:irc/py-irc@${PY_FLAVOR} MWPARSE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mwparserfromhell>0:textproc/py-mwparserfromhell@${PY_FLAVOR} +PILLOW_RUN_DEPENDS= ${PY_PILLOW} MWOAUTH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mwoauth>0:www/py-mwoauth@${PY_FLAVOR} HTML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} .include .if ${PYTHON_REL} < 3000 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddr>0:devel/py-ipaddr@${PY_FLAVOR} -.endif - -.if ${PORT_OPTIONS:MPILLOW} -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif .endif .include Index: head/www/py-wagtail/Makefile =================================================================== --- head/www/py-wagtail/Makefile (revision 529062) +++ head/www/py-wagtail/Makefile (revision 529063) @@ -1,42 +1,42 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= wagtail PORTVERSION= 2.7.1 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Django content management system LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup460>=4.5.1<4.6.1:www/py-beautifulsoup460@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django22>=2.0<2.3:www/py-django22@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-modelcluster>=5.0<6.0:www/py-django-modelcluster@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-taggit>=1.0<2.0:www/py-dj22-django-taggit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-django-treebeard>=4.2.0<5.0:www/py-dj22-django-treebeard@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj22-djangorestframework>=3.7.4<4.0:www/py-dj22-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}draftjs_exporter>=2.1.5:www/py-draftjs_exporter@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999<2:www/py-html5lib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=4.0.0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2016.6:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.11.1<3.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.11<2.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}unidecode>=0.04.14<2.0:converters/py-unidecode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}willow>=1.3<1.4:graphics/py-willow@${PY_FLAVOR} USES= python:3.5+ shebangfix USE_PYTHON= autoplist distutils NO_ARCH= yes SHEBANG_FILES= wagtail/project_template/manage.py post-patch: @${REINPLACE_CMD} -e '/draftjs_exporter/ s|>=2.1.5,<3.0|>=2.1.5|' ${WRKSRC}/setup.py .include Index: head/www/py-weboob/Makefile =================================================================== --- head/www/py-weboob/Makefile (revision 529062) +++ head/www/py-weboob/Makefile (revision 529063) @@ -1,68 +1,68 @@ # $FreeBSD$ PORTNAME= weboob PORTVERSION= 1.5 PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jhale@FreeBSD.org COMMENT= Web Outside of Browsers LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ ${PY_FUTURES} \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}html2text>=3.200:textproc/py-html2text@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect>0:www/py-cssselect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}unidecode>=0:converters/py-unidecode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyExecJS>=0:devel/py-PyExecJS@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}prettytable>0:devel/py-prettytable@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>0:devel/py-simplejson@${PY_FLAVOR} \ wget:ftp/wget \ gpg2:security/gnupg USES= python:3.5+ USE_PYTHON= autoplist distutils NO_ARCH= yes PYDISTUTILS_BUILDARGS= ${CONFIGURE_ARGS} PYDISTUTILS_INSTALLARGS=-c -O1 --prefix=${PREFIX} ${CONFIGURE_ARGS} OPTIONS_DEFINE= CLICOLOR MMS NSS QT5 RTMPDUMP OPTIONS_DEFAULT= CLICOLOR NSS QT5 CLICOLOR_DESC= Color command line interface CLICOLOR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}termcolor>0:devel/py-termcolor@${PY_FLAVOR} MMS_RUN_DEPENDS= mimms:multimedia/mimms NSS_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ ${PYTHON_PKGNAMEPREFIX}python-nss>0:security/py-python-nss@${PY_FLAVOR} QT5_USES= gmake pyqt:5 QT5_USE= PYQT=core,gui,multimedia,multimediawidgets,sip,widgets QT5_BINARY_ALIAS= pyuic5-python${PYTHON_VER}=pyuic5-${PYTHON_VER} QT5_CONFIGURE_ON= --qt --xdg QT5_CONFIGURE_OFF= --no-qt --no-xdg RTMPDUMP_RUN_DEPENDS= rtmpdump:multimedia/rtmpdump post-patch: @${REINPLACE_CMD} -e 's|share/man|man|g' ${WRKSRC}/setup.py @${REINPLACE_CMD} -e 's|/etc/ssl/certs|${LOCALBASE}/etc/ssl|g' ${WRKSRC}/weboob/browser/nss.py post-patch-QT5-off: @(cd ${WRKSRC}/man && ${RM} q*.1 weboob-config-qt.1) .include Index: head/www/seahub/Makefile =================================================================== --- head/www/seahub/Makefile (revision 529062) +++ head/www/seahub/Makefile (revision 529063) @@ -1,101 +1,101 @@ # $FreeBSD$ PORTNAME= seahub DISTVERSIONPREFIX= v DISTVERSION= ${SEAHUB_VER} DISTVERSIONSUFFIX= -pro PORTREVISION= 1 CATEGORIES= www MAINTAINER= ultima@FreeBSD.org COMMENT= Web frontend for Seafile LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-09-15 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} RUN_DEPENDS= bash:shells/bash \ ${LOCALBASE}/www/haiwen/seafile-server/seafile/bin/seaf-server:net-mgmt/seafile-server \ ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-simple-captcha>=0:www/py-django-simple-captcha@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-statici18n>=0:www/py-django-statici18n@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}djangorestframework>=0:www/py-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django_compressor>=0:www/py-django_compressor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-formtools>=0:www/py-django-formtools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-post_office>=0:www/py-django-post_office@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-constance>=0:www/py-django-constance@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-webpack-loader>=0.6.0:www/py-django-webpack-loader@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gunicorn>=0:www/py-gunicorn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}social-auth-core>=1.7.0:security/py-social-auth-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openpyxl>=0:textproc/py-openpyxl@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}MySQLdb>0:databases/py-MySQLdb@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qrcode>0:textproc/py-qrcode@${PY_FLAVOR} \ ${PY_FUTURES} USES= gettext-tools:build python:2.7 shebangfix USE_GITHUB= yes GH_ACCOUNT= haiwen SHEBANG_FILES= *.sh tests/*.sh *.template *.py tools/*.py seahub/*.py NO_ARCH= yes OPTIONS_DEFINE= SEAFOBJ SEAFDAV NLS OPTIONS_DEFAULT= SEAFOBJ SEAFDAV OPTIONS_SUB= yes ALL_TARGET= locale SEAFOBJ_DESC= Enable Seafile file object modeling support SEAFDAV_DESC= Enable Seafile WsgiDav-based support SEAFOBJ_CONFIGURE_WITH= seafobj SEAFOBJ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}seafobj>0:www/py-seafobj@${PY_FLAVOR} SEAFDAV_CONFIGURE_WITH= seafdav SEAFDAV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}seafdav>0:www/py-seafdav@${PY_FLAVOR} NLS_USES= gettext iconv NLS_CONFIGURE_OFF= --disable-nls USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message post-patch: ${REINPLACE_CMD} -Ee "s|SEAFILE_VERSION = '[0-9]+\.[0-9]+\.[0-9]+'|SEAFILE_VERSION = '${SEAFILE_VER}'|" \ ${WRKSRC}/seahub/settings.py ${REINPLACE_CMD} -e 's|##FIX_WWWDIR##|${PREFIX}/${HAIWENDIR}|' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##FIX_SEALIB##|${PREFIX}/${SEALIB}|' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##FIX_SITEPACKAGEDIR##|${PREFIX}/${SITEPACKAGEDIR}|' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##PYTHON_VERSION##|${PYTHON_VERSION}|g' ${WRKSRC}/*.template ${REINPLACE_CMD} -e 's|##FIX_LOCALBASE##|${LOCALBASE}|' ${WRKSRC}/*.template ${FIND} ${WRKSRC} -name "*.bak" -exec ${RM} {} \; ${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} {} \; (cd ${WRKSRC}; (for file in run-seahub.sh.template \ send_user_notifications.sh.template setenv.sh.template; do \ ${CP} $$file $${file%%.template}; \ done)) ${RM} ${WRKSRC}/.gitignore do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/runtime/ \ ${STAGEDIR}${PREFIX}/${SEAHUBDIR} ${STAGEDIR}${PREFIX}/${SEAHUB_DATA_DIR} \ ${STAGEDIR}${PREFIX}/${SEAHUB_DATA_DIR}/custom (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SEAHUBDIR} \ "! -name Makefile ! -name seahub.conf ! -name avatars \ ! -name default-non-register.jpg ! -name default.png ! -name groups") (cd ${WRKSRC}/media && ${COPYTREE_SHARE} ./avatars \ ${STAGEDIR}${PREFIX}/${SEAHUB_DATA_DIR}) ${LN} -fs ../../../seahub-data/avatars \ ${STAGEDIR}${PREFIX}/${SEAHUBDIR}/media/avatars .include "${.CURDIR}/../../net-mgmt/seafile-server/Makefile.include" .include Index: head/www/twms/Makefile =================================================================== --- head/www/twms/Makefile (revision 529062) +++ head/www/twms/Makefile (revision 529063) @@ -1,57 +1,57 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= twms PORTVERSION= 0.06y PORTREVISION= 1 CATEGORIES= www astro MAINTAINER= amdmi3@FreeBSD.org COMMENT= Tiny WMS server LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-09-15 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyproj>0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webpy>0:www/webpy@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \ ${FREESANS}:x11-fonts/freefont-ttf USE_GITHUB= yes GH_ACCOUNT= Komzpa USES= python:2.7 # 2.7 only because of webpy dependency USE_PYTHON= distutils py3kplist optsuffix NO_ARCH= yes FREESANS= ${LOCALBASE}/share/fonts/freefont-ttf/FreeSans.ttf USE_RC_SUBR= twms USERS= twms GROUPS= twms PLIST_SUB= USER=${USERS} GROUP=${GROUPS} SUB_LIST= USER=${USERS} PYTHON_CMD="${PYTHON_CMD}" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/etc/twms/twms.conf|${PREFIX}/etc/twms/twms.conf|' \ ${WRKSRC}/twms/twms.py @${REINPLACE_CMD} -e '/install_path/ s|/usr/share/twms/|${DATADIR}/|' \ -e 's|/usr/share/fonts/truetype/freefont/FreeSans.ttf|${FREESANS}|' \ ${WRKSRC}/twms/twms.conf post-install: @${MV} ${STAGEDIR}${ETCDIR}/twms.conf ${STAGEDIR}${ETCDIR}/twms.conf.sample @${RM} ${STAGEDIR}${DOCSDIR}/COPYING @${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/twms/twms.conf @${MKDIR} ${STAGEDIR}/var/cache/twms/tiles @${MKDIR} ${STAGEDIR}/var/cache/twms/traces .include Index: head/www/xist/Makefile =================================================================== --- head/www/xist/Makefile (revision 529062) +++ head/www/xist/Makefile (revision 529063) @@ -1,27 +1,27 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= xist PORTVERSION= 5.34 CATEGORIES= www python MASTER_SITES= CHEESESHOP \ http://ftp.livinglogic.de/xist/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ll-${PORTNAME}-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= XML-based extensible HTML generator LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssutils>=1.0,1:www/py-cssutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=3.4:devel/py-lxml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pillow>=2.6:graphics/py-pillow@${PY_FLAVOR} + ${PY_PILLOW} USES= python:3.6+ tar:bzip2 USE_PYTHON= autoplist distutils post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/ll/*.so ${STAGEDIR}${PYTHON_SITELIBDIR}/ll/xist/*.so .include Index: head/x11/cinnamon/Makefile =================================================================== --- head/x11/cinnamon/Makefile (revision 529062) +++ head/x11/cinnamon/Makefile (revision 529063) @@ -1,160 +1,160 @@ # Created by: Gustau Perez i Querol # $FreeBSD$ PORTNAME= cinnamon PORTVERSION= 2.4.6 PORTREVISION= 14 CATEGORIES= x11 gnome DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Fork of GNOME Shell with layout similar to GNOME 2 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Uses deprecated version of python EXPIRATION_DATE= 2020-09-15 BUILD_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ gnome-autogen.sh:devel/gnome-common LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \ libcaribou.so:accessibility/caribou \ libgnome-keyring.so:security/libgnome-keyring \ libmuffin.so:x11-wm/muffin \ libtelepathy-glib.so:net-im/telepathy-glib \ libtelepathy-logger.so:net-im/telepathy-logger \ libfolks.so:net-im/folks \ libpulse.so:audio/pulseaudio \ libcroco-0.6.so:textproc/libcroco \ libsoup-2.4.so:devel/libsoup \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libcogl.so:graphics/cogl \ libpolkit-agent-1.so:sysutils/polkit \ libclutter-glx-1.0.so:graphics/clutter \ libmozjs-24.so:lang/spidermonkey24 \ libcjs.so:lang/cjs \ libjson-glib-1.0.so:devel/json-glib \ libcinnamon-menu-3.so:x11/cinnamon-menus \ libcinnamon-desktop.so:x11/cinnamon-desktop \ libaccountsservice.so:sysutils/accountsservice RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ca_root_nss>=0:security/ca_root_nss \ gnome-themes-extra>=3.0.0:x11-themes/gnome-themes-extra \ cinnamon-control-center:sysutils/cinnamon-control-center \ cinnamon-translations>=0:misc/cinnamon-translations \ cinnamon-screensaver:x11/cinnamon-screensaver \ nemo:x11-fm/nemo \ - ${PYTHON_PKGNAMEPREFIX}pillow6>=0:graphics/py-pillow6@${PY_FLAVOR} \ + ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} USES= autoreconf compiler:c11 gettext gmake gnome gl libtool \ localbase:ldflags pathfix pkgconfig python:2.7 shebangfix xorg USE_GITHUB= yes USE_GL= gl egl USE_GNOME= cairo evolutiondataserver3 gconf2 gnomedesktop3 \ gnomeprefix gtk30 intlhack introspection USE_GSTREAMER1= yes USE_LDCONFIG= yes USE_XORG= x11 xfixes sm xrandr xext xdamage xcomposite xi GH_ACCOUNT= linuxmint # this happens before moving the file to ${PREFIX} (which then will be copied to ${STAGEDIR}${PREFIX}) SHEBANG_FILES= files/* *.py INSTALLS_ICONS= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-compile-warnings=no \ --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.cinnamon.gschema.xml OPTIONS_DEFINE= NLS NLS_RUN_DEPENDS= cinnamon-translations>=0:misc/cinnamon-translations post-patch: # we need this for intltoolize otherwise it can't copy the m4 file ... @${MKDIR} ${WRKSRC}/m4 @${MKDIR} ${WRKSRC}/files${PREFIX} .for d in bin lib share @${MV} ${WRKSRC}/files/usr/${d} ${WRKSRC}/files${PREFIX} .endfor @${REINPLACE_CMD} -e 's|--warn-error||g' ${WRKSRC}/src/Makefile.am @${REINPLACE_CMD} -e 's|/usr/share/cinnamon|${STAGEDIR}${PREFIX}/share/|g ;\ s|/usr/lib|${STAGEDIR}${PREFIX}/share/|g' \ ${WRKSRC}/files/generate_desktop_files @${REINPLACE_CMD} -e 's|"usr/lib|"${STAGEDIR}${PREFIX}/share/|g ;\ s|"usr/share|"${STAGEDIR}${PREFIX}/share/|g' \ ${WRKSRC}/files/generate_desktop_files @${MV} ${WRKSRC}/files/etc ${WRKSRC}/files${PREFIX} @${RM} ${WRKSRC}/files/${PREFIX}/lib/cinnamon-settings/modules/cs_user.py # Remove a broken link (is applications-merge used anywhere?) @${RM} ${WRKSRC}/files/${PREFIX}/etc/xdg/menus/cinnamon-applications-merged @${REINPLACE_CMD} -e 's|AM_GNU_GETTEXT_VERSION(\[0.17\])||g ;\ s|AM_GNU_GETTEXT(\[external\])||g' \ ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e 's|find|find ${WRKSRC}/files|g' \ ${WRKSRC}/files/Makefile.in # is this really needed? @${REINPLACE_CMD} -e 's|const NetworkManager = imports.gi.NetworkManager;||g ;\ s|const NMClient = imports.gi.NMClient;||g' \ ${WRKSRC}/files${PREFIX}/share/cinnamon/applets/network\@cinnamon.org/applet.js @${REINPLACE_CMD} -e 's|nm-applet;||g' \ ${WRKSRC}/files${PREFIX}/share/cinnamon-session/sessions/cinnamon.session \ ${WRKSRC}/files${PREFIX}/share/cinnamon-session/sessions/cinnamon2d.session @${REINPLACE_CMD} -e '/prefix/s|/usr|${PREFIX}|g ; \ /datadir/s|/usr|${PREFIX}|g' \ ${WRKSRC}/files${PREFIX}/lib/cinnamon-menu-editor/cme/config.py @${FIND} ${WRKSRC} -name \* | ${XARGS} ${EGREP} -l "/usr/share/cinnamon/locale" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/share/cinnamon/locale|${PREFIX}/share/locale|g" @${FIND} ${WRKSRC} -name \* | ${XARGS} ${EGREP} -l "/usr/share" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/share|${PREFIX}/share|g" @${FIND} ${WRKSRC} -name \* | ${XARGS} ${EGREP} -l "/usr/lib" | \ ${XARGS} ${REINPLACE_CMD} -e "s|/usr/lib|${PREFIX}/lib|g" # The cs_user.py is not patched until we have the python-pam module @${REINPLACE_CMD} -e 's|"/usr/bin|"${PREFIX}/bin|g' \ ${WRKSRC}/files${PREFIX}/share/cinnamon/applets/menu@cinnamon.org/applet.js \ ${WRKSRC}/files${PREFIX}/share/cinnamon/applets/user@cinnamon.org/applet.js \ ${WRKSRC}/files${PREFIX}/lib/cinnamon-settings/bin/Spices.py \ # ${WRKSRC}/files${PREFIX}/lib/cinnamon-settings/modules/cs_user.py \ ${WRKSRC}/files${PREFIX}/lib/cinnamon-settings/modules/cs_screensaver.py \ ${WRKSRC}/files${PREFIX}/bin/cinnamon-settings \ ${WRKSRC}/files${PREFIX}/bin/cinnamon-launcher @${REINPLACE_CMD} -e '/cs-tablet/d; /cs-bluetooth/d; /cs-network/d' \ ${WRKSRC}/files${PREFIX}/lib/cinnamon-settings/cinnamon-settings.py @${REINPLACE_CMD} -e '/increase-opacity/d; /decrease-opacity/d' \ ${WRKSRC}/files${PREFIX}/lib/cinnamon-settings/modules/cs_keyboard.py #@${REINPLACE_CMD} -e 's/SIZE\/$$$$CONTEXT/CONTEXT\/$$$$SIZE/g' \ # ${WRKSRC}/data/icons/Makefile.am @${REINPLACE_CMD} -e 's|=/usr/bin/|=${PREFIX}/bin/|g' \ ${WRKSRC}/files${PREFIX}/share/xsessions/cinnamon2d.desktop \ ${WRKSRC}/files${PREFIX}/share/xsessions/cinnamon.desktop \ ${WRKSRC}/files${PREFIX}/share/applications/cinnamon2d.desktop post-install: @${PYTHON_CMD} ${WRKSRC}/files/generate_desktop_files .include Index: head/x11/py-pyscreenshot/Makefile =================================================================== --- head/x11/py-pyscreenshot/Makefile (revision 529062) +++ head/x11/py-pyscreenshot/Makefile (revision 529063) @@ -1,33 +1,26 @@ # $FreeBSD$ PORTNAME= pyscreenshot PORTVERSION= 0.5.1 PORTREVISION= 2 CATEGORIES= x11 python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} #DISTNAME= PyVirtualDisplay-${PORTVERSION} MAINTAINER= swills@FreeBSD.org COMMENT= Python module for taking screenshots LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAVOR} \ + ${PY_PILLOW} \ import:graphics/ImageMagick6 USES= python NO_ARCH= yes USE_PYTHON= autoplist distutils -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/x11/py-pyvirtualdisplay/Makefile =================================================================== --- head/x11/py-pyvirtualdisplay/Makefile (revision 529062) +++ head/x11/py-pyvirtualdisplay/Makefile (revision 529063) @@ -1,49 +1,42 @@ # $FreeBSD$ PORTNAME= pyvirtualdisplay PORTVERSION= 0.2.4 PORTREVISION= 1 CATEGORIES= x11 python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyVirtualDisplay-${PORTVERSION} MAINTAINER= daniel@blodan.se COMMENT= Python wrapper for Xvfb, Xephyr and Xvnc LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cog>=2.3:devel/py-cog@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}paver>0:devel/py-paver@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyscreenshot>0:x11/py-pyscreenshot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ + ${PY_PILLOW} \ xauth>0:x11/xauth USES= python USE_PYTHON= autoplist distutils OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND= XEPHYR XVFB XVNC OPTIONS_DEFAULT= XVFB BACKEND_DESC= Virtual Backend To Install XVFB_DESC= Install Xvfb backend XEPHYR_DESC= Install Xephyr backend XVNC_DESC= Install Xvnc backend XVFB_RUN_DEPENDS= xorg-vfbserver>0:x11-servers/xorg-vfbserver XEPHYR_RUN_DEPENDS= xephyr>=0:x11-servers/xephyr XVNC_RUN_DEPENDS= tightvnc>=0:net/tightvnc NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include Index: head/x11-toolkits/py-easygui/Makefile =================================================================== --- head/x11-toolkits/py-easygui/Makefile (revision 529062) +++ head/x11-toolkits/py-easygui/Makefile (revision 529063) @@ -1,30 +1,23 @@ # $FreeBSD$ PORTNAME= easygui PORTVERSION= 0.98.1 PORTREVISION= 1 CATEGORIES= x11-toolkits python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Easy GUI programming in python LICENSE= BSD3CLAUSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ + ${PY_PILLOW} USES= python USE_PYTHON= distutils autoplist NO_ARCH= yes -.include - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - -.include +.include