From: MichaƂ Bartoszkiewicz Date: Tue, 20 Oct 2020 17:29:49 +0000 (+0200) Subject: dev-python/backports-zoneinfo: new package X-Git-Url: https://git.bzium.org/embe/overlay.git/commitdiff_plain/4a7ab8f0d001a1c36c1fbf25ff9a93a517027d33?ds=sidebyside dev-python/backports-zoneinfo: new package --- diff --git a/dev-python/backports-zoneinfo/Manifest b/dev-python/backports-zoneinfo/Manifest new file mode 100644 index 0000000..7bc0fa7 --- /dev/null +++ b/dev-python/backports-zoneinfo/Manifest @@ -0,0 +1 @@ +DIST backports.zoneinfo-0.2.1.tar.gz 74098 BLAKE2B 6cc6a5ea5452c4e9691336b9cd2adc5d37cbb6b8b6c417ea804826aa3283f766ba0d2ec758891dcd7e40933f51c53aef361b81a1cc40d48ac3ff85a08d8bc8b9 SHA512 0197f86a3eaba41cc37006e7bad5ffb3a39afc2d681820f3a405788164b3347df02169405766cfc2b84a5d77915fc034c4acad0c2eb3eeb925869ac6e1035c4b diff --git a/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1.ebuild b/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1.ebuild new file mode 100644 index 0000000..f193dcf --- /dev/null +++ b/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +MY_PN="${PN/-/.}" +MY_P="${MY_PN}-${PV}" + +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Python library to simplify working with jsonlines and ndjson data" +HOMEPAGE="https://github.com/pganssle/zoneinfo" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-python/backports[${PYTHON_USEDEP}] +" + +RDEPEND=" + sys-libs/timezone-data + dev-python/backports[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_6) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc + +python_install() { + distutils-r1_python_install + + rm "${D}/$(python_get_sitedir)"/backports/__init__.py* || die + rm -rf "${D}/$(python_get_sitedir)"/backports/__pycache__ || die +}