Skip to contentSkip to conversation

python3-pywbem: Upgrade 0.17.4 -> 1.0.2

PATCH In review Leon Anavi 2 participants 22 messages Aug 21, 2020 – Aug 25, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/11 python3-pywbem: Upgrade 0.17.4 -> 1.0.2

Upgrade to release 1.0.2:

- Fixed erronously raised HeaderParseError when WBEM server returns Content-type: text/xml. This content-type is valid according to DSP0200. Added testcases.
- Fixed handling of ReturnQueryResultClass=True in WBEMConnection.OpenQueryInstances().
- Mock: In the mock support, fixed multiple errors in the mocked OpenQueryInstances(), and added testcases for it.
- Mock: Added support for more ways the output parameters can be returned in method providers: The container for the output parameters can now also be a Mapping (including pywbem’s internal NocaseDict or nocasedict.NocaseDict), in addition to just the built-in dict. The values in such a Mapping container can now also be CIMParameter objects, in addition to just the CIM data values. This provides consistency with the way the input parameters of the method provider are represented.

Removed the wbemcli command that was deprecated in pywbem 0.15.0. The recommended replacement is the pywbemcli command from the 'pywbemtools' package.

---
 ...n3-pywbem_0.17.4.bb => python3-pywbem_1.0.2.bb} | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)
 rename meta-python/recipes-extended/pywbem/{python3-pywbem_0.17.4.bb => python3-pywbem_1.0.2.bb} (78%)
meta-python/recipes-extended/pywbem/python3-pywbem_1.0.2.bb renamed from meta-python/recipes-extended/pywbem/python3-pywbem_0.17.4.bb +3 -11
similarity index 78%
rename from meta-python/recipes-extended/pywbem/python3-pywbem_0.17.4.bb
rename to meta-python/recipes-extended/pywbem/python3-pywbem_1.0.2.bb
index a804b0cc0..da731989d 100644
@@ -16,8 +16,8 @@ HOMEPAGE = "http://pywbem.github.io"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
 
-SRC_URI[md5sum] = "b65c03026bf2174e58e3e47a5e7e4825"
-SRC_URI[sha256sum] = "5b54b65a5434bb16432415743c0d154feee0c6d7a8a2fee208719c67d6d24c97"
+SRC_URI[md5sum] = "0f171e365e294554f8e7624ccf511067"
+SRC_URI[sha256sum] = "66d8ec82d30f2b95d8b4bd51659429066c2879d3f46292561f5fdbc7fed10f3d"
 
 inherit pypi setuptools3 update-alternatives
 
@@ -27,12 +27,6 @@ DEPENDS += " \
     ${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 \
@@ -46,10 +40,8 @@ RDEPENDS_${PN}_class-target += "\
     ${PYTHON_PN}-xml \
 "
 
-ALTERNATIVE_${PN} = "mof_compiler pywbemcli wbemcli"
+ALTERNATIVE_${PN} = "mof_compiler"
 ALTERNATIVE_TARGET[mof_compiler] = "${bindir}/mof_compiler"
-ALTERNATIVE_TARGET[pywbemcli] = "${bindir}/pywbemcli"
-ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli"
 
 ALTERNATIVE_PRIORITY = "60"
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/11 python3-pydicti: Add recipe

Add pydicti, a case insensitive derivable dictionary. Changelog for release 1.1.3:

- avoid key recomputation in __setitem__

License-Update: Add WTFPL

---
 meta-python/licenses/WTFPL                         | 14 ++++++++++++++
 .../python/python3-pydicti_1.1.3.bb                |  9 +++++++++
 2 files changed, 23 insertions(+)
 create mode 100644 meta-python/licenses/WTFPL
 create mode 100644 meta-python/recipes-devtools/python/python3-pydicti_1.1.3.bb
meta-python/licenses/WTFPL new file +14 -0
new file mode 100644
index 000000000..5a8e33254
@@ -0,0 +1,14 @@
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+                    Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <[email protected]>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. You just DO WHAT THE FUCK YOU WANT TO.
+
meta-python/recipes-devtools/python/python3-pydicti_1.1.3.bb new file +9 -0
new file mode 100644
index 000000000..bca0ba737
@@ -0,0 +1,9 @@
+SUMMARY = "Case insensitive derivable dictionary"
+HOMEPAGE = "https://github.com/coldfix/pydicti"
+LICENSE = "WTFPL"
+LIC_FILES_CHKSUM = "file://COPYING;md5=389a9e29629d1f05e115f8f05c283df5"
+
+SRC_URI[md5sum] = "b02ed35da91e400f1f17a57ab02ba06b"
+SRC_URI[sha256sum] = "eea50576baa751a9b6b862f09f081c47d557e0298623ca8742851da72b00eec4"
+
+inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 2/11
#2 lore raw

Re: [oe] [meta-python][PATCH 02/11] python3-pydicti: Add recipe

Quoted 8 lines · Leon Anavi

Add pydicti, a case insensitive derivable dictionary. Changelog for release 1.1.3:

- avoid key recomputation in __setitem__

License-Update: Add WTFPL

Quoted 44 lines
---
  meta-python/licenses/WTFPL                         | 14 ++++++++++++++
  .../python/python3-pydicti_1.1.3.bb                |  9 +++++++++
  2 files changed, 23 insertions(+)

create mode 100644 meta-python/licenses/WTFPL
create mode 100644 meta-python/recipes-devtools/python/python3-pydicti_1.1.3.bb

meta-python/licenses/WTFPL new file +14 -0
new file mode 100644
index 000000000..5a8e33254
@@ -0,0 +1,14 @@
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+                    Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <[email protected]>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. You just DO WHAT THE FUCK YOU WANT TO.
+
meta-python/recipes-devtools/python/python3-pydicti_1.1.3.bb new file +9 -0
new file mode 100644
index 000000000..bca0ba737
@@ -0,0 +1,9 @@
+SUMMARY = "Case insensitive derivable dictionary"
+HOMEPAGE = "https://github.com/coldfix/pydicti"
+LICENSE = "WTFPL"
+LIC_FILES_CHKSUM = "file://COPYING;md5=389a9e29629d1f05e115f8f05c283df5"
+
+SRC_URI[md5sum] = "b02ed35da91e400f1f17a57ab02ba06b"
+SRC_URI[sha256sum] = "eea50576baa751a9b6b862f09f081c47d557e0298623ca8742851da72b00eec4"
+
+inherit pypi setuptools3
author
#3 lore raw

PATCH 3/11 python3-yamlloader: Add recipe

In reply to Leon Anavi

Add recipe for yamlloader, an ordered YAML loader and dumper for PyYAML. Changelog for 0.5.5:

- As of Python version 3.7, the insertion order in dict is preserved by design. This is accounted for by allowing to dump and load to/from ordinary dictionaries in the same way as you do for OrderedDicts

---
 .../python/python3-yamlloader_0.5.5.bb              | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-yamlloader_0.5.5.bb
meta-python/recipes-devtools/python/python3-yamlloader_0.5.5.bb new file +13 -0
new file mode 100644
index 000000000..dbf84d413
@@ -0,0 +1,13 @@
+SUMMARY = "Ordered YAML loader and dumper for PyYAML."
+HOMEPAGE = "https://github.com/Phynix/yamlloader"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6831ef36faa29329bce2420c5356f97e"
+
+SRC_URI[md5sum] = "2e0750ace81235f750c072833d79c4c3"
+SRC_URI[sha256sum] = "dcab5f16b39bb03d10dda4cd4f30c943675ec4c7771807fc67e7f1bb319bf4c8"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-pyyaml \
+"
Signature · 1 line
2.17.1
Acked-by on v1 3/11
#4 lore raw

Re: [oe] [meta-python][PATCH 03/11] python3-yamlloader: Add recipe

Quoted 9 lines · Leon Anavi

Add recipe for yamlloader, an ordered YAML loader and dumper for PyYAML. Changelog for 0.5.5:

- As of Python version 3.7, the insertion order in dict is preserved by design. This is accounted for by allowing to dump and load to/from ordinary dictionaries in the same way as you do for OrderedDicts

Quoted 26 lines
---
  .../python/python3-yamlloader_0.5.5.bb              | 13 +++++++++++++
  1 file changed, 13 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-yamlloader_0.5.5.bb

meta-python/recipes-devtools/python/python3-yamlloader_0.5.5.bb new file +13 -0
new file mode 100644
index 000000000..dbf84d413
@@ -0,0 +1,13 @@
+SUMMARY = "Ordered YAML loader and dumper for PyYAML."
+HOMEPAGE = "https://github.com/Phynix/yamlloader"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6831ef36faa29329bce2420c5356f97e"
+
+SRC_URI[md5sum] = "2e0750ace81235f750c072833d79c4c3"
+SRC_URI[sha256sum] = "dcab5f16b39bb03d10dda4cd4f30c943675ec4c7771807fc67e7f1bb319bf4c8"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-pyyaml \
+"
author
#5 lore raw

PATCH 4/11 python3-tabulate: Add recipe

In reply to Leon Anavi

Add recipe for tabulate, a pretty-print tabular data. Changelog for release 0.8.7:

- Bug fixes. New format: pretty. HTML escaping.

---
 .../recipes-devtools/python/python3-tabulate_0.8.7.bb    | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-tabulate_0.8.7.bb
meta-python/recipes-devtools/python/python3-tabulate_0.8.7.bb new file +9 -0
new file mode 100644
index 000000000..def35ff44
@@ -0,0 +1,9 @@
+SUMMARY = "Pretty-print tabular data"
+HOMEPAGE = "https://github.com/astanin/python-tabulate"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fad5a39bdfe452b13775adda41023ba7"
+
+SRC_URI[md5sum] = "a766c6eecfe3765821909c4ddf082b3b"
+SRC_URI[sha256sum] = "db2723a20d04bcda8522165c73eea7c300eda74e0ce852d9022e0159d7895007"
+
+inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 4/11
#6 lore raw

Re: [oe] [meta-python][PATCH 04/11] python3-tabulate: Add recipe

Quoted 6 lines · Leon Anavi

Add recipe for tabulate, a pretty-print tabular data. Changelog for release 0.8.7:

- Bug fixes. New format: pretty. HTML escaping.

Quoted 22 lines
---
  .../recipes-devtools/python/python3-tabulate_0.8.7.bb    | 9 +++++++++
  1 file changed, 9 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-tabulate_0.8.7.bb

meta-python/recipes-devtools/python/python3-tabulate_0.8.7.bb new file +9 -0
new file mode 100644
index 000000000..def35ff44
@@ -0,0 +1,9 @@
+SUMMARY = "Pretty-print tabular data"
+HOMEPAGE = "https://github.com/astanin/python-tabulate"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fad5a39bdfe452b13775adda41023ba7"
+
+SRC_URI[md5sum] = "a766c6eecfe3765821909c4ddf082b3b"
+SRC_URI[sha256sum] = "db2723a20d04bcda8522165c73eea7c300eda74e0ce852d9022e0159d7895007"
+
+inherit pypi setuptools3
author
#7 lore raw

PATCH 5/11 python3-asciitree: Add recipe

In reply to Leon Anavi

Add recipe for asciitree that draws ASCII trees.

---
 .../recipes-devtools/python/python3-asciitree_0.3.3.bb   | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb
meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb new file +9 -0
new file mode 100644
index 000000000..833732bd4
@@ -0,0 +1,9 @@
+SUMMARY = "Draws ASCII trees."
+HOMEPAGE = "http://github.com/mbr/asciitree"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a985ccb0df374f2a8cab75010bf8db73"
+
+SRC_URI[md5sum] = "2570b31e563b69da1aff54509db8ac6a"
+SRC_URI[sha256sum] = "4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e"
+
+inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 5/11
#8 lore raw

Re: [oe] [meta-python][PATCH 05/11] python3-asciitree: Add recipe

Quoted 3 lines · Leon Anavi

Add recipe for asciitree that draws ASCII trees.

Quoted 22 lines
---
  .../recipes-devtools/python/python3-asciitree_0.3.3.bb   | 9 +++++++++
  1 file changed, 9 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb

meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb new file +9 -0
new file mode 100644
index 000000000..833732bd4
@@ -0,0 +1,9 @@
+SUMMARY = "Draws ASCII trees."
+HOMEPAGE = "http://github.com/mbr/asciitree"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a985ccb0df374f2a8cab75010bf8db73"
+
+SRC_URI[md5sum] = "2570b31e563b69da1aff54509db8ac6a"
+SRC_URI[sha256sum] = "4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e"
+
+inherit pypi setuptools3
author
#9 lore raw

PATCH 6/11 python3-custom-inherit: Add recipe

In reply to Leon Anavi

Add recipe for custom-inherit, a Python package that provides customized docstring inheritance schemes between derived classes and their parents. Changelog for release 2.3.0:

- Add three new built-in styles, numpy_with_merge, google_with_merge, and numpy_napoleon_with_merge, which permit users to concatenate the respective sections of a parent's and child's docstrings.
- Also add is the ability to configure DocInheritMeta so that special methods will have their docstrings inherited as well.

---
 .../python/python3-custom-inherit_2.3.0.bb           | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-custom-inherit_2.3.0.bb
meta-python/recipes-devtools/python/python3-custom-inherit_2.3.0.bb new file +12 -0
new file mode 100644
index 000000000..489e71984
@@ -0,0 +1,12 @@
+SUMMARY = "A Python package that provides customized docstring inheritance schemes between derived classes and their parents."
+HOMEPAGE = "https://github.com/rsokl/custom_inherit"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=adc1f231c76ee2f1f36025d56926ba2c"
+
+PYPI_PACKAGE = "custom_inherit"
+PYPI_SRC_URI = "https://files.pythonhosted.org/packages/0e/82/c5bb7ec49a7892a2c583e1017597e3921c59171f10602086ca93c8a83baa/custom_inherit-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "adf2850dc0e488df959821a5d4c16cbd"
+SRC_URI[sha256sum] = "1609d283c2cffce3a58baf7c0c22b655c55f85e1ec39c4717a4423d34610723a"
+
+inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 6/11
#10 lore raw

Re: [oe] [meta-python][PATCH 06/11] python3-custom-inherit: Add recipe

Quoted 4 lines · Leon Anavi

Add recipe for custom-inherit, a Python package that provides customized docstring inheritance schemes between derived classes and their parents. Changelog for release 2.3.0:

Quoted 8 lines

- Add three new built-in styles, numpy_with_merge, google_with_merge, and numpy_napoleon_with_merge, which permit users to concatenate the respective sections of a parent's and child's docstrings.
- Also add is the ability to configure DocInheritMeta so that special methods will have their docstrings inherited as well.

Quoted 25 lines
---
  .../python/python3-custom-inherit_2.3.0.bb           | 12 ++++++++++++
  1 file changed, 12 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-custom-inherit_2.3.0.bb

meta-python/recipes-devtools/python/python3-custom-inherit_2.3.0.bb new file +12 -0
new file mode 100644
index 000000000..489e71984
@@ -0,0 +1,12 @@
+SUMMARY = "A Python package that provides customized docstring inheritance schemes between derived classes and their parents."
+HOMEPAGE = "https://github.com/rsokl/custom_inherit"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=adc1f231c76ee2f1f36025d56926ba2c"
+
+PYPI_PACKAGE = "custom_inherit"
+PYPI_SRC_URI = "https://files.pythonhosted.org/packages/0e/82/c5bb7ec49a7892a2c583e1017597e3921c59171f10602086ca93c8a83baa/custom_inherit-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "adf2850dc0e488df959821a5d4c16cbd"
+SRC_URI[sha256sum] = "1609d283c2cffce3a58baf7c0c22b655c55f85e1ec39c4717a4423d34610723a"
+
+inherit pypi setuptools3
author
#11 lore raw

PATCH 7/11 python3-nocasedict: Add recipe

In reply to Leon Anavi

Add recipe for nocasedict, a case-insensitive ordered dictionary for Python.

---
 .../recipes-devtools/python/python3-nocasedict_0.5.0.bb  | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-nocasedict_0.5.0.bb
meta-python/recipes-devtools/python/python3-nocasedict_0.5.0.bb new file +9 -0
new file mode 100644
index 000000000..440cf5109
@@ -0,0 +1,9 @@
+SUMMARY = "A case-insensitive ordered dictionary for Python"
+HOMEPAGE = "https://github.com/pywbem/nocasedict"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
+
+SRC_URI[md5sum] = "b1037d65f1f73322c3c2d76681195bb3"
+SRC_URI[sha256sum] = "ed74b83c7b81505ccaf4b09b0581477fdd5c1099c929098a6a170a91ec26fd33"
+
+inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 7/11
#12 lore raw

Re: [oe] [meta-python][PATCH 07/11] python3-nocasedict: Add recipe

Quoted 4 lines · Leon Anavi

Add recipe for nocasedict, a case-insensitive ordered dictionary for Python.

Quoted 22 lines
---
  .../recipes-devtools/python/python3-nocasedict_0.5.0.bb  | 9 +++++++++
  1 file changed, 9 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-nocasedict_0.5.0.bb

meta-python/recipes-devtools/python/python3-nocasedict_0.5.0.bb new file +9 -0
new file mode 100644
index 000000000..440cf5109
@@ -0,0 +1,9 @@
+SUMMARY = "A case-insensitive ordered dictionary for Python"
+HOMEPAGE = "https://github.com/pywbem/nocasedict"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
+
+SRC_URI[md5sum] = "b1037d65f1f73322c3c2d76681195bb3"
+SRC_URI[sha256sum] = "ed74b83c7b81505ccaf4b09b0581477fdd5c1099c929098a6a170a91ec26fd33"
+
+inherit pypi setuptools3
author
#13 lore raw

PATCH 8/11 python3-nocaselist: Add recipe

In reply to Leon Anavi

Add recipe for nocaselist, a case-insensitive list for Python. Changelog for 1.0.1:

- Fixed the incorrect behavior of the ‘+’ and ‘+=’ operators to now (correctly) treat the right hand operand as an iterable of items to be added, instead of (incorrectly) as a single item. For ‘+’, the right hand operand now must be a list, consistent with the built-in list class.
- Fixed the incorrect behavior of the * and *= operators to now validate that the number is an integer and raise TypeError otherwise, consistent with the built-in list class.

---
 .../recipes-devtools/python/python3-nocaselist_1.0.1.bb  | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-nocaselist_1.0.1.bb
meta-python/recipes-devtools/python/python3-nocaselist_1.0.1.bb new file +9 -0
new file mode 100644
index 000000000..9a6b24e75
@@ -0,0 +1,9 @@
+SUMMARY = "A case-insensitive list for Python"
+HOMEPAGE = "https://nocaselist.readthedocs.io/en/latest/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+SRC_URI[md5sum] = "a2654766ee683906ba6c77ac1e89f556"
+SRC_URI[sha256sum] = "87dc37f97cf52f6e10e1e4a82f56359067462a713222b52976045bf227a40eda"
+
+inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 8/11
#14 lore raw

Re: [oe] [meta-python][PATCH 08/11] python3-nocaselist: Add recipe

Quoted 12 lines · Leon Anavi

Add recipe for nocaselist, a case-insensitive list for Python. Changelog for 1.0.1:

- Fixed the incorrect behavior of the ‘+’ and ‘+=’ operators to now (correctly) treat the right hand operand as an iterable of items to be added, instead of (incorrectly) as a single item. For ‘+’, the right hand operand now must be a list, consistent with the built-in list class.
- Fixed the incorrect behavior of the * and *= operators to now validate that the number is an integer and raise TypeError otherwise, consistent with the built-in list class.

Quoted 1 line
Quoted 22 lines
---
  .../recipes-devtools/python/python3-nocaselist_1.0.1.bb  | 9 +++++++++
  1 file changed, 9 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-nocaselist_1.0.1.bb

meta-python/recipes-devtools/python/python3-nocaselist_1.0.1.bb new file +9 -0
new file mode 100644
index 000000000..9a6b24e75
@@ -0,0 +1,9 @@
+SUMMARY = "A case-insensitive list for Python"
+HOMEPAGE = "https://nocaselist.readthedocs.io/en/latest/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+SRC_URI[md5sum] = "a2654766ee683906ba6c77ac1e89f556"
+SRC_URI[sha256sum] = "87dc37f97cf52f6e10e1e4a82f56359067462a713222b52976045bf227a40eda"
+
+inherit pypi setuptools3
author
#15 lore raw

PATCH 9/11 python3-click-repl: Add recipe

In reply to Leon Anavi

Add recipe for click-repl, REPL plugin for Click.

---
 .../recipes-devtools/python/python3-click-repl_0.1.6.bb  | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-click-repl_0.1.6.bb
meta-python/recipes-devtools/python/python3-click-repl_0.1.6.bb new file +9 -0
new file mode 100644
index 000000000..fce9f9805
@@ -0,0 +1,9 @@
+SUMMARY = "REPL plugin for Click"
+HOMEPAGE = "https://github.com/untitaker/click-repl"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fee2943fdd4d8afbac9ccc1c8ac137d5"
+
+SRC_URI[md5sum] = "2d5f4d42cbd1da9a50a49dff4d6087ca"
+SRC_URI[sha256sum] = "b9f29d52abc4d6059f8e276132a111ab8d94980afe6a5432b9d996544afa95d5"
+
+inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 9/11
#16 lore raw

Re: [oe] [meta-python][PATCH 09/11] python3-click-repl: Add recipe

Quoted 3 lines · Leon Anavi

Add recipe for click-repl, REPL plugin for Click.

Quoted 22 lines
---
  .../recipes-devtools/python/python3-click-repl_0.1.6.bb  | 9 +++++++++
  1 file changed, 9 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-click-repl_0.1.6.bb

meta-python/recipes-devtools/python/python3-click-repl_0.1.6.bb new file +9 -0
new file mode 100644
index 000000000..fce9f9805
@@ -0,0 +1,9 @@
+SUMMARY = "REPL plugin for Click"
+HOMEPAGE = "https://github.com/untitaker/click-repl"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fee2943fdd4d8afbac9ccc1c8ac137d5"
+
+SRC_URI[md5sum] = "2d5f4d42cbd1da9a50a49dff4d6087ca"
+SRC_URI[sha256sum] = "b9f29d52abc4d6059f8e276132a111ab8d94980afe6a5432b9d996544afa95d5"
+
+inherit pypi setuptools3
author
#17 lore raw

PATCH 10/11 python3-click-spinner: Add recipe

In reply to Leon Anavi

Add recipe for click-spinner, a spinner for Click.

---
 .../python/python3-click-spinner_0.1.10.bb               | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb
meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb new file +9 -0
new file mode 100644
index 000000000..418f8a32a
@@ -0,0 +1,9 @@
+SUMMARY = "Spinner for Click"
+HOMEPAGE = "https://github.com/click-contrib/click-spinner"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
+
+SRC_URI[md5sum] = "ab68ed404401421819c81cc6c0677a87"
+SRC_URI[sha256sum] = "87eacf9d7298973a25d7615ef57d4782aebf913a532bba4b28a37e366e975daf"
+
+inherit pypi setuptools3
Signature · 1 line
2.17.1
Acked-by on v1 10/11
#18 lore raw

Re: [oe] [meta-python][PATCH 10/11] python3-click-spinner: Add recipe

Quoted 3 lines · Leon Anavi

Add recipe for click-spinner, a spinner for Click.

Quoted 22 lines
---
  .../python/python3-click-spinner_0.1.10.bb               | 9 +++++++++
  1 file changed, 9 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb

meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb new file +9 -0
new file mode 100644
index 000000000..418f8a32a
@@ -0,0 +1,9 @@
+SUMMARY = "Spinner for Click"
+HOMEPAGE = "https://github.com/click-contrib/click-spinner"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
+
+SRC_URI[md5sum] = "ab68ed404401421819c81cc6c0677a87"
+SRC_URI[sha256sum] = "87eacf9d7298973a25d7615ef57d4782aebf913a532bba4b28a37e366e975daf"
+
+inherit pypi setuptools3
author
#19 lore raw

PATCH 11/11 python3-pywbemtools: Add recipe

In reply to Leon Anavi

Add release 0.7.1 of the python client tools to work with WBEM Servers using the PyWBEM API:

- Pinned prompt-toolkit to <3.0 on Python 3.8 on Windows to avoid WinError 995
- Fixed exception when command entered in interactive mode, on Python 2
- Test: Default connection file does not get restored in some cases during test.

---
 .../pywbemtools/python3-pywbemtools_0.7.1.bb  | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 meta-python/recipes-extended/pywbemtools/python3-pywbemtools_0.7.1.bb
meta-python/recipes-extended/pywbemtools/python3-pywbemtools_0.7.1.bb new file +40 -0
new file mode 100644
index 000000000..05f77288e
@@ -0,0 +1,40 @@
+SUMMARY = "A set of tools using pywbem"
+DESCRIPTION = "A set of tools using pywbem to communicate with WBEM servers"
+HOMEPAGE = "https://pywbemtools.readthedocs.io/en/stable/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
+
+SRC_URI[md5sum] = "a789da735c04ddc08ba828cd8022243e"
+SRC_URI[sha256sum] = "d2fe776c78a740215142f4f033055093f2283fd9327440c59734716e51e19989"
+
+inherit pypi setuptools3
+
+DEPENDS += " \
+    ${PYTHON_PN}-pyyaml-native \
+    ${PYTHON_PN}-pywbem-native \
+    ${PYTHON_PN}-six-native \
+    ${PYTHON_PN}-click-native \
+"
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-ply \
+    ${PYTHON_PN}-pyyaml \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-pywbem \
+    ${PYTHON_PN}-click \
+    ${PYTHON_PN}-requests \
+    ${PYTHON_PN}-prompt-toolkit \
+    ${PYTHON_PN}-mock \
+    ${PYTHON_PN}-packaging \
+    ${PYTHON_PN}-nocasedict \
+    ${PYTHON_PN}-yamlloader \
+    ${PYTHON_PN}-click-repl \
+    ${PYTHON_PN}-click-spinner \
+    ${PYTHON_PN}-asciitree \
+    ${PYTHON_PN}-tabulate \
+    ${PYTHON_PN}-pydicti \
+    ${PYTHON_PN}-nocaselist \
+    ${PYTHON_PN}-custom-inherit \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1
Acked-by on v1 11/11
#20 lore raw

Re: [oe] [meta-python][PATCH 11/11] python3-pywbemtools: Add recipe

Quoted 11 lines · Leon Anavi

Add release 0.7.1 of the python client tools to work with WBEM Servers using the PyWBEM API:

- Pinned prompt-toolkit to <3.0 on Python 3.8 on Windows to avoid WinError 995
- Fixed exception when command entered in interactive mode, on Python 2
- Test: Default connection file does not get restored in some cases during test.

Quoted 53 lines
---
  .../pywbemtools/python3-pywbemtools_0.7.1.bb  | 40 +++++++++++++++++++
  1 file changed, 40 insertions(+)

create mode 100644 meta-python/recipes-extended/pywbemtools/python3-pywbemtools_0.7.1.bb

meta-python/recipes-extended/pywbemtools/python3-pywbemtools_0.7.1.bb new file +40 -0
new file mode 100644
index 000000000..05f77288e
@@ -0,0 +1,40 @@
+SUMMARY = "A set of tools using pywbem"
+DESCRIPTION = "A set of tools using pywbem to communicate with WBEM servers"
+HOMEPAGE = "https://pywbemtools.readthedocs.io/en/stable/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
+
+SRC_URI[md5sum] = "a789da735c04ddc08ba828cd8022243e"
+SRC_URI[sha256sum] = "d2fe776c78a740215142f4f033055093f2283fd9327440c59734716e51e19989"
+
+inherit pypi setuptools3
+
+DEPENDS += " \
+    ${PYTHON_PN}-pyyaml-native \
+    ${PYTHON_PN}-pywbem-native \
+    ${PYTHON_PN}-six-native \
+    ${PYTHON_PN}-click-native \
+"
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-ply \
+    ${PYTHON_PN}-pyyaml \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-pywbem \
+    ${PYTHON_PN}-click \
+    ${PYTHON_PN}-requests \
+    ${PYTHON_PN}-prompt-toolkit \
+    ${PYTHON_PN}-mock \
+    ${PYTHON_PN}-packaging \
+    ${PYTHON_PN}-nocasedict \
+    ${PYTHON_PN}-yamlloader \
+    ${PYTHON_PN}-click-repl \
+    ${PYTHON_PN}-click-spinner \
+    ${PYTHON_PN}-asciitree \
+    ${PYTHON_PN}-tabulate \
+    ${PYTHON_PN}-pydicti \
+    ${PYTHON_PN}-nocaselist \
+    ${PYTHON_PN}-custom-inherit \
+"
+
+BBCLASSEXTEND = "native"
Acked-by on v1 1/11
#21 lore raw
In reply to Leon Anavi
Quoted 18 lines · Leon Anavi

Upgrade to release 1.0.2:

- Fixed erronously raised HeaderParseError when WBEM server returns Content-type: text/xml. This content-type is valid according to DSP0200. Added testcases.
- Fixed handling of ReturnQueryResultClass=True in WBEMConnection.OpenQueryInstances().
- Mock: In the mock support, fixed multiple errors in the mocked OpenQueryInstances(), and added testcases for it.
- Mock: Added support for more ways the output parameters can be returned in method providers: The container for the output parameters can now also be a Mapping (including pywbem’s internal NocaseDict or nocasedict.NocaseDict), in addition to just the built-in dict. The values in such a Mapping container can now also be CIMParameter objects, in addition to just the CIM data values. This provides consistency with the way the input parameters of the method provider are represented.

Quoted 5 lines

Removed the wbemcli command that was deprecated in pywbem 0.15.0. The recommended replacement is the pywbemcli command from the 'pywbemtools' package.

Quoted 50 lines
---
  ...n3-pywbem_0.17.4.bb => python3-pywbem_1.0.2.bb} | 14 +++-----------
  1 file changed, 3 insertions(+), 11 deletions(-)

rename meta-python/recipes-extended/pywbem/{python3-pywbem_0.17.4.bb => python3-pywbem_1.0.2.bb} (78%)

meta-python/recipes-extended/pywbem/python3-pywbem_1.0.2.bb renamed from meta-python/recipes-extended/pywbem/python3-pywbem_0.17.4.bb +3 -11
similarity index 78%
rename from meta-python/recipes-extended/pywbem/python3-pywbem_0.17.4.bb
rename to meta-python/recipes-extended/pywbem/python3-pywbem_1.0.2.bb
index a804b0cc0..da731989d 100644
@@ -16,8 +16,8 @@ HOMEPAGE = "http://pywbem.github.io"
  LICENSE = "LGPLv2.1"
  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
 
-SRC_URI[md5sum] = "b65c03026bf2174e58e3e47a5e7e4825"
-SRC_URI[sha256sum] = "5b54b65a5434bb16432415743c0d154feee0c6d7a8a2fee208719c67d6d24c97"
+SRC_URI[md5sum] = "0f171e365e294554f8e7624ccf511067"
+SRC_URI[sha256sum] = "66d8ec82d30f2b95d8b4bd51659429066c2879d3f46292561f5fdbc7fed10f3d"
 
  inherit pypi setuptools3 update-alternatives
 
@@ -27,12 +27,6 @@ DEPENDS += " \
      ${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 \
@@ -46,10 +40,8 @@ RDEPENDS_${PN}_class-target += "\
      ${PYTHON_PN}-xml \
  "
 
-ALTERNATIVE_${PN} = "mof_compiler pywbemcli wbemcli"
+ALTERNATIVE_${PN} = "mof_compiler"
  ALTERNATIVE_TARGET[mof_compiler] = "${bindir}/mof_compiler"
-ALTERNATIVE_TARGET[pywbemcli] = "${bindir}/pywbemcli"
-ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli"
 
  ALTERNATIVE_PRIORITY = "60"