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 42D64158089 for ; Sun, 1 Oct 2023 03:22:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D99C72BC06B; Sun, 1 Oct 2023 03:22:07 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BBB522BC02A for ; Sun, 1 Oct 2023 03:22:07 +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 E5E9B335C52 for ; Sun, 1 Oct 2023 03:22:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FE1E1268 for ; Sun, 1 Oct 2023 03:22: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: <1696130521.9cd0065c56b8ef4258c49ccad8d96138838c722c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/arrow/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/arrow/Manifest dev-python/arrow/arrow-1.3.0.ebuild X-VCS-Directories: dev-python/arrow/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9cd0065c56b8ef4258c49ccad8d96138838c722c X-VCS-Branch: master Date: Sun, 1 Oct 2023 03:22: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: 944f47d9-7524-4723-8811-747fd1e08a07 X-Archives-Hash: e8eb58480ef765a1c4b276fff3f579c8 commit: 9cd0065c56b8ef4258c49ccad8d96138838c722c Author: Michał Górny gentoo org> AuthorDate: Sun Oct 1 03:17:04 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 1 03:22:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd0065c dev-python/arrow: Bump to 1.3.0 Signed-off-by: Michał Górny gentoo.org> dev-python/arrow/Manifest | 1 + dev-python/arrow/arrow-1.3.0.ebuild | 40 +++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest index 7a7b11727ef6..a54604b6ff22 100644 --- a/dev-python/arrow/Manifest +++ b/dev-python/arrow/Manifest @@ -1 +1,2 @@ DIST arrow-1.2.3.tar.gz 127552 BLAKE2B 35f5b694d819d80913b5938e4af71f413fd3944636c1e89a79e868c03cb423f75692c1f0e8d85dba21e640591f8cd0404cdc6d77dd59956490d268fb4c9fdc7b SHA512 e90276f50bf8521570cc2cdbf011ff376e0d5bada0576bbfc76f6c63730c13f7eba1d978cc3a481e7c7356b0dce7c554f19cbf3ef03b280c5515be72d2c7d177 +DIST arrow-1.3.0.tar.gz 131960 BLAKE2B 892ed898ea09a00ca100eada18956994d3567836c30feec50e1d2d1bca6a603c3f9254def16cd55b46e68c1530f8bf7c0f55401b458cc5aadf0883ade0899e90 SHA512 f0725e75d1005e0177bb234b3d2523aaf9e882ec08b020f6b3737a3af27af3c8c031aee9dcba0332595845a09a0286d56662b77ddad8a6da928ba37201725239 diff --git a/dev-python/arrow/arrow-1.3.0.ebuild b/dev-python/arrow/arrow-1.3.0.ebuild new file mode 100644 index 000000000000..b77f1acf1f27 --- /dev/null +++ b/dev-python/arrow/arrow-1.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Better dates and times for Python" +HOMEPAGE=" + https://github.com/arrow-py/arrow/ + https://pypi.org/project/arrow/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' tox.ini || die + # unnecessary type stub deps + sed -i -e '/types-/d' pyproject.toml || die + distutils-r1_src_prepare +}