WIP: LibreTranslate-1.3.4.ebuild

This commit is contained in:
Alarig Le Lay 2022-12-24 13:19:55 +01:00
parent 1fd0474e95
commit 8166a84c37
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# 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=""

View file

@ -0,0 +1,26 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Open-source neural machine translation library"
HOMEPAGE="
https://pypi.org/project/argostranslate/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
BDEPEND="
test? (
)
"
distutils_enable_tests pytest

View file

@ -0,0 +1,26 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION=""
HOMEPAGE="
https://pypi.org/project/ctranslate2/
"
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
BDEPEND="
test? (
)
"
distutils_enable_tests pytest