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 BEB691382C5 for ; Thu, 31 Dec 2020 12:19:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 140EDE086D; Thu, 31 Dec 2020 12:19:31 +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 E938EE086D for ; Thu, 31 Dec 2020 12:19:30 +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 D8E5D340DDE for ; Thu, 31 Dec 2020 12:19:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6010D332 for ; Thu, 31 Dec 2020 12:19:28 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1609416250.45f4ecf6f9d5e9c4e699ea84a7b4b8bb6c9740d6.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/pybedtools/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/pybedtools/pybedtools-0.8.0.ebuild X-VCS-Directories: sci-biology/pybedtools/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: 45f4ecf6f9d5e9c4e699ea84a7b4b8bb6c9740d6 X-VCS-Branch: master Date: Thu, 31 Dec 2020 12:19:28 +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: 3b101483-759b-4ce6-b7b1-bf1f08629914 X-Archives-Hash: 23946280f290bb50e43c0a3e6feee7fd commit: 45f4ecf6f9d5e9c4e699ea84a7b4b8bb6c9740d6 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Dec 31 10:34:09 2020 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Thu Dec 31 12:04:10 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=45f4ecf6 sci-biology/pybedtools: drop py3.6 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> Closes: https://github.com/gentoo/sci/pull/1012 Signed-off-by: Aisha Tammy aisha.cc> sci-biology/pybedtools/pybedtools-0.8.0.ebuild | 32 +++++++++++--------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/sci-biology/pybedtools/pybedtools-0.8.0.ebuild b/sci-biology/pybedtools/pybedtools-0.8.0.ebuild index a91de8cca..6d391b0a8 100644 --- a/sci-biology/pybedtools/pybedtools-0.8.0.ebuild +++ b/sci-biology/pybedtools/pybedtools-0.8.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6..9} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1 @@ -13,8 +13,8 @@ SRC_URI="https://github.com/daler/pybedtools/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc minimal" +KEYWORDS="~amd64 ~x86" +IUSE="minimal" RESTRICT="test" # Tests reported to fail on Gentoo: # https://github.com/daler/pybedtools/issues/329 @@ -23,29 +23,23 @@ RESTRICT="test" RDEPEND=" sci-biology/bedtools sci-biology/pysam - dev-python/numpy - dev-python/pandas - !minimal? ( sci-libs/htslib ) - doc? ( dev-python/sphinx )" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + !minimal? ( sci-libs/htslib )" # optional-requirements.txt also lists: # ucsc-bigwigtobedgraph # ucsc-bedgraphtobigwig # ucsc-wigtobigwig -DEPEND="${RDEPEND} +BDEPEND="${RDEPEND} dev-python/cython[${PYTHON_USEDEP}]" +# ToDo: fix docs building +# ModuleNotFoundError: No module named 'pybedtools.cbedtools' +# even if pybedtools is installed +#distutils_enable_sphinx docs/source +distutils_enable_tests pytest + src_compile(){ python setup.py cythonize distutils-r1_src_compile - use doc && cd docs && emake html -} - -src_install(){ - distutils-r1_src_install - if use doc; then - insinto /usr/share/doc/"${PN}" - doins -r docs/build/html - fi } - -distutils_enable_tests pytest