Date: Sat, 6 Jan 2018 10:02:43 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458238 - in head/net: miniupnpc/files py-miniupnpc Message-ID: <201801061002.w06A2hOu066222@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Sat Jan 6 10:02:43 2018 New Revision: 458238 URL: https://svnweb.freebsd.org/changeset/ports/458238 Log: Remove the use of submake, and use the parent's port shared library instead. While there, remove an obsolete sed line that does not match anything. Sponsored by: Absolight Added: head/net/miniupnpc/files/patch-setup.py (contents, props changed) Modified: head/net/py-miniupnpc/Makefile (contents, props changed) Added: head/net/miniupnpc/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/miniupnpc/files/patch-setup.py Sat Jan 6 10:02:43 2018 (r458238) @@ -0,0 +1,10 @@ +--- setup.py.orig 2018-01-06 09:33:40 UTC ++++ setup.py +@@ -23,6 +23,6 @@ setup(name="miniupnpc", + description='miniUPnP client', + ext_modules=[ + Extension(name="miniupnpc", sources=["miniupnpcmodule.c"], +- extra_objects=["libminiupnpc.a"]) ++ libraries=["miniupnpc"]) + ]) + Modified: head/net/py-miniupnpc/Makefile ============================================================================== --- head/net/py-miniupnpc/Makefile Sat Jan 6 09:26:24 2018 (r458237) +++ head/net/py-miniupnpc/Makefile Sat Jan 6 10:02:43 2018 (r458238) @@ -1,11 +1,12 @@ # $FreeBSD$ CATEGORIES= net python +PORTREVISION= 1 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} COMMENT= Python module for miniupnpc -BUILD_DEPENDS= ${NONEXISTENT}:net/miniupnpc:build +LIB_DEPENDS= libminiupnpc.so:net/miniupnpc MASTERDIR= ${.CURDIR}/../miniupnpc @@ -13,13 +14,6 @@ USES= python USE_PYTHON= autoplist distutils PLIST= ${.CURDIR}/pkg-plist - -post-patch: - ${REINPLACE_CMD} 's/\(version\)="[^"]*"/\1="${PORTVERSION}"/' \ - ${WRKSRC}/setup.py - -pre-build: - ${CP} $$(${SETENV} -u FLAVOR make -C ${MASTERDIR} -V WRKSRC)/libminiupnpc.a ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/miniupnpc.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801061002.w06A2hOu066222>