Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] python-pyxml: remove obsolete package
@ 2015-12-19 20:42 Yegor Yefremov
  2015-12-19 21:07 ` Yann E. MORIN
  2016-01-01 20:07 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Yegor Yefremov @ 2015-12-19 20:42 UTC (permalink / raw)
  To: buildroot

PyXML is bitrotten and obsolete. You'll find the functionality it
previously provided is now included in the Python standard library.

So no need to keep this package in Buildroot anymore.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
Changes:
	v2: add Config.in.legacy entry

 Config.in.legacy                       |  7 +++++++
 package/Config.in                      |  1 -
 package/python-pyxml/Config.in         | 12 ------------
 package/python-pyxml/python-pyxml.hash |  2 --
 package/python-pyxml/python-pyxml.mk   | 17 -----------------
 5 files changed, 7 insertions(+), 32 deletions(-)
 delete mode 100644 package/python-pyxml/Config.in
 delete mode 100644 package/python-pyxml/python-pyxml.hash
 delete mode 100644 package/python-pyxml/python-pyxml.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index 4d22527..af30de5 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -145,6 +145,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.02"
 
+config BR2_PACKAGE_PYTHON_PYXML
+	bool "python-pyxml package has been removed"
+	select BR2_LEGACY
+	help
+	  PyXML is obsolete and its functionality is covered either via
+	  native Python XML support or python-lxml package.
+
 config BR2_PACKAGE_LIBEINA
 	bool "libeina package has been removed"
 	select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index 94898a1..4bd37a4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -675,7 +675,6 @@ menu "External python modules"
 	source "package/python-pyudev/Config.in"
 	source "package/python-pyusb/Config.in"
 	source "package/python-pyxb/Config.in"
-	source "package/python-pyxml/Config.in"
 	source "package/python-pyyaml/Config.in"
 	source "package/python-pyzmq/Config.in"
 	source "package/python-requests/Config.in"
diff --git a/package/python-pyxml/Config.in b/package/python-pyxml/Config.in
deleted file mode 100644
index 82316ba..0000000
--- a/package/python-pyxml/Config.in
+++ /dev/null
@@ -1,12 +0,0 @@
-config BR2_PACKAGE_PYTHON_PYXML
-	bool "python-pyxml"
-	depends on BR2_PACKAGE_PYTHON
-	select BR2_PACKAGE_EXPAT
-	help
-	  This is the Python XML package. The distribution contains a
-	  validating XML parser, an implementation of the SAX and DOM
-	  programming interfaces, an interface to the Expat parser (and the
-	  Expat parser itself), and a C helper module that can speed up
-	  xmllib.py by a factor of 5. There's even documentation!
-
-	  http://pyxml.sourceforge.net/topics/index.html
diff --git a/package/python-pyxml/python-pyxml.hash b/package/python-pyxml/python-pyxml.hash
deleted file mode 100644
index df98c46..0000000
--- a/package/python-pyxml/python-pyxml.hash
+++ /dev/null
@@ -1,2 +0,0 @@
-# Locally computed
-sha256 9fab66f9584fb8e67aebd8745a5c97bf1c5a2e2e461adf68862bcec64e448c13  PyXML-0.8.4.tar.gz
diff --git a/package/python-pyxml/python-pyxml.mk b/package/python-pyxml/python-pyxml.mk
deleted file mode 100644
index 7ccce8e..0000000
--- a/package/python-pyxml/python-pyxml.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-################################################################################
-#
-# python-pyxml
-#
-################################################################################
-
-PYTHON_PYXML_VERSION = 0.8.4
-PYTHON_PYXML_SOURCE = PyXML-$(PYTHON_PYXML_VERSION).tar.gz
-PYTHON_PYXML_SITE = http://downloads.sourceforge.net/project/pyxml/pyxml/$(PYTHON_PYXML_VERSION)
-PYTHON_PYXML_LICENSE = BSD-3c
-PYTHON_PYXML_LICENSE_FILES = LICENCE
-PYTHON_PYXML_SETUP_TYPE = distutils
-PYTHON_PYXML_DEPENDENCIES = expat
-PYTHON_PYXML_BUILD_OPTS = --with-libexpat=$(STAGING_DIR)/usr
-PYTHON_PYXML_INSTALL_TARGET_OPTS = --with-libexpat=$(STAGING_DIR)/usr
-
-$(eval $(python-package))
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-01 20:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-19 20:42 [Buildroot] [PATCH v2] python-pyxml: remove obsolete package Yegor Yefremov
2015-12-19 21:07 ` Yann E. MORIN
2015-12-27  2:28   ` Matthew Weber
2016-01-01 20:07 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox