From owner-svn-ports-all@freebsd.org Sat Jan 6 11:59:46 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 708C0EB5954; Sat, 6 Jan 2018 11:59:46 +0000 (UTC) (envelope-from antoine@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 42BCF6AB85; Sat, 6 Jan 2018 11:59:46 +0000 (UTC) (envelope-from antoine@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 4BB8212123; Sat, 6 Jan 2018 11:59:45 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w06BxjKR012932; Sat, 6 Jan 2018 11:59:45 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w06Bxie8012930; Sat, 6 Jan 2018 11:59:44 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201801061159.w06Bxie8012930@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sat, 6 Jan 2018 11:59:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r458243 - in branches/2018Q1/net: miniupnpc/files py-miniupnpc X-SVN-Group: ports-branches X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: in branches/2018Q1/net: miniupnpc/files py-miniupnpc X-SVN-Commit-Revision: 458243 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 11:59:46 -0000 Author: antoine Date: Sat Jan 6 11:59:44 2018 New Revision: 458243 URL: https://svnweb.freebsd.org/changeset/ports/458243 Log: MFH: r458235 r458238 Fix after empty FLAVOR as make argument was forbidden 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. Added: branches/2018Q1/net/miniupnpc/files/patch-setup.py - copied unchanged from r458238, head/net/miniupnpc/files/patch-setup.py Modified: branches/2018Q1/net/py-miniupnpc/Makefile Directory Properties: branches/2018Q1/ (props changed) Copied: branches/2018Q1/net/miniupnpc/files/patch-setup.py (from r458238, head/net/miniupnpc/files/patch-setup.py) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q1/net/miniupnpc/files/patch-setup.py Sat Jan 6 11:59:44 2018 (r458243, copy of r458238, head/net/miniupnpc/files/patch-setup.py) @@ -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: branches/2018Q1/net/py-miniupnpc/Makefile ============================================================================== --- branches/2018Q1/net/py-miniupnpc/Makefile Sat Jan 6 10:49:36 2018 (r458242) +++ branches/2018Q1/net/py-miniupnpc/Makefile Sat Jan 6 11:59:44 2018 (r458243) @@ -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} $$(make FLAVOR= -C ${MASTERDIR} -V WRKSRC)/libminiupnpc.a ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/miniupnpc.so