git: f9b8277761b7 - main - devel/py-pcpp: New port: C99 preprocessor written in pure Python
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Apr 2024 03:26:11 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f9b8277761b7dee712e6d058d034ecd7bd37c17e commit f9b8277761b7dee712e6d058d034ecd7bd37c17e Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-04-26 03:02:07 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-04-26 03:26:05 +0000 devel/py-pcpp: New port: C99 preprocessor written in pure Python --- devel/Makefile | 1 + devel/py-pcpp/Makefile | 19 +++++++++++++++++++ devel/py-pcpp/distinfo | 3 +++ devel/py-pcpp/pkg-descr | 3 +++ 4 files changed, 26 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 5440e3313dc4..1644066a6967 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5210,6 +5210,7 @@ SUBDIR += py-pbr SUBDIR += py-pbs-installer SUBDIR += py-pcodedmp + SUBDIR += py-pcpp SUBDIR += py-pdm SUBDIR += py-pdm-autoexport SUBDIR += py-pdm-backend diff --git a/devel/py-pcpp/Makefile b/devel/py-pcpp/Makefile new file mode 100644 index 000000000000..d5d083021175 --- /dev/null +++ b/devel/py-pcpp/Makefile @@ -0,0 +1,19 @@ +PORTNAME= pcpp +DISTVERSION= 1.30 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C99 preprocessor written in pure Python +WWW= https://github.com/ned14/pcpp + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= python +USE_PYTHON= distutils concurrent autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-pcpp/distinfo b/devel/py-pcpp/distinfo new file mode 100644 index 000000000000..df96b40f8b64 --- /dev/null +++ b/devel/py-pcpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714099807 +SHA256 (pcpp-1.30.tar.gz) = 5af9fbce55f136d7931ae915fae03c34030a3b36c496e72d9636cedc8e2543a1 +SIZE (pcpp-1.30.tar.gz) = 94283 diff --git a/devel/py-pcpp/pkg-descr b/devel/py-pcpp/pkg-descr new file mode 100644 index 000000000000..6bb629e60e47 --- /dev/null +++ b/devel/py-pcpp/pkg-descr @@ -0,0 +1,3 @@ +pcpp is a pure universal Python C (pre-)preprocessor implementation very useful +for pre-preprocessing header only C++ libraries into single file includes and +other such build or packaging stage malarky.