git: 3bf1dfd75862 - main - devel/py-moto: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:27:47 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3bf1dfd75862a0b35d21006050320d4253915608 commit 3bf1dfd75862a0b35d21006050320d4253915608 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:44:22 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:20:46 +0000 devel/py-moto: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-moto/Makefile | 8 ++++---- devel/py-moto/files/setup.py | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/devel/py-moto/Makefile b/devel/py-moto/Makefile index fb8fb455ef98..7e8d809309a4 100644 --- a/devel/py-moto/Makefile +++ b/devel/py-moto/Makefile @@ -1,5 +1,6 @@ PORTNAME= moto PORTVERSION= 4.1.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,6 +12,8 @@ WWW= https://github.com/getmoto/moto LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.9.201:www/py-boto3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}botocore>=1.12.201:devel/py-botocore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3.1:security/py-cryptography@${PY_FLAVOR} \ @@ -35,7 +38,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aws-xray-sdk>=0.93:devel/py-aws-xray-sdk@${ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils pytest +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes @@ -45,7 +48,4 @@ NO_ARCH= yes RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} .endif -post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - .include <bsd.port.post.mk> diff --git a/devel/py-moto/files/setup.py b/devel/py-moto/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/devel/py-moto/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()