diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-07-25 10:15:55 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-07-25 08:43:53 -0700 |
| commit | 6804adf7b022e80dcd8913f7cd1c1fc2f72c9995 (patch) | |
| tree | eeab7e272ee303b5c7884a49e89c2c02d81222b5 /meta-python/recipes-devtools/python/python3-semver_3.0.1.bb | |
| parent | 34609fd7bb2e329b8ecca98526e741eb488053dc (diff) | |
| download | meta-openembedded-6804adf7b022e80dcd8913f7cd1c1fc2f72c9995.tar.gz | |
python3-semver: upgrade 2.13.0 -> 3.0.1
- Update to point at the proper license file with correct checksum.
Previously it was pointing at a subset of a PKG-INFO file, which was
a legacy output from distutils
- Update build backend and include python3-setuptools-scm-native in
DEPENDS
- Modify ptest installation and run-ptest script since the tests have
been moved into their own folder
Changelog: https://github.com/python-semver/python-semver/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-semver_3.0.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-semver_3.0.1.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-semver_3.0.1.bb b/meta-python/recipes-devtools/python/python3-semver_3.0.1.bb new file mode 100644 index 0000000000..2d85d789c7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-semver_3.0.1.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | DESCRIPTION = "Python module for Semantic Versioning" | ||
| 2 | HOMEPAGE = "https://github.com/python-semver/python-semver" | ||
| 3 | BUGTRACKER = "https://github.com/python-semver/python-semver" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d9da679db3bdce30a1b4328d5c474f98" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "b7502c12ce325ffffeab694fed52f6f5" | ||
| 8 | SRC_URI[sha256sum] = "9ec78c5447883c67b97f98c3b6212796708191d22e4ad30f4570f840171cbce1" | ||
| 9 | |||
| 10 | inherit pypi python_setuptools_build_meta ptest | ||
| 11 | |||
| 12 | BBCLASSEXTEND = "native nativesdk" | ||
| 13 | |||
| 14 | SRC_URI += " \ | ||
| 15 | file://run-ptest \ | ||
| 16 | " | ||
| 17 | |||
| 18 | DEPENDS += " python3-setuptools-scm-native" | ||
| 19 | |||
| 20 | RDEPENDS:${PN}-ptest += " \ | ||
| 21 | ${PYTHON_PN}-pytest \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_install_ptest() { | ||
| 25 | cp -rf ${S}/tests ${D}${PTEST_PATH}/ | ||
| 26 | } | ||
