pkgsrc-WIP-changes archive

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

Make an upstreamable fix for "don't install test/ directories".



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Mon Jun 19 20:36:21 2017 +0200
Changeset:	c1726b1ac4aa02d05f56515ccc24b1cda3832052

Added Files:
	py-napalm-nxos/patches/patch-setup.py

Log Message:
Make an upstreamable fix for "don't install test/ directories".

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

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

diffstat:
 py-napalm-nxos/patches/patch-setup.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diffs:
diff --git a/py-napalm-nxos/patches/patch-setup.py b/py-napalm-nxos/patches/patch-setup.py
new file mode 100644
index 0000000000..8a0c747a99
--- /dev/null
+++ b/py-napalm-nxos/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Don't install tests.
+
+--- setup.py.orig	2017-04-25 18:40:15.000000000 +0000
++++ setup.py
+@@ -13,7 +13,7 @@ reqs = [str(ir.req) for ir in install_re
+ setup(
+     name="napalm-nxos",
+     version="0.5.2",
+-    packages=find_packages(),
++    packages=find_packages(exclude=["test", "test.*"]),
+     author="David Barroso",
+     author_email="dbarrosop%dravetech.com@localhost",
+     description="Network Automation and Programmability Abstraction Layer with Multivendor support",


Home | Main Index | Thread Index | Old Index