diff --git a/databases/py-snowddl/Makefile b/databases/py-snowddl/Makefile index ab4bbbab443d..efdd3ffd1a2d 100644 --- a/databases/py-snowddl/Makefile +++ b/databases/py-snowddl/Makefile @@ -1,28 +1,28 @@ PORTNAME= snowddl DISTVERSION= 0.58.2 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= pat@patmaddox.com COMMENT= Object management automation tool for Snowflake WWW= https://docs.snowddl.com/ LICENSE= APACHE20 BUILD_DEPENDS= ${PY_DEPENDS} \ ${PY_SETUPTOOLS} \ - wheel-${PYTHON_VER}:devel/py-wheel@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PY_DEPENDS} USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.18<5:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydantic2>=2.4<3:devel/py-pydantic2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0<7:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}snowflake-connector-python>=3.0:databases/py-snowflake-connector-python@${PY_FLAVOR} .include diff --git a/graphics/py-dj52-sorl-thumbnail/Makefile b/graphics/py-dj52-sorl-thumbnail/Makefile index 7c1b251f12ff..bdc4c9256e91 100644 --- a/graphics/py-dj52-sorl-thumbnail/Makefile +++ b/graphics/py-dj52-sorl-thumbnail/Makefile @@ -1,65 +1,65 @@ PORTNAME= sorl-thumbnail DISTVERSION= 13.0.0 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- DISTNAME= sorl_thumbnail-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Sorl-thumbnail provides an easy way to generate image thumbnails WWW= https://github.com/jazzband/sorl-thumbnail LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Obsolete, please use graphics/py-sorl-thumbnail instead EXPIRATION_DATE=2026-06-30 BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>:devel/py-wheel@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= PILLOW OPTIONS_SINGLE= IMAGELIB OPTIONS_GROUP= CACHING # An PGMAGICK option would still be possible as well, but the ports tree does # not yet have a py-pgmagick port. OPTIONS_SINGLE_IMAGELIB= GRAPHICSMAGICK IMAGEMAGICK PILLOW WAND OPTIONS_GROUP_CACHING= REDIS 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 DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} GRAPHICSMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/gm:graphics/GraphicsMagick IMAGEMAGICK_USES= magick:6,run PILLOW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>0:databases/py-redis@${PY_FLAVOR} WAND_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Wand>0:graphics/py-wand@${PY_FLAVOR} post-build-DOCS-on: ${SETENV} PYTHONPATH=${WRKSRC} ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \ -d ${WRKDIR} -b html ${WRKSRC}/docs ${WRKSRC}/build/sphinx/html post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") .include diff --git a/graphics/py-sorl-thumbnail/Makefile b/graphics/py-sorl-thumbnail/Makefile index 405667296220..752584723320 100644 --- a/graphics/py-sorl-thumbnail/Makefile +++ b/graphics/py-sorl-thumbnail/Makefile @@ -1,63 +1,63 @@ PORTNAME= sorl-thumbnail DISTVERSION= 13.0.0 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= sorl_thumbnail-${DISTVERSION} MAINTAINER= ports@caomhin.org COMMENT= Sorl-thumbnail provides an easy way to generate image thumbnails WWW= https://github.com/jazzband/sorl-thumbnail LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>:devel/py-wheel@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= PILLOW OPTIONS_SINGLE= IMAGELIB OPTIONS_GROUP= CACHING # An PGMAGICK option would still be possible as well, but the ports tree does # not yet have a py-pgmagick port. OPTIONS_SINGLE_IMAGELIB= GRAPHICSMAGICK IMAGEMAGICK PILLOW WAND OPTIONS_GROUP_CACHING= REDIS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} GRAPHICSMAGICK_RUN_DEPENDS= ${LOCALBASE}/bin/gm:graphics/GraphicsMagick IMAGEMAGICK_USES= magick:6,run 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 post-build-DOCS-on: ${SETENV} PYTHONPATH=${WRKSRC} ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} \ -d ${WRKDIR} -b html ${WRKSRC}/docs ${WRKSRC}/build/sphinx/html post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") .include diff --git a/math/py-hmmlearn/Makefile b/math/py-hmmlearn/Makefile index 5fddcc6cd814..350ab866c31c 100644 --- a/math/py-hmmlearn/Makefile +++ b/math/py-hmmlearn/Makefile @@ -1,38 +1,38 @@ PORTNAME= hmmlearn DISTVERSION= 0.3.3 PORTREVISION= 2 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jwb@FreeBSD.org COMMENT= Unsupervised learning and inference of Hidden Markov Models WWW= https://github.com/hmmlearn/hmmlearn LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= wheel-${PYTHON_VER}:devel/py-wheel@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.19:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.16:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.19:science/py-scipy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.16:science/py-scikit-learn@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils pytest post-stage: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/hmmlearn/_hmmc.cpython-${PYTHON_SUFFIX}.so # 2023-12-29: Tests currently fail due to known upstream issues do-test: # setup.py builds directly to prefix by default, so we need to build # again within the project for pytest to work @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} setup.py develop) (cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER} --capture=no) .include diff --git a/textproc/py-text2digits/Makefile b/textproc/py-text2digits/Makefile index cbef92cc779f..e6b4fb7cf6dd 100644 --- a/textproc/py-text2digits/Makefile +++ b/textproc/py-text2digits/Makefile @@ -1,29 +1,29 @@ PORTNAME= text2digits DISTVERSION= 0.1.2 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= matthew@wener.org COMMENT= Small library to convert text numbers to digits in a string WWW= https://github.com/ShailChoksi/text2digits LICENSE= MIT BUILD_DEPENDS= ${PY_SETUPTOOLS} \ - ${PYTHON_PKGNAMEPREFIX}wheel>=:devel/py-wheel@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 pytest NO_ARCH= yes PORTDOCS= PKG-INFO README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/www/py-flask-sphinx-themes/Makefile b/www/py-flask-sphinx-themes/Makefile index 48e0d4a3e609..58d879364ed3 100644 --- a/www/py-flask-sphinx-themes/Makefile +++ b/www/py-flask-sphinx-themes/Makefile @@ -1,31 +1,31 @@ PORTNAME= Flask-Sphinx-Themes DISTVERSION= 1.0.2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= matthew@wener.org COMMENT= Sphinx themes for Flask and related projects WWW= https://github.com/pallets/flask-sphinx-themes LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ - ${PYTHON_PKGNAMEPREFIX}wheel>=:devel/py-wheel@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes PORTDOCS= PKG-INFO README.rst OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include