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 5AFCB138350 for ; Mon, 9 Mar 2020 17:02:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC59EE0907; Mon, 9 Mar 2020 17:02:11 +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 D0CBEE0907 for ; Mon, 9 Mar 2020 17:02:11 +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 C091234F32D for ; Mon, 9 Mar 2020 17:02:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD52F169 for ; Mon, 9 Mar 2020 17:02:07 +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: <1583771915.2bc209fb011e87ee41f7bf2111eb68a0187f913d.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/tekore/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/tekore/tekore-1.4.0.ebuild X-VCS-Directories: dev-python/tekore/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 2bc209fb011e87ee41f7bf2111eb68a0187f913d X-VCS-Branch: master Date: Mon, 9 Mar 2020 17:02:07 +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: 9a148739-54fc-42d3-979b-803a3dd46226 X-Archives-Hash: 45752b7e0600155a8174cda40ee6fa3f commit: 2bc209fb011e87ee41f7bf2111eb68a0187f913d Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Mar 9 16:38:35 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Mar 9 16:38:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2bc209fb dev-python/tekore: depend on dataclasses if py3_6 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/tekore/tekore-1.4.0.ebuild | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/dev-python/tekore/tekore-1.4.0.ebuild b/dev-python/tekore/tekore-1.4.0.ebuild index 88c60d0..93f8f55 100644 --- a/dev-python/tekore/tekore-1.4.0.ebuild +++ b/dev-python/tekore/tekore-1.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 @@ -16,25 +16,16 @@ LICENSE="MIT" KEYWORDS="~amd64 ~x86" SLOT="0" -distutils_enable_sphinx docs/src - -# the enable_sphinx fucntion seems to act strange when there is only 1 PYTHON_COMPAT -# repoman says: -# dev-python/tekore/tekore-1.1.0.ebuild: BDEPEND: ~x86(default/linux/x86/17.0/systemd) -# [ 'dev-python/sphinx[python_targets_python3_7(-),python_single_target_python3_7(+)]'] -# therefore we overwrite the deps that the function adds here: -BDEPEND="doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - dev-python/sphinx-autodoc-typehints[${PYTHON_USEDEP}] )" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - media-sound/spotify" +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + ~dev-python/httpx-0.11.1[${PYTHON_USEDEP}] + media-sound/spotify + python_targets_python3_6? ( dev-python/dataclasses[python_targets_python3_6] )" DOCS="readme.rst" distutils_enable_tests pytest +distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme dev-python/sphinx-autodoc-typehints python_test() { pytest -vv tests/* || 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 0B606138350 for ; Mon, 9 Mar 2020 16:39:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4945FE08F1; Mon, 9 Mar 2020 16:39:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 31DCBE08F1 for ; Mon, 9 Mar 2020 16:39:15 +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 05BB234F30C for ; Mon, 9 Mar 2020 16:39:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA92A157 for ; Mon, 9 Mar 2020 16:39:11 +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: <1583771915.2bc209fb011e87ee41f7bf2111eb68a0187f913d.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/tekore/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/tekore/tekore-1.4.0.ebuild X-VCS-Directories: dev-python/tekore/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 2bc209fb011e87ee41f7bf2111eb68a0187f913d X-VCS-Branch: dev Date: Mon, 9 Mar 2020 16:39:11 +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: cf51bb95-e38f-49c7-aff8-01d53068bff6 X-Archives-Hash: c4dd12838c6d7367333ccb3f7e7d29a6 Message-ID: <20200309163911.J6Ii5sRt3SLsK-x8iMspdfzLn7_LSoJW9iAjsjSJYF0@z> commit: 2bc209fb011e87ee41f7bf2111eb68a0187f913d Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Mar 9 16:38:35 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Mar 9 16:38:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2bc209fb dev-python/tekore: depend on dataclasses if py3_6 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/tekore/tekore-1.4.0.ebuild | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/dev-python/tekore/tekore-1.4.0.ebuild b/dev-python/tekore/tekore-1.4.0.ebuild index 88c60d0..93f8f55 100644 --- a/dev-python/tekore/tekore-1.4.0.ebuild +++ b/dev-python/tekore/tekore-1.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 ) +PYTHON_COMPAT=( python3_{6,7} ) inherit distutils-r1 @@ -16,25 +16,16 @@ LICENSE="MIT" KEYWORDS="~amd64 ~x86" SLOT="0" -distutils_enable_sphinx docs/src - -# the enable_sphinx fucntion seems to act strange when there is only 1 PYTHON_COMPAT -# repoman says: -# dev-python/tekore/tekore-1.1.0.ebuild: BDEPEND: ~x86(default/linux/x86/17.0/systemd) -# [ 'dev-python/sphinx[python_targets_python3_7(-),python_single_target_python3_7(+)]'] -# therefore we overwrite the deps that the function adds here: -BDEPEND="doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] - dev-python/sphinx-autodoc-typehints[${PYTHON_USEDEP}] )" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - media-sound/spotify" +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + ~dev-python/httpx-0.11.1[${PYTHON_USEDEP}] + media-sound/spotify + python_targets_python3_6? ( dev-python/dataclasses[python_targets_python3_6] )" DOCS="readme.rst" distutils_enable_tests pytest +distutils_enable_sphinx docs/src dev-python/sphinx_rtd_theme dev-python/sphinx-autodoc-typehints python_test() { pytest -vv tests/* || die "Tests fail with ${EPYTHON}"