Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2021 13:42:47 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 79b8c5384e39 - main - devel/py-ctypesgen: Add py-ctypesgen 1.0.2
Message-ID:  <202106251342.15PDglfX083442@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=79b8c5384e39171c2e1e177f766e5d83aff3ea19

commit 79b8c5384e39171c2e1e177f766e5d83aff3ea19
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-06-25 13:33:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-06-25 13:33:51 +0000

    devel/py-ctypesgen: Add py-ctypesgen 1.0.2
    
    ctypesgen is a pure-python ctypes wrapper generator. It can also output JSON,
    which can be used with Mork, which generates bindings for Lua, using the alien
    module (which binds libffi to Lua).
    
    WWW: https://github.com/davidjamesca/ctypesgen
---
 devel/Makefile               |  1 +
 devel/py-ctypesgen/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-ctypesgen/distinfo  |  3 +++
 devel/py-ctypesgen/pkg-descr |  5 +++++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index bac8aa4aae55..50de76449f46 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4322,6 +4322,7 @@
     SUBDIR += py-cson
     SUBDIR += py-csv23
     SUBDIR += py-ctags
+    SUBDIR += py-ctypesgen
     SUBDIR += py-curio
     SUBDIR += py-cursive
     SUBDIR += py-curtsies
diff --git a/devel/py-ctypesgen/Makefile b/devel/py-ctypesgen/Makefile
new file mode 100644
index 000000000000..299fcb5140f6
--- /dev/null
+++ b/devel/py-ctypesgen/Makefile
@@ -0,0 +1,25 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	ctypesgen
+PORTVERSION=	1.0.2
+DISTVERSIONPREFIX=	ctypesgen-
+CATEGORIES=	devel python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python wrapper generator for ctypes
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.6+ shebangfix
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	davidjamesca
+
+SHEBANG_FILES=	ctypesgen/test/testsuite.py
+
+.include <bsd.port.mk>
diff --git a/devel/py-ctypesgen/distinfo b/devel/py-ctypesgen/distinfo
new file mode 100644
index 000000000000..18ea922e35bc
--- /dev/null
+++ b/devel/py-ctypesgen/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1624189673
+SHA256 (davidjamesca-ctypesgen-ctypesgen-1.0.2_GH0.tar.gz) = 409ff3984ecf2aef09008045a713d61031990e95834074bff27957430223b729
+SIZE (davidjamesca-ctypesgen-ctypesgen-1.0.2_GH0.tar.gz) = 119413
diff --git a/devel/py-ctypesgen/pkg-descr b/devel/py-ctypesgen/pkg-descr
new file mode 100644
index 000000000000..7768eeb1ccde
--- /dev/null
+++ b/devel/py-ctypesgen/pkg-descr
@@ -0,0 +1,5 @@
+ctypesgen is a pure-python ctypes wrapper generator. It can also output JSON,
+which can be used with Mork, which generates bindings for Lua, using the alien
+module (which binds libffi to Lua).
+
+WWW: https://github.com/davidjamesca/ctypesgen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106251342.15PDglfX083442>