diff options
Diffstat (limited to 'dev-python/mecab-python/mecab-python-0.996.ebuild')
| -rw-r--r-- | dev-python/mecab-python/mecab-python-0.996.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-python/mecab-python/mecab-python-0.996.ebuild b/dev-python/mecab-python/mecab-python-0.996.ebuild index 3f106954d352..1e92484dae6f 100644 --- a/dev-python/mecab-python/mecab-python-0.996.ebuild +++ b/dev-python/mecab-python/mecab-python-0.996.ebuild @@ -1,19 +1,19 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1 DESCRIPTION="Python binding for MeCab" -HOMEPAGE="http://taku910.github.io/mecab/" +HOMEPAGE="https://taku910.github.io/mecab/" SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PN%-*}/${P}.tar.gz" LICENSE="|| ( BSD LGPL-2.1 GPL-2 )" SLOT="0" KEYWORDS="amd64 ~ia64 ppc64 x86" -IUSE="" DEPEND="~app-text/mecab-${PV}" RDEPEND="${DEPEND}" @@ -21,3 +21,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${PN}-python3.patch ) DOCS=( AUTHORS README test.py ) HTML_DOCS=( bindings.html ) + +python_test() { + "${EPYTHON}" test.py || die "Tests failed with ${EPYTHON}" +} |
