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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 78D57158041 for ; Mon, 6 Sep 2021 06:23:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6EF4E082B; Mon, 6 Sep 2021 06:23:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 946C3E082B for ; Mon, 6 Sep 2021 06:23:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7929D340FFC for ; Mon, 6 Sep 2021 06:23:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA17EA7 for ; Mon, 6 Sep 2021 06:23:25 +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: <1630909402.2e6b0d72824c2ad2084f32b79126fc2e7eeb0136.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/deprecated/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/deprecated/Manifest dev-python/deprecated/deprecated-1.2.13.ebuild X-VCS-Directories: dev-python/deprecated/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2e6b0d72824c2ad2084f32b79126fc2e7eeb0136 X-VCS-Branch: master Date: Mon, 6 Sep 2021 06:23:25 +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: 33707215-b265-4215-b1b1-80ba8c26cc69 X-Archives-Hash: 63fb1f1e6e90927525b5c8c56e65e2be commit: 2e6b0d72824c2ad2084f32b79126fc2e7eeb0136 Author: Michał Górny gentoo org> AuthorDate: Mon Sep 6 06:03:11 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Sep 6 06:23:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6b0d72 dev-python/deprecated: Bump to 1.2.13 Signed-off-by: Michał Górny gentoo.org> dev-python/deprecated/Manifest | 1 + dev-python/deprecated/deprecated-1.2.13.ebuild | 32 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-python/deprecated/Manifest b/dev-python/deprecated/Manifest index aabed087e35..a25e50052cd 100644 --- a/dev-python/deprecated/Manifest +++ b/dev-python/deprecated/Manifest @@ -1 +1,2 @@ DIST deprecated-1.2.12.gh.tar.gz 2969891 BLAKE2B c5fe02ff2c0588c5c6fb1e9054ad7851943c4574be633aa6ae37a466b3cac9889d8ed119962fcffc2092ab844a6d18a5d72766141e149bba2ba0c2dd4ee5131b SHA512 ff9b03a35b688474b6d5390347c4acdf5e19fcee5f7fcbb61a456c6819adbcda72ce00200d55b92c65873addad5abf9d1d5617bf477f64beb08ca23f10ebaea2 +DIST deprecated-1.2.13.gh.tar.gz 2971610 BLAKE2B 00c1fad34e869b143ad7cada2426f999f1d353d23e33076b0197a7ca6c87b0f2d240d7f4944b7c7669974c89304a6cf04f5d2b4c44e6fee22c27522ec2cc9711 SHA512 c170b086bc4e37462181a0f53edbe745aa4f4924c7fd64d9693de267e070392b74445f9cba935e85c878b755603ca6cada8b4130ac96ab071be284047aa35619 diff --git a/dev-python/deprecated/deprecated-1.2.13.ebuild b/dev-python/deprecated/deprecated-1.2.13.ebuild new file mode 100644 index 00000000000..89023d5fda4 --- /dev/null +++ b/dev-python/deprecated/deprecated-1.2.13.ebuild @@ -0,0 +1,32 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Python @deprecated decorator to deprecate old API" +HOMEPAGE="https://github.com/tantale/deprecated" +SRC_URI=" + https://github.com/tantale/deprecated/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND="dev-python/wrapt[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + tests/test_deprecated.py::test_respect_global_filter + tests/test_deprecated_class.py::test_class_respect_global_filter + ) + + epytest +}