Received: by mail.netbsd.org (Postfix, from userid 605) id 08ADD84E6F; Thu, 31 May 2018 20:07:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 48EBE84E6E for ; Thu, 31 May 2018 20:07:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id PiekDYfY8UiC for ; Thu, 31 May 2018 20:07:00 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 927A484D39 for ; Thu, 31 May 2018 20:07:00 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 834FAFBEC; Thu, 31 May 2018 20:07:00 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1527797220235260" MIME-Version: 1.0 Date: Thu, 31 May 2018 20:07:00 +0000 From: "Benny Siegert" Subject: CVS commit: pkgsrc/devel/py-gflags To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20180531200700.834FAFBEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1527797220235260 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bsiegert Date: Thu May 31 20:07:00 UTC 2018 Modified Files: pkgsrc/devel/py-gflags: Makefile PLIST Added Files: pkgsrc/devel/py-gflags: ALTERNATIVES Log Message: Fix installation of the gflags2man script. - install with a name that contains the Python version - add alternatives file - correctly mark script executable - bump revision. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-gflags/ALTERNATIVES cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-gflags/Makefile cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-gflags/PLIST Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1527797220235260 Content-Disposition: inline Content-Length: 1828 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-gflags/Makefile diff -u pkgsrc/devel/py-gflags/Makefile:1.8 pkgsrc/devel/py-gflags/Makefile:1.9 --- pkgsrc/devel/py-gflags/Makefile:1.8 Fri May 25 02:08:36 2018 +++ pkgsrc/devel/py-gflags/Makefile Thu May 31 20:07:00 2018 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2018/05/25 02:08:36 bsiegert Exp $ +# $NetBSD: Makefile,v 1.9 2018/05/31 20:07:00 bsiegert Exp $ DISTNAME= python-gflags-3.1.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-gflags/} @@ -16,6 +16,10 @@ PYDISTUTILSPKG= yes DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six +post-install: + ${MV} ${DESTDIR}${PREFIX}/bin/gflags2man.py ${DESTDIR}${PREFIX}/bin/gflags2man${PYVERSSUFFIX}.py + ${CHMOD} +x ${DESTDIR}${PREFIX}/bin/gflags2man${PYVERSSUFFIX}.py + .include "../../lang/python/application.mk" .include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-gflags/PLIST diff -u pkgsrc/devel/py-gflags/PLIST:1.3 pkgsrc/devel/py-gflags/PLIST:1.4 --- pkgsrc/devel/py-gflags/PLIST:1.3 Fri May 25 02:08:36 2018 +++ pkgsrc/devel/py-gflags/PLIST Thu May 31 20:07:00 2018 @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.3 2018/05/25 02:08:36 bsiegert Exp $ -bin/gflags2man.py +@comment $NetBSD: PLIST,v 1.4 2018/05/31 20:07:00 bsiegert Exp $ +bin/gflags2man${PYVERSSUFFIX}.py ${PYSITELIB}/gflags/__init__.py ${PYSITELIB}/gflags/__init__.pyc ${PYSITELIB}/gflags/__init__.pyo Added files: Index: pkgsrc/devel/py-gflags/ALTERNATIVES diff -u /dev/null pkgsrc/devel/py-gflags/ALTERNATIVES:1.1 --- /dev/null Thu May 31 20:07:00 2018 +++ pkgsrc/devel/py-gflags/ALTERNATIVES Thu May 31 20:07:00 2018 @@ -0,0 +1 @@ +bin/gflags2man.py @PREFIX@/bin/gflags2man@PYVERSSUFFIX@.py --_----------=_1527797220235260--