All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] python-serial: update
@ 2018-10-22  9:16 james.hilliard1 at gmail.com
  2018-10-22  9:16 ` [Buildroot] [PATCH v2 2/2] python-serial-asyncio: new package james.hilliard1 at gmail.com
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: james.hilliard1 at gmail.com @ 2018-10-22  9:16 UTC (permalink / raw)
  To: buildroot

From: James Hilliard <james.hilliard1@gmail.com>

we no longer need to remove aio.py since asyncio has been moved to python-serial-asyncio

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/python-serial/python-serial.hash |  8 +++++---
 package/python-serial/python-serial.mk   | 14 ++------------
 2 files changed, 7 insertions(+), 15 deletions(-)

diff --git a/package/python-serial/python-serial.hash b/package/python-serial/python-serial.hash
index f98a8b9..96209a9 100644
--- a/package/python-serial/python-serial.hash
+++ b/package/python-serial/python-serial.hash
@@ -1,3 +1,5 @@
-# md5 from http://pypi.python.org/pypi?:action=show_md5&digest=e849af7f8b7ec75cbc7a53da67c51a51, sha256 locally computed
-md5     e849af7f8b7ec75cbc7a53da67c51a51  pyserial-3.1.tar.gz
-sha256  c8ffdcbd8bfd308842409e558848c32aa3499a1bfe95a591e4210072b9520f1e  pyserial-3.1.tar.gz
+# md5, sha256 from https://pypi.org/pypi/pyserial/json
+md5     ed6183b15519a0ae96675e9c3330c69b  pyserial-3.4.tar.gz
+sha256  6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627  pyserial-3.4.tar.gz
+# Locally computed sha256 checksums
+sha256	a89d951d157e2c199fbbe7ecf8d41bc3bc93de166db524aa6b9b610dbccc832d  LICENSE.txt
diff --git a/package/python-serial/python-serial.mk b/package/python-serial/python-serial.mk
index ce7ec07..d583ac6 100644
--- a/package/python-serial/python-serial.mk
+++ b/package/python-serial/python-serial.mk
@@ -4,21 +4,11 @@
 #
 ################################################################################
 
-PYTHON_SERIAL_VERSION = 3.1
+PYTHON_SERIAL_VERSION = 3.4
 PYTHON_SERIAL_SOURCE = pyserial-$(PYTHON_SERIAL_VERSION).tar.gz
-PYTHON_SERIAL_SITE = https://pypi.python.org/packages/ce/9c/694ce79a9d4a164e109aeba1a40fba23336f3b7554978553e22a5d41d54d
+PYTHON_SERIAL_SITE = https://files.pythonhosted.org/packages/cc/74/11b04703ec416717b247d789103277269d567db575d2fd88f25d9767fe3d
 PYTHON_SERIAL_LICENSE = BSD-3-Clause
 PYTHON_SERIAL_LICENSE_FILES = LICENSE.txt
 PYTHON_SERIAL_SETUP_TYPE = setuptools
 
-# aio.py is an experimental module, that is compatible only with
-# Python 3, so remove it for Python 2 environment or it will
-# cause compilation errors
-ifeq ($(BR2_PACKAGE_PYTHON),y)
-define PYTHON_SERIAL_REMOVE_AIO_PY
-	rm $(@D)/serial/aio.py
-endef
-PYTHON_SERIAL_POST_EXTRACT_HOOKS = PYTHON_SERIAL_REMOVE_AIO_PY
-endif
-
 $(eval $(python-package))
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH v2 2/2] python-serial-asyncio: new package
  2018-10-22  9:16 [Buildroot] [PATCH v2 1/2] python-serial: update james.hilliard1 at gmail.com
@ 2018-10-22  9:16 ` james.hilliard1 at gmail.com
  2018-10-22  9:23   ` Yegor Yefremov
  2018-10-23 14:36   ` Peter Korsgaard
  2018-10-22  9:23 ` [Buildroot] [PATCH v2 1/2] python-serial: update Yegor Yefremov
  2018-10-23 14:35 ` Peter Korsgaard
  2 siblings, 2 replies; 6+ messages in thread
From: james.hilliard1 at gmail.com @ 2018-10-22  9:16 UTC (permalink / raw)
  To: buildroot

From: James Hilliard <james.hilliard1@gmail.com>

asyncio extension package for pyserial

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/Config.in                                        |  1 +
 package/python-serial-asyncio/Config.in                  |  8 ++++++++
 package/python-serial-asyncio/python-serial-asyncio.hash |  5 +++++
 package/python-serial-asyncio/python-serial-asyncio.mk   | 14 ++++++++++++++
 4 files changed, 28 insertions(+)
 create mode 100644 package/python-serial-asyncio/Config.in
 create mode 100644 package/python-serial-asyncio/python-serial-asyncio.hash
 create mode 100644 package/python-serial-asyncio/python-serial-asyncio.mk

diff --git a/package/Config.in b/package/Config.in
index 177861e..f4cc928 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1008,6 +1008,7 @@ menu "External python modules"
 	source "package/python-see/Config.in"
 	source "package/python-semver/Config.in"
 	source "package/python-serial/Config.in"
+	source "package/python-serial-asyncio/Config.in"
 	source "package/python-service-identity/Config.in"
 	source "package/python-setproctitle/Config.in"
 	source "package/python-setuptools/Config.in"
diff --git a/package/python-serial-asyncio/Config.in b/package/python-serial-asyncio/Config.in
new file mode 100644
index 0000000..5520b72
--- /dev/null
+++ b/package/python-serial-asyncio/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_SERIAL_ASYNCIO
+	bool "python-serial-asyncio"
+	depends on BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_PYTHON_SERIAL
+	help
+	  asyncio extension package for pyserial.
+
+	  https://github.com/pyserial/pyserial-asyncio
diff --git a/package/python-serial-asyncio/python-serial-asyncio.hash b/package/python-serial-asyncio/python-serial-asyncio.hash
new file mode 100644
index 0000000..268c7d8
--- /dev/null
+++ b/package/python-serial-asyncio/python-serial-asyncio.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pyserial-asyncio/json
+md5     67244fdc11cc31cf0ebf675c271c71d8  pyserial-asyncio-0.4.tar.gz
+sha256  c40677a8874d8c24d4423a97498746de776f6dbcd0efbb8fa43dcf011a589aee  pyserial-asyncio-0.4.tar.gz
+# Locally computed sha256 checksums
+sha256	f8ded3a7460d3b2850b0cf673e986c70e9d997fd0732d8ab3f3c84f1f191087d  LICENSE.txt
diff --git a/package/python-serial-asyncio/python-serial-asyncio.mk b/package/python-serial-asyncio/python-serial-asyncio.mk
new file mode 100644
index 0000000..39c3476
--- /dev/null
+++ b/package/python-serial-asyncio/python-serial-asyncio.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-serial-asyncio
+#
+################################################################################
+
+PYTHON_SERIAL_ASYNCIO_VERSION = 0.4
+PYTHON_SERIAL_ASYNCIO_SOURCE = pyserial-asyncio-$(PYTHON_SERIAL_ASYNCIO_VERSION).tar.gz
+PYTHON_SERIAL_ASYNCIO_SITE = https://files.pythonhosted.org/packages/41/3f/e26f71269cbc0890a527a736d9afc5c0d5838a2c188be680558d635b7dc2
+PYTHON_SERIAL_ASYNCIO_LICENSE = BSD-3-Clause
+PYTHON_SERIAL_ASYNCIO_LICENSE_FILES = LICENSE.txt
+PYTHON_SERIAL_ASYNCIO_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH v2 1/2] python-serial: update
  2018-10-22  9:16 [Buildroot] [PATCH v2 1/2] python-serial: update james.hilliard1 at gmail.com
  2018-10-22  9:16 ` [Buildroot] [PATCH v2 2/2] python-serial-asyncio: new package james.hilliard1 at gmail.com
@ 2018-10-22  9:23 ` Yegor Yefremov
  2018-10-23 14:35 ` Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Yegor Yefremov @ 2018-10-22  9:23 UTC (permalink / raw)
  To: buildroot

On Mon, Oct 22, 2018 at 11:17 AM <james.hilliard1@gmail.com> wrote:
>
> From: James Hilliard <james.hilliard1@gmail.com>
>
> we no longer need to remove aio.py since asyncio has been moved to python-serial-asyncio
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

> ---
>  package/python-serial/python-serial.hash |  8 +++++---
>  package/python-serial/python-serial.mk   | 14 ++------------
>  2 files changed, 7 insertions(+), 15 deletions(-)
>
> diff --git a/package/python-serial/python-serial.hash b/package/python-serial/python-serial.hash
> index f98a8b9..96209a9 100644
> --- a/package/python-serial/python-serial.hash
> +++ b/package/python-serial/python-serial.hash
> @@ -1,3 +1,5 @@
> -# md5 from http://pypi.python.org/pypi?:action=show_md5&digest=e849af7f8b7ec75cbc7a53da67c51a51, sha256 locally computed
> -md5     e849af7f8b7ec75cbc7a53da67c51a51  pyserial-3.1.tar.gz
> -sha256  c8ffdcbd8bfd308842409e558848c32aa3499a1bfe95a591e4210072b9520f1e  pyserial-3.1.tar.gz
> +# md5, sha256 from https://pypi.org/pypi/pyserial/json
> +md5     ed6183b15519a0ae96675e9c3330c69b  pyserial-3.4.tar.gz
> +sha256  6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627  pyserial-3.4.tar.gz
> +# Locally computed sha256 checksums
> +sha256 a89d951d157e2c199fbbe7ecf8d41bc3bc93de166db524aa6b9b610dbccc832d  LICENSE.txt
> diff --git a/package/python-serial/python-serial.mk b/package/python-serial/python-serial.mk
> index ce7ec07..d583ac6 100644
> --- a/package/python-serial/python-serial.mk
> +++ b/package/python-serial/python-serial.mk
> @@ -4,21 +4,11 @@
>  #
>  ################################################################################
>
> -PYTHON_SERIAL_VERSION = 3.1
> +PYTHON_SERIAL_VERSION = 3.4
>  PYTHON_SERIAL_SOURCE = pyserial-$(PYTHON_SERIAL_VERSION).tar.gz
> -PYTHON_SERIAL_SITE = https://pypi.python.org/packages/ce/9c/694ce79a9d4a164e109aeba1a40fba23336f3b7554978553e22a5d41d54d
> +PYTHON_SERIAL_SITE = https://files.pythonhosted.org/packages/cc/74/11b04703ec416717b247d789103277269d567db575d2fd88f25d9767fe3d
>  PYTHON_SERIAL_LICENSE = BSD-3-Clause
>  PYTHON_SERIAL_LICENSE_FILES = LICENSE.txt
>  PYTHON_SERIAL_SETUP_TYPE = setuptools
>
> -# aio.py is an experimental module, that is compatible only with
> -# Python 3, so remove it for Python 2 environment or it will
> -# cause compilation errors
> -ifeq ($(BR2_PACKAGE_PYTHON),y)
> -define PYTHON_SERIAL_REMOVE_AIO_PY
> -       rm $(@D)/serial/aio.py
> -endef
> -PYTHON_SERIAL_POST_EXTRACT_HOOKS = PYTHON_SERIAL_REMOVE_AIO_PY
> -endif
> -
>  $(eval $(python-package))
> --
> 2.7.4
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH v2 2/2] python-serial-asyncio: new package
  2018-10-22  9:16 ` [Buildroot] [PATCH v2 2/2] python-serial-asyncio: new package james.hilliard1 at gmail.com
@ 2018-10-22  9:23   ` Yegor Yefremov
  2018-10-23 14:36   ` Peter Korsgaard
  1 sibling, 0 replies; 6+ messages in thread
From: Yegor Yefremov @ 2018-10-22  9:23 UTC (permalink / raw)
  To: buildroot

On Mon, Oct 22, 2018 at 11:17 AM <james.hilliard1@gmail.com> wrote:
>
> From: James Hilliard <james.hilliard1@gmail.com>
>
> asyncio extension package for pyserial
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

> ---
>  package/Config.in                                        |  1 +
>  package/python-serial-asyncio/Config.in                  |  8 ++++++++
>  package/python-serial-asyncio/python-serial-asyncio.hash |  5 +++++
>  package/python-serial-asyncio/python-serial-asyncio.mk   | 14 ++++++++++++++
>  4 files changed, 28 insertions(+)
>  create mode 100644 package/python-serial-asyncio/Config.in
>  create mode 100644 package/python-serial-asyncio/python-serial-asyncio.hash
>  create mode 100644 package/python-serial-asyncio/python-serial-asyncio.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 177861e..f4cc928 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1008,6 +1008,7 @@ menu "External python modules"
>         source "package/python-see/Config.in"
>         source "package/python-semver/Config.in"
>         source "package/python-serial/Config.in"
> +       source "package/python-serial-asyncio/Config.in"
>         source "package/python-service-identity/Config.in"
>         source "package/python-setproctitle/Config.in"
>         source "package/python-setuptools/Config.in"
> diff --git a/package/python-serial-asyncio/Config.in b/package/python-serial-asyncio/Config.in
> new file mode 100644
> index 0000000..5520b72
> --- /dev/null
> +++ b/package/python-serial-asyncio/Config.in
> @@ -0,0 +1,8 @@
> +config BR2_PACKAGE_PYTHON_SERIAL_ASYNCIO
> +       bool "python-serial-asyncio"
> +       depends on BR2_PACKAGE_PYTHON3
> +       select BR2_PACKAGE_PYTHON_SERIAL
> +       help
> +         asyncio extension package for pyserial.
> +
> +         https://github.com/pyserial/pyserial-asyncio
> diff --git a/package/python-serial-asyncio/python-serial-asyncio.hash b/package/python-serial-asyncio/python-serial-asyncio.hash
> new file mode 100644
> index 0000000..268c7d8
> --- /dev/null
> +++ b/package/python-serial-asyncio/python-serial-asyncio.hash
> @@ -0,0 +1,5 @@
> +# md5, sha256 from https://pypi.org/pypi/pyserial-asyncio/json
> +md5     67244fdc11cc31cf0ebf675c271c71d8  pyserial-asyncio-0.4.tar.gz
> +sha256  c40677a8874d8c24d4423a97498746de776f6dbcd0efbb8fa43dcf011a589aee  pyserial-asyncio-0.4.tar.gz
> +# Locally computed sha256 checksums
> +sha256 f8ded3a7460d3b2850b0cf673e986c70e9d997fd0732d8ab3f3c84f1f191087d  LICENSE.txt
> diff --git a/package/python-serial-asyncio/python-serial-asyncio.mk b/package/python-serial-asyncio/python-serial-asyncio.mk
> new file mode 100644
> index 0000000..39c3476
> --- /dev/null
> +++ b/package/python-serial-asyncio/python-serial-asyncio.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-serial-asyncio
> +#
> +################################################################################
> +
> +PYTHON_SERIAL_ASYNCIO_VERSION = 0.4
> +PYTHON_SERIAL_ASYNCIO_SOURCE = pyserial-asyncio-$(PYTHON_SERIAL_ASYNCIO_VERSION).tar.gz
> +PYTHON_SERIAL_ASYNCIO_SITE = https://files.pythonhosted.org/packages/41/3f/e26f71269cbc0890a527a736d9afc5c0d5838a2c188be680558d635b7dc2
> +PYTHON_SERIAL_ASYNCIO_LICENSE = BSD-3-Clause
> +PYTHON_SERIAL_ASYNCIO_LICENSE_FILES = LICENSE.txt
> +PYTHON_SERIAL_ASYNCIO_SETUP_TYPE = setuptools
> +
> +$(eval $(python-package))
> --
> 2.7.4
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH v2 1/2] python-serial: update
  2018-10-22  9:16 [Buildroot] [PATCH v2 1/2] python-serial: update james.hilliard1 at gmail.com
  2018-10-22  9:16 ` [Buildroot] [PATCH v2 2/2] python-serial-asyncio: new package james.hilliard1 at gmail.com
  2018-10-22  9:23 ` [Buildroot] [PATCH v2 1/2] python-serial: update Yegor Yefremov
@ 2018-10-23 14:35 ` Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2018-10-23 14:35 UTC (permalink / raw)
  To: buildroot

>>>>> "james" == james hilliard1 <james.hilliard1@gmail.com> writes:

 > From: James Hilliard <james.hilliard1@gmail.com>
 > we no longer need to remove aio.py since asyncio has been moved to python-serial-asyncio

 > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH v2 2/2] python-serial-asyncio: new package
  2018-10-22  9:16 ` [Buildroot] [PATCH v2 2/2] python-serial-asyncio: new package james.hilliard1 at gmail.com
  2018-10-22  9:23   ` Yegor Yefremov
@ 2018-10-23 14:36   ` Peter Korsgaard
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2018-10-23 14:36 UTC (permalink / raw)
  To: buildroot

>>>>> "james" == james hilliard1 <james.hilliard1@gmail.com> writes:

 > From: James Hilliard <james.hilliard1@gmail.com>
 > asyncio extension package for pyserial

 > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-23 14:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-22  9:16 [Buildroot] [PATCH v2 1/2] python-serial: update james.hilliard1 at gmail.com
2018-10-22  9:16 ` [Buildroot] [PATCH v2 2/2] python-serial-asyncio: new package james.hilliard1 at gmail.com
2018-10-22  9:23   ` Yegor Yefremov
2018-10-23 14:36   ` Peter Korsgaard
2018-10-22  9:23 ` [Buildroot] [PATCH v2 1/2] python-serial: update Yegor Yefremov
2018-10-23 14:35 ` Peter Korsgaard

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.