From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/async_timeout/
Date: Wed, 18 May 2022 16:59:14 +0000 (UTC) [thread overview]
Message-ID: <1652893150.b13b6a521a1fc17b87c99810a0b5968c6d70aefd.mgorny@gentoo> (raw)
commit: b13b6a521a1fc17b87c99810a0b5968c6d70aefd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 16:03:08 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 18 16:59:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b13b6a52
dev-python/async_timeout: Use PEP517 build
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../async_timeout/async_timeout-4.0.2-r1.ebuild | 41 ++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/dev-python/async_timeout/async_timeout-4.0.2-r1.ebuild b/dev-python/async_timeout/async_timeout-4.0.2-r1.ebuild
new file mode 100644
index 000000000000..226c647c7974
--- /dev/null
+++ b/dev-python/async_timeout/async_timeout-4.0.2-r1.ebuild
@@ -0,0 +1,41 @@
+# 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
+
+MY_P=${PN/_/-}-${PV}
+DESCRIPTION="Timeout context manager for asyncio programs"
+HOMEPAGE="
+ https://github.com/aio-libs/async-timeout/
+ https://pypi.org/project/async-timeout/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # remove pointless dep on pytest-cov
+ sed -i -e '/addopts/d' setup.cfg || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ epytest -p no:aiohttp
+}
next reply other threads:[~2022-05-18 16:59 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-18 16:59 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-21 18:35 [gentoo-commits] repo/gentoo:master commit in: dev-python/async_timeout/ Arthur Zamarin
2022-06-21 18:29 Arthur Zamarin
2022-05-20 18:01 Andrew Ammerlaan
2022-04-25 18:41 Sam James
2022-01-20 9:06 Arthur Zamarin
2021-12-20 23:10 Michał Górny
2021-12-02 9:39 Michał Górny
2021-12-02 8:56 Arthur Zamarin
2021-11-10 22:35 Michał Górny
2021-11-06 12:49 Piotr Karbowski
2021-11-01 22:16 Michał Górny
2021-11-01 8:32 Michał Górny
2021-08-02 8:41 Michał Górny
2021-06-19 12:26 Michał Górny
2020-12-11 18:06 Sergei Trofimovich
2020-11-28 15:36 Sam James
2020-11-28 15:36 Sam James
2020-11-26 19:08 Sam James
2020-11-26 13:21 Sam James
2020-11-23 16:39 Sergei Trofimovich
2020-10-07 1:02 Sam James
2020-10-04 19:49 Sergei Trofimovich
2020-09-30 20:26 Sam James
2020-09-27 6:42 Matt Turner
2020-09-13 4:55 Sam James
2020-09-13 3:31 Sam James
2020-08-25 10:23 Sam James
2020-08-18 21:53 Sergei Trofimovich
2020-06-12 15:40 Michał Górny
2020-03-26 10:08 Michał Górny
2020-03-26 10:08 Michał Górny
2019-08-28 20:46 Zac Medico
2019-08-28 20:11 Zac Medico
2019-08-28 19:26 Zac Medico
2019-08-28 18:20 Zac Medico
2019-07-31 14:32 Mikle Kolyada
2019-07-14 12:27 Michał Górny
2019-07-14 12:27 Michał Górny
2019-04-27 11:49 Anthony G. Basile
2019-03-16 23:53 Anthony G. Basile
2018-06-04 23:38 Tim Harder
2017-05-26 20:22 Zac Medico
2017-04-20 9:20 Zac Medico
2017-02-13 9:26 Zac Medico
2016-11-07 20:31 Zac Medico
2016-09-19 1:33 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1652893150.b13b6a521a1fc17b87c99810a0b5968c6d70aefd.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox