import pythran with tweaks from sthen/kmos; ok sthen@ kmos@
The 1.17.x series of scipy has a dependency on pythran.
This commit is contained in:
parent
c70a3ce2b5
commit
f4fd83308a
30
lang/pythran/Makefile
Normal file
30
lang/pythran/Makefile
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# $OpenBSD: Makefile,v 1.1.1.1 2022/02/18 13:19:50 daniel Exp $
|
||||||
|
|
||||||
|
COMMENT = ahead of time compiler for numeric kernels
|
||||||
|
|
||||||
|
MODPY_EGG_VERSION = 0.11.0
|
||||||
|
DISTNAME = pythran-${MODPY_EGG_VERSION}
|
||||||
|
|
||||||
|
CATEGORIES = lang
|
||||||
|
|
||||||
|
HOMEPAGE = https://github.com/serge-sans-paille/pythran
|
||||||
|
|
||||||
|
# BSD
|
||||||
|
PERMIT_PACKAGE = Yes
|
||||||
|
|
||||||
|
MODULES = lang/python
|
||||||
|
|
||||||
|
FLAVORS = python3
|
||||||
|
FLAVOR = python3
|
||||||
|
|
||||||
|
MODPY_PI = Yes
|
||||||
|
MODPY_SETUPTOOLS = Yes
|
||||||
|
|
||||||
|
NO_TEST = Yes
|
||||||
|
|
||||||
|
RUN_DEPENDS = devel/py-ply${MODPY_FLAVOR}>=3.4 \
|
||||||
|
devel/py-gast${MODPY_FLAVOR}>=0.5.0,<0.6.0 \
|
||||||
|
devel/py-beniget${MODPY_FLAVOR}>=0.4.0,<0.5.0 \
|
||||||
|
math/py-numpy${MODPY_FLAVOR}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
lang/pythran/distinfo
Normal file
2
lang/pythran/distinfo
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SHA256 (pythran-0.11.0.tar.gz) = Cyy6cS4J92MIed/2nyaEYL/jSm1gAEUbR9WYVYqSqHU=
|
||||||
|
SIZE (pythran-0.11.0.tar.gz) = 3768003
|
8
lang/pythran/pkg/DESCR
Normal file
8
lang/pythran/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Pythran is an ahead of time compiler for a subset of the Python
|
||||||
|
language, with a focus on scientific computing. It takes a Python
|
||||||
|
module annotated with a few interface descriptions and turns it
|
||||||
|
into a native Python module with the same interface, but (hopefully)
|
||||||
|
faster.
|
||||||
|
|
||||||
|
It is meant to efficiently compile scientific programs, and takes
|
||||||
|
advantage of multi-cores and SIMD instruction units.
|
4498
lang/pythran/pkg/PLIST
Normal file
4498
lang/pythran/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user