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 1C7A115806E for ; Sun, 28 May 2023 18:11:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57E4CE089A; Sun, 28 May 2023 18:11:20 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3AE5AE089A for ; Sun, 28 May 2023 18:11:20 +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 1E899340D5A for ; Sun, 28 May 2023 18:11:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59D88A67 for ; Sun, 28 May 2023 18:11:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1685297401.73d9736e8d410c7d9eb311168bfc67bb619a1e64.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/constantly/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/constantly/constantly-15.1.0-r3.ebuild X-VCS-Directories: dev-python/constantly/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 73d9736e8d410c7d9eb311168bfc67bb619a1e64 X-VCS-Branch: master Date: Sun, 28 May 2023 18:11:17 +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: b8508cd7-8df7-4cbb-acf6-7db177b874cb X-Archives-Hash: 46d9d8192d97d1733f64b5686833da1b commit: 73d9736e8d410c7d9eb311168bfc67bb619a1e64 Author: Sam James gentoo org> AuthorDate: Sat May 27 17:21:31 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 28 18:10:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d9736e dev-python/constantly: enable py3.12 Signed-off-by: Sam James gentoo.org> dev-python/constantly/constantly-15.1.0-r3.ebuild | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dev-python/constantly/constantly-15.1.0-r3.ebuild b/dev-python/constantly/constantly-15.1.0-r3.ebuild new file mode 100644 index 000000000000..9246a503bf34 --- /dev/null +++ b/dev-python/constantly/constantly-15.1.0-r3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Symbolic constants in Python" +HOMEPAGE="https://github.com/twisted/constantly https://pypi.org/project/constantly/" +SRC_URI="https://github.com/twisted/constantly/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] + test? ( dev-python/twisted[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests setup.py + +python_prepare_all() { + # https://github.com/twisted/constantly/pull/27 + rm versioneer.py || die + + distutils-r1_python_prepare_all +}