From b1e04dc9012e7023ee274e847ac2a44a890393f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 12 Dec 2022 21:25:47 +0000 Subject: gentoo auto-resync : 12:12:2022 - 21:25:47 --- dev-python/pycares/Manifest | 2 ++ dev-python/pycares/pycares-4.3.0.ebuild | 49 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 dev-python/pycares/pycares-4.3.0.ebuild (limited to 'dev-python/pycares') diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index a1be9f7f2443..277db470ce10 100644 --- a/dev-python/pycares/Manifest +++ b/dev-python/pycares/Manifest @@ -1,3 +1,5 @@ DIST pycares-4.2.2.gh.tar.gz 44200 BLAKE2B a857f20f0f1cf0243f02d7f8663bfba3d0f97f033afb5eee5ec3ff74b70279cb3535c04953c3131771a1a6447032e309dbed064a4e85b30980361f5db3d674f1 SHA512 1a6b30e8f55d37ca0af9dfd70fd3a0630b691f5f76b4f650e9c98c585b26bd1ff9c237fc1705ce5dc257857db0dce2f020f12099f0c211f5ad0f12196f39433b +DIST pycares-4.3.0.gh.tar.gz 44577 BLAKE2B b69eeb34a2f8c9d7025dc74881431b3fc5489b7f7e9142bb9ecdaf217e495ad72b1a6a7dc484a52e6a01394bbfa6d0609b2054dd4a663176cfb73d980642a3e1 SHA512 1dad1a6722bdd2bc59cc4ca774cc9da243e61a442ef383c238714b1274e90359352c72d16a2c1af2fcce3ea92708a7e5cee89a9b3eb7c015f9a194051c685f52 EBUILD pycares-4.2.2.ebuild 961 BLAKE2B 1246662ba0435ccf1a57f858fa6137fd5859348a0b6cfbe683d3df87107f950f7150b300d51ab417ea5625727d43860b90ba3b16d96eee8f67b8371dd84a6c9a SHA512 a136fa243a5cbab24c501d7032b855a83cd77483e5723df6af14180501f003a15238daefbea831e258f3409490fe2a8110cba06eb5be716c65f62d66cf77c9aa +EBUILD pycares-4.3.0.ebuild 906 BLAKE2B c149d19a125e83567003316e181bc8b2b5a3d61aa95945c0ec3eb516014bea9a20e8efdff99536038112123cd016e0acf2b0213a176bf79c42d1653c41692134 SHA512 c7cf947afb56dadf000fac123deb3aaade25c515660d24acedadd0248205500f7f56a3ea15a9e44d4e0f7ba4eeadc5539c39dfc4dd4d378553e4dd33894ac773 MISC metadata.xml 444 BLAKE2B a68f545c6f704176b98ebb3665e2f56e4879016ea4ffa4f342954d568d6fe76ad67bcf9d521f694b8fc0f199bff50969eb646554fff4a78f8644ac44edda0cdf SHA512 fe893795f2031639d9fa27efcb8afbb5a3e0ac2eb2a05f0465391813d60fba07372633e40136ce38eb429bae95d1ae5dccecd0aba228537553524343133dd202 diff --git a/dev-python/pycares/pycares-4.3.0.ebuild b/dev-python/pycares/pycares-4.3.0.ebuild new file mode 100644 index 000000000000..35eb0d0b9602 --- /dev/null +++ b/dev-python/pycares/pycares-4.3.0.ebuild @@ -0,0 +1,49 @@ +# 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..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface for c-ares" +HOMEPAGE=" + https://github.com/saghul/pycares/ + https://pypi.org/project/pycares/ +" +SRC_URI=" + https://github.com/saghul/pycares/archive/${P}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/pycares-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="test" +# Tests fail with network-sandbox, since they try to resolve google.com +PROPERTIES="test_network" +RESTRICT="test" + +DEPEND=" + net-dns/c-ares:= +" +BDEPEND=" + virtual/python-cffi[${PYTHON_USEDEP}] +" +RDEPEND=" + dev-python/idna[${PYTHON_USEDEP}] + ${DEPEND} + ${BDEPEND} +" +BDEPEND+=" + test? ( + dev-python/idna[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +export PYCARES_USE_SYSTEM_LIB=1 -- cgit v1.2.3