summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/cython3/Makefile9
-rw-r--r--lang/cython3/distinfo6
-rw-r--r--lang/cython3/files/patch-setup.py11
3 files changed, 20 insertions, 6 deletions
diff --git a/lang/cython3/Makefile b/lang/cython3/Makefile
index 323be1177f7d..6ad8e52318f9 100644
--- a/lang/cython3/Makefile
+++ b/lang/cython3/Makefile
@@ -1,11 +1,11 @@
PORTNAME= cython
-PORTVERSION= 3.0.7
+PORTVERSION= 3.0.8
CATEGORIES= lang python
MASTER_SITES= PYPI \
https://github.com/cython/cython/releases/download/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= Cython-${PORTVERSION}
PKGNAMESUFFIX= 3
+DISTNAME= Cython-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Compiler for Writing C Extensions for the Python Language
@@ -15,8 +15,11 @@ WWW= https://cython.org/ \
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
USES= compiler:c11 python
-USE_PYTHON= allflavors autoplist concurrent distutils
+USE_PYTHON= allflavors autoplist concurrent pep517
CONFLICTS_INSTALL= py*-cython py*-cython-devel # bin/cygdb bin/cython bin/cythonize
diff --git a/lang/cython3/distinfo b/lang/cython3/distinfo
index 786183497b79..9810d3ff4828 100644
--- a/lang/cython3/distinfo
+++ b/lang/cython3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703227810
-SHA256 (Cython-3.0.7.tar.gz) = fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213
-SIZE (Cython-3.0.7.tar.gz) = 2741910
+TIMESTAMP = 1709390396
+SHA256 (Cython-3.0.8.tar.gz) = 8333423d8fd5765e7cceea3a9985dd1e0a5dfeb2734629e1a2ed2d6233d39de6
+SIZE (Cython-3.0.8.tar.gz) = 2744096
diff --git a/lang/cython3/files/patch-setup.py b/lang/cython3/files/patch-setup.py
new file mode 100644
index 000000000000..4c5b5f8a7961
--- /dev/null
+++ b/lang/cython3/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2024-01-10 09:54:48 UTC
++++ setup.py
+@@ -243,7 +243,7 @@ def run_build():
+
+ from Cython import __version__ as version
+ setup(
+- name='Cython',
++ name='cython',
+ version=version,
+ url='https://cython.org/',
+ author='Robert Bradshaw, Stefan Behnel, Dag Seljebotn, Greg Ewing, et al.',