From nobody Sat Dec 03 23:38:00 2022 X-Original-To: dev-commits-ports-main@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 4NPmT42L3Pz4jlxn; Sat, 3 Dec 2022 23:38:00 +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 4NPmT41pRnz3h99; Sat, 3 Dec 2022 23:38:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670110680; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3wiNbCQBABPSriMkEkeRo7RlYBzU8NqnqKPihcYWmJE=; b=jIeTdJhtE5r08kz7ziZjcdPaJIJerBXG9gr9L/qDERwhHhIvJEf/gf7okT3BIYfSYkIz8W XIdpx7CwTbonE6m7StXx4X4Avl4RFKusTR3s+Be9UQIBAaC2TBHt8m0kG8065rlK/3jMeJ BMunLf+SNK5cS2o7kx30e5pYW6/dpkfLvs0rfBa0G80MQ+PYqdgS+yMoGaU6eGho4VQpke b5YnH9ZnN/W9C9l1SIvH2+lDwKMz9YbngZWs4Q75Tz2B66l3Dn1GPl805JtMxX3PiWw6+P jn6qD8DHYH5Em6ZbXUPOu7qelokxdty/qePjGYD6rQbZqvMeELuEKMJ7QZMbUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670110680; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3wiNbCQBABPSriMkEkeRo7RlYBzU8NqnqKPihcYWmJE=; b=Nwsuu7wMEeyi48AGvBu+HzdNR5/05EBAQhbBK51GXQ0jssVBPp2NmUB554Nh1ehq+R8qG1 Z9Fv7kty5KtKgy9Got5d6YhfwQY8QiQSUU5zzoPCofQLQwPzH6AFqvES1r/fbgs/SKTaeh ieaGyw9nZNBMpiYec+7PS3SKHBoV+PPDsz2/DcD429I0WcHxfB9sH14UKuz16UaQ5DNDyC n3nY/ljQoCiQuyXi9c7svAHFcTYyi9ld6YBvXfB0ldcEE6cgJVZVu8VFSjf9vVRWBQfMuq sYWBXG8MFX1A9PdgsvTvxDsXTll4Z/d8zsBWUYE5ijFF5dx4zYbr8VwhYfhF0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670110680; a=rsa-sha256; cv=none; b=D3dChZ4W83E6GXU1v9TxnQsO7ZlvOIkHvTYpU8ZWlpXy1QdtSPMCZeS7I4oQ2GZpt/fYcZ Qe3kOGPF7NIbJr6GbkbBkgYlxEfIntJaDLH6YS2b3zN0jnATQO41AGdfV51ws0Z8kqR8Bi 6rUT+KGV9MsLsr3Yff+7HyVmJS+NIHsChS8LFYwhBfTLfpW9AX7O357yvL0NK9p4j2j34r MzHvy9I67IxEAeu00McNYhqD3sN7R8DnFvB/kMYXMLNafMroZd5y2kXAFqwV4+ooj1OEMy 3yHQhPmyN+gzeKM0cN5LfhgEYaLDBAgvB/4FkVjK+KfwZ9XfUK0wBHgnT7cjGQ== 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 4NPmT40t51z1Cht; Sat, 3 Dec 2022 23:38:00 +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 2B3Nc0W9047651; Sat, 3 Dec 2022 23:38:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B3Nc0oq047650; Sat, 3 Dec 2022 23:38:00 GMT (envelope-from git) Date: Sat, 3 Dec 2022 23:38:00 GMT Message-Id: <202212032338.2B3Nc0oq047650@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: d0e8fefa2bab - main - devel/py-PYB11Generator: New port: Code generator for the pybind11 C++ <-> Python language binding tool List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d0e8fefa2babb7c101256a30004da22b59ff65e6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d0e8fefa2babb7c101256a30004da22b59ff65e6 commit d0e8fefa2babb7c101256a30004da22b59ff65e6 Author: Yuri Victorovich AuthorDate: 2022-12-03 23:36:55 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-03 23:36:55 +0000 devel/py-PYB11Generator: New port: Code generator for the pybind11 C++ <-> Python language binding tool --- devel/Makefile | 1 + devel/py-PYB11Generator/Makefile | 22 ++++++++++++++++++++++ devel/py-PYB11Generator/distinfo | 3 +++ devel/py-PYB11Generator/pkg-descr | 4 ++++ devel/py-PYB11Generator/pkg-plist | 26 ++++++++++++++++++++++++++ 5 files changed, 56 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index fc2eab4043ff..862e18c92a28 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4117,6 +4117,7 @@ SUBDIR += py-Jinja2 SUBDIR += py-Jinja2-doc SUBDIR += py-Js2Py + SUBDIR += py-PYB11Generator SUBDIR += py-PeachPy SUBDIR += py-Products.ExternalEditor SUBDIR += py-Products.PloneLanguageTool diff --git a/devel/py-PYB11Generator/Makefile b/devel/py-PYB11Generator/Makefile new file mode 100644 index 000000000000..da5ddc2da7fe --- /dev/null +++ b/devel/py-PYB11Generator/Makefile @@ -0,0 +1,22 @@ +PORTNAME= PYB11Generator +DISTVERSION= 1.0.12 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Code generator for the pybind11 C++ <-> Python language binding tool +WWW= https://github.com/LLNL/PYB11Generator + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils # autoplist is broken - it prints __pycache__ items that aren't installed + +NO_ARCH= yes + +.include diff --git a/devel/py-PYB11Generator/distinfo b/devel/py-PYB11Generator/distinfo new file mode 100644 index 000000000000..fd5fcd6d97a1 --- /dev/null +++ b/devel/py-PYB11Generator/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1670106180 +SHA256 (PYB11Generator-1.0.12.tar.gz) = 0a0988e705aebf050180170b25b57e4a6c7652d2099f2ef180eed63c4712d91c +SIZE (PYB11Generator-1.0.12.tar.gz) = 65518 diff --git a/devel/py-PYB11Generator/pkg-descr b/devel/py-PYB11Generator/pkg-descr new file mode 100644 index 000000000000..31b7b269f620 --- /dev/null +++ b/devel/py-PYB11Generator/pkg-descr @@ -0,0 +1,4 @@ +PYB11Generator is a python based code generator that creates pybind11 code for +binding C++ libraries as extensions in Python. PYB11Generator parses input that +is very close to writing the desired interface in native python, turning this +into the corresponding pybind11 C++ code. diff --git a/devel/py-PYB11Generator/pkg-plist b/devel/py-PYB11Generator/pkg-plist new file mode 100644 index 000000000000..8c4583beceba --- /dev/null +++ b/devel/py-PYB11Generator/pkg-plist @@ -0,0 +1,26 @@ +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11ClassAttribute.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11Decorators.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11Publicist.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11STLmethods.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11Trampoline.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11attr.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11class.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11enum.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11function.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11property.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/PYB11utils.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/__init__.py +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11ClassAttribute%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11ClassAttribute%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11Decorators%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11Decorators%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11Publicist%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11Publicist%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11STLmethods%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11STLmethods%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11attr%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11attr%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11property%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/PYB11property%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/PYB11Generator/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc