package/python-aioblescan: Bump to version 0.2.7
PATCH 1/1 package/python-aioblescan: Bump to version 0.2.7
--- ...ption-from-README.rst-instead-of-REA.patch | 39 +++++++++++++++++++ .../python-aioblescan/python-aioblescan.hash | 6 +-- .../python-aioblescan/python-aioblescan.mk | 4 +- 3 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 package/python-aioblescan/0001-Load-long-description-from-README.rst-instead-of-REA.patch
package/python-aioblescan/0001-Load-long-description-from-README.rst-instead-of-REA.patch new file +39 -0
@@ -0,0 +1,39 @@ +From cec20ab0494051d7aaf277ec19f36948141f6210 Mon Sep 17 00:00:00 2001 +From: Grzegorz Blach <[email protected]> +Date: Thu, 25 Feb 2021 14:14:43 +0100 +Subject: [PATCH 1/1] Load long description from README.rst instead of + README.md, because README.md is missing in 0.2.7 release. + +Signed-off-by: Grzegorz Blach <[email protected]> +--- + setup.cfg | 2 +- + setup.py | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.cfg b/setup.cfg +index 9f88734..26fc631 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -1,5 +1,5 @@ + [metadata] +-description-file = README.md ++description-file = README.rst + + [egg_info] + tag_build = +diff --git a/setup.py b/setup.py +index 582a994..1f3c251 100644 +--- a/setup.py ++++ b/setup.py +@@ -4,7 +4,7 @@ import setuptools + + version = "0.2.7" + +-with open("README.md", "r") as fh: ++with open("README.rst", "r") as fh: + long_description = fh.read() + + setuptools.setup( +-- +2.27.0 +
package/python-aioblescan/python-aioblescan.hash +3 -3
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/aioblescan/json -md5 9ad3f04ea7ad4c81a53f8e1316985527 aioblescan-0.2.6.tar.gz -sha256 2e45c325e070a0ee4e952a7d0c56e95ad230643e1057fb5f3e95ea5c99081436 aioblescan-0.2.6.tar.gz +md5 fbcbf92260269d401a197636412f0c99 aioblescan-0.2.7.tar.gz +sha256 2987f575c5129a21e42ad59e439feb3c96e0ad7210ef73af8eba1344106e5f5f aioblescan-0.2.7.tar.gz # Locally computed sha256 checksums -sha256 c2066cd44079e0c706234001af18cb6ad4b62fc68d0d08d29fdc7319916647e0 LICENSE.txt +sha256 c2066cd44079e0c706234001af18cb6ad4b62fc68d0d08d29fdc7319916647e0 LICENSE.txt
package/python-aioblescan/python-aioblescan.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AIOBLESCAN_VERSION = 0.2.6 +PYTHON_AIOBLESCAN_VERSION = 0.2.7 PYTHON_AIOBLESCAN_SOURCE = aioblescan-$(PYTHON_AIOBLESCAN_VERSION).tar.gz -PYTHON_AIOBLESCAN_SITE = https://files.pythonhosted.org/packages/66/b8/888c2eb4323ed498dbc7deeb8aee0cfec9edd8c25184b06a8874bb0cf84f +PYTHON_AIOBLESCAN_SITE = https://files.pythonhosted.org/packages/78/2c/c09d8f83ed6c2ca6c4f803f2e5c349698eb78b82c8d5e9302a8eed1a7480 PYTHON_AIOBLESCAN_SETUP_TYPE = setuptools PYTHON_AIOBLESCAN_LICENSE = MIT PYTHON_AIOBLESCAN_LICENSE_FILES = LICENSE.txt
Signature · 1 line
2.27.0
PATCH 1/1 package/python-aioblescan: Bump to version 0.2.7
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Grzegorz" == Grzegorz Blach <[email protected]> writes:
Signed-off-by Grzegorz Blach <[email protected]>
What is the upstream status of the patch? You don't mention it in your commit message.
Also use the -N option to git format-patch as pointed out by check-package:
package/python-aioblescan/0001-Load-long-description-from-README.rst-instead-of-REA.patch:4: generate your patches with 'git format-patch -N'
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/python-aioblescan: Bump to version 0.2.7
Quoted 6 lines · Peter Korsgaard
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Grzegorz" == Grzegorz Blach <[email protected]> writes:
Signed-off-by Grzegorz Blach <[email protected]>What is the upstream status of the patch? You don't mention it in your commit message.
At time when I wrote my patch the bug was not fixed upstream yet, but now it is. So I've just sent update with patch fetched from upstream.
Quoted 5 lines
Also use the -N option to git format-patch as pointed out by check-package:
package/python-aioblescan/0001-Load-long-description-from-README.rst-instead-of-REA.patch:4: generate your patches with 'git format-patch -N'
PATCH 1/1 package/python-aioblescan: bump to version 0.2.7
In reply to Grzegorz Blach---
Changes v1 -> v2:
- Use similar patch from upstream instead my own, since the bug was fixed in upstream/master.
--- ...001-Move-README-to-reStructured-text.patch | 35 +++++++++++++++++++ .../python-aioblescan/python-aioblescan.hash | 6 ++-- .../python-aioblescan/python-aioblescan.mk | 4 +-- 3 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 package/python-aioblescan/0001-Move-README-to-reStructured-text.patch
package/python-aioblescan/0001-Move-README-to-reStructured-text.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 62260e0a42dd6c1c10660f68a531c49bd6cade2e Mon Sep 17 00:00:00 2001 +From: Francois Wautier <[email protected]> +Date: Thu, 25 Feb 2021 20:07:08 +0700 +Subject: [PATCH] Move README to reStructured text + +Signed-off-by: Grzegorz Blach <[email protected]> +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 582a994..315b3bb 100644 +--- a/setup.py ++++ b/setup.py +@@ -4,7 +4,7 @@ import setuptools + + version = "0.2.7" + +-with open("README.md", "r") as fh: ++with open("README.rst", "r") as fh: + long_description = fh.read() + + setuptools.setup( +@@ -16,7 +16,7 @@ setuptools.setup( + author_email="francois at wautier.eu", + description="Scanning Bluetooth for advertised info with asyncio.", + long_description=long_description, +- long_description_content_type="text/markdown", ++ long_description_content_type="text/x-rst", + url="http://github.com/frawau/aioblescan", + keywords=["bluetooth", "advertising", "hci", "ble"], + license="MIT", +-- +2.27.0 +
package/python-aioblescan/python-aioblescan.hash +3 -3
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/aioblescan/json -md5 9ad3f04ea7ad4c81a53f8e1316985527 aioblescan-0.2.6.tar.gz -sha256 2e45c325e070a0ee4e952a7d0c56e95ad230643e1057fb5f3e95ea5c99081436 aioblescan-0.2.6.tar.gz +md5 fbcbf92260269d401a197636412f0c99 aioblescan-0.2.7.tar.gz +sha256 2987f575c5129a21e42ad59e439feb3c96e0ad7210ef73af8eba1344106e5f5f aioblescan-0.2.7.tar.gz # Locally computed sha256 checksums -sha256 c2066cd44079e0c706234001af18cb6ad4b62fc68d0d08d29fdc7319916647e0 LICENSE.txt +sha256 c2066cd44079e0c706234001af18cb6ad4b62fc68d0d08d29fdc7319916647e0 LICENSE.txt
package/python-aioblescan/python-aioblescan.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_AIOBLESCAN_VERSION = 0.2.6 +PYTHON_AIOBLESCAN_VERSION = 0.2.7 PYTHON_AIOBLESCAN_SOURCE = aioblescan-$(PYTHON_AIOBLESCAN_VERSION).tar.gz -PYTHON_AIOBLESCAN_SITE = https://files.pythonhosted.org/packages/66/b8/888c2eb4323ed498dbc7deeb8aee0cfec9edd8c25184b06a8874bb0cf84f +PYTHON_AIOBLESCAN_SITE = https://files.pythonhosted.org/packages/78/2c/c09d8f83ed6c2ca6c4f803f2e5c349698eb78b82c8d5e9302a8eed1a7480 PYTHON_AIOBLESCAN_SETUP_TYPE = setuptools PYTHON_AIOBLESCAN_LICENSE = MIT PYTHON_AIOBLESCAN_LICENSE_FILES = LICENSE.txt
Signature · 1 line
2.27.0
Thomas Petazzoni
AppliedPATCH 1/1 package/python-aioblescan: bump to version 0.2.7
Quoted 11 lines · On Tue, 2 Mar 2021 17:57:52 +0100 Grzegorz Blach <[email protected]> wrote:
Signed-off-by Grzegorz Blach <[email protected]>---
Changes v1 -> v2:
- Use similar patch from upstream instead my own, since the bug was fixed in upstream/master.--- ...001-Move-README-to-reStructured-text.patch | 35 +++++++++++++++++++ .../python-aioblescan/python-aioblescan.hash | 6 ++-- .../python-aioblescan/python-aioblescan.mk | 4 +-- 3 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 package/python-aioblescan/0001-Move-README-to-reStructured-text.patch
Applied to next, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com