summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-18 15:48:19 +0200
committerMichał Górny <mgorny@gentoo.org>2022-09-18 15:53:02 +0200
commitbf348341d731c205e59cd32e36b82697489fba54 (patch)
tree15becd6a64d07a3cfec8b6eea8bb1e3af4fb5a16 /dev-python/pytzdata
parentmedia-sound/amsynth: fixed compilation of vst in 1.13.0 (diff)
downloadgentoo-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')
-rw-r--r--dev-python/pytzdata/Manifest2
-rw-r--r--dev-python/pytzdata/pytzdata-2020.1-r2.ebuild (renamed from dev-python/pytzdata/pytzdata-2020.1-r1.ebuild)17
2 files changed, 14 insertions, 5 deletions
diff --git a/dev-python/pytzdata/Manifest b/dev-python/pytzdata/Manifest
index 774d26b0ce52..82953886e3f5 100644
--- a/dev-python/pytzdata/Manifest
+++ b/dev-python/pytzdata/Manifest
@@ -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
diff --git a/dev-python/pytzdata/pytzdata-2020.1-r1.ebuild b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild
index 56781a4e3dd0..b6682c88963b 100644
--- a/dev-python/pytzdata/pytzdata-2020.1-r1.ebuild
+++ b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild
@@ -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