[Buildroot] [git commit] python-beautifulsoup4: new package

Peter Korsgaard peter at korsgaard.com
Mon Jan 18 20:30:00 UTC 2016


commit: http://git.buildroot.net/buildroot/commit/?id=da152d80a18c640ea9fd6166ffce3a22a7b037fc
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

[Peter: extend help text]
Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/Config.in                                        |  1 +
 package/python-beautifulsoup4/Config.in                  | 10 ++++++++++
 package/python-beautifulsoup4/python-beautifulsoup4.hash |  4 ++++
 package/python-beautifulsoup4/python-beautifulsoup4.mk   | 14 ++++++++++++++
 4 files changed, 29 insertions(+)

diff --git a/package/Config.in b/package/Config.in
index 89b23db..5d24527 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -618,6 +618,7 @@ if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 menu "External python modules"
 	source "package/python-alsaaudio/Config.in"
 	source "package/python-backports-abc/Config.in"
+	source "package/python-beautifulsoup4/Config.in"
 	source "package/python-bottle/Config.in"
 	source "package/python-can/Config.in"
 	source "package/python-certifi/Config.in"
diff --git a/package/python-beautifulsoup4/Config.in b/package/python-beautifulsoup4/Config.in
new file mode 100644
index 0000000..76f6d94
--- /dev/null
+++ b/package/python-beautifulsoup4/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_BEAUTIFULSOUP4
+	bool "python-beautifulsoup4"
+	help
+	  Beautiful Soup is a Python library for pulling data out of
+	  HTML and XML files. It works with your favorite parser to
+	  provide idiomatic ways of navigating, searching, and
+	  modifying the parse tree. It commonly saves programmers
+	  hours or days of work.
+
+	  http://www.crummy.com/software/BeautifulSoup/bs4/
diff --git a/package/python-beautifulsoup4/python-beautifulsoup4.hash b/package/python-beautifulsoup4/python-beautifulsoup4.hash
new file mode 100644
index 0000000..885c266
--- /dev/null
+++ b/package/python-beautifulsoup4/python-beautifulsoup4.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/beautifulsoup4/json
+md5	8fbd9a7cac0704645fa20d1419036815  beautifulsoup4-4.4.1.tar.gz
+# sha256 calculated by scanpypi
+sha256	87d4013d0625d4789a4f56b8d79a04d5ce6db1152bb65f1d39744f7709a366b4  beautifulsoup4-4.4.1.tar.gz
diff --git a/package/python-beautifulsoup4/python-beautifulsoup4.mk b/package/python-beautifulsoup4/python-beautifulsoup4.mk
new file mode 100644
index 0000000..58481b9
--- /dev/null
+++ b/package/python-beautifulsoup4/python-beautifulsoup4.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-beautifulsoup4
+#
+################################################################################
+
+PYTHON_BEAUTIFULSOUP4_VERSION = 4.4.1
+PYTHON_BEAUTIFULSOUP4_SOURCE = beautifulsoup4-$(PYTHON_BEAUTIFULSOUP4_VERSION).tar.gz
+PYTHON_BEAUTIFULSOUP4_SITE = https://pypi.python.org/packages/source/b/beautifulsoup4
+PYTHON_BEAUTIFULSOUP4_SETUP_TYPE = setuptools
+PYTHON_BEAUTIFULSOUP4_LICENSE = MIT
+PYTHON_BEAUTIFULSOUP4_LICENSE_FILES = COPYING.txt
+
+$(eval $(python-package))


More information about the buildroot mailing list