Skip to content

Commit

Permalink
devel/py3c: bring back accidentally removed port
Browse files Browse the repository at this point in the history
The port was accidentally dropped in b7f0544

- Removed 'Created by  lev@FreeBSD.org'.
  • Loading branch information
tcberner committed Sep 8, 2022
1 parent be2c6eb commit fe7b3c1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion devel/Makefile
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions 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>
6 changes: 6 additions & 0 deletions 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

0 comments on commit fe7b3c1

Please sign in to comment.