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 981A7138350 for ; Thu, 12 Mar 2020 10:20:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEFB9E0985; Thu, 12 Mar 2020 10:20:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C9B2CE0985 for ; Thu, 12 Mar 2020 10:20:25 +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 98D9934EFF3 for ; Thu, 12 Mar 2020 10:20:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFA822B for ; Thu, 12 Mar 2020 10:20:22 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1584008404.5c461318d728bb1805abb2cc7a427b927fefff5d.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/GitPython/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/GitPython/GitPython-3.1.0.ebuild X-VCS-Directories: dev-python/GitPython/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 5c461318d728bb1805abb2cc7a427b927fefff5d X-VCS-Branch: dev Date: Thu, 12 Mar 2020 10:20:22 +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: 693ecec1-fd7e-4cc3-9fa2-3d257646e05f X-Archives-Hash: db6cf79ae4b0bd77de804ac06493873f commit: 5c461318d728bb1805abb2cc7a427b927fefff5d Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Mar 12 10:20:04 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Mar 12 10:20:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c461318 dev-python/GitPython: add py3_8 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/GitPython/GitPython-3.1.0.ebuild | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/dev-python/GitPython/GitPython-3.1.0.ebuild b/dev-python/GitPython/GitPython-3.1.0.ebuild index 9c0bcb4..abbc706 100644 --- a/dev-python/GitPython/GitPython-3.1.0.ebuild +++ b/dev-python/GitPython/GitPython-3.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -15,11 +15,22 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="test" #requires git repository +RESTRICT="test" # only works inside upstream git repo RDEPEND="dev-python/gitdb[${PYTHON_USEDEP}]" BDEPEND="test? ( dev-python/ddt[${PYTHON_USEDEP}] )" -distutils_enable_tests nose +distutils_enable_tests pytest distutils_enable_sphinx doc/source dev-python/sphinx_rtd_theme + +python_test() { + cd "${S}" || die + git init || die + git config user.email "you@example.com" || die + git config user.name "Your Name" || die + git add -A || die + git commit -q -m ".." || die + + pytest -vv || die "Tests fail with ${EPYTHON}" +} 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 0F2D7138350 for ; Thu, 12 Mar 2020 10:21:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F723E0985; Thu, 12 Mar 2020 10:21:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 294F3E0985 for ; Thu, 12 Mar 2020 10:21:02 +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 44EAA34EF81 for ; Thu, 12 Mar 2020 10:21:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 011152B for ; Thu, 12 Mar 2020 10:21:00 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1584008404.5c461318d728bb1805abb2cc7a427b927fefff5d.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/GitPython/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/GitPython/GitPython-3.1.0.ebuild X-VCS-Directories: dev-python/GitPython/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 5c461318d728bb1805abb2cc7a427b927fefff5d X-VCS-Branch: master Date: Thu, 12 Mar 2020 10:21:00 +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: 672d386d-f1b9-4e1c-b367-a7c4b8b2cb56 X-Archives-Hash: 73da8148017c438d1206613fcf31612b Message-ID: <20200312102100.3L6l60qoYlEQR2J7E3lQdzLxtfMsYKFs7__ncfO8ZJk@z> commit: 5c461318d728bb1805abb2cc7a427b927fefff5d Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Mar 12 10:20:04 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Mar 12 10:20:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c461318 dev-python/GitPython: add py3_8 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/GitPython/GitPython-3.1.0.ebuild | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/dev-python/GitPython/GitPython-3.1.0.ebuild b/dev-python/GitPython/GitPython-3.1.0.ebuild index 9c0bcb4..abbc706 100644 --- a/dev-python/GitPython/GitPython-3.1.0.ebuild +++ b/dev-python/GitPython/GitPython-3.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -15,11 +15,22 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="test" #requires git repository +RESTRICT="test" # only works inside upstream git repo RDEPEND="dev-python/gitdb[${PYTHON_USEDEP}]" BDEPEND="test? ( dev-python/ddt[${PYTHON_USEDEP}] )" -distutils_enable_tests nose +distutils_enable_tests pytest distutils_enable_sphinx doc/source dev-python/sphinx_rtd_theme + +python_test() { + cd "${S}" || die + git init || die + git config user.email "you@example.com" || die + git config user.name "Your Name" || die + git add -A || die + git commit -q -m ".." || die + + pytest -vv || die "Tests fail with ${EPYTHON}" +}