From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/aiodns/Manifest | 1 + dev-python/aiodns/aiodns-2.0.0-r1.ebuild | 33 ++++++++++++++++++++++++++++++++ dev-python/aiodns/metadata.xml | 12 ++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 dev-python/aiodns/Manifest create mode 100644 dev-python/aiodns/aiodns-2.0.0-r1.ebuild create mode 100644 dev-python/aiodns/metadata.xml (limited to 'dev-python/aiodns') diff --git a/dev-python/aiodns/Manifest b/dev-python/aiodns/Manifest new file mode 100644 index 000000000000..e13432e4f1a8 --- /dev/null +++ b/dev-python/aiodns/Manifest @@ -0,0 +1 @@ +DIST aiodns-2.0.0.tar.gz 5948 BLAKE2B 70944ffbfa3fa1c591c5aab6ce2c4c59564a7665fd2eda1b544616a4481e58464f918081dfb21f74db08ebe4c7e43eebd17e0dc314cf79423835a182a257cd11 SHA512 d80b8f7641234c4d367e4554b10c5a66265e75ee82c58adf2a36f9e369bb1dbf4341dd6459f10540b771de3f102454511ca81eddf3082733e88c09bbdf125fe0 diff --git a/dev-python/aiodns/aiodns-2.0.0-r1.ebuild b/dev-python/aiodns/aiodns-2.0.0-r1.ebuild new file mode 100644 index 000000000000..8553565e66da --- /dev/null +++ b/dev-python/aiodns/aiodns-2.0.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Simple DNS resolver for asyncio" +HOMEPAGE="https://github.com/saghul/aiodns/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="" +# Tests fail with network-sandbox, since they try to resolve google.com +RESTRICT="test" + +RDEPEND=">=dev-python/pycares-3[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_prepare_all() { + distutils-r1_python_prepare_all + + #692720 apply https://github.com/saghul/aiodns/pull/73 + sed -e 's|typing; python_version<"3.7"|typing; python_version<"3.5"|' -i setup.py || die +} + +python_test() { + "${EPYTHON}" tests.py -v || die +} diff --git a/dev-python/aiodns/metadata.xml b/dev-python/aiodns/metadata.xml new file mode 100644 index 000000000000..9cab69748d51 --- /dev/null +++ b/dev-python/aiodns/metadata.xml @@ -0,0 +1,12 @@ + + + + + aiodns + saghul/aiodns + + + zmedico@gentoo.org + + gentoo-staging + -- cgit v1.3