From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 74FCB138351 for ; Fri, 10 Jan 2020 06:19:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1EDAE08C9; Fri, 10 Jan 2020 06:19:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B8F75E08C9 for ; Fri, 10 Jan 2020 06:19:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92A1334DF37 for ; Fri, 10 Jan 2020 06:19:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48BB89B for ; Fri, 10 Jan 2020 06:19:08 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1578637142.1ec0040f8e6d45ab9bade71d7af0a3cd433f8cf2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycares/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycares/Manifest dev-python/pycares/pycares-3.1.1.ebuild X-VCS-Directories: dev-python/pycares/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1ec0040f8e6d45ab9bade71d7af0a3cd433f8cf2 X-VCS-Branch: master Date: Fri, 10 Jan 2020 06:19:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ce8f0694-4ff1-4ed6-8b2b-de7678fe0161 X-Archives-Hash: 0ca64f120fb8d2c5f09cbd327c13ccc7 commit: 1ec0040f8e6d45ab9bade71d7af0a3cd433f8cf2 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 10 06:16:17 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 10 06:19:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ec0040f dev-python/pycares: Bump to 3.1.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pycares/Manifest | 1 + dev-python/pycares/pycares-3.1.1.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dev-python/pycares/Manifest b/dev-python/pycares/Manifest index 53d62f627b2..873da2cc577 100644 --- a/dev-python/pycares/Manifest +++ b/dev-python/pycares/Manifest @@ -3,4 +3,5 @@ DIST pycares-2.1.1.tar.gz 226787 BLAKE2B 26716906e78a3fa16bcbd143f63e633ffe46647 DIST pycares-2.3.0.tar.gz 224941 BLAKE2B 9ab59f8f7294930b5ff97c7340c3f64cd039c4b291b7b33d00da85168638cdfc75552508a72afd91db28c4c1b823a018b45c346a3daf8da15d5160fd691b6c4a SHA512 dc707ab0320e03fb20e728e2e2e52e92ed3388afcf19e4553bc2a15c33a129abee39a9bc423edb7be7113d42989286ab8e8ad48699cc7433a6d8823460fd4678 DIST pycares-2.4.0.tar.gz 214021 BLAKE2B 481d46e9a5726d953d0dcb391a549ba4177e5ac1758a0ecb25bf634b9eb6baa2fbb0544874a78ae46e30a1dd4be8a981f5ebdf1b36cb9aa2e42370074731319e SHA512 7770a2b1fd69bb800019a292e5c9fc1f737b044fb4ca5166ead197da3515f2edac55f947a68f3505c9b404745529287114667d742162c98f2ff84b2c330ef295 DIST pycares-3.1.0-fix3.tar.gz 217616 BLAKE2B 121d09bd57f60371f9ee7d6f9fec0b0acd9413e86367c278a73dd0b47151e937358bb955f51657c117b72d83de23fc6e530f9418fd6d4c1b96ccb31045096e25 SHA512 d386d1b3434fc7a868783b96a2ef635695efdea62365134287fcaef6e44f75ba266f095c3e667ea1a57940d81d23adbf6e031b8571537a041aba15a36df7a904 +DIST pycares-3.1.1.tar.gz 216259 BLAKE2B 4481689e418695838c456f1e15b38dcdabadb106f393f52ec21a358b06621650d4e82086ca913abb341b9d8658db1c9ddd0064e68413e71a4ddded070647edfb SHA512 52c529510e3342c0b97ad0b4b9277d1f364da7719817a31a3cfac1f88613ea82f127182eab7c52c2fcd08008c689885bb4196f887a0f81b769f08f7cbf39909e DIST pycares-pycares-3.0.0.tar.gz 215445 BLAKE2B 5543d27ee38d9360b9ee74ebf1c09da15f68873d5cc83b486e61f3d337e733353dde44d64d6a0520525f4876e67d34c91a770f1c9717b7a1036f568c227f6c87 SHA512 bf60549044686accae68ed118e6c5e0da07b1d13473b70f91db85693ebd9ac9e4afb87cba763c667f2f7f487de28759e26a1677023081e94311b547a51bf7451 diff --git a/dev-python/pycares/pycares-3.1.1.ebuild b/dev-python/pycares/pycares-3.1.1.ebuild new file mode 100644 index 00000000000..d813fe5ac6d --- /dev/null +++ b/dev-python/pycares/pycares-3.1.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +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 ~x86" +IUSE="" +# 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 +}