mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-24 21:18:29 +00:00
The pypi class has slightly changed the semantics of the PYPI_PACKAGE
variable[1], now PYPI_PACKAGE is the normalised package name and the new
variable PYPI_PACKAGE_SDIST is used when the source tarball doesn't match.
Update recipes as appropriate: this is mostly deleting now-redundant
assignments but some assignments are still needed where packages are not
uploaded using the modern standards.
[1] oe-core 98049bf86b6 ("classes/pypi: change PYPI_PACKAGE to be normalised")
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
29 lines
918 B
BlitzBasic
29 lines
918 B
BlitzBasic
SUMMARY = "Extensions to the standard Python datetime module"
|
|
DESCRIPTION = "The dateutil module provides powerful extensions to the datetime module available in the Python standard library."
|
|
HOMEPAGE = "https://dateutil.readthedocs.org"
|
|
LICENSE = "Apache-2.0 AND BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996"
|
|
|
|
SRC_URI += "file://0001-drop-the-six-dependency.patch"
|
|
SRC_URI[sha256sum] = "78e73e19c63f5b20ffa567001531680d939dc042bf7850431877645523c66709"
|
|
|
|
PYPI_PACKAGE = "python-dateutil"
|
|
PYPI_PACKAGE_SDIST = "python-dateutil"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
DEPENDS += "python3-wheel-native"
|
|
|
|
PACKAGES =+ "${PN}-zoneinfo"
|
|
FILES:${PN}-zoneinfo = "${PYTHON_SITEPACKAGES_DIR}/dateutil/zoneinfo"
|
|
|
|
DEPENDS += "python3-setuptools-scm-native"
|
|
|
|
RDEPENDS:${PN} = "\
|
|
python3-datetime \
|
|
python3-numbers \
|
|
python3-stringold \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|