Skip to contentSkip to conversation

python3-pyparted: Consolidate in a single file

PATCH In review Leon Anavi 2 participants 20 messages Jun 29, 2020 – Jun 30, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/10 python3-pyparted: Consolidate in a single file

Consolidate inc and bb files into a single bb file.

---
 .../python-pyparted/python-pyparted.inc       | 22 ------------------
 .../python3-pyparted_3.11.3.bb                | 23 +++++++++++++++++--
 2 files changed, 21 insertions(+), 24 deletions(-)
 delete mode 100644 meta-python/recipes-extended/python-pyparted/python-pyparted.inc
meta-python/recipes-extended/python-pyparted/python-pyparted.inc deleted +0 -22
deleted file mode 100644
index 97054487f..000000000
@@ -1,22 +0,0 @@
-DESCRIPTION = "pyparted is a set of Python modules that provide Python programmers \
-an interface to libparted, the GNU parted library for disk partitioning and \
-filesystem manipulation."
-SUMMARY = "Python bindings for libparted"
-HOMEPAGE = "https://github.com/rhinstaller/pyparted"
-LICENSE = "GPL-2.0+"
-LIC_FILES_CHKSUM = "\
-    file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
-    file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \
-"
-DEPENDS += "parted"
-
-# upstream only publishes releases in github archives which are discouraged
-SRCREV = "481510c10866851844b19f3d2ffcdaa37efc0cf8"
-SRC_URI = "git://github.com/rhinstaller/pyparted.git;protocol=https"
-
-S = "${WORKDIR}/git"
-
-RDEPENDS_${PN}_class-target += " \
-    parted (>= 2.3) \
-"
-RDEPENDS_${PN}_class-native = ""
meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb +21 -2
index d83901ff3..a801920c0 100644
@@ -1,8 +1,27 @@
-require python-pyparted.inc
+DESCRIPTION = "pyparted is a set of Python modules that provide Python programmers \
+an interface to libparted, the GNU parted library for disk partitioning and \
+filesystem manipulation."
+SUMMARY = "Python bindings for libparted"
+HOMEPAGE = "https://github.com/rhinstaller/pyparted"
+LICENSE = "GPL-2.0+"
+LIC_FILES_CHKSUM = "\
+    file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
+    file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \
+"
+DEPENDS += "parted"
+
+# upstream only publishes releases in github archives which are discouraged
+SRCREV = "481510c10866851844b19f3d2ffcdaa37efc0cf8"
+SRC_URI = "git://github.com/rhinstaller/pyparted.git;protocol=https"
 
 inherit distutils3
 
-RDEPENDS_${PN} += "python3-stringold python3-codecs python3-math"
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN}_class-target += " \
+    parted (>= 2.3) \
+    python3-stringold python3-codecs python3-math \
+"
 RDEPENDS_${PN}_class-native = ""
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/10 python3-pyparted: Upgrade 3.11.3 -> 3.11.6

Inherit pypi. Upgrade to release 3.11.6:

- Use preprocessor for the _ped module and what constants to include
- Reduce libparted requirement to 3.2
- Update the pypi target in the Makefile
- Reduce minimum Python required to 3.5

---
 ...3-pyparted_3.11.3.bb => python3-pyparted_3.11.6.bb} | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
 rename meta-python/recipes-extended/python-pyparted/{python3-pyparted_3.11.3.bb => python3-pyparted_3.11.6.bb} (73%)
meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb renamed from meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb +4 -6
similarity index 73%
rename from meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb
rename to meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb
index a801920c0..63f493366 100644
@@ -8,15 +8,13 @@ LIC_FILES_CHKSUM = "\
     file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
     file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \
 "
-DEPENDS += "parted"
 
-# upstream only publishes releases in github archives which are discouraged
-SRCREV = "481510c10866851844b19f3d2ffcdaa37efc0cf8"
-SRC_URI = "git://github.com/rhinstaller/pyparted.git;protocol=https"
+SRC_URI[md5sum] = "b85dcaecc3106eb6e9a117270b09615e"
+SRC_URI[sha256sum] = "727ccdf308c194069aa9797f7a6a973bc95b2e407cdf5d58d6c8bc4c9dec92dc"
 
-inherit distutils3
+inherit pypi distutils3
 
-S = "${WORKDIR}/git"
+DEPENDS += "parted"
 
 RDEPENDS_${PN}_class-target += " \
     parted (>= 2.3) \
Signature · 1 line
2.17.1
Acked-by on v1 2/10
#2 lore raw

Re: [oe] [meta-python][PATCH 02/10] python3-pyparted: Upgrade 3.11.3 -> 3.11.6

Quoted 9 lines · Leon Anavi

Inherit pypi. Upgrade to release 3.11.6:

- Use preprocessor for the _ped module and what constants to include
- Reduce libparted requirement to 3.2
- Update the pypi target in the Makefile
- Reduce minimum Python required to 3.5

Quoted 34 lines
---
  ...3-pyparted_3.11.3.bb => python3-pyparted_3.11.6.bb} | 10 ++++------
  1 file changed, 4 insertions(+), 6 deletions(-)

rename meta-python/recipes-extended/python-pyparted/{python3-pyparted_3.11.3.bb => python3-pyparted_3.11.6.bb} (73%)

meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb renamed from meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb +4 -6
similarity index 73%
rename from meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb
rename to meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.6.bb
index a801920c0..63f493366 100644
@@ -8,15 +8,13 @@ LIC_FILES_CHKSUM = "\
      file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
      file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \
  "
-DEPENDS += "parted"
 
-# upstream only publishes releases in github archives which are discouraged
-SRCREV = "481510c10866851844b19f3d2ffcdaa37efc0cf8"
-SRC_URI = "git://github.com/rhinstaller/pyparted.git;protocol=https"
+SRC_URI[md5sum] = "b85dcaecc3106eb6e9a117270b09615e"
+SRC_URI[sha256sum] = "727ccdf308c194069aa9797f7a6a973bc95b2e407cdf5d58d6c8bc4c9dec92dc"
 
-inherit distutils3
+inherit pypi distutils3
 
-S = "${WORKDIR}/git"
+DEPENDS += "parted"
 
  RDEPENDS_${PN}_class-target += " \
      parted (>= 2.3) \
author
#3 lore raw

PATCH 3/10 python3-pywbem: Consolidate in a single file

In reply to Leon Anavi

Consolidate inc and bb files into a single bb file.

---
 .../recipes-extended/pywbem/python-pywbem.inc | 51 ------------------
 .../pywbem/python3-pywbem_0.15.0.bb           | 53 ++++++++++++++++++-
 2 files changed, 51 insertions(+), 53 deletions(-)
 delete mode 100644 meta-python/recipes-extended/pywbem/python-pywbem.inc
meta-python/recipes-extended/pywbem/python-pywbem.inc deleted +0 -51
deleted file mode 100644
index 98508b0c3..000000000
@@ -1,51 +0,0 @@
-SUMMARY = "Python WBEM Client and Provider Interface"
-DESCRIPTION = "\
-A Python library for making CIM (Common Information Model) operations over \
-HTTP using the WBEM CIM-XML protocol. It is based on the idea that a good \
-WBEM client should be easy to use and not necessarily require a large amount \
-of programming knowledge. It is suitable for a large range of tasks from \
-simply poking around to writing web and GUI applications. \
-\
-WBEM, or Web Based Enterprise Management is a manageability protocol, like \
-SNMP, standardised by the Distributed Management Task Force (DMTF) available \
-at http://www.dmtf.org/standards/wbem. \
-\
-It also provides a Python provider interface, and is the fastest and easiest \
-way to write providers on the planet."
-HOMEPAGE = "http://pywbem.github.io"
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
-
-inherit pypi 
-
-SRCREV = "b3386b3bee8876d15f0745147c0b08937d8ab18e"
-PYPI_SRC_URI = "git://github.com/pywbem/pywbem;protocol=https;branch=stable_0.15"
-
-S = "${WORKDIR}/git"
-
-DEPENDS += " \
-    ${PYTHON_PN}-ply-native \
-    ${PYTHON_PN}-pyyaml-native \
-    ${PYTHON_PN}-six-native \
-"
-
-do_install_append() {
-    mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli
-
-    rm -f ${D}${bindir}/*.bat
-}
-
-RDEPENDS_${PN}_class-target += "\
-    ${PYTHON_PN}-datetime \
-    ${PYTHON_PN}-io \
-    ${PYTHON_PN}-netclient \
-    ${PYTHON_PN}-ply \
-    ${PYTHON_PN}-pyyaml \
-    ${PYTHON_PN}-six \
-    ${PYTHON_PN}-stringold \
-    ${PYTHON_PN}-threading \
-    ${PYTHON_PN}-unixadmin \
-    ${PYTHON_PN}-xml \
-"
-
-BBCLASSEXTEND = "native"
meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb +51 -2

59 lines not on this page · raw message

Signature · 1 line
2.17.1
Acked-by on v1 3/10
#4 lore raw

Re: [oe] [meta-python][PATCH 03/10] python3-pywbem: Consolidate in a single file

Quoted 3 lines · Leon Anavi

Consolidate inc and bb files into a single bb file.

Quoted 130 lines
---
  .../recipes-extended/pywbem/python-pywbem.inc | 51 ------------------
  .../pywbem/python3-pywbem_0.15.0.bb           | 53 ++++++++++++++++++-
  2 files changed, 51 insertions(+), 53 deletions(-)

delete mode 100644 meta-python/recipes-extended/pywbem/python-pywbem.inc

meta-python/recipes-extended/pywbem/python-pywbem.inc deleted +0 -51
deleted file mode 100644
index 98508b0c3..000000000
@@ -1,51 +0,0 @@
-SUMMARY = "Python WBEM Client and Provider Interface"
-DESCRIPTION = "\
-A Python library for making CIM (Common Information Model) operations over \
-HTTP using the WBEM CIM-XML protocol. It is based on the idea that a good \
-WBEM client should be easy to use and not necessarily require a large amount \
-of programming knowledge. It is suitable for a large range of tasks from \
-simply poking around to writing web and GUI applications. \
-\
-WBEM, or Web Based Enterprise Management is a manageability protocol, like \
-SNMP, standardised by the Distributed Management Task Force (DMTF) available \
-at http://www.dmtf.org/standards/wbem. \
-\
-It also provides a Python provider interface, and is the fastest and easiest \
-way to write providers on the planet."
-HOMEPAGE = "http://pywbem.github.io"
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
-
-inherit pypi
-
-SRCREV = "b3386b3bee8876d15f0745147c0b08937d8ab18e"
-PYPI_SRC_URI = "git://github.com/pywbem/pywbem;protocol=https;branch=stable_0.15"
-
-S = "${WORKDIR}/git"
-
-DEPENDS += " \
-    ${PYTHON_PN}-ply-native \
-    ${PYTHON_PN}-pyyaml-native \
-    ${PYTHON_PN}-six-native \
-"
-
-do_install_append() {
-    mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli
-
-    rm -f ${D}${bindir}/*.bat
-}
-
-RDEPENDS_${PN}_class-target += "\
-    ${PYTHON_PN}-datetime \
-    ${PYTHON_PN}-io \
-    ${PYTHON_PN}-netclient \
-    ${PYTHON_PN}-ply \
-    ${PYTHON_PN}-pyyaml \
-    ${PYTHON_PN}-six \
-    ${PYTHON_PN}-stringold \
-    ${PYTHON_PN}-threading \
-    ${PYTHON_PN}-unixadmin \
-    ${PYTHON_PN}-xml \
-"
-
-BBCLASSEXTEND = "native"
meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb +51 -2
index abfb8d920..cbb55b8f7 100644
@@ -1,5 +1,52 @@
-require python-pywbem.inc
-inherit setuptools3 update-alternatives
+SUMMARY = "Python WBEM Client and Provider Interface"
+DESCRIPTION = "\
+A Python library for making CIM (Common Information Model) operations over \
+HTTP using the WBEM CIM-XML protocol. It is based on the idea that a good \
+WBEM client should be easy to use and not necessarily require a large amount \
+of programming knowledge. It is suitable for a large range of tasks from \
+simply poking around to writing web and GUI applications. \
+\
+WBEM, or Web Based Enterprise Management is a manageability protocol, like \
+SNMP, standardised by the Distributed Management Task Force (DMTF) available \
+at http://www.dmtf.org/standards/wbem. \
+\
+It also provides a Python provider interface, and is the fastest and easiest \
+way to write providers on the planet."
+HOMEPAGE = "http://pywbem.github.io"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
+
+inherit pypi setuptools3 update-alternatives
+
+SRCREV = "b3386b3bee8876d15f0745147c0b08937d8ab18e"
+PYPI_SRC_URI = "git://github.com/pywbem/pywbem;protocol=https;branch=stable_0.15"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += " \
+    ${PYTHON_PN}-ply-native \
+    ${PYTHON_PN}-pyyaml-native \
+    ${PYTHON_PN}-six-native \
+"
+
+do_install_append() {
+    mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli
+
+    rm -f ${D}${bindir}/*.bat
+}
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-ply \
+    ${PYTHON_PN}-pyyaml \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-stringold \
+    ${PYTHON_PN}-threading \
+    ${PYTHON_PN}-unixadmin \
+    ${PYTHON_PN}-xml \
+"
 
  ALTERNATIVE_${PN} = "mof_compiler pywbemcli wbemcli"
  ALTERNATIVE_TARGET[mof_compiler] = "${bindir}/mof_compiler"
@@ -7,3 +54,5 @@ ALTERNATIVE_TARGET[pywbemcli] = "${bindir}/pywbemcli"
  ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli"
 
  ALTERNATIVE_PRIORITY = "60"
+
+BBCLASSEXTEND = "native"
author
#5 lore raw

PATCH 4/10 python3-pywbem: Upgrade 0.15.0 -> 0.17.2

In reply to Leon Anavi

Upgrade to release 0.17.2:

- Test: Fixed virtualenv related failures during install test.
- Dev: Increased the versions of the base packages ‘pip’, ‘setuptools’ and ‘wheel’ to the content of Ubuntu 18.04 as a minimum, and to the lowest versions that support a particular Python versions beyond that. This only affects development of pywbem.
- Setup: Added the scripts for installing OS-level dependencies (pywbem_os_setup.sh/.bat) to the source distribution archive. Note that starting with the upcoming pywbem 1.0.0, these scripts are no longer needed, so this change will not be rolled forward into 1.0.0.
- Increased the version of ‘PyYAML’ from 5.1 to 5.3 on Python 2.7, to pick up a fix for dealing with Unicode characters above U+FFFF in narrow Python builds. This could not be fixed for Python 2.6 since PyYAML 3.12 dropped support for Python 2.6
- Fixed raise error for invalid reference_direction in WBEMServer.get_central_instances().
- Fixed raise error for missing ports in WBEMListener.__init__().

---
 ...{python3-pywbem_0.15.0.bb => python3-pywbem_0.17.2.bb} | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
 rename meta-python/recipes-extended/pywbem/{python3-pywbem_0.15.0.bb => python3-pywbem_0.17.2.bb} (91%)
meta-python/recipes-extended/pywbem/python3-pywbem_0.17.2.bb renamed from meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb +3 -5
similarity index 91%
rename from meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb
rename to meta-python/recipes-extended/pywbem/python3-pywbem_0.17.2.bb
index cbb55b8f7..ce63822b4 100644
@@ -16,12 +16,10 @@ HOMEPAGE = "http://pywbem.github.io"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
 
-inherit pypi setuptools3 update-alternatives
-
-SRCREV = "b3386b3bee8876d15f0745147c0b08937d8ab18e"
-PYPI_SRC_URI = "git://github.com/pywbem/pywbem;protocol=https;branch=stable_0.15"
+SRC_URI[md5sum] = "6100157c720ba272895b3f79a05c8dc3"
+SRC_URI[sha256sum] = "84dac33f77d5ff2c3d8eb42fc7de2ffb6d33f5e4954ef89db0dbf3fe646a2809"
 
-S = "${WORKDIR}/git"
+inherit pypi setuptools3 update-alternatives
 
 DEPENDS += " \
     ${PYTHON_PN}-ply-native \
Signature · 1 line
2.17.1
Acked-by on v1 4/10
#6 lore raw

Re: [oe] [meta-python][PATCH 04/10] python3-pywbem: Upgrade 0.15.0 -> 0.17.2

Quoted 21 lines · Leon Anavi

Upgrade to release 0.17.2:

- Test: Fixed virtualenv related failures during install test.
- Dev: Increased the versions of the base packages ‘pip’, ‘setuptools’ and ‘wheel’ to the content of Ubuntu 18.04 as a minimum, and to the lowest versions that support a particular Python versions beyond that. This only affects development of pywbem.
- Setup: Added the scripts for installing OS-level dependencies (pywbem_os_setup.sh/.bat) to the source distribution archive. Note that starting with the upcoming pywbem 1.0.0, these scripts are no longer needed, so this change will not be rolled forward into 1.0.0.
- Increased the version of ‘PyYAML’ from 5.1 to 5.3 on Python 2.7, to pick up a fix for dealing with Unicode characters above U+FFFF in narrow Python builds. This could not be fixed for Python 2.6 since PyYAML 3.12 dropped support for Python 2.6
- Fixed raise error for invalid reference_direction in WBEMServer.get_central_instances().
- Fixed raise error for missing ports in WBEMListener.__init__().

Quoted 1 line
Quoted 30 lines
---
  ...{python3-pywbem_0.15.0.bb => python3-pywbem_0.17.2.bb} | 8 +++-----
  1 file changed, 3 insertions(+), 5 deletions(-)

rename meta-python/recipes-extended/pywbem/{python3-pywbem_0.15.0.bb => python3-pywbem_0.17.2.bb} (91%)

meta-python/recipes-extended/pywbem/python3-pywbem_0.17.2.bb renamed from meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb +3 -5
similarity index 91%
rename from meta-python/recipes-extended/pywbem/python3-pywbem_0.15.0.bb
rename to meta-python/recipes-extended/pywbem/python3-pywbem_0.17.2.bb
index cbb55b8f7..ce63822b4 100644
@@ -16,12 +16,10 @@ HOMEPAGE = "http://pywbem.github.io"
  LICENSE = "LGPLv2.1"
  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
 
-inherit pypi setuptools3 update-alternatives
-
-SRCREV = "b3386b3bee8876d15f0745147c0b08937d8ab18e"
-PYPI_SRC_URI = "git://github.com/pywbem/pywbem;protocol=https;branch=stable_0.15"
+SRC_URI[md5sum] = "6100157c720ba272895b3f79a05c8dc3"
+SRC_URI[sha256sum] = "84dac33f77d5ff2c3d8eb42fc7de2ffb6d33f5e4954ef89db0dbf3fe646a2809"
 
-S = "${WORKDIR}/git"
+inherit pypi setuptools3 update-alternatives
 
  DEPENDS += " \
      ${PYTHON_PN}-ply-native \
author
#7 lore raw

PATCH 5/10 python3-jsonrpcserver: Upgrade 4.1.2 -> 4.1.3

In reply to Leon Anavi

Upgrade to release 4.1.3:

- In the case of a method returning a non-serializable value, return a JSON-RPC error response. It was previously erroring server-side without responding to the client.
- Fix for Python 3.8 - ensures the same exceptions will be raised in 3.8 and pre-3.8.

---
 ...-jsonrpcserver_4.1.2.bb => python3-jsonrpcserver_4.1.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-jsonrpcserver_4.1.2.bb => python3-jsonrpcserver_4.1.3.bb} (77%)
meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.3.bb renamed from meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.2.bb +2 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.2.bb
rename to meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.3.bb
index e23720c3e..98db23039 100644
@@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/bcb/jsonrpcserver"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c89120516900f96f4c60d35fdc4c3f15"
 
-SRC_URI[md5sum] = "fd4091bc19eb18579c15b97af70714eb"
-SRC_URI[sha256sum] = "73db55d1cf245ebdfb96ca05c4cce01c51b61be845a2a981f539ea1e6a4e0c4a"
+SRC_URI[md5sum] = "e73b0bd90e99115d3f9e0ac42882c5b7"
+SRC_URI[sha256sum] = "649680c293facb6ae7c3f5c8028e4623c55195db5216847e9f25f85cba2d443a"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 5/10
#8 lore raw

Re: [oe] [meta-python][PATCH 05/10] python3-jsonrpcserver: Upgrade 4.1.2 -> 4.1.3

Quoted 9 lines · Leon Anavi

Upgrade to release 4.1.3:

- In the case of a method returning a non-serializable value, return a JSON-RPC error response. It was previously erroring server-side without responding to the client.
- Fix for Python 3.8 - ensures the same exceptions will be raised in 3.8 and pre-3.8.

Quoted 25 lines
---
  ...-jsonrpcserver_4.1.2.bb => python3-jsonrpcserver_4.1.3.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-jsonrpcserver_4.1.2.bb => python3-jsonrpcserver_4.1.3.bb} (77%)

meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.3.bb renamed from meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.2.bb +2 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.2.bb
rename to meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.3.bb
index e23720c3e..98db23039 100644
@@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/bcb/jsonrpcserver"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=c89120516900f96f4c60d35fdc4c3f15"
 
-SRC_URI[md5sum] = "fd4091bc19eb18579c15b97af70714eb"
-SRC_URI[sha256sum] = "73db55d1cf245ebdfb96ca05c4cce01c51b61be845a2a981f539ea1e6a4e0c4a"
+SRC_URI[md5sum] = "e73b0bd90e99115d3f9e0ac42882c5b7"
+SRC_URI[sha256sum] = "649680c293facb6ae7c3f5c8028e4623c55195db5216847e9f25f85cba2d443a"
 
  inherit pypi setuptools3
 
author
#9 lore raw

PATCH 6/10 python3-humanize: Upgrade 2.4.0 -> 2.4.1

In reply to Leon Anavi

Upgrade to release 2.4.1:

- Explicit error if _DEFAULT_LOCALE_PATH is None
- Fix incorrect Portuguese spelling
- Fix fractional(0.333) output in README

---
 .../{python3-humanize_2.4.0.bb => python3-humanize_2.4.1.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-humanize_2.4.0.bb => python3-humanize_2.4.1.bb} (71%)
meta-python/recipes-devtools/python/python3-humanize_2.4.1.bb renamed from meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb +2 -2
similarity index 71%
rename from meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb
rename to meta-python/recipes-devtools/python/python3-humanize_2.4.1.bb
index 6bb6946ff..3a06a48b1 100644
@@ -4,8 +4,8 @@ HOMEPAGE = "http://github.com/jmoiron/humanize"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d"
 
-SRC_URI[md5sum] = "010e86a4196ed6030112e7bc681e7353"
-SRC_URI[sha256sum] = "42ae7d54b398c01bd100847f6cb0fc9e381c21be8ad3f8e2929135e48dbff026"
+SRC_URI[md5sum] = "3d4d25cf84181c55bf7d219dd175dbff"
+SRC_URI[sha256sum] = "4b4ce2fc1c9d79c63f68009ddf5a12ad238aa78e2fceb256b5aa921763551422"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 6/10
#10 lore raw

Re: [oe] [meta-python][PATCH 06/10] python3-humanize: Upgrade 2.4.0 -> 2.4.1

Quoted 7 lines · Leon Anavi

Upgrade to release 2.4.1:

- Explicit error if _DEFAULT_LOCALE_PATH is None
- Fix incorrect Portuguese spelling
- Fix fractional(0.333) output in README

Quoted 25 lines
---
  .../{python3-humanize_2.4.0.bb => python3-humanize_2.4.1.bb}  | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-humanize_2.4.0.bb => python3-humanize_2.4.1.bb} (71%)

meta-python/recipes-devtools/python/python3-humanize_2.4.1.bb renamed from meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb +2 -2
similarity index 71%
rename from meta-python/recipes-devtools/python/python3-humanize_2.4.0.bb
rename to meta-python/recipes-devtools/python/python3-humanize_2.4.1.bb
index 6bb6946ff..3a06a48b1 100644
@@ -4,8 +4,8 @@ HOMEPAGE = "http://github.com/jmoiron/humanize"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d"
 
-SRC_URI[md5sum] = "010e86a4196ed6030112e7bc681e7353"
-SRC_URI[sha256sum] = "42ae7d54b398c01bd100847f6cb0fc9e381c21be8ad3f8e2929135e48dbff026"
+SRC_URI[md5sum] = "3d4d25cf84181c55bf7d219dd175dbff"
+SRC_URI[sha256sum] = "4b4ce2fc1c9d79c63f68009ddf5a12ad238aa78e2fceb256b5aa921763551422"
 
  inherit pypi setuptools3
 
author
#11 lore raw

PATCH 7/10 python3-autobahn: Upgrade 20.4.3 -> 20.6.2

In reply to Leon Anavi

Upgrade to release 20.6.2:

- fix: xbr fixes
- fix: use cpy 3.8 for running flake in CI
- new: Ticket1392 internal attrs
- new: internal-only router attributes and hook for router to add custom information

---
 .../{python3-autobahn_20.4.3.bb => python3-autobahn_20.6.2.bb} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-autobahn_20.4.3.bb => python3-autobahn_20.6.2.bb} (78%)
meta-python/recipes-devtools/python/python3-autobahn_20.6.2.bb renamed from meta-python/recipes-devtools/python/python3-autobahn_20.4.3.bb +2 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-autobahn_20.4.3.bb
rename to meta-python/recipes-devtools/python/python3-autobahn_20.6.2.bb
index 60ef57d04..171a6dce4 100644
@@ -3,7 +3,8 @@ DESCRIPTION = "WebSocket client & server library, WAMP real-time framework"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=97c0bda20ad1d845c6369c0e47a1cd98"
 
-SRC_URI[sha256sum] = "c6fe745d52ba9f9eecf791cd31f558df42aebfc4f9ee558a8f1d18c707e1ae1f"
+SRC_URI[md5sum] = "bcafb42ea58232308777a265d41c1c98"
+SRC_URI[sha256sum] = "6ac6b6653b8d20d632b034adccf6a566154d4efbeaa23abf7c3995fd601e9a01"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 7/10
#12 lore raw

Re: [oe] [meta-python][PATCH 07/10] python3-autobahn: Upgrade 20.4.3 -> 20.6.2

Quoted 9 lines · Leon Anavi

Upgrade to release 20.6.2:

- fix: xbr fixes
- fix: use cpy 3.8 for running flake in CI
- new: Ticket1392 internal attrs
- new: internal-only router attributes and hook for router to add custom information

Quoted 24 lines
---
  .../{python3-autobahn_20.4.3.bb => python3-autobahn_20.6.2.bb} | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-autobahn_20.4.3.bb => python3-autobahn_20.6.2.bb} (78%)

meta-python/recipes-devtools/python/python3-autobahn_20.6.2.bb renamed from meta-python/recipes-devtools/python/python3-autobahn_20.4.3.bb +2 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-autobahn_20.4.3.bb
rename to meta-python/recipes-devtools/python/python3-autobahn_20.6.2.bb
index 60ef57d04..171a6dce4 100644
@@ -3,7 +3,8 @@ DESCRIPTION = "WebSocket client & server library, WAMP real-time framework"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=97c0bda20ad1d845c6369c0e47a1cd98"
 
-SRC_URI[sha256sum] = "c6fe745d52ba9f9eecf791cd31f558df42aebfc4f9ee558a8f1d18c707e1ae1f"
+SRC_URI[md5sum] = "bcafb42ea58232308777a265d41c1c98"
+SRC_URI[sha256sum] = "6ac6b6653b8d20d632b034adccf6a566154d4efbeaa23abf7c3995fd601e9a01"
 
  inherit pypi setuptools3
 
author
#13 lore raw

PATCH 8/10 python3-yappi: Upgrade 1.0 -> 1.2.5

In reply to Leon Anavi

Fix HOMEPAGE. Use file LICENSE for LIC_FILES_CHKSUM. Upgrade to release 1.2.5:

- Fix tag/ctx_id filtering on get_func_stats
- Add filter_callback to get_func_stats() for filtering function/module descriptors
- FIX: issues related to invalid conversion from long->ptr in Win32
- Optimize tstate->dict retrieval
- Various other fixes

---
 .../{python3-yappi_1.0.bb => python3-yappi_1.2.5.bb}   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-yappi_1.0.bb => python3-yappi_1.2.5.bb} (60%)
meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb renamed from meta-python/recipes-devtools/python/python3-yappi_1.0.bb +5 -5
similarity index 60%
rename from meta-python/recipes-devtools/python/python3-yappi_1.0.bb
rename to meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb
index 75de4dfbe..366dec3dc 100644
@@ -1,11 +1,11 @@
 SUMMARY  = "Yet Another Python Profiler"
-HOMEPAGE = "http://yappi.googlecode.com/"
+HOMEPAGE = "https://github.com/sumerc/yappi"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9a193c13f346884e597acdcac7fe9ac8"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee"
 
-SRC_URI[md5sum] = "a545101aa8a435b0780f06f4723f58c8"
-SRC_URI[sha256sum] = "7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf"
+SRC_URI[md5sum] = "83237494e7d22df2a31935a1e6650fa6"
+SRC_URI[sha256sum] = "ad5fa4caf2859e480ffc4ec3e85615a6f7dea852c8f035f2db723f824ed4ba11"
 
 SRC_URI += " \
     file://run-ptest \
@@ -28,5 +28,5 @@ RDEPENDS_${PN}-ptest += " \
 do_install_ptest() {
     install -d ${D}${PTEST_PATH}/tests
     cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-    cp -f ${S}/yappi.py ${D}/${PTEST_PATH}/
+    cp -f ${S}/yappi/yappi.py ${D}/${PTEST_PATH}/
 }
Signature · 1 line
2.17.1
Acked-by on v1 8/10
#14 lore raw

Re: [oe] [meta-python][PATCH 08/10] python3-yappi: Upgrade 1.0 -> 1.2.5

Quoted 11 lines · Leon Anavi

Fix HOMEPAGE. Use file LICENSE for LIC_FILES_CHKSUM. Upgrade to release 1.2.5:

- Fix tag/ctx_id filtering on get_func_stats
- Add filter_callback to get_func_stats() for filtering function/module descriptors
- FIX: issues related to invalid conversion from long->ptr in Win32
- Optimize tstate->dict retrieval
- Various other fixes

Quoted 1 line
Quoted 37 lines
---
  .../{python3-yappi_1.0.bb => python3-yappi_1.2.5.bb}   | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)

rename meta-python/recipes-devtools/python/{python3-yappi_1.0.bb => python3-yappi_1.2.5.bb} (60%)

meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb renamed from meta-python/recipes-devtools/python/python3-yappi_1.0.bb +5 -5
similarity index 60%
rename from meta-python/recipes-devtools/python/python3-yappi_1.0.bb
rename to meta-python/recipes-devtools/python/python3-yappi_1.2.5.bb
index 75de4dfbe..366dec3dc 100644
@@ -1,11 +1,11 @@
  SUMMARY  = "Yet Another Python Profiler"
-HOMEPAGE = "http://yappi.googlecode.com/"
+HOMEPAGE = "https://github.com/sumerc/yappi"
 
  LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9a193c13f346884e597acdcac7fe9ac8"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee"
 
-SRC_URI[md5sum] = "a545101aa8a435b0780f06f4723f58c8"
-SRC_URI[sha256sum] = "7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf"
+SRC_URI[md5sum] = "83237494e7d22df2a31935a1e6650fa6"
+SRC_URI[sha256sum] = "ad5fa4caf2859e480ffc4ec3e85615a6f7dea852c8f035f2db723f824ed4ba11"
 
  SRC_URI += " \
      file://run-ptest \
@@ -28,5 +28,5 @@ RDEPENDS_${PN}-ptest += " \
  do_install_ptest() {
      install -d ${D}${PTEST_PATH}/tests
      cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-    cp -f ${S}/yappi.py ${D}/${PTEST_PATH}/
+    cp -f ${S}/yappi/yappi.py ${D}/${PTEST_PATH}/
  }
author
#15 lore raw

PATCH 9/10 python3-sympy: Upgrade 1.5.1 -> 1.6

In reply to Leon Anavi

Upgrade to release 1.6 with changes in core, combinatorics, calculus, assumptions, functions, geometry, holonomic, integrals, logic, matrices, ntheory, parsing, etc. For more details:
https://github.com/sympy/sympy/wiki/release-notes-for-1.6

The year in file LICENSE was updated and the checksum changed. The license remains the same.

---
 .../python/{python3-sympy_1.5.1.bb => python3-sympy_1.6.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-sympy_1.5.1.bb => python3-sympy_1.6.bb} (62%)
meta-python/recipes-devtools/python/python3-sympy_1.6.bb renamed from meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb +3 -3
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb
rename to meta-python/recipes-devtools/python/python3-sympy_1.6.bb
index c0c382a51..feb9e10e5 100644
@@ -4,10 +4,10 @@
 SUMMARY = "Computer algebra system (CAS) in Python"
 HOMEPAGE = "https://pypi.org/project/sympy/"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=611b41534dbf5aa01d7c827bf667ef66"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ebb06e9df8f57522b72d0edb0fcf83d4"
 
-SRC_URI[md5sum] = "b11b310c3e1642bf66e51038cb3c0021"
-SRC_URI[sha256sum] = "d77901d748287d15281f5ffe5b0fef62dd38f357c2b827c44ff07f35695f4e7e"
+SRC_URI[md5sum] = "dbb7b21d2972c41f37d48f744b6189a3"
+SRC_URI[sha256sum] = "9769e3d2952e211b1245f1d0dfdbfbdde1f7779a3953832b7dd2b88a21ca6cc6"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 9/10
#16 lore raw

Re: [oe] [meta-python][PATCH 09/10] python3-sympy: Upgrade 1.5.1 -> 1.6

Quoted 9 lines · Leon Anavi

Upgrade to release 1.6 with changes in core, combinatorics, calculus, assumptions, functions, geometry, holonomic, integrals, logic, matrices, ntheory, parsing, etc. For more details:
https://github.com/sympy/sympy/wiki/release-notes-for-1.6

The year in file LICENSE was updated and the checksum changed. The license remains the same.

Quoted 28 lines
---
  .../python/{python3-sympy_1.5.1.bb => python3-sympy_1.6.bb} | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

rename meta-python/recipes-devtools/python/{python3-sympy_1.5.1.bb => python3-sympy_1.6.bb} (62%)

meta-python/recipes-devtools/python/python3-sympy_1.6.bb renamed from meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb +3 -3
similarity index 62%
rename from meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb
rename to meta-python/recipes-devtools/python/python3-sympy_1.6.bb
index c0c382a51..feb9e10e5 100644
@@ -4,10 +4,10 @@
  SUMMARY = "Computer algebra system (CAS) in Python"
  HOMEPAGE = "https://pypi.org/project/sympy/"
  LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=611b41534dbf5aa01d7c827bf667ef66"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ebb06e9df8f57522b72d0edb0fcf83d4"
 
-SRC_URI[md5sum] = "b11b310c3e1642bf66e51038cb3c0021"
-SRC_URI[sha256sum] = "d77901d748287d15281f5ffe5b0fef62dd38f357c2b827c44ff07f35695f4e7e"
+SRC_URI[md5sum] = "dbb7b21d2972c41f37d48f744b6189a3"
+SRC_URI[sha256sum] = "9769e3d2952e211b1245f1d0dfdbfbdde1f7779a3953832b7dd2b88a21ca6cc6"
 
  inherit pypi setuptools3
 
author
#17 lore raw

PATCH 10/10 python3-watchdog: Upgrade 0.10.2 -> 0.10.3

In reply to Leon Anavi

Upgrade to release 0.10.3:

- Ensure ObservedWatch.path is a string
- [inotify] Allow to monitor single file
- [inotify] Prevent raising an exception when a file in a monitored folder has no permissions

---
 .../{python3-watchdog_0.10.2.bb => python3-watchdog_0.10.3.bb} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-watchdog_0.10.2.bb => python3-watchdog_0.10.3.bb} (72%)
meta-python/recipes-devtools/python/python3-watchdog_0.10.3.bb renamed from meta-python/recipes-devtools/python/python3-watchdog_0.10.2.bb +2 -1
similarity index 72%
rename from meta-python/recipes-devtools/python/python3-watchdog_0.10.2.bb
rename to meta-python/recipes-devtools/python/python3-watchdog_0.10.3.bb
index 93a1c192f..2108cbb93 100644
@@ -4,7 +4,8 @@ DEPENDS = "${PYTHON_PN}-argh"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI[sha256sum] = "c560efb643faed5ef28784b2245cf8874f939569717a4a12826a173ac644456b"
+SRC_URI[md5sum] = "9a5c9134e943b534b9f8b51d78338cf8"
+SRC_URI[sha256sum] = "4214e1379d128b0588021880ccaf40317ee156d4603ac388b9adcf29165e0c04"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 10/10
#18 lore raw

Re: [oe] [meta-python][PATCH 10/10] python3-watchdog: Upgrade 0.10.2 -> 0.10.3

Quoted 8 lines · Leon Anavi

Upgrade to release 0.10.3:

- Ensure ObservedWatch.path is a string
- [inotify] Allow to monitor single file
- [inotify] Prevent raising an exception when a file in a monitored folder has no permissions

Quoted 24 lines
---
  .../{python3-watchdog_0.10.2.bb => python3-watchdog_0.10.3.bb} | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-watchdog_0.10.2.bb => python3-watchdog_0.10.3.bb} (72%)

meta-python/recipes-devtools/python/python3-watchdog_0.10.3.bb renamed from meta-python/recipes-devtools/python/python3-watchdog_0.10.2.bb +2 -1
similarity index 72%
rename from meta-python/recipes-devtools/python/python3-watchdog_0.10.2.bb
rename to meta-python/recipes-devtools/python/python3-watchdog_0.10.3.bb
index 93a1c192f..2108cbb93 100644
@@ -4,7 +4,8 @@ DEPENDS = "${PYTHON_PN}-argh"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI[sha256sum] = "c560efb643faed5ef28784b2245cf8874f939569717a4a12826a173ac644456b"
+SRC_URI[md5sum] = "9a5c9134e943b534b9f8b51d78338cf8"
+SRC_URI[sha256sum] = "4214e1379d128b0588021880ccaf40317ee156d4603ac388b9adcf29165e0c04"
 
  inherit pypi setuptools3
 
Acked-by on v1 1/10
#19 lore raw
In reply to Leon Anavi
Quoted 3 lines · Leon Anavi

Consolidate inc and bb files into a single bb file.

Quoted 70 lines
---
  .../python-pyparted/python-pyparted.inc       | 22 ------------------
  .../python3-pyparted_3.11.3.bb                | 23 +++++++++++++++++--
  2 files changed, 21 insertions(+), 24 deletions(-)

delete mode 100644 meta-python/recipes-extended/python-pyparted/python-pyparted.inc

meta-python/recipes-extended/python-pyparted/python-pyparted.inc deleted +0 -22
deleted file mode 100644
index 97054487f..000000000
@@ -1,22 +0,0 @@
-DESCRIPTION = "pyparted is a set of Python modules that provide Python programmers \
-an interface to libparted, the GNU parted library for disk partitioning and \
-filesystem manipulation."
-SUMMARY = "Python bindings for libparted"
-HOMEPAGE = "https://github.com/rhinstaller/pyparted"
-LICENSE = "GPL-2.0+"
-LIC_FILES_CHKSUM = "\
-    file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
-    file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \
-"
-DEPENDS += "parted"
-
-# upstream only publishes releases in github archives which are discouraged
-SRCREV = "481510c10866851844b19f3d2ffcdaa37efc0cf8"
-SRC_URI = "git://github.com/rhinstaller/pyparted.git;protocol=https"
-
-S = "${WORKDIR}/git"
-
-RDEPENDS_${PN}_class-target += " \
-    parted (>= 2.3) \
-"
-RDEPENDS_${PN}_class-native = ""
meta-python/recipes-extended/python-pyparted/python3-pyparted_3.11.3.bb +21 -2
index d83901ff3..a801920c0 100644
@@ -1,8 +1,27 @@
-require python-pyparted.inc
+DESCRIPTION = "pyparted is a set of Python modules that provide Python programmers \
+an interface to libparted, the GNU parted library for disk partitioning and \
+filesystem manipulation."
+SUMMARY = "Python bindings for libparted"
+HOMEPAGE = "https://github.com/rhinstaller/pyparted"
+LICENSE = "GPL-2.0+"
+LIC_FILES_CHKSUM = "\
+    file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
+    file://src/_pedmodule.c;beginline=10;endline=22;md5=9e53304db812b80d0939e11bb69dcab2 \
+"
+DEPENDS += "parted"
+
+# upstream only publishes releases in github archives which are discouraged
+SRCREV = "481510c10866851844b19f3d2ffcdaa37efc0cf8"
+SRC_URI = "git://github.com/rhinstaller/pyparted.git;protocol=https"
 
  inherit distutils3
 
-RDEPENDS_${PN} += "python3-stringold python3-codecs python3-math"
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN}_class-target += " \
+    parted (>= 2.3) \
+    python3-stringold python3-codecs python3-math \
+"
  RDEPENDS_${PN}_class-native = ""
 
  BBCLASSEXTEND = "native"