all: remove explicit versions in USES=python for "3.x+"

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>
This commit is contained in:
Rene Ladan 2023-06-15 00:00:28 +02:00
commit 3d9a815d9c

View file

@ -61,7 +61,7 @@ MOZILLA_VER?= ${PORTVERSION}
MOZILLA_BIN?= ${PORTNAME}-bin
MOZILLA_EXEC_NAME?=${MOZILLA}
USES+= compiler:c++17-lang cpe gl gmake gnome iconv localbase perl5 pkgconfig \
python:3.6+,build desktop-file-utils
python:build desktop-file-utils
CPE_VENDOR?=mozilla
USE_GL= gl
USE_GNOME= cairo gdkpixbuf2 gtk30

View file

@ -19,7 +19,7 @@ RUN_DEPENDS= gsettings-desktop-schemas>=3.2.0:devel/gsettings-desktop-schemas \
at-spi2-core>=2.1.5:accessibility/at-spi2-core
NO_ARCH= yes
USES= gettext gmake gnome localbase:ldflags pkgconfig python:3.4+ shebangfix tar:xz
USES= gettext gmake gnome localbase:ldflags pkgconfig python shebangfix tar:xz
USE_GNOME= gtk30 pygobject3
GNU_CONFIGURE= yes
SHEBANG_FILES= plugins/ipython_view.py

View file

@ -22,7 +22,7 @@ LIB_DEPENDS= libclutter-glx-1.0.so:graphics/clutter \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atspi>=2.1.91:accessibility/py-atspi@${PY_FLAVOR}
USES= gettext gl gmake gnome libtool localbase pathfix \
pkgconfig python:3.3+ shebangfix tar:xz xorg
pkgconfig python shebangfix tar:xz xorg
USE_GNOME= cairo gdkpixbuf2 gtk30 intlhack introspection:build libxml2 \
libxslt:build pygobject3
USE_PYTHON= py3kplist

View file

@ -28,7 +28,7 @@ PORTSCOUT= limitw:1,even
NO_ARCH= yes
USES= cpe gettext gmake gnome localbase pathfix pkgconfig \
python:3.4+ tar:xz
python tar:xz
USE_GNOME= gtk30 pygobject3
GNU_CONFIGURE= yes
CPE_VENDOR= gnome

View file

@ -17,7 +17,7 @@ RUN_DEPENDS= ${LOCALBASE}/libexec/at-spi2-registryd:accessibility/at-spi2-core
CONFLICTS= at-spi-1.[0-9]*
PORTSCOUT= limitw:1,even
USES= gettext gmake gnome localbase pathfix pkgconfig python:3.6+ tar:xz
USES= gettext gmake gnome localbase pathfix pkgconfig python tar:xz
USE_PYTHON= flavors py3kplist
USE_GNOME= intlhack pygobject3
GNU_CONFIGURE= yes

View file

@ -55,7 +55,7 @@ WAYLAND_CATEGORIES= wayland
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
WAYLAND_CONFIGURE_ENABLE= wayland
GUI_USES= python:3.6+
GUI_USES= python
GUI_CONFIGURE_ENABLE= gui
GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}

View file

@ -103,7 +103,7 @@ post-install:
PORTSCOUT= ignore:1
NO_ARCH= yes
USES+= python:3.3+ shebangfix
USES+= python shebangfix
SHEBANG_FILES= src/api/python/speechd_config/spd-conf
USE_PYTHON= flavors
LIB_DEPENDS+= libspeechd.so:accessibility/speech-dispatcher

View file

@ -11,7 +11,7 @@ WWW= https://hijri-converter.readthedocs.io/en/stable/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+
USES= python
USE_PYTHON= distutils autoplist pytest
NO_ARCH= yes

View file

@ -22,7 +22,7 @@ RUN_DEPENDS= gtar:archivers/gtar
PORTSCOUT= limitw:1,even
USES= cpe desktop-file-utils gettext gnome libarchive localbase \
meson pkgconfig python:3.5+,build tar:xz
meson pkgconfig python:build tar:xz
USE_GNOME= cairo gdkpixbuf2 gtk30
USE_LDCONFIG= yes
MESON_ARGS= -Dpackagekit=false

View file

@ -12,7 +12,7 @@ WWW= https://lz4.github.io/lz4/
LICENSE= BSD2CLAUSE GPLv2
LICENSE_COMB= multi
USES= cpe meson pkgconfig python:3.5+,build shebangfix
USES= cpe meson pkgconfig python:build shebangfix
USE_GITHUB= yes
USE_LDCONFIG= yes
CPE_VENDOR= lz4_project

View file

@ -11,7 +11,7 @@ WWW= https://www.roe.ch/acefile
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= python:3.4+
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View file

@ -24,7 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}py-cpuinfo>=0:sysutils/py-py-cpuinfo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR}
USES= pkgconfig python:3.8+
USES= pkgconfig python
USE_PYTHON= autoplist concurrent cython pep517
MAKE_ENV= CMAKE_ARGS=-DUSE_SYSTEM_BLOSC2=ON

View file

@ -26,7 +26,7 @@ TEST_DEPENDS= ${RUN_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
fakeroot:security/fakeroot
USES= pkgconfig python:3.8+ ssl
USES= pkgconfig python ssl
USE_PYTHON= autoplist distutils
MAKE_ENV= BORG_OPENSSL_PREFIX=${OPENSSLBASE}

View file

@ -12,7 +12,7 @@ WWW= https://github.com/google/brotli
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c++0x cpe python:3.6+ shebangfix zip
USES= compiler:c++0x cpe python shebangfix zip
USE_PYTHON= autoplist concurrent distutils
CPE_VENDOR= google

View file

@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
LIB_DEPENDS= libbrotlienc.so:archivers/brotli
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
USES= localbase python:3.6+
USES= localbase python
USE_PYTHON= autoplist concurrent distutils
MAKE_ENV= USE_SHARED_BROTLI=1

View file

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
USES= python:3.6+
USES= python
USE_PYTHON= autoplist concurrent distutils
post-install:

View file

@ -18,7 +18,7 @@ BUILD_DEPENDS= bash:shells/bash \
git>1.5.6:devel/git
RUN_DEPENDS= bash:shells/bash
USES= gmake python:3.6+ shebangfix
USES= gmake python shebangfix
USE_PYTHON= autoplist
SHEBANG_FILES= test/ext/test-sparse-files lib/cmd/import-rdiff-backup-cmd.sh

View file

@ -10,7 +10,7 @@ WWW= https://github.com/nvawda/bz2file
LICENSE= APACHE20
USES= python:3.6+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes

View file

@ -12,7 +12,7 @@ WWW= https://github.com/delimitry/compressed_rtf
LICENSE= MIT
LICENSE_FILE= ${FILESDIR}/LICENSE
USES= python:3.8+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes

View file

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.13:devel/py-maturin@${PY_FLAVOR}
USES= cargo python:3.7+
USES= cargo python
USE_PYTHON= autoplist concurrent pep517
CARGO_BUILD= no

View file

@ -15,7 +15,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
USES= python:3.7+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes

View file

@ -17,7 +17,7 @@ BUILD_DEPENDS= liblz4>=1.7.5:archivers/liblz4 \
LIB_DEPENDS= liblz4.so:archivers/liblz4
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR}
USES= localbase python:3.7+
USES= localbase python
USE_PYTHON= distutils pytest
CONFIGURE_ENV= PYLZ4_USE_SYSTEM_LZ4=1

View file

@ -13,7 +13,7 @@ LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
USES= dos2unix python:3.6+
USES= dos2unix python
USE_PYTHON= concurrent distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}

View file

@ -11,7 +11,7 @@ WWW= https://pypi.python.org/pypi/lzstring
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= python:3.6+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes

View file

@ -14,7 +14,7 @@ GH_ACCOUNT= wummel
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= 4928f3fc5083248ec83bbf6b02b5d9089c309100
USES= python:3.6+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes

View file

@ -11,7 +11,7 @@ WWW= https://github.com/smihica/pyminizip
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/COPYING.txt
USES= python:3.6+
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes

View file

@ -12,7 +12,7 @@ WWW= https://fengestad.no/python-lhafile/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING.txt
USES= python:3.6+
USES= python
USE_PYTHON= distutils autoplist
post-install:

View file

@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liblzo2.so:archivers/lzo2
USES= localbase python:3.6+
USES= localbase python
USE_PYTHON= autoplist distutils pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

View file

@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsnappy.so:archivers/snappy
USES= python:3.6+
USES= python
USE_PYTHON= distutils autoplist
CPPFLAGS+= -I${LOCALBASE}/include
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

View file

@ -13,7 +13,7 @@ LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}entrypoint2>0:devel/py-entrypoint2@${PY_FLAVOR}
USES= python:3.6+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes

View file

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= unrar:archivers/unrar
NO_ARCH= yes
USES= python:3.6+
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

View file

@ -10,7 +10,7 @@ WWW= https://github.com/ndparker/rcssmin
LICENSE= APACHE20
USES= python:3.6+
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

View file

@ -10,7 +10,7 @@ WWW= https://github.com/ndparker/rjsmin
LICENSE= APACHE20
USES= python:3.6+
USES= python
USE_PYTHON= autoplist distutils
post-install:

View file

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python:3.8+
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes

View file

@ -12,6 +12,6 @@ LICENSE= MIT
NO_ARCH= yes
USE_PYTHON= autoplist distutils
USES= python:3.6+
USES= python
.include <bsd.port.mk>

View file

@ -16,7 +16,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bz2file>=0.98:archivers/py-bz2file@${PY_FLAV
pigz>=0:archivers/pigz
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes

View file

@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
USES= python:3.5+
USES= python
USE_PYTHON= autoplist distutils pytest
.include <bsd.port.mk>

View file

@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python:3.7+ zip
USES= python zip
USE_PYTHON= autoplist concurrent pep517 pytest
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

View file

@ -16,7 +16,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${PY_FLAVOR}
LIB_DEPENDS= libzstd.so:archivers/zstd
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
USES= localbase python:3.7+
USES= localbase python
USE_PYTHON= distutils autoplist
#PYDISTUTILS_BUILDARGS= --system-zstd # breaks in runtime due to version mismatch, keep disabled until this is fixed: https://github.com/indygreg/python-zstandard/issues/132

View file

@ -13,7 +13,7 @@ LICENSE= BSD2CLAUSE
LIB_DEPENDS= libzstd.so:archivers/zstd
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+ localbase
USES= python localbase
USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= --external

View file

@ -9,7 +9,7 @@ WWW= https://pypi.org/project/unrpa/
LICENSE= GPLv3+
USES= python:3.7+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes

View file

@ -11,7 +11,7 @@ WWW= https://gpsd.gitlab.io/gpsd/index.html
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe pathfix pkgconfig python:3.6+ scons
USES= cpe pathfix pkgconfig python scons
CPE_VENDOR= gpsd_project
USE_LDCONFIG= yes
USE_RC_SUBR= gpsd

View file

@ -12,7 +12,7 @@ LICENSE= GPLv2
RUN_DEPENDS= indiserver:devel/indi \
${PYTHON_PKGNAMEPREFIX}indiweb>0:astro/py-indiweb@${PY_FLAVOR}
USES= cmake iconv gettext kde:5 ninja qt:5 pkgconfig python:3.7+ xorg
USES= cmake iconv gettext kde:5 ninja qt:5 pkgconfig python xorg
USE_KDE= auth bookmarks codecs completion config configwidgets \
coreaddons doctools i18n kio itemviews jobwidgets service \
solid widgetsaddons windowsystem xmlgui

View file

@ -25,7 +25,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR}\
#USE_GITHUB= yes
USES= gettext-runtime:run python:3.8+ shebangfix
USES= gettext-runtime:run python shebangfix
USE_PYTHON= noflavors pep517
SHEBANG_FILES= ${PORTNAME}

View file

@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>=1.1:astro/py-astropy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.7.0:science/py-scipy@${PY_FLAVOR}
USES= python:3.7+
USES= python
USE_PYTHON= autoplist concurrent distutils
PORTSCOUT= skipv:0.15,0.17,0.17.1 # incorrect versioning upstream

View file

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
USES= python:3.7+
USES= python
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk>

View file

@ -19,7 +19,7 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.18:science/py-scikit-learn@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}astropy>=3.0:astro/py-astropy@${PY_FLAVOR}
USES= python:3.7+
USES= python
USE_PYTHON= autoplist distutils
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.post1

View file

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.rst
BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
USES= python:3.5+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes

View file

@ -19,7 +19,7 @@ BUILD_DEPENDS= ${PYNUMPY} \
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pyerfa>=0:astro/py-pyerfa@${PY_FLAVOR}
USES= compiler:c11 python:3.8+
USES= compiler:c11 python
USE_PYTHON= autoplist cython distutils
CONFLICTS_INSTALL= p5-Data-ShowTable # bin/showtable

View file

@ -11,7 +11,7 @@ WWW= https://pypi.org/project/ephem/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.7+
USES= python
USE_PYTHON= autoplist distutils
post-install:

Some files were not shown because too many files have changed in this diff Show more