dev-python/daff: bump eapi, add tests

Closes: https://bugs.gentoo.org/800131
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-08-08 20:51:13 +05:00
parent 52f74e1b4c
commit ea3aaf41da

View File

@@ -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
}