summaryrefslogtreecommitdiff
path: root/devel/gnatpython
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnatpython')
-rw-r--r--devel/gnatpython/Makefile19
-rw-r--r--devel/gnatpython/distinfo2
-rw-r--r--devel/gnatpython/files/patch-setup__helpers.py11
-rw-r--r--devel/gnatpython/pkg-descr5
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/gnatpython/Makefile b/devel/gnatpython/Makefile
new file mode 100644
index 000000000000..d9750131937e
--- /dev/null
+++ b/devel/gnatpython/Makefile
@@ -0,0 +1,19 @@
+# Created by: John Marino <marino@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= gnatpython
+PORTVERSION= ${SNAPSHOT}
+CATEGORIES= devel
+MASTER_SITES= http://downloads.dragonlace.net/src/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Python package used in Ada testsuites
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING3
+
+SNAPSHOT= 20140224
+USES= python:2.7 tar:bzip2
+USE_PYTHON= distutils autoplist
+
+.include <bsd.port.mk>
diff --git a/devel/gnatpython/distinfo b/devel/gnatpython/distinfo
new file mode 100644
index 000000000000..9c2ef792d025
--- /dev/null
+++ b/devel/gnatpython/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnatpython-20140224.tar.bz2) = a622c790dfcdb8c7b6fb77cdef8ce3b0fe96649bf5dd422216d21bacf34e12a8
+SIZE (gnatpython-20140224.tar.bz2) = 102940
diff --git a/devel/gnatpython/files/patch-setup__helpers.py b/devel/gnatpython/files/patch-setup__helpers.py
new file mode 100644
index 000000000000..f2f2d841b2fa
--- /dev/null
+++ b/devel/gnatpython/files/patch-setup__helpers.py
@@ -0,0 +1,11 @@
+--- setup_helpers.py.orig 2015-06-21 09:00:45 UTC
++++ setup_helpers.py
+@@ -28,7 +28,7 @@ def build_scripts_gnatpython(root_dir=''
+ os.system('gcc -o %sscripts/rlimit %ssrc/rlimit/rlimit-NT.c' %
+ (root_dir, root_dir))
+ else:
+- os.system('gcc -o %sscripts/rlimit %ssrc/rlimit/rlimit.c' %
++ os.system('cc -o %sscripts/rlimit %ssrc/rlimit/rlimit.c' %
+ (root_dir, root_dir))
+
+ # Update the scripts list
diff --git a/devel/gnatpython/pkg-descr b/devel/gnatpython/pkg-descr
new file mode 100644
index 000000000000..6be9b6b2d190
--- /dev/null
+++ b/devel/gnatpython/pkg-descr
@@ -0,0 +1,5 @@
+GNATPython is a python package to ease development of testsuites and/or
+build scripts in a portable way. It is an extension to Ada which exports
+GNAT.Expect.TTY and requires the GNAT AUX compiler.
+
+WWW: https://forge.open-do.org/projects/gnatpython