Date: Tue, 2 Jun 2020 13:00:02 +0000 (UTC) From: "Lev A. Serebryakov" <lev@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r537542 - in head/devel: . py3c py3c/files Message-ID: <202006021300.052D02cJ058839@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lev Date: Tue Jun 2 13:00:01 2020 New Revision: 537542 URL: https://svnweb.freebsd.org/changeset/ports/537542 Log: Add new port: py3c. py3c is heade-only library which helps you port C extensions to Python 3. It is needed for Subversion python bindings for version 1.14.0. Approved by: portmgr Added: head/devel/py3c/ head/devel/py3c/Makefile (contents, props changed) head/devel/py3c/distinfo (contents, props changed) head/devel/py3c/files/ head/devel/py3c/files/patch-Makefile (contents, props changed) head/devel/py3c/pkg-descr (contents, props changed) head/devel/py3c/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Jun 2 12:17:02 2020 (r537541) +++ head/devel/Makefile Tue Jun 2 13:00:01 2020 (r537542) @@ -5273,6 +5273,7 @@ SUBDIR += py-zope.traversing SUBDIR += py-zsm-lib SUBDIR += py_static_check + SUBDIR += py3c SUBDIR += pybind11 SUBDIR += pybugz SUBDIR += pycanberra Added: head/devel/py3c/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py3c/Makefile Tue Jun 2 13:00:01 2020 (r537542) @@ -0,0 +1,29 @@ +# Created by: lev@FreeBSD.org +# $FreeBSD$ + +PORTNAME= py3c +PORTVERSION= 1.0 +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 +GH_TAGNAME= v${PORTVERSION} + +NO_BUILD= yes + +do-install: + @${MAKE_CMD} \ + prefix=${PREFIX} \ + pkgconfigdir=${PREFIX}/libdata/pkgconfig \ + DESTDIR=${STAGEDIR} \ + -C ${WRKSRC} \ + install + +.include <bsd.port.mk> Added: head/devel/py3c/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py3c/distinfo Tue Jun 2 13:00:01 2020 (r537542) @@ -0,0 +1,3 @@ +TIMESTAMP = 1590936933 +SHA256 (encukou-py3c-1.0-v1.0_GH0.tar.gz) = f97fbc2eb5187df2499c3d5cf6c23ee0dac046eb0a88d67eea5e444cf116cd8e +SIZE (encukou-py3c-1.0-v1.0_GH0.tar.gz) = 45666 Added: head/devel/py3c/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py3c/files/patch-Makefile Tue Jun 2 13:00:01 2020 (r537542) @@ -0,0 +1,20 @@ +--- Makefile.orig 2018-02-06 13:31:05 UTC ++++ Makefile +@@ -42,12 +42,12 @@ py3c.pc: py3c.pc.in $(includedir) + sed -e's:@includedir@:$(realpath $(includedir)):' $< > $@ + + install: py3c.pc +- mkdir -p -m 0755 $(includedir)/py3c +- install -m 0644 include/py3c.h $(includedir)/py3c.h +- install -m 0644 $(wildcard include/py3c/*.h) $(includedir)/py3c/ ++ mkdir -p -m 0755 $(DESTDIR)$(includedir)/py3c ++ install -m 0644 include/py3c.h $(DESTDIR)$(includedir)/py3c.h ++ install -m 0644 $(wildcard include/py3c/*.h) $(DESTDIR)$(includedir)/py3c/ + +- mkdir -p -m 0755 $(pkgconfigdir) +- install -m 0644 py3c.pc $(pkgconfigdir)/ ++ mkdir -p -m 0755 $(DESTDIR)$(pkgconfigdir) ++ install -m 0644 py3c.pc $(DESTDIR)$(pkgconfigdir)/ + + clean: + rm py3c.pc ||: Added: head/devel/py3c/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py3c/pkg-descr Tue Jun 2 13:00:01 2020 (r537542) @@ -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 Added: head/devel/py3c/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py3c/pkg-plist Tue Jun 2 13:00:01 2020 (r537542) @@ -0,0 +1,8 @@ +include/py3c.h +include/py3c/capsulethunk.h +include/py3c/comparison.h +include/py3c/compat.h +include/py3c/fileshim.h +include/py3c/py3shims.h +include/py3c/tpflags.h +libdata/pkgconfig/py3c.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006021300.052D02cJ058839>