23 lines
531 B
Bash
23 lines
531 B
Bash
# Copyright 2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
PYTHON_COMPAT=(python3_{8..11})
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Free and Open Source Machine Translation API"
|
|
HOMEPAGE="https://libretranslate.com/
|
|
https://github.com/LibreTranslate/LibreTranslate"
|
|
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="AGPL-3.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
DEPEND="
|
|
>=dev-python/flask-2.2.2[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND=""
|