diff options
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb | 16 |
1 files changed, 16 insertions, 0 deletions
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 @@ | |||
1 | SUMMARY = "Shims to help you safely remove pytz" | ||
2 | HOMEPAGE = "https://github.com/pganssle/pytz-deprecation-shim" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48" | ||
5 | |||
6 | SRC_URI[sha256sum] = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d" | ||
7 | |||
8 | PYPI_PACKAGE = "pytz_deprecation_shim" | ||
9 | PYPI_SRC_URI = "https://files.pythonhosted.org/packages/94/f0/909f94fea74759654390a3e1a9e4e185b6cd9aa810e533e3586f39da3097/${PYPI_PACKAGE}-${PV}.tar.gz" | ||
10 | |||
11 | inherit pypi setuptools3 | ||
12 | |||
13 | do_compile:prepend() { | ||
14 | echo "from setuptools import setup" > ${S}/setup.py | ||
15 | echo "setup()" >> ${S}/setup.py | ||
16 | } | ||