dev-python/pytzdata: Use PEP517 build

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-09-18 15:48:19 +02:00
parent 1191e1a090
commit bf348341d7
2 changed files with 14 additions and 5 deletions

View File

@@ -1 +1 @@
DIST pytzdata-2020.1.tar.gz 249045 BLAKE2B 6f07a7577edc87030fd70e720b32146e9044a8c6f74d0bafb9239ad666d0d6fd0ac7c3cca070914701af301b1a3368ace2985f8169b9747937fa6ed066be7302 SHA512 fd154bfbe90ce07a90f769063b772234036d2627c1e6d78a465d9ddbc894e50cb9d821c04ebff1a7cc6a327266f7843fe54e5592d37c41db023329d6e0f668c2
DIST pytzdata-2020.1.gh.tar.gz 249045 BLAKE2B 6f07a7577edc87030fd70e720b32146e9044a8c6f74d0bafb9239ad666d0d6fd0ac7c3cca070914701af301b1a3368ace2985f8169b9747937fa6ed066be7302 SHA512 fd154bfbe90ce07a90f769063b772234036d2627c1e6d78a465d9ddbc894e50cb9d821c04ebff1a7cc6a327266f7843fe54e5592d37c41db023329d6e0f668c2

View File

@@ -3,19 +3,28 @@
EAPI=8
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
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"
SRC_URI="https://github.com/sdispater/pytzdata/archive/${PV}.tar.gz -> ${P}.tar.gz"
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}]"
RDEPEND="
dev-python/cleo[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest