summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2017-03-22 11:51:10 +0000
committeraraujo <araujo@FreeBSD.org>2017-03-22 11:51:10 +0000
commit3049c69d423b47a3b3d6e9e8f2c56d3f7eba15f0 (patch)
tree10d0fe8c3d95432d19b750f727d4f222fb64d7ad
parenta1ede04cef9910e2aabb6a4a32a55ed739274561 (diff)
downloadFreeBSD-ports-3049c69d423b47a3b3d6e9e8f2c56d3f7eba15f0.zip
FreeBSD-ports-3049c69d423b47a3b3d6e9e8f2c56d3f7eba15f0.tar.gz
Create a python3 version of lang/cython.
-rw-r--r--lang/Makefile1
-rw-r--r--lang/cython/Makefile2
-rw-r--r--lang/cython3/Makefile5
3 files changed, 7 insertions, 1 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 051821d..1b7abd7 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -50,6 +50,7 @@
SUBDIR += cparser
SUBDIR += csharp-mode.el
SUBDIR += cython
+ SUBDIR += cython3
SUBDIR += diveintopython
SUBDIR += dlv
SUBDIR += dmd1
diff --git a/lang/cython/Makefile b/lang/cython/Makefile
index 853d991..0ee5f67 100644
--- a/lang/cython/Makefile
+++ b/lang/cython/Makefile
@@ -14,7 +14,7 @@ COMMENT= Compiler for Writing C Extensions for the Python Language
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= python
+USES?= python
USE_PYTHON= autoplist distutils
post-install:
diff --git a/lang/cython3/Makefile b/lang/cython3/Makefile
new file mode 100644
index 0000000..aade1d2
--- /dev/null
+++ b/lang/cython3/Makefile
@@ -0,0 +1,5 @@
+MASTERDIR= ${.CURDIR}/../cython
+
+USES= python:3.3+
+
+.include "${MASTERDIR}/Makefile"
OpenPOWER on IntegriCloud