mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
3d9a815d9c
The logic in USES=python will automatically convert this to 3.8+ by itself. Adjust two ports that only had Python 3.7 mentioned but build fine on Python 3.8 too. finance/quickfix: mark BROKEN with PYTHON libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found ^~~~~~~~~~ 1 warning and 1 error generated. Reviewed by: portmgr, vishwin, yuri Differential Revision: <https://reviews.freebsd.org/D40568>
56 lines
1.9 KiB
Makefile
56 lines
1.9 KiB
Makefile
PORTNAME= variety
|
|
PORTVERSION= 0.8.5
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Wallpaper changer
|
|
WWW= https://peterlevi.com/variety/
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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= ${PY_PILLOW} \
|
|
${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}lxml>=3.4.1_1:devel/py-lxml@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
|
|
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 magick:6,run python shebangfix
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= varietywalls
|
|
USE_GNOME= gdkpixbuf2 gtk30 intltool pygobject3:run
|
|
USE_PYTHON= autoplist distutils noflavors
|
|
|
|
SHEBANG_FILES= bin/variety data/scripts/*
|
|
|
|
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 <bsd.port.pre.mk>
|
|
|
|
# PYDISTUTILS_INSTALLNOSINGLE is deprecated so...
|
|
PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS:N--single-version-externally-managed}
|
|
|
|
.include <bsd.port.post.mk>
|