git: 924de742fc23 - main - devel/py-pythran: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Oct 2021 02:12:48 UTC
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=924de742fc23ab02e5f95de8515c0a5be495c0ab commit 924de742fc23ab02e5f95de8515c0a5be495c0ab Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2021-10-17 02:10:52 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2021-10-17 02:10:52 +0000 devel/py-pythran: Add new port 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. WWW: https://github.com/serge-sans-paille/pythran --- devel/Makefile | 1 + devel/py-pythran/Makefile | 21 ++++++ devel/py-pythran/distinfo | 3 + devel/py-pythran/pkg-descr | 6 ++ devel/py-pythran/pkg-plist | 167 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 198 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1bc9b2ed58d8..9d2d1770db51 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5079,6 +5079,7 @@ SUBDIR += py-pythonbrew SUBDIR += py-pythondialog SUBDIR += py-pythonfinder + SUBDIR += py-pythran SUBDIR += py-pytimeparse SUBDIR += py-pytools SUBDIR += py-pytrie diff --git a/devel/py-pythran/Makefile b/devel/py-pythran/Makefile new file mode 100644 index 000000000000..e794c55954aa --- /dev/null +++ b/devel/py-pythran/Makefile @@ -0,0 +1,21 @@ +PORTNAME= pythran +PORTVERSION= 0.10.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Ahead of Time compiler for numeric kernels + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gast>=0.5.0<0.6:devel/py-gast@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}beniget>=0.4.0:devel/py-beniget@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +.include <bsd.port.mk> diff --git a/devel/py-pythran/distinfo b/devel/py-pythran/distinfo new file mode 100644 index 000000000000..14aec1afd1f0 --- /dev/null +++ b/devel/py-pythran/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1633567382 +SHA256 (pythran-0.10.0.tar.gz) = 9dac8e1d50f33d4676003e350b1f0c878ce113e6f907920e92dc103352cac5bf +SIZE (pythran-0.10.0.tar.gz) = 3833449 diff --git a/devel/py-pythran/pkg-descr b/devel/py-pythran/pkg-descr new file mode 100644 index 000000000000..d4a5ceaf1f86 --- /dev/null +++ b/devel/py-pythran/pkg-descr @@ -0,0 +1,6 @@ +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. + +WWW: https://github.com/serge-sans-paille/pythran diff --git a/devel/py-pythran/pkg-plist b/devel/py-pythran/pkg-plist new file mode 100644 index 000000000000..7bcfb2fd3a5a --- /dev/null +++ b/devel/py-pythran/pkg-plist @@ -0,0 +1,167 @@ +%%PYTHON_SITELIBDIR%%/pythran/boost/array.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/assert.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/atomic.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/checked_delete.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/concept_check.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/config.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/cstdint.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/current_function.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/format.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/integer.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/integer_fwd.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/integer_traits.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/lexical_cast.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/limits.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/memory_order.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/next_prior.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/non_type.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/noncopyable.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/none.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/none_t.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/optional.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/predef.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/alpha.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/arm.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/blackfin.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/convex.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/ia64.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/m68k.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/mips.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/parisc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/ppc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/ptx.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/pyramid.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/rs6k.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/sparc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/superh.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/sys370.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/sys390.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/x86.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/x86/32.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/x86/64.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/architecture/z.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/borland.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/clang.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/comeau.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/compaq.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/diab.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/digitalmars.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/dignus.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/edg.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/ekopath.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/gcc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/gcc_xml.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/greenhills.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/hp_acc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/iar.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/ibm.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/intel.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/kai.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/llvm.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/metaware.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/metrowerks.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/microtec.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/mpw.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/nvcc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/palm.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/pgi.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/sgi_mipspro.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/sunpro.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/tendra.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/visualc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/compiler/watcom.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/detail/_cassert.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/detail/_exception.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/detail/comp_detected.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/detail/os_detected.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/detail/platform_detected.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/detail/test.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/hardware.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/hardware/simd.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/hardware/simd/arm.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/hardware/simd/arm/versions.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/hardware/simd/ppc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/hardware/simd/ppc/versions.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/hardware/simd/x86.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/hardware/simd/x86/versions.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/hardware/simd/x86_amd.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/hardware/simd/x86_amd/versions.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/language.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/language/cuda.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/language/objc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/language/stdc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/language/stdcpp.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/c.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/c/_prefix.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/c/cloudabi.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/c/gnu.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/c/uc.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/c/vms.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/c/zos.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/_prefix.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/cxx.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/dinkumware.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/libcomo.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/modena.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/msl.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/roguewave.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/sgi.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/stdcpp3.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/stlport.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/library/std/vacpp.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/make.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/aix.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/amigaos.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/android.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/beos.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/bsd.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/bsd/bsdi.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/bsd/dragonfly.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/bsd/free.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/bsd/net.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/bsd/open.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/cygwin.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/haiku.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/hpux.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/ios.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/irix.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/linux.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/macos.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/os400.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/qnxnto.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/solaris.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/unix.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/vms.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/os/windows.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/other.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/other/endian.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/android.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/cloudabi.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/ios.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/mingw.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/mingw32.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/mingw64.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/windows_desktop.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/windows_phone.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/windows_runtime.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/windows_server.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/windows_store.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/windows_system.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/platform/windows_uwp.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/version.h +%%PYTHON_SITELIBDIR%%/pythran/boost/predef/version_number.h +%%PYTHON_SITELIBDIR%%/pythran/boost/ref.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/shared_ptr.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/static_assert.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/swap.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/throw_exception.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/type.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/utility.hpp +%%PYTHON_SITELIBDIR%%/pythran/boost/version.hpp +%%PYTHON_SITELIBDIR%%/pythran/xsimd/xsimd.hpp