git: 391bb69d3d01 - main - devel/py-monkeytype: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jun 2023 18:52:23 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=391bb69d3d01a2f806a3da01fbc490cca68fe505
commit 391bb69d3d01a2f806a3da01fbc490cca68fe505
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-05 18:39:17 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-05 18:47:07 +0000
devel/py-monkeytype: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
---
devel/py-monkeytype/Makefile | 5 ++++-
devel/py-monkeytype/files/patch-setup.cfg | 9 +++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/devel/py-monkeytype/Makefile b/devel/py-monkeytype/Makefile
index 58903ef1367a..4d5ce77fe9f6 100644
--- a/devel/py-monkeytype/Makefile
+++ b/devel/py-monkeytype/Makefile
@@ -1,5 +1,6 @@
PORTNAME= monkeytype
PORTVERSION= 23.3.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,13 @@ WWW= https://github.com/Instagram/MonkeyType
LICENSE= BSD3CLAUSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcst>=0.4.4:devel/py-libcst@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mypy_extensions>=0:devel/py-mypy_extensions@${PY_FLAVOR}
USES= python:3.7+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/devel/py-monkeytype/files/patch-setup.cfg b/devel/py-monkeytype/files/patch-setup.cfg
new file mode 100644
index 000000000000..a062f5d2010e
--- /dev/null
+++ b/devel/py-monkeytype/files/patch-setup.cfg
@@ -0,0 +1,9 @@
+--- setup.cfg.orig 2023-03-20 14:07:01 UTC
++++ setup.cfg
+@@ -1,5 +1,5 @@
+ [metadata]
+-name = MonkeyType
++name = monkeytype
+ version = 23.3.0
+ description = Generating type annotations from sampled production types
+ long_description = file: README.rst, CHANGES.rst