git: fe7b3c137341 - main - devel/py3c: bring back accidentally removed port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Sep 2022 07:20:51 UTC
The branch main has been updated by tcberner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fe7b3c1373416cbde4053a15270f91b1273da39a
commit fe7b3c1373416cbde4053a15270f91b1273da39a
Author: Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-09-08 06:40:22 +0000
Commit: Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-09-08 07:20:27 +0000
devel/py3c: bring back accidentally removed port
The port was accidentally dropped in b7f05445c00f2625aa19b4154ebcbce5ed2daa52
- Removed 'Created by lev@FreeBSD.org'.
---
devel/Makefile | 2 +-
devel/py3c/Makefile | 26 ++++++++++++++++++++++++++
devel/py3c/pkg-descr | 6 ++++++
3 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/devel/Makefile b/devel/Makefile
index 6a8e048a279f..b97595dce96e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5585,7 +5585,7 @@
SUBDIR += py-zope.testbrowser
SUBDIR += py-zope.testing
SUBDIR += py-zope.traversing
-# SUBDIR += py3c
+ SUBDIR += py3c
SUBDIR += pybind11
SUBDIR += pybugz
SUBDIR += pycanberra
diff --git a/devel/py3c/Makefile b/devel/py3c/Makefile
new file mode 100644
index 000000000000..3a8faa581969
--- /dev/null
+++ b/devel/py3c/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= py3c
+PORTVERSION= 1.3
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+
+MAINTAINER= lev@FreeBSD.org
+COMMENT= Py3c helps you port C extensions to Python 3
+
+LICENSE= MIT
+
+USES= gmake
+
+USE_GITHUB= yes
+GH_ACCOUNT= encukou
+
+NO_BUILD= yes
+
+do-install:
+ @${MAKE_CMD} \
+ prefix=${PREFIX} \
+ pkgconfigdir=${PREFIX}/libdata/pkgconfig \
+ DESTDIR=${STAGEDIR} \
+ -C ${WRKSRC} \
+ install
+
+.include <bsd.port.mk>
diff --git a/devel/py3c/pkg-descr b/devel/py3c/pkg-descr
new file mode 100644
index 000000000000..b1b69bf04c13
--- /dev/null
+++ b/devel/py3c/pkg-descr
@@ -0,0 +1,6 @@
+py3c helps you port C extensions to Python 3.
+
+It provides a detailed guide, and a set of macros
+to make porting easy and reduce boilerplate.
+
+WWW: https://github.com/encukou/py3c