meta-openembedded/meta-python/recipes-devtools/python3-rouge-score/python3-rouge-score_0.1.2.bb
Derek Straka c089690f57
python3-*: Update recipes to correctly check the upstream packages
With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
   packages that use '_', CamelCase, or other deviations from PEP625 in
   the source archive

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-19 09:41:21 -08:00

21 lines
704 B
BlitzBasic

SUMMARY = "Pure python implementation of ROUGE-1.5.5."
DESCRIPTION = "This is a native python implementation of ROUGE, designed to \
replicate results from the original perl package."
HOMEPAGE = "https://github.com/google-research/google-research/tree/master/rouge"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://README.md;beginline=91;endline=93;md5=e8937c2bcd7cf57f2d1bd5f1bf7efd23"
RDEPENDS:${PN} = "\
python3-absl \
python3-nltk \
python3-numpy \
python3-six (>=1.14) \
"
inherit setuptools3 pypi
PYPI_PACKAGE = "rouge_score"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
SRC_URI[sha256sum] = "c7d4da2683e68c9abf0135ef915d63a46643666f848e558a1b9f7ead17ff0f04"