Files
meta-openembedded/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb
T
Ross Burton 0a583b3502 recipes: update for PYPI_PACKAGE change
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>
2026-10-08 22:27:01 -07:00

24 lines
615 B
BlitzBasic

SUMMARY = "Python front end for libmagic"
DESCRIPTION = "This library is a Python ctypes interface to libmagic."
HOMEPAGE = "https://darwinsys.com/file/"
LICENSE = "BSD-2-Clause"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0e949c0b3fb4fd86232f00c6ee0bdef3"
SRC_URI[sha256sum] = "a91d1483117f7ed48cd0238ad9be36b04824d57e9c38ea7523113989e81b9c53"
inherit pypi python_setuptools_build_meta
PYPI_PACKAGE_SDIST = "file-magic"
DEPENDS += "python3-wheel-native"
RDEPENDS:${PN} += " \
file \
python3-core \
python3-ctypes \
python3-threading \
"
BBCLASSEXTEND = "native nativesdk"