summaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-python/python3-python-crfsuite/python3-python-crfsuite_0.9.9.bb
blob: 19fb4cf63bbfc43a60414e81b747ac1b9d8e8e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SUMMARY = "A python binding for crfsuite"
HOMEPAGE = "https://github.com/scrapinghub/python-crfsuite"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0a36d267a3ece77cbc8ebc95ca7e2edd"

PYPI_PACKAGE = "python-crfsuite"

SRC_URI[md5sum] = "01691860ad087f1270a78062ba0ded4c"
SRC_URI[sha256sum] = "caa6261d6955466756f986b7fcfbd4fd50622963e3bdb5cc180c129c62b3a76d"

inherit pypi setuptools3
a256sum] = "9e3fb1b0e896f14a85aa9a28d5f755daaeeb54c897b746df7a55ccb02b340f33" S = "${WORKDIR}/scipy-${PV}" DEPENDS += " \ ${PYTHON_PN}-numpy-native \ ${PYTHON_PN}-pybind11-native \ ${PYTHON_PN}-pythran-native \ ${PYTHON_PN}-gast-native \ ${PYTHON_PN}-beniget-native \ ${PYTHON_PN}-ply-native \ lapack-native \ openblas-native \ " CLEANBROKEN = "1" inherit setuptools3 native export LAPACK = "${STAGING_LIBDIR}" export BLAS = "${STAGING_LIBDIR}" export F90 = "${FC}" # Numpy expects the LDSHARED env variable to point to a single # executable, but OE sets it to include some flags as well. So we split # the existing LDSHARED variable into the base executable and flags, and # prepend the flags into LDFLAGS LDFLAGS:prepend := "${@" ".join(d.getVar('LDSHARED', True).split()[1:])} " export LDSHARED := "${@d.getVar('LDSHARED', True).split()[0]}" # Tell Numpy to look in target sysroot site-packages directory for libraries LDFLAGS:append = " -L${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/lib" INSANE_SKIP:${PN} = "already-stripped"