pkgsrc-WIP-changes archive

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

Use fetch/ github.mk. Remove extraneous PLIST_SUBST settings. Remove mention of python 2.6.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Mon Feb 29 19:41:43 2016 +0100
Changeset:	d4b1caa64e1e4ab1b90e702c8498cb496a87a963

Modified Files:
	py-eapi/Makefile

Log Message:
Use fetch/github.mk.
Remove extraneous PLIST_SUBST settings.
Remove mention of python 2.6.

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

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

diffstat:
 py-eapi/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diffs:
diff --git a/py-eapi/Makefile b/py-eapi/Makefile
index cb82d92..96cbdb0 100644
--- a/py-eapi/Makefile
+++ b/py-eapi/Makefile
@@ -3,19 +3,20 @@
 DISTNAME=	pyeapi-0.6.0
 PKGNAME=	${DISTNAME:S/^py/${PYPKGPREFIX}-/}
 CATEGORIES=	net python
-MASTER_SITES=	-https://github.com/arista-eosplus/pyeapi/archive/v${PKGVERSION_NOREV}${EXTRACT_SUFX}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=arista-eosplus/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/fooelisa/${PKGBASE}
 COMMENT=	Library for Arista's eAPI command API implementation
 LICENSE=	modified-bsd
 
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
 DEPENDS+=	${PYPKGPREFIX}-netaddr-[0-9]*:../../net/py-netaddr
 
 USE_LANGUAGES=	# none
-PLIST_SUBST+=	PYVERSUFFIX=${PYVERSUFFIX}
-PLIST_SUBST+=	PYPKGPREFIX=${PYPKGPREFIX}
-PYTHON_VERSIONS_ACCEPTED=	35 34 33 27 26
+PYTHON_VERSIONS_ACCEPTED=	35 34 33 27
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index