poky/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb
Tim Orling 5c5347449e python3-smartypants: patch hash bang to python3
Change hash bang in smartypants and smartypants.py to be /usr/bin/env
python3

[YOCTO #14638]

(From OE-Core rev: ef8ccaa1dcd396dafb328cd64777d4bd6973e9e1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00

15 lines
570 B
BlitzBasic

SUMMARY = "Translator of plain ASCII punctuation characters into 'smart' typographic punctuation HTML entities"
HOMEPAGE = "https://pythonhosted.org/smartypants/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=977036977591ac666c728921ecc54c4f"
inherit pypi setuptools3
PYPI_PACKAGE = "smartypants"
SRC_URI += "file://0001-Change-hash-bang-to-python3.patch"
SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36"
BBCLASSEXTEND = "native"
UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(?!2\.0\.1)(\d+[\.\-_]*)+)/"