diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-18 15:48:19 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-18 15:53:02 +0200 |
commit | bf348341d731c205e59cd32e36b82697489fba54 (patch) | |
tree | 15becd6a64d07a3cfec8b6eea8bb1e3af4fb5a16 /dev-python/pytzdata/pytzdata-2020.1-r2.ebuild | |
parent | media-sound/amsynth: fixed compilation of vst in 1.13.0 (diff) | |
download | gentoo-bf348341d731c205e59cd32e36b82697489fba54.tar.gz gentoo-bf348341d731c205e59cd32e36b82697489fba54.tar.bz2 gentoo-bf348341d731c205e59cd32e36b82697489fba54.zip |
dev-python/pytzdata: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytzdata/pytzdata-2020.1-r2.ebuild')
-rw-r--r-- | dev-python/pytzdata/pytzdata-2020.1-r2.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild new file mode 100644 index 000000000000..b6682c88963b --- /dev/null +++ b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="The Olson timezone database for Python" +HOMEPAGE=" + https://github.com/sdispater/pytzdata/ + https://pypi.org/project/pytzdata/ +" +SRC_URI=" + https://github.com/sdispater/pytzdata/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/cleo[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/pytzdata-2020.1-system-zoneinfo.patch +) |