1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
8 inherit python-single-r1
10 DESCRIPTION="Educational tool for relational algebra"
11 HOMEPAGE="https://ltworf.github.io/relational/"
12 SRC_URI="https://github.com/ltworf/${PN}/releases/download/${PV}/${PN}_${PV}.orig.tar.gz"
16 KEYWORDS="~amd64 ~x86"
19 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
21 DEPEND="${PYTHON_DEPS}
22 $(python_gen_cond_dep '
23 dev-python/PyQt5[gui,widgets,${PYTHON_MULTI_USEDEP}]
30 PATCHES=( "${FILESDIR}/${P}-no-qtwebkit.patch" )
35 sed -i -e '/^Terminal=/ s/0/false/' \
36 -e '/^Keywords=/ s/$/;/' \
37 relational.desktop || die
41 emake -j1 DESTDIR="${ED}" install-{relational-cli,python3-relational,relational}
44 dodoc CHANGELOG complexity CREDITS README.md