diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2026-03-31 17:04:06 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2026-03-31 17:06:55 +0000 |
| commit | 24e24d78b09dc7c183cc4aadc0cb073bda3115b4 (patch) | |
| tree | 4d6a95ed4c83163437775d47787e321999b80944 | |
| parent | 573e07a9d06627c2a6d2bb5eeb0adf9c6d777684 (diff) | |
lang/cython0: Revert: Remove expired port, it broke INDEX
This reverts commit 56c3f39b3f92b4356488716e88f10f832ae2001d.
| -rw-r--r-- | MOVED | 1 | ||||
| -rw-r--r-- | lang/Makefile | 1 | ||||
| -rw-r--r-- | lang/cython0/Makefile | 31 | ||||
| -rw-r--r-- | lang/cython0/distinfo | 3 | ||||
| -rw-r--r-- | lang/cython0/pkg-descr | 10 |
5 files changed, 45 insertions, 1 deletions
@@ -5179,7 +5179,6 @@ deskutils/py-paperless|deskutils/py-paperless-ngx|2026-03-31|Has expired: Upstre www/py-django-bleach||2026-03-31|Has expired: Upstream has been archived on November 5, 2024 www/py-django-tagging|www/py-django-taggit|2026-03-31|Has expired: Upstream inactive since 5+ years, not compatible with Django 5+. Please use www/py-django-taggit instead www/py-django-star-ratings||2026-03-31|Has expired: Upstream repository has been archived on May 21, 2025 -lang/cython0|lang/cython|2026-03-31|Has expired ftp/ftpsesame||2026-03-31|Has expired: dead upstream, broken on FreeBSD 15 devel/loki||2026-03-31|Has expired: dead upstream, sole consumer removed from tree long ago mail/missey||2026-03-31|Has expired: mail/missey has been abandoned for many years diff --git a/lang/Makefile b/lang/Makefile index a7f7fb1e75b3..5c110734f632 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -44,6 +44,7 @@ SUBDIR += crystal SUBDIR += csharp-mode.el SUBDIR += cython + SUBDIR += cython0 SUBDIR += dhall SUBDIR += dlang-tools SUBDIR += dotnet diff --git a/lang/cython0/Makefile b/lang/cython0/Makefile new file mode 100644 index 000000000000..81a507559146 --- /dev/null +++ b/lang/cython0/Makefile @@ -0,0 +1,31 @@ +PORTNAME= cython +PORTVERSION= 0.29.37 +CATEGORIES= lang python +MASTER_SITES= PYPI \ + https://github.com/cython/cython/releases/download/${PORTVERSION}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 0 +DISTNAME= Cython-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Compiler for Writing C Extensions for the Python Language +WWW= https://cython.org/ \ + https://github.com/cython/cython + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +DEPRECTED= Legacy version. Does not work with newer Python versions. Use lang/cython instead +EXPIRATION_DATE=2026-03-31 + +USES= compiler:c11 python:2.7-3.12 +USE_PYTHON= allflavors autoplist concurrent distutils + +CONFLICTS_INSTALL= py*-cython py*-cython3 # bin/cygdb bin/cython bin/cythonize + +PORTSCOUT= limit:^0\. + +post-install: + ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Cython -name '*.so' -exec ${STRIP_CMD} {} + + +.include <bsd.port.mk> diff --git a/lang/cython0/distinfo b/lang/cython0/distinfo new file mode 100644 index 000000000000..28f67f251d2f --- /dev/null +++ b/lang/cython0/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703227808 +SHA256 (Cython-0.29.37.tar.gz) = f813d4a6dd94adee5d4ff266191d1d95bf6d4164a4facc535422c021b2504cfb +SIZE (Cython-0.29.37.tar.gz) = 2099621 diff --git a/lang/cython0/pkg-descr b/lang/cython0/pkg-descr new file mode 100644 index 000000000000..e06adf8ec27b --- /dev/null +++ b/lang/cython0/pkg-descr @@ -0,0 +1,10 @@ +Cython is a Python compiler that makes writing C extensions for Python as easy +as Python itself. Cython is based on Pyrex, but supports more cutting edge +functionality and optimizations. + +Cython translates Python code to C/C++ code, but additionally supports calling C +functions and declaring C types on variables and class attributes. This allows +the compiler to generate very efficient C code from Cython code. + +This makes Cython the ideal language for wrapping external C libraries, and for +fast C modules that speed up the execution of Python code. |
