Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2024 02:42:17 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 78d469e24160 - main - www/py-yarl: Fix *_DEPENDS
Message-ID:  <202411270242.4AR2gHjb026592@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=78d469e241607afec0152639e11443a9d6970667

commit 78d469e241607afec0152639e11443a9d6970667
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-27 02:37:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-27 02:37:14 +0000

    www/py-yarl: Fix *_DEPENDS
    
    - Add missing BUILD_DEPENDS
    - Update version requirement of RUN_DEPENDS
    - While I'm here, sort BUILD_DEPENDS and RUN_DEPENDS
    - Bump PORTREVISION for dependency change
    
    from pyproject.toml [1]:
    [build-system]
    requires = [
      # NOTE: The following build dependencies are necessary for initial
      # NOTE: provisioning of the in-tree build backend located under
      # NOTE: `packaging/pep517_backend/`.
      "expandvars",
      "setuptools >= 47",  # Minimum required for `version = attr:`
      "tomli; python_version < '3.11'",
    ]
    
    from setup.cfg [2]:
    install_requires =
      idna >= 2.0
      multidict >= 4.0
      propcache >= 0.2.0
    
    Approved by:    portmgr (blanket)
    Reference:      https://github.com/aio-libs/yarl/blob/v1.18.0/pyproject.toml#L1-L9 [1]
                    https://github.com/aio-libs/yarl/blob/v1.18.0/setup.cfg#L67-L70 [2]
---
 www/py-yarl/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/www/py-yarl/Makefile b/www/py-yarl/Makefile
index 6d68bdbbf824..4ddda5d4a7e1 100644
--- a/www/py-yarl/Makefile
+++ b/www/py-yarl/Makefile
@@ -12,13 +12,14 @@ WWW=		https://github.com/aio-libs/yarl
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cython3>=3.0.11:lang/cython3@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}expandvars>=0:devel/py-expandvars@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}cython3>=3.0.11:lang/cython3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=47:devel/py-setuptools@${PY_FLAVOR} \
+		${PY_TOMLI} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}multidict>0:www/py-multidict@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}propcache>0:devel/py-propcache@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}multidict>=4.0:www/py-multidict@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}propcache>=0.2.0:devel/py-propcache@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-codspeed>0:devel/py-pytest-codspeed@${PY_FLAVOR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411270242.4AR2gHjb026592>