summaryrefslogtreecommitdiffstats
path: root/package/python-hyperlink
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2017-07-12 09:57:43 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-12 18:37:01 +0200
commit2c6222c04327da94b2a19f9984d94ee16a1a3320 (patch)
treee091de978dc5eb55f77971a246f05caf7b2d0419 /package/python-hyperlink
parent65dcaf0a8b1ceb22de2fdd0303b01c9afc431ce8 (diff)
downloadbuildroot-2c6222c04327da94b2a19f9984d94ee16a1a3320.tar.gz
buildroot-2c6222c04327da94b2a19f9984d94ee16a1a3320.zip
python-hyperlink: new package
Though PyPI says the license is BSD, GitHub repo has an MIT license file since April 2017 and upstream setup.py was also fixed. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-hyperlink')
-rw-r--r--package/python-hyperlink/Config.in6
-rw-r--r--package/python-hyperlink/python-hyperlink.hash3
-rw-r--r--package/python-hyperlink/python-hyperlink.mk13
3 files changed, 22 insertions, 0 deletions
diff --git a/package/python-hyperlink/Config.in b/package/python-hyperlink/Config.in
new file mode 100644
index 0000000000..11ac814233
--- /dev/null
+++ b/package/python-hyperlink/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_HYPERLINK
+ bool "python-hyperlink"
+ help
+ A featureful, correct URL for Python.
+
+ https://github.com/python-hyper/hyperlink
diff --git a/package/python-hyperlink/python-hyperlink.hash b/package/python-hyperlink/python-hyperlink.hash
new file mode 100644
index 0000000000..5ff5e7af46
--- /dev/null
+++ b/package/python-hyperlink/python-hyperlink.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/hyperlink/json, sha256 locally computed
+md5 717dae425baa7b6f6d9d590666ec8472 hyperlink-17.2.1.tar.gz
+sha256 2c74b35662416f44823d50e59305f761a933723ae6528cc5b0d711361453f28b hyperlink-17.2.1.tar.gz
diff --git a/package/python-hyperlink/python-hyperlink.mk b/package/python-hyperlink/python-hyperlink.mk
new file mode 100644
index 0000000000..21f784e387
--- /dev/null
+++ b/package/python-hyperlink/python-hyperlink.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-hyperlink
+#
+################################################################################
+
+PYTHON_HYPERLINK_VERSION = 17.2.1
+PYTHON_HYPERLINK_SOURCE = hyperlink-$(PYTHON_HYPERLINK_VERSION).tar.gz
+PYTHON_HYPERLINK_SITE = https://pypi.python.org/packages/a2/d9/56b6a007a643d6511e616a2be74f67c3703e2aea4e9eaa44bdf48bc78c82
+PYTHON_HYPERLINK_SETUP_TYPE = setuptools
+PYTHON_HYPERLINK_LICENSE = MIT
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud