* [Buildroot] [PATCH] python-txtorcon: new package
@ 2018-01-18 14:49 yegorslists at googlemail.com
2018-01-18 21:17 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2018-01-18 14:49 UTC (permalink / raw)
To: buildroot
From: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
package/Config.in | 1 +
package/python-txtorcon/Config.in | 15 +++++++++++++++
package/python-txtorcon/python-txtorcon.hash | 4 ++++
package/python-txtorcon/python-txtorcon.mk | 14 ++++++++++++++
4 files changed, 34 insertions(+)
create mode 100644 package/python-txtorcon/Config.in
create mode 100644 package/python-txtorcon/python-txtorcon.hash
create mode 100644 package/python-txtorcon/python-txtorcon.mk
diff --git a/package/Config.in b/package/Config.in
index 85bb985..00451f5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -928,6 +928,7 @@ menu "External python modules"
source "package/python-treq/Config.in"
source "package/python-twisted/Config.in"
source "package/python-txaio/Config.in"
+ source "package/python-txtorcon/Config.in"
source "package/python-u-msgpack/Config.in"
source "package/python-ubjson/Config.in"
source "package/python-ujson/Config.in"
diff --git a/package/python-txtorcon/Config.in b/package/python-txtorcon/Config.in
new file mode 100644
index 0000000..78d429d
--- /dev/null
+++ b/package/python-txtorcon/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PYTHON_TXTORCON
+ bool "python-txtorcon"
+ select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
+ select BR2_PACKAGE_PYTHON_IDNA # runtime
+ select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
+ select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime
+ select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+ select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
+ select BR2_PACKAGE_PYTHON_TWISTED # runtime
+ select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime
+ help
+ Twisted-based Tor controller client, with state-tracking and
+ configuration abstractions.
+
+ https://github.com/meejah/txtorcon.
diff --git a/package/python-txtorcon/python-txtorcon.hash b/package/python-txtorcon/python-txtorcon.hash
new file mode 100644
index 0000000..71a2ec5
--- /dev/null
+++ b/package/python-txtorcon/python-txtorcon.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/txtorcon/json, sha256 locally computed
+md5 4d7380fa7e721c77cac103d971882374 txtorcon-0.19.3.tar.gz
+sha256 f73396667909a3c7a98f4dd865edf4ed6a2518ee5a935d92e18b8a479ec244fd txtorcon-0.19.3.tar.gz
+sha256 3ada1c32ef38c23d96d7f4e8f4a226c527f51e0202883c7543b06f9cc5228a2b LICENSE
diff --git a/package/python-txtorcon/python-txtorcon.mk b/package/python-txtorcon/python-txtorcon.mk
new file mode 100644
index 0000000..f75f504
--- /dev/null
+++ b/package/python-txtorcon/python-txtorcon.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-txtorcon
+#
+################################################################################
+
+PYTHON_TXTORCON_VERSION = 0.19.3
+PYTHON_TXTORCON_SOURCE = txtorcon-$(PYTHON_TXTORCON_VERSION).tar.gz
+PYTHON_TXTORCON_SITE = https://pypi.python.org/packages/05/4b/d2fbfdc08ab83c299f2ad22ba38ea35f71f1c966684f5754e079108a1f64
+PYTHON_TXTORCON_SETUP_TYPE = setuptools
+PYTHON_TXTORCON_LICENSE = MIT
+PYTHON_TXTORCON_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] python-txtorcon: new package
2018-01-18 14:49 [Buildroot] [PATCH] python-txtorcon: new package yegorslists at googlemail.com
@ 2018-01-18 21:17 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-01-18 21:17 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 18 Jan 2018 15:49:17 +0100, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> package/Config.in | 1 +
> package/python-txtorcon/Config.in | 15 +++++++++++++++
> package/python-txtorcon/python-txtorcon.hash | 4 ++++
> package/python-txtorcon/python-txtorcon.mk | 14 ++++++++++++++
> 4 files changed, 34 insertions(+)
> create mode 100644 package/python-txtorcon/Config.in
> create mode 100644 package/python-txtorcon/python-txtorcon.hash
> create mode 100644 package/python-txtorcon/python-txtorcon.mk
Applied to master, thanks.
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:[~2018-01-18 21:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18 14:49 [Buildroot] [PATCH] python-txtorcon: new package yegorslists at googlemail.com
2018-01-18 21:17 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.