summaryrefslogtreecommitdiffstats
path: root/package/python-cssutils
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-10-09 14:46:22 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-09 23:00:49 +0200
commit0b26a01906df2a3862feca130e4d08f084afb5d9 (patch)
treeb9274062dbf41b388febfacc60abc29f68c3215b /package/python-cssutils
parentb8babf842b0ca2584895586b6ba53f78f9204ff1 (diff)
downloadbuildroot-0b26a01906df2a3862feca130e4d08f084afb5d9.tar.gz
buildroot-0b26a01906df2a3862feca130e4d08f084afb5d9.zip
package/python-cssutils: new package
Needed for upcoming python-mwscrape2slob package. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-cssutils')
-rw-r--r--package/python-cssutils/Config.in8
-rw-r--r--package/python-cssutils/python-cssutils.hash3
-rw-r--r--package/python-cssutils/python-cssutils.mk14
3 files changed, 25 insertions, 0 deletions
diff --git a/package/python-cssutils/Config.in b/package/python-cssutils/Config.in
new file mode 100644
index 0000000000..74de742c31
--- /dev/null
+++ b/package/python-cssutils/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_CSSUTILS
+ bool "python-cssutils"
+ select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime
+ select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime
+ help
+ A CSS Cascading Style Sheets library for Python.
+
+ http://cthedot.de/cssutils/
diff --git a/package/python-cssutils/python-cssutils.hash b/package/python-cssutils/python-cssutils.hash
new file mode 100644
index 0000000000..7b188bcd43
--- /dev/null
+++ b/package/python-cssutils/python-cssutils.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/cssutils/json, sha256 locally computed
+md5 7fcdf2c3e9f053136af1990146eb361d cssutils-1.0.1.tar.gz
+sha256 d8a18b2848ea1011750231f1dd64fe9053dbec1be0b37563c582561e7a529063 cssutils-1.0.1.tar.gz
diff --git a/package/python-cssutils/python-cssutils.mk b/package/python-cssutils/python-cssutils.mk
new file mode 100644
index 0000000000..3dd501aa04
--- /dev/null
+++ b/package/python-cssutils/python-cssutils.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-cssutils
+#
+################################################################################
+
+PYTHON_CSSUTILS_VERSION = 1.0.1
+PYTHON_CSSUTILS_SOURCE = cssutils-$(PYTHON_CSSUTILS_VERSION).tar.gz
+PYTHON_CSSUTILS_SITE = https://pypi.python.org/packages/22/de/6b03e0088baf0299ab7d2e95a9e26c2092e9cb3855876b958b6a62175ca2
+PYTHON_CSSUTILS_LICENSE = LGPLv3+
+PYTHON_CSSUTILS_LICENSE_FILES = COPYING.LESSER
+PYTHON_CSSUTILS_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud