2021-06-09 23:34:44 +08:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
2021-08-08 20:51:13 +05:00
|
|
|
EAPI=8
|
2021-06-09 23:34:44 +08:00
|
|
|
|
2021-08-08 20:51:13 +05:00
|
|
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
|
|
|
|
PYTHON_REQ_USE="sqlite"
|
2021-06-09 23:34:44 +08:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
2021-08-08 20:51:13 +05:00
|
|
|
DESCRIPTION="Diff and patch tables"
|
2021-06-09 23:34:44 +08:00
|
|
|
HOMEPAGE="https://github.com/paulfitz/daff"
|
|
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
|
SLOT="0"
|
2021-06-15 09:13:05 +02:00
|
|
|
KEYWORDS="~amd64 ~ia64 ~riscv ~sparc ~x86"
|
2021-08-08 20:51:13 +05:00
|
|
|
|
|
|
|
|
python_test() {
|
|
|
|
|
"${EPYTHON}" test/test_example.py || die
|
|
|
|
|
"${EPYTHON}" test/test_sqlite.py || die
|
|
|
|
|
}
|