Files
guru/dev-python/daff/daff-1.3.46.ebuild
Anna (cybertailor) Vyalkova ea3aaf41da dev-python/daff: bump eapi, add tests
Closes: https://bugs.gentoo.org/800131
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2021-08-08 20:53:58 +05:00

22 lines
500 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
PYTHON_REQ_USE="sqlite"
inherit distutils-r1
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
}