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 90C1E138334 for ; Sun, 20 Oct 2019 07:16:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF19BE08C2; Sun, 20 Oct 2019 07:16:24 +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 80B3BE08BB for ; Sun, 20 Oct 2019 07:16:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 197FE34C085 for ; Sun, 20 Oct 2019 07:16:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 702497FE for ; Sun, 20 Oct 2019 07:16:20 +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: <1571555767.1f05cb5fe7773c4fa2bf3cd7fec3c2d4ed41e22c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyGithub/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/PyGithub/Manifest dev-python/PyGithub/PyGithub-1.44.ebuild X-VCS-Directories: dev-python/PyGithub/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1f05cb5fe7773c4fa2bf3cd7fec3c2d4ed41e22c X-VCS-Branch: master Date: Sun, 20 Oct 2019 07:16:20 +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: 4f7fd1dc-b502-43e5-b094-dcb918c3a719 X-Archives-Hash: ce0b1538830fbffaf44b9a3404ef9a23 commit: 1f05cb5fe7773c4fa2bf3cd7fec3c2d4ed41e22c Author: Michał Górny gentoo org> AuthorDate: Sun Oct 20 06:39:22 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Oct 20 07:16:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f05cb5f dev-python/PyGithub: Bump to 1.44 Signed-off-by: Michał Górny gentoo.org> dev-python/PyGithub/Manifest | 1 + dev-python/PyGithub/PyGithub-1.44.ebuild | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/PyGithub/Manifest b/dev-python/PyGithub/Manifest index 42af60bbf08..695511bc51d 100644 --- a/dev-python/PyGithub/Manifest +++ b/dev-python/PyGithub/Manifest @@ -1 +1,2 @@ DIST PyGithub-1.43.8.gh.tar.gz 2842219 BLAKE2B 7711885beb4cb855ea5a5755abe881f7ae7825feb76cb0ab30aa9ba4a2530440d2816439c43da23a42f134286fa0806875d075920776960f04cdd21131bcf700 SHA512 dc58166ebb27f855ed4f32448029abe7e53b8050d8d99029d460f2dd94180ca8bcef68a75469293abd021f70cc3c67c32061e6439db1b3f1dc77af464c658bb6 +DIST PyGithub-1.44.gh.tar.gz 2855748 BLAKE2B f728562617632f99d5b8a141e7b8eb7527812388e71c7f6dcc55fbec2b0da5ab3882985d4e815fe18affa662351942ba2223eda3ae68bc1cf550c2cbc2bee7f9 SHA512 26aa86822fb8c3ca8a8a0e8d5cd9bf9457cab8a4aa006fa195bb4922867627b5516adbee19cbf5c30d24de8266b496741ae7f4dd8c7cc0494044e6cd585402b1 diff --git a/dev-python/PyGithub/PyGithub-1.44.ebuild b/dev-python/PyGithub/PyGithub-1.44.ebuild new file mode 100644 index 00000000000..48417603a98 --- /dev/null +++ b/dev-python/PyGithub/PyGithub-1.44.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) + +inherit distutils-r1 + +DESCRIPTION="Python library to access the Github API v3" +HOMEPAGE="https://github.com/PyGithub/PyGithub/" +# Use github since pypi is missing test data +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/deprecated[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/httpretty-0.9.6[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # tests requiring network access + sed -i -e 's:testDecodeJson:_&:' tests/Issue142.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + "${EPYTHON}" -m unittest -v tests.AllTests || die "Tests fail with ${EPYTHON}" +}