* [Buildroot] [PATCH] python-hyperlink: new package
@ 2017-07-12 7:57 yegorslists at googlemail.com
2017-07-12 16:38 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2017-07-12 7:57 UTC (permalink / raw)
To: buildroot
From: Yegor Yefremov <yegorslists@googlemail.com>
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>
---
package/Config.in | 1 +
package/python-hyperlink/Config.in | 6 ++++++
package/python-hyperlink/python-hyperlink.hash | 3 +++
package/python-hyperlink/python-hyperlink.mk | 13 +++++++++++++
4 files changed, 23 insertions(+)
create mode 100644 package/python-hyperlink/Config.in
create mode 100644 package/python-hyperlink/python-hyperlink.hash
create mode 100644 package/python-hyperlink/python-hyperlink.mk
diff --git a/package/Config.in b/package/Config.in
index b350d6ee7..e2282863a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -746,6 +746,7 @@ menu "External python modules"
source "package/python-httplib2/Config.in"
source "package/python-humanize/Config.in"
source "package/python-hyperframe/Config.in"
+ source "package/python-hyperlink/Config.in"
source "package/python-id3/Config.in"
source "package/python-idna/Config.in"
source "package/python-incremental/Config.in"
diff --git a/package/python-hyperlink/Config.in b/package/python-hyperlink/Config.in
new file mode 100644
index 000000000..11ac81423
--- /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 000000000..5ff5e7af4
--- /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 000000000..21f784e38
--- /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))
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] python-hyperlink: new package
2017-07-12 7:57 [Buildroot] [PATCH] python-hyperlink: new package yegorslists at googlemail.com
@ 2017-07-12 16:38 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-07-12 16:38 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 12 Jul 2017 09:57:43 +0200, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> 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>
> ---
> package/Config.in | 1 +
> package/python-hyperlink/Config.in | 6 ++++++
> package/python-hyperlink/python-hyperlink.hash | 3 +++
> package/python-hyperlink/python-hyperlink.mk | 13 +++++++++++++
> 4 files changed, 23 insertions(+)
> create mode 100644 package/python-hyperlink/Config.in
> create mode 100644 package/python-hyperlink/python-hyperlink.hash
> create mode 100644 package/python-hyperlink/python-hyperlink.mk
Applied to master, thanks. However, when you send individual patches,
make sure they applied on master. Indeed in this patch, the context
in package/Config.in referred to the python-hyperframe package, which
you submitted in a different patch series, that hasn't been merged yet.
This caused a conflict (admittedly minor and very easy to resolve) when
applying the patch.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-12 16:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-12 7:57 [Buildroot] [PATCH] python-hyperlink: new package yegorslists at googlemail.com
2017-07-12 16:38 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox