From owner-svn-ports-all@freebsd.org Sat Jan 6 10:02:45 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B162EA67CC; Sat, 6 Jan 2018 10:02:45 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6FA97FA42; Sat, 6 Jan 2018 10:02:44 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C5DDE10EC3; Sat, 6 Jan 2018 10:02:43 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w06A2hbO066224; Sat, 6 Jan 2018 10:02:43 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w06A2hOu066222; Sat, 6 Jan 2018 10:02:43 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201801061002.w06A2hOu066222@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Sat, 6 Jan 2018 10:02:43 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: mat X-SVN-Commit-Paths: in head/net: miniupnpc/files py-miniupnpc X-SVN-Commit-Revision: 458238 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 10:02:45 -0000 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