mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
add lang/cython
This commit is contained in:
@@ -241,7 +241,7 @@ _INCLUDE_USES_PYTHON_MK= yes
|
||||
# What Python version and what Python interpreters are currently supported?
|
||||
# When adding a version, please keep the comment in
|
||||
# Mk/bsd.default-versions.mk in sync.
|
||||
_PYTHON_VERSIONS= 2.7 3.6 3.7 3.5 # preferred first
|
||||
_PYTHON_VERSIONS= 2.7 3.6 3.7 # preferred first
|
||||
_PYTHON_PORTBRANCH= 2.7 # ${_PYTHON_VERSIONS:[1]}
|
||||
_PYTHON_BASECMD= ${LOCALBASE}/bin/python
|
||||
_PYTHON_RELPORTDIR= lang/python
|
||||
|
||||
@@ -17,7 +17,7 @@ GH_TAGNAME= a04fbff6e21d58fea7a3ed2a6a21e53cbef4b7af
|
||||
|
||||
USES= compiler:c11
|
||||
|
||||
IDEA_HOME=${PREFIX}/intellij
|
||||
IDEA_HOME=${PREFIX}
|
||||
PLIST_FILES= ${IDEA_HOME}/bin/fsnotifier
|
||||
|
||||
do-install:
|
||||
|
||||
21
lang/cython/Makefile
Normal file
21
lang/cython/Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
# Created by: Wen Heping <wenhping@gmail.com>
|
||||
# $FreeBSD: head/lang/cython/Makefile 527314 2020-02-28 00:46:10Z jrm $
|
||||
|
||||
PORTNAME= cython
|
||||
PORTVERSION= 0.29.15
|
||||
CATEGORIES= lang python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= Cython-${PORTVERSION}
|
||||
|
||||
MAINTAINER= vmagerya@gmail.com
|
||||
COMMENT= Compiler for Writing C Extensions for the Python Language
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= allflavors autoplist concurrent distutils
|
||||
|
||||
post-install:
|
||||
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Cython \
|
||||
-name '*.so' -exec ${STRIP_CMD} {} +
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
lang/cython/distinfo
Normal file
3
lang/cython/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1581699764
|
||||
SHA256 (Cython-0.29.15.tar.gz) = 60d859e1efa5cc80436d58aecd3718ff2e74b987db0518376046adedba97ac30
|
||||
SIZE (Cython-0.29.15.tar.gz) = 2054713
|
||||
16
lang/cython/pkg-descr
Normal file
16
lang/cython/pkg-descr
Normal file
@@ -0,0 +1,16 @@
|
||||
The Cython language makes writing C extensions for the Python language
|
||||
as easy as Python itself. Cython is a source code translator based on
|
||||
the well-known Pyrex, but supports more cutting edge functionality and
|
||||
optimizations.
|
||||
|
||||
The Cython language is very close to the Python language (and most
|
||||
Python code is also valid Cython code), but Cython 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 writing glue code for external
|
||||
C libraries, and for fast C modules that speed up the execution of
|
||||
Python code.
|
||||
|
||||
WWW: https://cython.org/
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user