From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp-socks/
Date: Tue, 30 Jul 2019 14:39:35 +0000 (UTC) [thread overview]
Message-ID: <1564497572.300155f33382fea506d5cbfd1bf6518b827ad3ff.mgorny@gentoo> (raw)
commit: 300155f33382fea506d5cbfd1bf6518b827ad3ff
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 14:28:19 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 14:39:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300155f3
dev-python/aiohttp-socks: Add testing code, correct deps, EAPI 7
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../aiohttp-socks/aiohttp-socks-0.2.2.ebuild | 26 +++++++++++++++++-----
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/dev-python/aiohttp-socks/aiohttp-socks-0.2.2.ebuild b/dev-python/aiohttp-socks/aiohttp-socks-0.2.2.ebuild
index 52758134c3e..e38b826b03d 100644
--- a/dev-python/aiohttp-socks/aiohttp-socks-0.2.2.ebuild
+++ b/dev-python/aiohttp-socks/aiohttp-socks-0.2.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
@@ -14,10 +14,24 @@ SRC_URI="https://github.com/romis2012/aiohttp-socks/archive/${PV}.tar.gz -> ${P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
+# Tests require Internet access
+RESTRICT="test"
-RDEPEND="
- >=dev-python/aiohttp-2.3.2[${PYTHON_USEDEP}]
-"
+RDEPEND=">=dev-python/aiohttp-2.3.2[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ net-proxy/3proxy
+ )"
-DOCS=( README.md )
+python_configure_all() {
+ rm tests/3proxy/bin/*/* || die
+ ln -s "$(type -P 3proxy)" tests/3proxy/bin/linux/ || die
+}
+
+python_test() {
+ pytest -vv || die "Tests fail with ${EPYTHON}"
+}
next reply other threads:[~2019-07-30 14:39 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-30 14:39 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-27 5:24 [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp-socks/ Michał Górny
2024-12-24 11:17 Michał Górny
2024-12-21 8:11 Michał Górny
2024-12-07 15:43 Michał Górny
2024-12-07 12:48 Sam James
2024-11-21 6:01 Michał Górny
2024-09-07 15:09 Michał Górny
2024-09-07 14:16 Arthur Zamarin
2024-09-07 14:16 Arthur Zamarin
2024-09-07 13:21 Jakov Smolić
2024-08-24 6:41 Michał Górny
2024-07-31 15:58 Michał Górny
2023-11-24 14:34 Michał Górny
2023-11-05 20:58 Michał Górny
2023-10-06 15:08 Michał Górny
2023-10-06 14:55 Sam James
2023-10-04 5:51 Michał Górny
2023-09-06 16:39 Michał Górny
2023-09-06 2:41 Michał Górny
2023-09-04 13:14 Michał Górny
2023-05-31 8:31 Michał Górny
2023-03-16 3:33 Michał Górny
2023-03-15 20:12 Arthur Zamarin
2023-03-15 20:02 Arthur Zamarin
2023-02-21 19:15 Michał Górny
2023-01-31 16:58 Michał Górny
2022-10-18 18:51 Sam James
2022-10-17 19:47 Sam James
2021-12-25 18:43 Michał Górny
2021-12-25 8:24 Agostino Sarubbo
2021-11-23 22:05 Michał Górny
2021-11-23 22:05 Michał Górny
2021-11-21 22:20 Michał Górny
2021-08-02 8:41 Michał Górny
2021-08-02 8:41 Michał Górny
2021-04-11 11:23 Michał Górny
2021-03-01 21:53 Michał Górny
2020-11-14 8:50 Michał Górny
2020-11-14 1:48 Thomas Deutschmann
2020-11-02 23:51 Sam James
2020-10-25 21:34 Thomas Deutschmann
2020-09-23 7:29 Michał Górny
2020-09-21 15:53 Michał Górny
2020-09-18 14:28 Michał Górny
2020-08-25 12:53 Agostino Sarubbo
2020-08-22 7:13 Michał Górny
2020-07-27 5:41 Michał Górny
2020-07-20 8:55 Michał Górny
2019-08-02 2:35 Michał Górny
2019-07-31 14:32 Mikle Kolyada
2019-07-30 13:39 Michał Górny
2019-01-20 17:20 Manuel Rüger
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=1564497572.300155f33382fea506d5cbfd1bf6518b827ad3ff.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