pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Comment out modules which have not yet been packaged, to allow this to work with what we've got so far. Bump PKGREVISION.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Thu Feb 25 16:23:37 2016 +0100
Changeset: a637cc418b5cea8b93e38ac65938764eefd66002
Modified Files:
py-napalm/Makefile
py-napalm/distinfo
Added Files:
py-napalm/patches/patch-napalm_____init____.py
Log Message:
Comment out modules which have not yet been packaged,
to allow this to work with what we've got so far.
Bump PKGREVISION.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a637cc418b5cea8b93e38ac65938764eefd66002
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-napalm/Makefile | 2 +-
py-napalm/distinfo | 1 +
py-napalm/patches/patch-napalm_____init____.py | 34 ++++++++++++++++++++++++++
3 files changed, 36 insertions(+), 1 deletion(-)
diffs:
diff --git a/py-napalm/Makefile b/py-napalm/Makefile
index a3a474c..90ce122 100644
--- a/py-napalm/Makefile
+++ b/py-napalm/Makefile
@@ -2,7 +2,7 @@
DISTNAME= napalm-0.51.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= -https://github.com/napalm-automation/napalm/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX}
diff --git a/py-napalm/distinfo b/py-napalm/distinfo
index 38c091c..54c5b30 100644
--- a/py-napalm/distinfo
+++ b/py-napalm/distinfo
@@ -4,3 +4,4 @@ SHA1 (napalm-0.51.0.tar.gz) = 0e6d1737799aa705d6d62e74ebe3c879196b5c73
RMD160 (napalm-0.51.0.tar.gz) = d77028e76ed653304fca19cfea444b971b320943
SHA512 (napalm-0.51.0.tar.gz) = 99d749a50ee7d09c1a0de994055d86fd5f9603daa14fd73c847ffe9dc6ed8315d27758c16cb22a8d8dfcc031d80f24e41b0870b1b52d60530df167677661cd56
Size (napalm-0.51.0.tar.gz) = 292674 bytes
+SHA1 (patch-napalm_____init____.py) = 94c69335ab934fae9f17bc242dc1ff27e6bf96e6
diff --git a/py-napalm/patches/patch-napalm_____init____.py b/py-napalm/patches/patch-napalm_____init____.py
new file mode 100644
index 0000000..6ef9377
--- /dev/null
+++ b/py-napalm/patches/patch-napalm_____init____.py
@@ -0,0 +1,34 @@
+$NetBSD$
+
+--- napalm/__init__.py.orig 2016-02-08 08:22:24.000000000 +0000
++++ napalm/__init__.py
+@@ -15,10 +15,10 @@
+ from eos import EOSDriver
+ from iosxr import IOSXRDriver
+ from junos import JunOSDriver
+-from fortios import FortiOSDriver
+-from nxos import NXOSDriver
+-from ibm import IBMDriver
+-from ios import IOSDriver
++# from fortios import FortiOSDriver
++# from nxos import NXOSDriver
++# from ibm import IBMDriver
++# from ios import IOSDriver
+
+ def get_network_driver(vendor):
+ driver_mapping = {
+@@ -28,10 +28,10 @@ def get_network_driver(vendor):
+ 'IOSXR': IOSXRDriver,
+ 'JUNOS': JunOSDriver,
+ 'JUNIPER': JunOSDriver,
+- 'FORTIOS': FortiOSDriver,
+- 'NXOS': NXOSDriver,
+- 'IBM': IBMDriver,
+- 'IOS' : IOSDriver,
++# 'FORTIOS': FortiOSDriver,
++# 'NXOS': NXOSDriver,
++# 'IBM': IBMDriver,
++# 'IOS' : IOSDriver,
+ }
+ try:
+ return driver_mapping[vendor.upper()]
Home |
Main Index |
Thread Index |
Old Index