WIP: LibreTranslate-1.3.4.ebuild #6

Draft
alarig wants to merge 2 commits from alarig-LibreTranslate into master
3 changed files with 74 additions and 0 deletions
Showing only changes of commit 8166a84c37 - Show all commits

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