pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-peng: cleanups



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Oct 3 14:47:48 2016 +0200
Changeset:	cd9df3aae20b7106b8bded7a9f2f8da4b13a8e08

Modified Files:
	py-peng/Makefile

Log Message:
py-peng: cleanups

Use MASTER_SITE_PYPI.
Fix interpreter in installed files.
Remove unnecessary WRKSRC.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cd9df3aae20b7106b8bded7a9f2f8da4b13a8e08

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-peng/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-peng/Makefile b/py-peng/Makefile
index 80f7611..c8bc65c 100644
--- a/py-peng/Makefile
+++ b/py-peng/Makefile
@@ -3,16 +3,19 @@
 DISTNAME=	peng-1.0.1
 PKGNAME=        ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel
-MASTER_SITES=	https://pypi.python.org/packages/92/e8/6a85f20f241c98db5dd6efd9877364067174bbfe690ea59afc191be92df0/
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/peng/}
 
 MAINTAINER=	kamelderouiche%yahoo.com@localhost
 HOMEPAGE=	http://github.com/pmacosta/peng/
 COMMENT=	This package provides engineering-related classes and functions
 LICENSE=	mit
 
-WRKSRC=		${WRKDIR}/peng-1.0.1
-
 USE_LANGUAGES=	# none
+USE_TOOLS+=	bash:run
+REPLACE_BASH+=	sbin/*.sh
+REPLACE_PYTHON+=	docs/support/*.py
+REPLACE_PYTHON+=	sbin/*.py
 
+.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index