From d4015fa5b925e83e5167ed4c97be5eb7be6d3dce Mon Sep 17 00:00:00 2001 From: Victor Kustov Date: Sun, 25 Feb 2024 20:50:30 +0300 Subject: [PATCH] app-i18n/weblate-cli: up to 1.14, up python 11/12 Signed-off-by: Victor Kustov --- app-i18n/weblate-cli/Manifest | 1 + app-i18n/weblate-cli/weblate-cli-1.14.ebuild | 34 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 app-i18n/weblate-cli/weblate-cli-1.14.ebuild diff --git a/app-i18n/weblate-cli/Manifest b/app-i18n/weblate-cli/Manifest index 12710f5..b7db35e 100644 --- a/app-i18n/weblate-cli/Manifest +++ b/app-i18n/weblate-cli/Manifest @@ -1 +1,2 @@ DIST weblate-cli-1.13.tar.gz 70344 BLAKE2B 2f93435b23bdb98f45fbb6c5e1f246d22d75316a61daad39872110632453b7692576e882834362b194d483bcfefd5b5dcdf407bb70dc9ece20a8fcd34185abe3 SHA512 a6de0a1f6e6298d980341bf9e3801a9ba310efe0c70105a8cc561552f778f2c4a8bd5d6c77c8d7588e709dc28129ee258f977785fe0eff916616c682f3d6cb32 +DIST weblate-cli-1.14.tar.gz 85423 BLAKE2B 8ed22cbc926a2a27b9758627c3a63de5839d449aeec6e7afa1e05098e56c4eb0949934fce1bec157f4672c65667fd22f9c95c41fa3d1f3d5826b56100f947e4d SHA512 081c0758275922a31fa2ec1dea300296b2cd0882339672717b57504ef5fb6713b01c4b4d8f2765e75a4455b5b0d07e54a551045360b666a4923957579a8a2472 diff --git a/app-i18n/weblate-cli/weblate-cli-1.14.ebuild b/app-i18n/weblate-cli/weblate-cli-1.14.ebuild new file mode 100644 index 0000000..937d0ef --- /dev/null +++ b/app-i18n/weblate-cli/weblate-cli-1.14.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Weblate commandline client using Weblate's REST API." +HOMEPAGE="https://weblate.org" +SRC_URI="https://github.com/WeblateOrg/wlc/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +COMMON_DEPEND=" + dev-python/argcomplete + dev-python/python-dateutil + dev-python/pyxdg + dev-python/requests" + +DEPEND=" + ${COMMON_DEPEND} +" +RDEPEND=" + ${COMMON_DEPEND} +" +S="${WORKDIR}/wlc-${PV}" + +python_test() { + py.test -v +}