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 B96B8158090 for ; Wed, 11 May 2022 14:05:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B382E08BB; Wed, 11 May 2022 14:05:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 4F9B2E08BB for ; Wed, 11 May 2022 14:05:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 4E13A3411E8 for ; Wed, 11 May 2022 14:05:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A17C5452 for ; Wed, 11 May 2022 14:05:05 +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: <1652277289.f56740823a78cc239c75843bd5547d15f6f16d2d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-dateutil/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-dateutil/python-dateutil-2.8.2-r1.ebuild X-VCS-Directories: dev-python/python-dateutil/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f56740823a78cc239c75843bd5547d15f6f16d2d X-VCS-Branch: master Date: Wed, 11 May 2022 14:05:05 +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: 895655d4-b97d-436c-8d3e-612e7a6a171e X-Archives-Hash: 724a9f5916dc12b5b12a0a2c0b0e863e commit: f56740823a78cc239c75843bd5547d15f6f16d2d Author: Michał Górny gentoo org> AuthorDate: Wed May 11 13:54:49 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 11 13:54:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5674082 dev-python/python-dateutil: Use PEP517 build Signed-off-by: Michał Górny gentoo.org> .../python-dateutil-2.8.2-r1.ebuild | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-python/python-dateutil/python-dateutil-2.8.2-r1.ebuild b/dev-python/python-dateutil/python-dateutil-2.8.2-r1.ebuild new file mode 100644 index 000000000000..63391c2a9f7d --- /dev/null +++ b/dev-python/python-dateutil/python-dateutil-2.8.2-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Extensions to the standard Python datetime module" +HOMEPAGE=" + https://dateutil.readthedocs.io/ + https://pypi.org/project/python-dateutil/ + https://github.com/dateutil/dateutil/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +RDEPEND=" + >=dev-python/six-1.5[${PYTHON_USEDEP}] + sys-libs/timezone-data +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/python-dateutil-2.8.2-system-tzdata.patch" + "${FILESDIR}/python-dateutil-2.8.1-no-pytest-cov.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # don't install zoneinfo tarball + sed -i '/package_data=/d' setup.py || die + + distutils-r1_python_prepare_all +}