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 A27871382C5 for ; Fri, 9 Apr 2021 11:49:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA9E7E0977; Fri, 9 Apr 2021 11:49:38 +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 90BA1E0977 for ; Fri, 9 Apr 2021 11:49:38 +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 3280933BF54 for ; Fri, 9 Apr 2021 11:49:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B954B66A for ; Fri, 9 Apr 2021 11:49:34 +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: <1617968967.d6ce6fc0bb31b65716e1c69baa27367c7a7a08f7.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/abydos/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/abydos/abydos-0.5.0-r1.ebuild X-VCS-Directories: dev-python/abydos/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: d6ce6fc0bb31b65716e1c69baa27367c7a7a08f7 X-VCS-Branch: master Date: Fri, 9 Apr 2021 11:49:34 +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: 9a1f2f89-addf-485c-a141-ffa2dec51a5c X-Archives-Hash: 81b0a43a3f412ba78ea363961b44d70c commit: d6ce6fc0bb31b65716e1c69baa27367c7a7a08f7 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Apr 8 13:10:15 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Apr 9 11:49:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ce6fc0 dev-python/abydos: add py3.9 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan riseup.net> Signed-off-by: Joonas Niilola gentoo.org> dev-python/abydos/abydos-0.5.0-r1.ebuild | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dev-python/abydos/abydos-0.5.0-r1.ebuild b/dev-python/abydos/abydos-0.5.0-r1.ebuild new file mode 100644 index 00000000000..7bb0fc5c9d4 --- /dev/null +++ b/dev-python/abydos/abydos-0.5.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Abydos NLP/IR library" +HOMEPAGE="https://github.com/chrislit/abydos" +SRC_URI="https://github.com/chrislit/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Requires access to the internet +RESTRICT="test" + +RDEPEND=" + dev-python/deprecation[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( + dev-python/nltk[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest +# Extension error: You must configure the bibtex_bibfiles setting +#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-bibtex + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + distutils-r1_python_prepare_all +}