From 8166a84c3705c047c3ba7bd20ccdd07209b0c278 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Sat, 24 Dec 2022 13:19:55 +0100 Subject: [PATCH] WIP: LibreTranslate-1.3.4.ebuild --- .../LibreTranslate-1.3.4.ebuild | 22 ++++++++++++++++ .../argostranslate-1.7.0.ebuild | 26 +++++++++++++++++++ .../ctranslate2/ctranslate2-2.24.0.ebuild | 26 +++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 app-accessibility/LibreTranslate/LibreTranslate-1.3.4.ebuild create mode 100644 dev-python/argostranslate/argostranslate-1.7.0.ebuild create mode 100644 dev-python/ctranslate2/ctranslate2-2.24.0.ebuild diff --git a/app-accessibility/LibreTranslate/LibreTranslate-1.3.4.ebuild b/app-accessibility/LibreTranslate/LibreTranslate-1.3.4.ebuild new file mode 100644 index 0000000..911ce6b --- /dev/null +++ b/app-accessibility/LibreTranslate/LibreTranslate-1.3.4.ebuild @@ -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="" diff --git a/dev-python/argostranslate/argostranslate-1.7.0.ebuild b/dev-python/argostranslate/argostranslate-1.7.0.ebuild new file mode 100644 index 0000000..3ccdd1e --- /dev/null +++ b/dev-python/argostranslate/argostranslate-1.7.0.ebuild @@ -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 diff --git a/dev-python/ctranslate2/ctranslate2-2.24.0.ebuild b/dev-python/ctranslate2/ctranslate2-2.24.0.ebuild new file mode 100644 index 0000000..9158bcf --- /dev/null +++ b/dev-python/ctranslate2/ctranslate2-2.24.0.ebuild @@ -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