python3-pywbem: Upgrade 0.17.3 -> 0.17.4

Upgrade to release 0.17.4 with the following bug fixes:

- Test: On Python 3.8, upgraded the minimum version of lxml from
  4.4.1 to 4.4.3, in order to fix an XMLSyntaxError raised when
  encountering UCS-4 characters.
- Test: Fixed issue with Swig when installing M2Crypto on native
  Windows in the Appveyor CI, reporting mssing files swig.swg and
  python.swg. This was fixed by pinning the swig version to 4.0.1.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2020-07-31 16:22:16 +03:00
committed by Khem Raj
parent 1bb990c6ca
commit 5ce7346a99

View File

@@ -0,0 +1,56 @@
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"
SRC_URI[md5sum] = "b65c03026bf2174e58e3e47a5e7e4825"
SRC_URI[sha256sum] = "5b54b65a5434bb16432415743c0d154feee0c6d7a8a2fee208719c67d6d24c97"
inherit pypi setuptools3 update-alternatives
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"
ALTERNATIVE_TARGET[pywbemcli] = "${bindir}/pywbemcli"
ALTERNATIVE_TARGET[wbemcli] = "${bindir}/wbemcli"
ALTERNATIVE_PRIORITY = "60"
BBCLASSEXTEND = "native"