From a20383dec28fd5f0c25290341d50ac82c740c736 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 8 Nov 2021 12:42:33 +0200 Subject: python3-pytz-deprecation-shim: Add recipe Add release 0.1.0.post0: - Fixes the project_urls metadata to point to the correct bug tracker and documentation. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-pytz-deprecation-shim_0.1.0.post0.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb b/meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb new file mode 100644 index 0000000000..76487c830f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb @@ -0,0 +1,16 @@ +SUMMARY = "Shims to help you safely remove pytz" +HOMEPAGE = "https://github.com/pganssle/pytz-deprecation-shim" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48" + +SRC_URI[sha256sum] = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d" + +PYPI_PACKAGE = "pytz_deprecation_shim" +PYPI_SRC_URI = "https://files.pythonhosted.org/packages/94/f0/909f94fea74759654390a3e1a9e4e185b6cd9aa810e533e3586f39da3097/${PYPI_PACKAGE}-${PV}.tar.gz" + +inherit pypi setuptools3 + +do_compile:prepend() { + echo "from setuptools import setup" > ${S}/setup.py + echo "setup()" >> ${S}/setup.py +} -- cgit v1.2.3-54-g00ecf