blob: 72529353e58da42cd4ed8e9b83fc63dff6031278 [file] [log] [blame]
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00001SUMMARY = "the blessed package to manage your versions by scm tags"
2HOMEPAGE = "https://pypi.org/project/setuptools-scm/"
3DESCRIPTION = "setuptools_scm handles managing your Python package versions in SCM metadata instead of declaring them as the version argument or in a SCM managed file."
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
6
Andrew Geissler615f2f12022-07-15 14:00:58 -05007SRC_URI[sha256sum] = "cf8ab8e235bed840cd4559b658af0d8e8a70896a191bbc510ee914ec5325332d"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00008
9PYPI_PACKAGE = "setuptools_scm"
Andrew Geissler9aee5002022-03-30 16:27:02 +000010inherit pypi python_setuptools_build_meta
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000011
12UPSTREAM_CHECK_REGEX = "setuptools_scm-(?P<pver>.*)\.tar"
13
Andrew Geissler615f2f12022-07-15 14:00:58 -050014DEPENDS += "python3-tomli-native python3-packaging-native python3-typing-extensions-native"
Andrew Geisslerd5838332022-05-27 11:33:10 -050015
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000016RDEPENDS:${PN} = "\
17 ${PYTHON_PN}-packaging \
Andrew Geissler615f2f12022-07-15 14:00:58 -050018 ${PYTHON_PN}-pip \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000019 ${PYTHON_PN}-pyparsing \
20 ${PYTHON_PN}-setuptools \
21 ${PYTHON_PN}-tomli \
Andrew Geissler615f2f12022-07-15 14:00:58 -050022 ${PYTHON_PN}-typing-extensions \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000023"
24
25RDEPENDS:${PN}:append:class-target = " \
26 ${PYTHON_PN}-debugger \
27 ${PYTHON_PN}-json \
28"
29
30BBCLASSEXTEND = "native nativesdk"