git: 6ad91988ed09 - main - devel/py-ctypesgen: Add missing BUILD_DEPENDS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Mar 2024 03:39:49 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6ad91988ed09726ea2f5dc543f5af040dc2fbd63
commit 6ad91988ed09726ea2f5dc543f5af040dc2fbd63
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:06:20 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:06:20 +0000
devel/py-ctypesgen: Add missing BUILD_DEPENDS
- Remove PY_SETUPTOOLS: py-setuptools should be used rather than PY_SETUPTOOLS
---
devel/py-ctypesgen/Makefile | 3 ++-
devel/py-ctypesgen/files/patch-setup.cfg | 11 -----------
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/devel/py-ctypesgen/Makefile b/devel/py-ctypesgen/Makefile
index 4749fb891660..684aae9a17aa 100644
--- a/devel/py-ctypesgen/Makefile
+++ b/devel/py-ctypesgen/Makefile
@@ -12,8 +12,9 @@ WWW= https://github.com/ctypesgen/ctypesgen
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=44:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python shebangfix
diff --git a/devel/py-ctypesgen/files/patch-setup.cfg b/devel/py-ctypesgen/files/patch-setup.cfg
deleted file mode 100644
index 61c45e5885df..000000000000
--- a/devel/py-ctypesgen/files/patch-setup.cfg
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.cfg.orig 2022-10-12 09:48:48 UTC
-+++ setup.cfg
-@@ -25,7 +25,7 @@ classifiers =
- packages = find:
- package_dir =
- include_package_data = True
--setup_requires = setuptools>=44; wheel; toml; setuptools_scm>=3.4.3
-+setup_requires = setuptools>=44; setuptools_scm>=3.4.3
- python_requires = >=3.7
-
- [options.packages.find]