pkgsrc-WIP-changes archive

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

Omit installing too-generically-named test files.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Mon Jun 19 14:57:11 2017 +0200
Changeset:	fe27491875905ed8b6b012edbef336881ae8c80d

Modified Files:
	py-napalm-iosxr/Makefile
	py-napalm-iosxr/PLIST

Log Message:
Omit installing too-generically-named test files.

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

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

diffstat:
 py-napalm-iosxr/Makefile |  2 +-
 py-napalm-iosxr/PLIST    | 12 ------------
 2 files changed, 1 insertion(+), 13 deletions(-)

diffs:
diff --git a/py-napalm-iosxr/Makefile b/py-napalm-iosxr/Makefile
index 1d72d24707..aab86c557b 100644
--- a/py-napalm-iosxr/Makefile
+++ b/py-napalm-iosxr/Makefile
@@ -17,7 +17,7 @@ DEPENDS+=	${PYPKGPREFIX}-netaddr-[0-9]*:../../net/py-netaddr
 
 # Mistakenly installed, prone to name conflicts (e.g. with napalm-base)
 post-install:
-	rm -f ${DESTDIR}/${PREFIX}/${PYSITELIB}/test/__init__.*
+	rm -rf ${DESTDIR}/${PREFIX}/${PYSITELIB}/test/
 
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-napalm-iosxr/PLIST b/py-napalm-iosxr/PLIST
index 3b687aa4f6..4099ce73c1 100644
--- a/py-napalm-iosxr/PLIST
+++ b/py-napalm-iosxr/PLIST
@@ -25,15 +25,3 @@ ${PYSITELIB}/napalm_iosxr/templates/set_ntp_servers.j2
 ${PYSITELIB}/napalm_iosxr/templates/set_probes.j2
 ${PYSITELIB}/napalm_iosxr/templates/set_users.j2
 ${PYSITELIB}/napalm_iosxr/templates/snmp_config.j2
-${PYSITELIB}/test/unit/TestIOSXRDriver.py
-${PYSITELIB}/test/unit/TestIOSXRDriver.pyc
-${PYSITELIB}/test/unit/TestIOSXRDriver.pyo
-${PYSITELIB}/test/unit/__init__.py
-${PYSITELIB}/test/unit/__init__.pyc
-${PYSITELIB}/test/unit/__init__.pyo
-${PYSITELIB}/test/unit/conftest.py
-${PYSITELIB}/test/unit/conftest.pyc
-${PYSITELIB}/test/unit/conftest.pyo
-${PYSITELIB}/test/unit/test_getters.py
-${PYSITELIB}/test/unit/test_getters.pyc
-${PYSITELIB}/test/unit/test_getters.pyo


Home | Main Index | Thread Index | Old Index