From a35326d7dd51f19e029d16de671d86a2b2646184 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 11 May 2021 21:17:56 +0200 Subject: dev-python/pycares: Bump to 3.2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pycares/Manifest | 1 + dev-python/pycares/pycares-3.2.3.ebuild | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 dev-python/pycares/pycares-3.2.3.ebuild (limited to 'dev-python/pycares') diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index abdf8a584040..a70bc1f15fde 100644 --- a/dev-python/pycares/Manifest +++ b/dev-python/pycares/Manifest @@ -1 +1,2 @@ DIST pycares-3.1.1.tar.gz 216259 BLAKE2B 4481689e418695838c456f1e15b38dcdabadb106f393f52ec21a358b06621650d4e82086ca913abb341b9d8658db1c9ddd0064e68413e71a4ddded070647edfb SHA512 52c529510e3342c0b97ad0b4b9277d1f364da7719817a31a3cfac1f88613ea82f127182eab7c52c2fcd08008c689885bb4196f887a0f81b769f08f7cbf39909e +DIST pycares-3.2.3.tar.gz 214612 BLAKE2B e06f45a8b8e9312596ff6a56262cc91c32cd578ea2dc4c54c0a9e52ec1aa1cb8174aa03c486c74c98bbc22e7801e231244e64a943d40407f7731fe00400723f6 SHA512 126c4cc1390b558da4ce82dfbd11c56ad6be038ce5eda93641548faa4a59cd81f08265b71de31d5b54238ccf8e7d937272c13611111b04230c6ee7e4f01cb8d8 diff --git a/dev-python/pycares/pycares-3.2.3.ebuild b/dev-python/pycares/pycares-3.2.3.ebuild new file mode 100644 index 000000000000..dfc12ae28b0c --- /dev/null +++ b/dev-python/pycares/pycares-3.2.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface for c-ares" +HOMEPAGE="https://github.com/saghul/pycares/" +SRC_URI="https://github.com/saghul/pycares/archive/${P/_p/-fix}.tar.gz" +S=${WORKDIR}/${PN}-${P/_p/-fix} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +# Tests fail with network-sandbox, since they try to resolve google.com +RESTRICT="test" + +# uses bundled/patched c-ares +RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]" +BDEPEND=${RDEPEND} + +python_test() { + "${EPYTHON}" tests/tests.py -v || die +} -- cgit v1.2.3-65-gdbad