From owner-dev-commits-ports-all@freebsd.org Fri Jun 25 13:42:47 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5ED5A661427; Fri, 25 Jun 2021 13:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GBJ931tTSz4V2R; Fri, 25 Jun 2021 13:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 293B24507; Fri, 25 Jun 2021 13:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15PDglB2083443; Fri, 25 Jun 2021 13:42:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15PDglfX083442; Fri, 25 Jun 2021 13:42:47 GMT (envelope-from git) Date: Fri, 25 Jun 2021 13:42:47 GMT Message-Id: <202106251342.15PDglfX083442@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 79b8c5384e39 - main - devel/py-ctypesgen: Add py-ctypesgen 1.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 79b8c5384e39171c2e1e177f766e5d83aff3ea19 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2021 13:42:47 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=79b8c5384e39171c2e1e177f766e5d83aff3ea19 commit 79b8c5384e39171c2e1e177f766e5d83aff3ea19 Author: Po-Chuan Hsieh AuthorDate: 2021-06-25 13:33:51 +0000 Commit: Po-Chuan Hsieh 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 + +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 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