[v2,1/2] package/python-pysnmp-apps: remove package
diff mbox series

Message ID 20191009172421.10069-1-asafka7@gmail.com
State Accepted
Headers show
Series
  • [v2,1/2] package/python-pysnmp-apps: remove package
Related show

Commit Message

Asaf Kahlon Oct. 9, 2019, 5:24 p.m. UTC
The package was renamed to snmpclient and is no longer maintained.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
v1->v2: add legacy option in Config.in.legacy
---
 Config.in.legacy                                  |  8 ++++++++
 package/Config.in                                 |  1 -
 package/python-pysnmp-apps/Config.in              | 12 ------------
 .../python-pysnmp-apps/python-pysnmp-apps.hash    |  5 -----
 package/python-pysnmp-apps/python-pysnmp-apps.mk  | 15 ---------------
 5 files changed, 8 insertions(+), 33 deletions(-)
 delete mode 100644 package/python-pysnmp-apps/Config.in
 delete mode 100644 package/python-pysnmp-apps/python-pysnmp-apps.hash
 delete mode 100644 package/python-pysnmp-apps/python-pysnmp-apps.mk

Comments

Thomas Petazzoni Oct. 22, 2019, 9:22 p.m. UTC | #1
On Wed,  9 Oct 2019 20:24:20 +0300
Asaf Kahlon <asafka7@gmail.com> wrote:

> The package was renamed to snmpclient and is no longer maintained.

The package was renamed to snmpclitools, not snmpclient.

> +config BR2_PACKAGE_PYTHON_PYSNMP_APPS
> +	bool "python-pysnmp-apps projcet was moved"
> +	select BR2_LEGACY
> +	select BR2_PACKAGE_SNMPCLITOOLS
> +	help
> +	  Upstream moved the pysnmp-apps project to snmpclitools.
> +	  Use it instead.

I slightly improved the wording here, and applied. Thanks!

Thomas

Patch
diff mbox series

diff --git a/Config.in.legacy b/Config.in.legacy
index 4a670f0f0e..e53327803c 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,14 @@  endif
 
 comment "Legacy options removed in 2019.11"
 
+config BR2_PACKAGE_PYTHON_PYSNMP_APPS
+	bool "python-pysnmp-apps projcet was moved"
+	select BR2_LEGACY
+	select BR2_PACKAGE_SNMPCLITOOLS
+	help
+	  Upstream moved the pysnmp-apps project to snmpclitools.
+	  Use it instead.
+
 config BR2_PACKAGE_SQLITE_STAT3
 	bool "sqlite stat3 support was removed"
 	select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index 47b602c547..d8d0824c71 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1037,7 +1037,6 @@  menu "External python modules"
 	source "package/python-pysmb/Config.in"
 	source "package/python-pysmi/Config.in"
 	source "package/python-pysnmp/Config.in"
-	source "package/python-pysnmp-apps/Config.in"
 	source "package/python-pysnmp-mibs/Config.in"
 	source "package/python-pysocks/Config.in"
 	source "package/python-pytablereader/Config.in"
diff --git a/package/python-pysnmp-apps/Config.in b/package/python-pysnmp-apps/Config.in
deleted file mode 100644
index 32e3269946..0000000000
--- a/package/python-pysnmp-apps/Config.in
+++ /dev/null
@@ -1,12 +0,0 @@ 
-config BR2_PACKAGE_PYTHON_PYSNMP_APPS
-	bool "python-pysnmp-apps"
-	depends on BR2_INSTALL_LIBSTDCPP # pysnmp -> pyasn
-	select BR2_PACKAGE_PYTHON_PYSNMP
-	help
-	  A collection of command-line tools for SNMP management
-	  purposes built on top of the PySNMP package.
-
-	  http://pysnmp.sf.net
-
-comment "python-pysnmp-apps needs a toolchain w/ C++"
-	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/python-pysnmp-apps/python-pysnmp-apps.hash b/package/python-pysnmp-apps/python-pysnmp-apps.hash
deleted file mode 100644
index 42120486d9..0000000000
--- a/package/python-pysnmp-apps/python-pysnmp-apps.hash
+++ /dev/null
@@ -1,5 +0,0 @@ 
-# md5, sha256 from https://pypi.org/pypi/pysnmp-apps/json
-md5	ed3e4d421bb0e1806298120313efccc2  pysnmp-apps-0.5.3.tar.gz
-sha256	bf4ea6f3054a25b05e255d29e0b57a8aa8102f509048e3a9c0d93ddc86aff570  pysnmp-apps-0.5.3.tar.gz
-# Locally computed sha256 checksums
-sha256	f82128f64d567c333936a12b99a21d0e8cd66ce628d51ce0a7770cc38dc7fe43  LICENSE.txt
diff --git a/package/python-pysnmp-apps/python-pysnmp-apps.mk b/package/python-pysnmp-apps/python-pysnmp-apps.mk
deleted file mode 100644
index 70d63834cb..0000000000
--- a/package/python-pysnmp-apps/python-pysnmp-apps.mk
+++ /dev/null
@@ -1,15 +0,0 @@ 
-################################################################################
-#
-# python-pysnmp-apps
-#
-################################################################################
-
-PYTHON_PYSNMP_APPS_VERSION = 0.5.3
-PYTHON_PYSNMP_APPS_SOURCE = pysnmp-apps-$(PYTHON_PYSNMP_APPS_VERSION).tar.gz
-PYTHON_PYSNMP_APPS_SITE = https://files.pythonhosted.org/packages/c2/1a/26f5f3732df2c7d34663a7f2fa6534b5b4ffae73a4a440b75864ec826ba6
-PYTHON_PYSNMP_APPS_SETUP_TYPE = setuptools
-PYTHON_PYSNMP_APPS_LICENSE = BSD-2-Clause
-PYTHON_PYSNMP_APPS_LICENSE_FILES = LICENSE.txt
-PYTHON_PYSNMP_APPS_DEPENDENCIES = python-pysnmp
-
-$(eval $(python-package))