pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Don't install generically-named test files...
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Mon Jun 19 14:52:47 2017 +0200
Changeset: 54f0d42f32b8b5dbed6bc5555ef4a92509034fa4
Modified Files:
py-napalm-nxos/Makefile
py-napalm-nxos/PLIST
Log Message:
Don't install 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=54f0d42f32b8b5dbed6bc5555ef4a92509034fa4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-napalm-nxos/Makefile | 3 +++
py-napalm-nxos/PLIST | 15 ---------------
2 files changed, 3 insertions(+), 15 deletions(-)
diffs:
diff --git a/py-napalm-nxos/Makefile b/py-napalm-nxos/Makefile
index 1e716f68ff..4277d295d5 100644
--- a/py-napalm-nxos/Makefile
+++ b/py-napalm-nxos/Makefile
@@ -17,5 +17,8 @@ DEPENDS+= ${PYPKGPREFIX}-netaddr-[0-9]*:../../net/py-netaddr
DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
DEPENDS+= ${PYPKGPREFIX}-scp-[0-9]*:../../net/py-scp
+post-install:
+ rm -rf ${DESTDIR}/${PREFIX}/${PYSITELIB}/test/
+
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-napalm-nxos/PLIST b/py-napalm-nxos/PLIST
index 3d79212c79..3ad6ebf731 100644
--- a/py-napalm-nxos/PLIST
+++ b/py-napalm-nxos/PLIST
@@ -25,18 +25,3 @@ ${PYSITELIB}/napalm_nxos/utils/__init__.pyo
${PYSITELIB}/napalm_nxos/utils/textfsm_templates/lldp_neighbors.tpl
${PYSITELIB}/napalm_nxos/utils/textfsm_templates/snmp_config.tpl
${PYSITELIB}/napalm_nxos/utils/textfsm_templates/users.tpl
-${PYSITELIB}/test/__init__.py
-${PYSITELIB}/test/__init__.pyc
-${PYSITELIB}/test/__init__.pyo
-${PYSITELIB}/test/unit/TestDriver.py
-${PYSITELIB}/test/unit/TestDriver.pyc
-${PYSITELIB}/test/unit/TestDriver.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