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 5C525138359 for ; Thu, 9 Jul 2020 08:13:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C5B9E0824; Thu, 9 Jul 2020 08:13:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 73812E0824 for ; Thu, 9 Jul 2020 08:13: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 91EB934F617 for ; Thu, 9 Jul 2020 08:13:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D3182D4 for ; Thu, 9 Jul 2020 08:13:23 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1594282390.c313d784e21b3349f3203dc08e57bb510505e185.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/doit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/doit/doit-0.32.0-r2.ebuild X-VCS-Directories: dev-python/doit/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: c313d784e21b3349f3203dc08e57bb510505e185 X-VCS-Branch: master Date: Thu, 9 Jul 2020 08:13:23 +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: b9a488bd-c567-435f-940a-da590b7eb20e X-Archives-Hash: 8d8efb12124f9b49e7fe01eaddb344b2 commit: c313d784e21b3349f3203dc08e57bb510505e185 Author: Azamat H. Hackimov gmail com> AuthorDate: Tue Jul 7 14:02:13 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Jul 9 08:13:10 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c313d784 dev-python/doit: add python3_8 target Bug: https://bugs.gentoo.org/718636 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16626 Signed-off-by: Joonas Niilola gentoo.org> dev-python/doit/doit-0.32.0-r2.ebuild | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/dev-python/doit/doit-0.32.0-r2.ebuild b/dev-python/doit/doit-0.32.0-r2.ebuild new file mode 100644 index 00000000000..b59594aad9b --- /dev/null +++ b/dev-python/doit/doit-0.32.0-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="Automation tool" +HOMEPAGE="https://pydoit.org/ https://pypi.org/project/doit/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/pyinotify[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND=" + test? ( + ${RDEPEND} + $(python_gen_impl_dep sqlite) + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + >=dev-python/pytest-5.4[${PYTHON_USEDEP}] + )" +PDEPEND=">=dev-python/doit-py-0.4.0[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme + +PATCHES=( + "${FILESDIR}/${P}_pytest5.4.patch" + "${FILESDIR}/${P}_unpickable.patch" +) + +src_prepare() { + default + # Replace custom theme with builtin for documentation + sed -i -e "s:'press':'sphinx_rtd_theme':" doc/conf.py || die + # Disable test failing due to impact on PATH run in a sandbox + sed -i -e "s:test_target:_&:" tests/test_cmd_strace.py || die +} + +src_install() { + distutils-r1_src_install + newbashcomp bash_completion_doit ${PN} + insinto /usr/share/zsh/site-functions + newins zsh_completion_doit _${PN} +}