View | Details | Raw Unified | Return to bug 259898
Collapse All | Expand All

(-)Mk/Uses/python.mk (-2 / +8 lines)
Lines 515-526 _PYTHONPKGLIST= ${WRKDIR}/.PLIST.pymodtmp Link Here
515
# - it uses USE_PYTHON=distutils
515
# - it uses USE_PYTHON=distutils
516
#
516
#
517
517
518
.if ${PYTHON_REL} >= 31100
519
_CYTHON_DEP=	cython-${PYTHON_VER}:lang/cython-devel@${PY_FLAVOR}
520
.else
521
_CYTHON_DEP=	cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
522
.endif
523
518
.if defined(_PYTHON_FEATURE_CYTHON)
524
.if defined(_PYTHON_FEATURE_CYTHON)
519
BUILD_DEPENDS+=	cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
525
BUILD_DEPENDS+=	${_CYTHON_DEP}
520
.endif
526
.endif
521
527
522
.if defined(_PYTHON_FEATURE_CYTHON_RUN)
528
.if defined(_PYTHON_FEATURE_CYTHON_RUN)
523
RUN_DEPENDS+=	cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
529
RUN_DEPENDS+=	${_CYTHON_DEP}
524
.endif
530
.endif
525
531
526
.if defined(_PYTHON_FEATURE_CONCURRENT)
532
.if defined(_PYTHON_FEATURE_CONCURRENT)
(-)lang/Makefile (+1 lines)
Lines 41-46 Link Here
41
    SUBDIR += crystal
41
    SUBDIR += crystal
42
    SUBDIR += csharp-mode.el
42
    SUBDIR += csharp-mode.el
43
    SUBDIR += cython
43
    SUBDIR += cython
44
    SUBDIR += cython-devel
44
    SUBDIR += dlang-tools
45
    SUBDIR += dlang-tools
45
    SUBDIR += dlv
46
    SUBDIR += dlv
46
    SUBDIR += duktape
47
    SUBDIR += duktape
(-)lang/cython-devel/Makefile (+23 lines)
Added Link Here
1
# Created by: Wen Heping <wenhping@gmail.com>
2
3
PORTNAME=	cython
4
DISTVERSION=	3.0.0a9
5
CATEGORIES=	lang python
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMESUFFIX=	-devel
8
9
MAINTAINER=	amdmi3@FreeBSD.org
10
COMMENT=	Compiler for Writing C Extensions for the Python Language
11
12
LICENSE=	APACHE20
13
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
14
15
USES=		compiler:c11 python:2.7+
16
USE_PYTHON=	allflavors autoplist concurrent distutils
17
USE_GITHUB=	yes
18
GH_TAGNAME=	2b1e743
19
20
post-install:
21
	${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Cython -name '*.so' -exec ${STRIP_CMD} {} +
22
23
.include <bsd.port.mk>
(-)lang/cython-devel/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1637154492
2
SHA256 (cython-cython-3.0.0a9-2b1e743_GH0.tar.gz) = 9e0b6f5830e86a942faefdc728df2c2ad0cb3cbf74efe6e7fa020e18692ac9a3
3
SIZE (cython-cython-3.0.0a9-2b1e743_GH0.tar.gz) = 2438723
(-)lang/cython-devel/pkg-descr (+16 lines)
Added Link Here
1
The Cython language makes writing C extensions for the Python language
2
as easy as Python itself. Cython is a source code translator based on
3
the well-known Pyrex, but supports more cutting edge functionality and
4
optimizations.
5
6
The Cython language is very close to the Python language (and most
7
Python code is also valid Cython code), but Cython additionally supports
8
calling C functions and declaring C types on variables and class
9
attributes. This allows the compiler to generate very efficient C code
10
from Cython code.
11
12
This makes Cython the ideal language for writing glue code for external
13
C libraries, and for fast C modules that speed up the execution of
14
Python code.
15
16
WWW: https://cython.org/
(-)lang/cython/Makefile (-1 / +1 lines)
Lines 13-19 COMMENT= Compiler for Writing C Extensions for the Python Language Link Here
13
LICENSE=	APACHE20
13
LICENSE=	APACHE20
14
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
14
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
15
15
16
USES=		compiler:c11 python:2.7+
16
USES=		compiler:c11 python:2.7-3.10
17
USE_PYTHON=	allflavors autoplist concurrent distutils
17
USE_PYTHON=	allflavors autoplist concurrent distutils
18
18
19
post-install:
19
post-install:

Return to bug 259898