pkgsrc-WIP-changes archive

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

Use fetch/github.mk. Remove superflous PLIST_SUBST settings. Use " pax -rw -pp" instead of just "pax -rw" . Add dependency on py-junos-netconify, now that it's packaged.



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

Modified Files:
	ansible-junos-stdlib/Makefile

Log Message:
Use fetch/github.mk.
Remove superflous PLIST_SUBST settings.
Use "pax -rw -pp" instead of just "pax -rw".
Add dependency on py-junos-netconify, now that it's packaged.

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

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

diffstat:
 ansible-junos-stdlib/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diffs:
diff --git a/ansible-junos-stdlib/Makefile b/ansible-junos-stdlib/Makefile
index df2283a..99e2d15 100644
--- a/ansible-junos-stdlib/Makefile
+++ b/ansible-junos-stdlib/Makefile
@@ -3,7 +3,7 @@
 DISTNAME=	ansible-junos-stdlib-1.2.0
 PKGREVISION=	1
 CATEGORIES=	sysutils net
-MASTER_SITES=	-https://github.com/Juniper/${PKGBASE}/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Juniper/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/Juniper/${PKGBASE}
@@ -12,7 +12,6 @@ LICENSE=	apache-2.0
 
 USE_TOOLS=	pax bash
 USE_LANGUAGES=	# none
-PLIST_SUBST+=	PYVERSUFFIX=${PYVERSUFFIX}
 PYTHON_VERSIONS_ACCEPTED=	27 26
 
 REPLACE_PYTHON+=	docs/ansible2rst.py
@@ -24,15 +23,14 @@ REPLACE_BASH+=		env-setup
 
 DEPENDS+=	ansible>=1.5:../../sysutils/ansible
 DEPENDS+=	${PYPKGPREFIX}-junos-eznc>=1.2.2:../../net/py-junos-eznc
-# Not packaged yet
-#DEPENDS+=	${PYPKGPREFIX}-netconify>=1.0.1:../../wip/py-netconify
+DEPENDS+=	${PYPKGPREFIX}-junos-netconify>=1.0.1:../../wip/py-junos-netconify
 
 INSTALLATION_DIRS=	${PREFIX}/share/ansible/roles/Juniper.junos
 
 do-build:
 
 do-install:
-	(cd ${WRKSRC}; pax -rw . ${DESTDIR}/${PREFIX}/share/ansible/roles/Juniper.junos)
+	(cd ${WRKSRC}; pax -rw -pp . ${DESTDIR}/${PREFIX}/share/ansible/roles/Juniper.junos)
 
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index