Commit 4ae82214 authored by danfe's avatar danfe
Browse files

Add a port of Shed Skin, an experimental compiler that can translate pure,

but implicitly statically typed Python programs into optimized C++.

While here, sort entries in `devel/Makefile' (once again).

PR:	211572
parent 1af2391f
......@@ -56,9 +56,9 @@
SUBDIR += acsccid
SUBDIR += activitymail
SUBDIR += ada-util
SUBDIR += adaid
SUBDIR += adabooch
SUBDIR += adacurses
SUBDIR += adaid
SUBDIR += adime
SUBDIR += aegis
SUBDIR += afay
......@@ -4217,8 +4217,8 @@
SUBDIR += py-lock_file
SUBDIR += py-lockfile
SUBDIR += py-log4py
SUBDIR += py-logbook
SUBDIR += py-logan
SUBDIR += py-logbook
SUBDIR += py-logilab-common
SUBDIR += py-louie
SUBDIR += py-lxml
......@@ -5303,6 +5303,7 @@
SUBDIR += sfml1
SUBDIR += sgb
SUBDIR += shapelib
SUBDIR += shedskin
SUBDIR += shflags
SUBDIR += shiboken
SUBDIR += shmap
......@@ -5317,8 +5318,8 @@
SUBDIR += simian
SUBDIR += simple_components
SUBDIR += skalibs
SUBDIR += slibtool
SUBDIR += slf4j
SUBDIR += slibtool
SUBDIR += smack
SUBDIR += smake
SUBDIR += smc
......
# Created by: lightside <lightside@gmx.com>
# $FreeBSD$
PORTNAME= shedskin
PORTVERSION= 0.9.4
DISTVERSIONPREFIX= v
CATEGORIES= devel python
MAINTAINER= python@FreeBSD.org
COMMENT= Experimental (restricted) Python-to-C++ compiler
LICENSE= GPLv3 MIT BSD3CLAUSE
LICENSE_COMB= multi
LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/lib/libgc.so:devel/boehm-gc \
${LOCALBASE}/lib/libpcre.so:devel/pcre
USE_GITHUB= yes
USES= python:2
USE_PYTHON= autoplist distutils
NO_ARCH= yes
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
post-patch:
@${REINPLACE_CMD} -e '/^CC/s|g++|$$(CXX)| ; \
/^CCFLAGS/s|-O2 -march=native|$$(CXXFLAGS) -I${LOCALBASE}/include| ; \
/^LFLAGS/s|=|&-L${LOCALBASE}/lib |' \
${WRKSRC}/shedskin/FLAGS
do-install-EXAMPLES-on:
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \
${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
SHA256 (shedskin-shedskin-v0.9.4_GH0.tar.gz) = 955b4a4d33a2daa31ecd8dfe4e2ff610ae9101d90b6e484267d57d640d04d11d
SIZE (shedskin-shedskin-v0.9.4_GH0.tar.gz) = 28241490
Shed Skin is an experimental compiler, that can translate pure, but implicitly
statically typed Python (2.4-2.6) programs into optimized C++. It can generate
stand-alone programs or extension modules that can be imported and used in
larger Python programs.
Besides the typing restriction, programs cannot freely use the Python standard
library (although about 25 common modules, such as `random' and `re', are
currently supported). Also, not all Python features, such as nested functions
and variable numbers of arguments, are supported.
WWW: http://shedskin.github.io/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment