commit: ea3aaf41da0b2d4ac86ee0a88ac4ccfeaf433d96 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Sun Aug 8 15:51:13 2021 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Sun Aug 8 15:53:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea3aaf41
dev-python/daff: bump eapi, add tests Closes: https://bugs.gentoo.org/800131 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-python/daff/daff-1.3.46.ebuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/dev-python/daff/daff-1.3.46.ebuild b/dev-python/daff/daff-1.3.46.ebuild index 543b34c84..edb347feb 100644 --- a/dev-python/daff/daff-1.3.46.ebuild +++ b/dev-python/daff/daff-1.3.46.ebuild @@ -1,16 +1,21 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} pypy3 ) +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_REQ_USE="sqlite" inherit distutils-r1 -DESCRIPTION="The daff can produce and apply tabular diffs" +DESCRIPTION="Diff and patch tables" HOMEPAGE="https://github.com/paulfitz/daff" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~ia64 ~riscv ~sparc ~x86" + +python_test() { + "${EPYTHON}" test/test_example.py || die + "${EPYTHON}" test/test_sqlite.py || die +}