From nobody Thu Oct 28 08:41:27 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9204E181BF43; Thu, 28 Oct 2021 08:41:27 +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 4HfzYg3cmHz4v72; Thu, 28 Oct 2021 08:41:27 +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 51F56208D8; Thu, 28 Oct 2021 08:41:27 +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 19S8fRlG069903; Thu, 28 Oct 2021 08:41:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19S8fRGS069902; Thu, 28 Oct 2021 08:41:27 GMT (envelope-from git) Date: Thu, 28 Oct 2021 08:41:27 GMT Message-Id: <202110280841.19S8fRGS069902@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: c5067c3e7ef4 - main - devel/py-cymbal: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c5067c3e7ef42ebe1b7ad44cc436371e65d1d913 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=c5067c3e7ef42ebe1b7ad44cc436371e65d1d913 commit c5067c3e7ef42ebe1b7ad44cc436371e65d1d913 Author: Neal Nelson AuthorDate: 2021-10-28 04:20:43 +0000 Commit: Yasuhiro Kimura CommitDate: 2021-10-28 08:40:42 +0000 devel/py-cymbal: Add new port Cymbal makes it easy to add functionality missing from libclang Python bindings The Clang libclang python bindings use ctypes to invoke functions present in libclang dynamic library. In some cases, only a subset of the C functions are available, because the platform or version specific Python bindings omit functions. Cymbal simplfies the process of dynamically adding those methods to Types and Cursors. PR: 256925 --- devel/Makefile | 1 + devel/py-cymbal/Makefile | 22 ++++++++++++++++++++++ devel/py-cymbal/distinfo | 3 +++ devel/py-cymbal/pkg-descr | 10 ++++++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7071a721ef14..9f394ba50ed4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4390,6 +4390,7 @@ SUBDIR += py-cwcwidth SUBDIR += py-cxx SUBDIR += py-cycler + SUBDIR += py-cymbal SUBDIR += py-cymem SUBDIR += py-cysignals SUBDIR += py-cytoolz diff --git a/devel/py-cymbal/Makefile b/devel/py-cymbal/Makefile new file mode 100644 index 000000000000..cbf597f66f55 --- /dev/null +++ b/devel/py-cymbal/Makefile @@ -0,0 +1,22 @@ +PORTNAME= cymbal +DISTVERSION= 1.0.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ports@nicandneal.net +COMMENT= Easily add functionality missing from libclang Python bindings + +LICENSE= MIT + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>0:devel/py-unittest2@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +TEST_TARGET= test + +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} -m unittest2 discover + +.include diff --git a/devel/py-cymbal/distinfo b/devel/py-cymbal/distinfo new file mode 100644 index 000000000000..7da20799d163 --- /dev/null +++ b/devel/py-cymbal/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1626094156 +SHA256 (cymbal-1.0.0.tar.gz) = 1c79a00190bc8646505392b904e6e76410e98018f96f247ff7d363365241e2e0 +SIZE (cymbal-1.0.0.tar.gz) = 4145 diff --git a/devel/py-cymbal/pkg-descr b/devel/py-cymbal/pkg-descr new file mode 100644 index 000000000000..ad292a17beea --- /dev/null +++ b/devel/py-cymbal/pkg-descr @@ -0,0 +1,10 @@ +Cymbal makes it easy to add functionality missing from libclang Python +bindings + +The Clang libclang python bindings use ctypes to invoke functions +present in libclang dynamic library. In some cases, only a subset of +the C functions are available, because the platform or version +specific Python bindings omit functions. Cymbal simplfies the process +of dynamically adding those methods to Types and Cursors. + +WWW: https://github.com/CadQuery/cymbal