Skip to contentSkip to conversation

python-sdnotify: new package

PATCH New yegorslists at googlemail.com 2 participants 8 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 python-sdnotify: new package

From: Yegor Yefremov <[email protected]>

---
 package/Config.in                            |  1 +
 package/python-sdnotify/Config.in            |  7 +++++++
 package/python-sdnotify/python-sdnotify.hash |  4 ++++
 package/python-sdnotify/python-sdnotify.mk   | 13 +++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/python-sdnotify/Config.in
 create mode 100644 package/python-sdnotify/python-sdnotify.hash
 create mode 100644 package/python-sdnotify/python-sdnotify.mk
package/Config.in +1 -0
index ff08f27..753f5aa 100644
@@ -745,6 +745,7 @@ menu "External python modules"
 	source "package/python-requests/Config.in"
 	source "package/python-rpi-gpio/Config.in"
 	source "package/python-rtslib-fb/Config.in"
+	source "package/python-sdnotify/Config.in"
 	source "package/python-serial/Config.in"
 	source "package/python-service-identity/Config.in"
 	source "package/python-setproctitle/Config.in"
package/python-sdnotify/Config.in new file +7 -0
new file mode 100644
index 0000000..bc77a06
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_SDNOTIFY
+	bool "python-sdnotify"
+	help
+	  A pure Python implementation of systemd's service notification
+	  protocol (sd_notify).
+
+	  https://github.com/bb4242/sdnotify
package/python-sdnotify/python-sdnotify.hash new file +4 -0
new file mode 100644
index 0000000..4339c8f
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/sdnotify/json
+md5	8e6a6e25560162c113fa54fc3fad98f5  sdnotify-0.3.0.tar.gz
+# sha256 calculated by scanpypi
+sha256	55fcaffb239f392ecf5b2211ef65f858b8fbbc857be8ca2b6f27b011db9c2ce6  sdnotify-0.3.0.tar.gz
package/python-sdnotify/python-sdnotify.mk new file +13 -0
new file mode 100644
index 0000000..aeeefd7
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-sdnotify
+#
+################################################################################
+
+PYTHON_SDNOTIFY_VERSION = 0.3.0
+PYTHON_SDNOTIFY_SOURCE = sdnotify-$(PYTHON_SDNOTIFY_VERSION).tar.gz
+PYTHON_SDNOTIFY_SITE = https://pypi.python.org/packages/6f/ef/d57f930ba403b2e6440bd7ab14dbdd7ce1a1bfb5617bba62a950d04bfa34
+PYTHON_SDNOTIFY_SETUP_TYPE = distutils
+PYTHON_SDNOTIFY_LICENSE = MIT
+
+$(eval $(python-package))
Signature · 1 line
2.8.1
#1 lore raw

PATCH 2/5 python-txaio: bump to version 2.5.1

From: Yegor Yefremov <[email protected]>

---
 package/python-txaio/python-txaio.hash | 6 +++---
 package/python-txaio/python-txaio.mk   | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
package/python-txaio/python-txaio.hash +3 -3
index 5d9e6cf..37da82b 100644
@@ -1,3 +1,3 @@
-# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=c2a7e6ebfdf8987c3938e40e39a3c5e7, sha256 locally computed
-md5	c2a7e6ebfdf8987c3938e40e39a3c5e7  txaio-2.2.1.tar.gz
-sha256	6eee00c397d8193d15313dfc36da3eac8d64edf0b92fe3b67cd5a735ffc3074b  txaio-2.2.1.tar.gz
+# md5 from https://pypi.python.org/pypi/txaio/json, sha256 locally computed.
+md5	7b0f5321515d380ad5d32f01666b6ee7  txaio-2.5.1.tar.gz
+sha256	625076477182e2dde78b79d0b2b0d6b3cecb0e24fe0ea7eaf2abd26a4c0dd1de  txaio-2.5.1.tar.gz
package/python-txaio/python-txaio.mk +2 -2
index 127bc62..34c6e99 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_TXAIO_VERSION = 2.2.1
+PYTHON_TXAIO_VERSION = 2.5.1
 PYTHON_TXAIO_SOURCE = txaio-$(PYTHON_TXAIO_VERSION).tar.gz
-PYTHON_TXAIO_SITE = http://pypi.python.org/packages/source/t/txaio
+PYTHON_TXAIO_SITE = https://pypi.python.org/packages/45/e1/f7d88767d65dbfc20d4b4aa0dad657dbbe8ca629ead2bef24da04630a12a
 PYTHON_TXAIO_LICENSE = MIT
 PYTHON_TXAIO_LICENSE_FILES = LICENSE
 PYTHON_TXAIO_SETUP_TYPE = setuptools
Signature · 1 line
2.8.1
#2 lore raw

PATCH 3/5 python-autobahn: bump to version 0.14.1

In reply to yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

---
 package/python-autobahn/python-autobahn.hash | 6 +++---
 package/python-autobahn/python-autobahn.mk   | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
package/python-autobahn/python-autobahn.hash +3 -3
index 8f55ac1..1ee1e0e 100644
@@ -1,3 +1,3 @@
-# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=b4b5445050749c1033b9b58f694f0c64, sha256 locally computed.
-md5	b4b5445050749c1033b9b58f694f0c64  autobahn-0.12.1.tar.gz
-sha256	664223879e159c88221f42d8d1ac6b8c4268d8b9316d8ab69a02761c5744cd79  autobahn-0.12.1.tar.gz
+# md5 from https://pypi.python.org/pypi/autobahn/json, sha256 locally computed.
+md5	576b63ce7fa7846f64650263842b712b  autobahn-0.14.1.tar.gz
+sha256	c1695e139e36daeaad9cb788dd3f9b907a3fd83b67884424e59b3e07032956e0  autobahn-0.14.1.tar.gz
package/python-autobahn/python-autobahn.mk +2 -2
index 1d02867..2cc2e5d 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_AUTOBAHN_VERSION = 0.12.1
+PYTHON_AUTOBAHN_VERSION = 0.14.1
 PYTHON_AUTOBAHN_SOURCE = autobahn-$(PYTHON_AUTOBAHN_VERSION).tar.gz
-PYTHON_AUTOBAHN_SITE = http://pypi.python.org/packages/source/a/autobahn
+PYTHON_AUTOBAHN_SITE = https://pypi.python.org/packages/e3/37/1297551d3066ec9b013dd3a1a7e2cca85900d3fe95194779370e8e7a7af7
 PYTHON_AUTOBAHN_LICENSE = MIT
 PYTHON_AUTOBAHN_LICENSE_FILES = LICENSE
 PYTHON_AUTOBAHN_SETUP_TYPE = setuptools
Signature · 1 line
2.8.1
#3 lore raw

PATCH 4/5 python-twisted: bump to version 16.2.0

In reply to yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

---
 package/python-twisted/python-twisted.hash | 6 +++---
 package/python-twisted/python-twisted.mk   | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
package/python-twisted/python-twisted.hash +3 -3
index 275cea8..8836a10 100644
@@ -1,3 +1,3 @@
-# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=266a085f5ce3fbc060818bd00bd6a888, sha256 locally computed
-md5     266a085f5ce3fbc060818bd00bd6a888 Twisted-16.1.1.tar.bz2
-sha256  fe7d001d9a803ed26cd0fd2f69fa4212ff025f3af6ef1a559d905fe551ab04e9  Twisted-16.1.1.tar.bz2
+# md5 from https://pypi.python.org/pypi/Twisted/json, sha256 locally computed.
+md5     8b35a88d5f1a4bfd762a008968fddabf  Twisted-16.2.0.tar.bz2
+sha256  a090e8dc675e97fb20c3bb5f8114ae94169f4e29fd3b3cbede35705fd3cdbd79  Twisted-16.2.0.tar.bz2
package/python-twisted/python-twisted.mk +2 -2
index e98e03f..3c45d01 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_TWISTED_VERSION = 16.1.1
+PYTHON_TWISTED_VERSION = 16.2.0
 PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.bz2
-PYTHON_TWISTED_SITE = https://pypi.python.org/packages/source/T/Twisted
+PYTHON_TWISTED_SITE = https://pypi.python.org/packages/18/85/eb7af503356e933061bf1220033c3a85bad0dbc5035dfd9a97f1e900dfcb
 PYTHON_TWISTED_SETUP_TYPE = setuptools
 PYTHON_TWISTED_LICENSE = MIT
 PYTHON_TWISTED_LICENSE_FILES = LICENSE
Signature · 1 line
2.8.1
#4 lore raw

PATCH 5/5 python-crossbar: bump to version 0.14.0

In reply to yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

---
 package/python-crossbar/Config.in            | 6 ++++--
 package/python-crossbar/python-crossbar.hash | 6 +++---
 package/python-crossbar/python-crossbar.mk   | 4 ++--
 3 files changed, 9 insertions(+), 7 deletions(-)
package/python-crossbar/Config.in +4 -2
index 4e613db..f3a6901 100644
@@ -9,7 +9,6 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
 	select BR2_PACKAGE_PYTHON_JINJA2
 	select BR2_PACKAGE_PYTHON_LMDB
 	select BR2_PACKAGE_PYTHON_MISTUNE
-	select BR2_PACKAGE_PYTHON_MSGPACK
 	select BR2_PACKAGE_PYTHON_NETADDR
 	select BR2_PACKAGE_PYTHON_PSUTIL
 	select BR2_PACKAGE_PYTHON_PYASN
@@ -20,6 +19,7 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
 	select BR2_PACKAGE_PYTHON_PYOPENSSL
 	select BR2_PACKAGE_PYTHON_PYTRIE
 	select BR2_PACKAGE_PYTHON_PYYAML
+	select BR2_PACKAGE_PYTHON_SDNOTIFY
 	select BR2_PACKAGE_PYTHON_SETUPTOOLS
 	select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
 	select BR2_PACKAGE_PYTHON_SETPROCTITLE
@@ -27,7 +27,9 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
 	select BR2_PACKAGE_PYTHON_SHUTILWHICH if BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_PYTHON_TREQ
 	select BR2_PACKAGE_PYTHON_TWISTED
-	select BR2_PACKAGE_PYTHON_UJSON
+	select BR2_PACKAGE_PYTHON_U_MSGPACK
+	select BR2_PACKAGE_PYTHON_UBJSON
+	select BR2_PACKAGE_PYTHON_WATCHDOG
 	select BR2_PACKAGE_PYTHON_WSACCEL
 	depends on BR2_INSTALL_LIBSTDCPP # python-msgpack -> msgpack
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # python-msgpack -> msgpack
package/python-crossbar/python-crossbar.hash +3 -3
index 0690e56..a500bcf 100644
@@ -1,3 +1,3 @@
-# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=cbe9b62a1ec2eebbc0cd0cef887a4993, sha256 locally computed.
-md5	cbe9b62a1ec2eebbc0cd0cef887a4993  crossbar-0.12.1.tar.gz
-sha256	4919e683bcfa3c633da8207f24189fd196ef8412b647f0365cf74c0bff8b4ada  crossbar-0.12.1.tar.gz
+# md5 from https://pypi.python.org/pypi/crossbar/json, sha256 locally computed.
+md5	516478cc368503a0a0babc1dc28c5085  crossbar-0.14.0.tar.gz
+sha256	6242ef34c56061850743d750d042993590ca7ec8ebe7b28c21ed05bb0904d71b  crossbar-0.14.0.tar.gz
package/python-crossbar/python-crossbar.mk +2 -2
index 96bc254..3d82d77 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_CROSSBAR_VERSION = 0.12.1
+PYTHON_CROSSBAR_VERSION = 0.14.0
 PYTHON_CROSSBAR_SOURCE = crossbar-$(PYTHON_CROSSBAR_VERSION).tar.gz
-PYTHON_CROSSBAR_SITE = http://pypi.python.org/packages/source/c/crossbar
+PYTHON_CROSSBAR_SITE = https://pypi.python.org/packages/f0/9a/e0b77e15698c47b6293655bc0e1996dd8e87bd8af7bc7434a5c8281a024e
 PYTHON_CROSSBAR_LICENSE = AGPLv3
 PYTHON_CROSSBAR_LICENSE_FILES = LICENSE
 PYTHON_CROSSBAR_SETUP_TYPE = setuptools
Signature · 1 line
2.8.1
#5 lore raw

PATCH 5/5 python-crossbar: bump to version 0.14.0

Hello,

Quoted 14 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

---
 package/python-crossbar/Config.in            | 6 ++++--
 package/python-crossbar/python-crossbar.hash | 6 +++---
 package/python-crossbar/python-crossbar.mk   | 4 ++--
 3 files changed, 9 insertions(+), 7 deletions(-)
package/python-crossbar/Config.in +0 -0
index 4e613db..f3a6901 100644

package/python-crossbar/Config.in config BR2_PACKAGE_PYTHON_CROSSBAR · line 12

Quoted 4 lines
package/python-crossbar/Config.in +0 -1
@@ -9,7 +9,6 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
 	select BR2_PACKAGE_PYTHON_JINJA2
 	select BR2_PACKAGE_PYTHON_LMDB
 	select BR2_PACKAGE_PYTHON_MISTUNE
-	select BR2_PACKAGE_PYTHON_MSGPACK

So you no longer select python-msgpack...

Quoted 12 lines
package/python-crossbar/Config.in +1 -0
 	select BR2_PACKAGE_PYTHON_NETADDR
 	select BR2_PACKAGE_PYTHON_PSUTIL
 	select BR2_PACKAGE_PYTHON_PYASN
@@ -20,6 +19,7 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
 	select BR2_PACKAGE_PYTHON_PYOPENSSL
 	select BR2_PACKAGE_PYTHON_PYTRIE
 	select BR2_PACKAGE_PYTHON_PYYAML
+	select BR2_PACKAGE_PYTHON_SDNOTIFY
 	select BR2_PACKAGE_PYTHON_SETUPTOOLS
 	select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
 	select BR2_PACKAGE_PYTHON_SETPROCTITLE

package/python-crossbar/Config.in config BR2_PACKAGE_PYTHON_CROSSBAR · line 35

Quoted 10 lines
package/python-crossbar/Config.in +3 -1
@@ -27,7 +27,9 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
 	select BR2_PACKAGE_PYTHON_SHUTILWHICH if BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_PYTHON_TREQ
 	select BR2_PACKAGE_PYTHON_TWISTED
-	select BR2_PACKAGE_PYTHON_UJSON
+	select BR2_PACKAGE_PYTHON_U_MSGPACK
+	select BR2_PACKAGE_PYTHON_UBJSON
+	select BR2_PACKAGE_PYTHON_WATCHDOG
 	select BR2_PACKAGE_PYTHON_WSACCEL
 	depends on BR2_INSTALL_LIBSTDCPP # python-msgpack -> msgpack
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # python-msgpack -> msgpack

...but you keep the depends on that were needed because python-msgpack was selected. This doesn't seem right.

Could you review this and send an updated version?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#6 lore raw

PATCH 5/5 python-crossbar: bump to version 0.14.0

Quoted 50 lines · Thomas Petazzoni

Hello,

Quoted 14 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

---
 package/python-crossbar/Config.in            | 6 ++++--
 package/python-crossbar/python-crossbar.hash | 6 +++---
 package/python-crossbar/python-crossbar.mk   | 4 ++--
 3 files changed, 9 insertions(+), 7 deletions(-)
package/python-crossbar/Config.in +0 -0
index 4e613db..f3a6901 100644

package/python-crossbar/Config.in config BR2_PACKAGE_PYTHON_CROSSBAR · line 12

Quoted 4 lines
package/python-crossbar/Config.in +0 -1
@@ -9,7 +9,6 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
      select BR2_PACKAGE_PYTHON_JINJA2
      select BR2_PACKAGE_PYTHON_LMDB
      select BR2_PACKAGE_PYTHON_MISTUNE
-     select BR2_PACKAGE_PYTHON_MSGPACK

So you no longer select python-msgpack...

Quoted 12 lines
package/python-crossbar/Config.in +1 -0
      select BR2_PACKAGE_PYTHON_NETADDR
      select BR2_PACKAGE_PYTHON_PSUTIL
      select BR2_PACKAGE_PYTHON_PYASN
@@ -20,6 +19,7 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
      select BR2_PACKAGE_PYTHON_PYOPENSSL
      select BR2_PACKAGE_PYTHON_PYTRIE
      select BR2_PACKAGE_PYTHON_PYYAML
+     select BR2_PACKAGE_PYTHON_SDNOTIFY
      select BR2_PACKAGE_PYTHON_SETUPTOOLS
      select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY
      select BR2_PACKAGE_PYTHON_SETPROCTITLE

package/python-crossbar/Config.in config BR2_PACKAGE_PYTHON_CROSSBAR · line 35

Quoted 10 lines
package/python-crossbar/Config.in +3 -1
@@ -27,7 +27,9 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
      select BR2_PACKAGE_PYTHON_SHUTILWHICH if BR2_PACKAGE_PYTHON
      select BR2_PACKAGE_PYTHON_TREQ
      select BR2_PACKAGE_PYTHON_TWISTED
-     select BR2_PACKAGE_PYTHON_UJSON
+     select BR2_PACKAGE_PYTHON_U_MSGPACK
+     select BR2_PACKAGE_PYTHON_UBJSON
+     select BR2_PACKAGE_PYTHON_WATCHDOG
      select BR2_PACKAGE_PYTHON_WSACCEL
      depends on BR2_INSTALL_LIBSTDCPP # python-msgpack -> msgpack
      depends on BR2_TOOLCHAIN_HAS_SYNC_4 # python-msgpack -> msgpack

...but you keep the depends on that were needed because python-msgpack was selected. This doesn't seem right.

Quoted 1 line

Could you review this and send an updated version?

Good catch! Will send v2.

Yegor

#7 lore raw

PATCH 1/5 python-sdnotify: new package

In reply to yegorslists at googlemail.com

Hello,

Quoted 12 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

---
 package/Config.in                            |  1 +
 package/python-sdnotify/Config.in            |  7 +++++++
 package/python-sdnotify/python-sdnotify.hash |  4 ++++
 package/python-sdnotify/python-sdnotify.mk   | 13 +++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/python-sdnotify/Config.in
 create mode 100644 package/python-sdnotify/python-sdnotify.hash
 create mode 100644 package/python-sdnotify/python-sdnotify.mk

Patches 1 to 4 applied to master. I have some comments on patch 5, to which I'll reply.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com