From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D730815801B for ; Mon, 28 Aug 2023 18:15:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F7192BC023; Mon, 28 Aug 2023 18:15:33 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A9DF2BC023 for ; Mon, 28 Aug 2023 18:15:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 312B0335CE9 for ; Mon, 28 Aug 2023 18:15:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E14B10C1 for ; Mon, 28 Aug 2023 18:15:30 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1693246523.4974eb40edca49042ed1dba24d28469e6d18c180.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tzdata/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tzdata/metadata.xml dev-python/tzdata/tzdata-9999.ebuild X-VCS-Directories: dev-python/tzdata/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4974eb40edca49042ed1dba24d28469e6d18c180 X-VCS-Branch: master Date: Mon, 28 Aug 2023 18:15:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4aa50a00-b028-4651-8667-b0df794bd43d X-Archives-Hash: e9b93504ebedc1a0fff61eaaea948033 commit: 4974eb40edca49042ed1dba24d28469e6d18c180 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 28 18:09:54 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 28 18:15:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4974eb40 dev-python/tzdata: A shim package (v9999) to satisfy deps Add a shim package that installs metadata for `tzdata` to satisfy the requirements of other packages while using system timezone-data. Signed-off-by: Michał Górny gentoo.org> dev-python/tzdata/metadata.xml | 8 ++++++++ dev-python/tzdata/tzdata-9999.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/tzdata/metadata.xml b/dev-python/tzdata/metadata.xml new file mode 100644 index 000000000000..7d421671d884 --- /dev/null +++ b/dev-python/tzdata/metadata.xml @@ -0,0 +1,8 @@ + + + + + python@gentoo.org + + + diff --git a/dev-python/tzdata/tzdata-9999.ebuild b/dev-python/tzdata/tzdata-9999.ebuild new file mode 100644 index 000000000000..5e212ace5c26 --- /dev/null +++ b/dev-python/tzdata/tzdata-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="tzdata shim to satisfy requirements (while using system tzdata)" +HOMEPAGE="https://peps.python.org/pep-0615/" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + sys-libs/timezone-data +" + +src_unpack() { + mkdir "${S}" || die + cat > "${S}/pyproject.toml" <<-EOF || die + [build-system] + requires = ["hatchling"] + build-backend = "hatchling.build" + + [project] + name = "tzdata" + version = "9999" + description = "tzdata shim to satisfy requirements (using system tzdata)" + EOF +}