Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame^] | 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 | } |