From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F259D158064 for ; Sun, 12 May 2024 02:25:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0F42E29E0; Sun, 12 May 2024 02:25:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C61EEE29E0 for ; Sun, 12 May 2024 02:25:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFF6433BE32 for ; Sun, 12 May 2024 02:25:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E6F711A4A for ; Sun, 12 May 2024 02:25:34 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1715480724.14fcdfb19e03e53c0f79e659b8cfff6c51387dea.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools-gettext/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/setuptools-gettext/Manifest dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild X-VCS-Directories: dev-python/setuptools-gettext/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 14fcdfb19e03e53c0f79e659b8cfff6c51387dea X-VCS-Branch: master Date: Sun, 12 May 2024 02:25:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b42c666e-4bea-49ea-9be2-9b7f21a5d228 X-Archives-Hash: 134855c2347c119256b1141fe45500a9 commit: 14fcdfb19e03e53c0f79e659b8cfff6c51387dea Author: Michał Górny gentoo org> AuthorDate: Sun May 12 02:16:56 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 12 02:25:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14fcdfb1 dev-python/setuptools-gettext: Bump to 0.1.14 Signed-off-by: Michał Górny gentoo.org> dev-python/setuptools-gettext/Manifest | 1 + .../setuptools-gettext-0.1.14.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/setuptools-gettext/Manifest b/dev-python/setuptools-gettext/Manifest index bf75bb7c26b2..8820b9b1c7b4 100644 --- a/dev-python/setuptools-gettext/Manifest +++ b/dev-python/setuptools-gettext/Manifest @@ -1 +1,2 @@ DIST setuptools-gettext-0.1.11.tar.gz 15582 BLAKE2B a47e8c05683dbf8ac2db9dcbf66f8d680a6d1788ee00f1affcc356fd12ee31d92f6698c9dd1f293000ffb129d6eda2a71b90d0bee1875308f155137c9d2f7cf2 SHA512 abcb0df4604a78959365d3447112d4f74944b26ccc1e0d43771e38ee071c5915a4deda8c852eebbc58c689bcae29cd13604f8b96cea4cc0d6eb6ca4e265e34f7 +DIST setuptools_gettext-0.1.14.tar.gz 16177 BLAKE2B ad34ca37db52bdb2d317592e76e765636402ea2e656af22e31e7e2dfd59edce88003b14d4180b9b77b402ae2b53dcb9cebb0e065753272387bdaeee3af6baefd SHA512 40a76eb94173f704158dc676d332c436b81d11f2045276622cee2ab08636b988f3e95fa60bc4fdeeb72334d2daa51e56cd394f441479221b266e187bda2b928c diff --git a/dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild b/dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild new file mode 100644 index 000000000000..222efeb89a60 --- /dev/null +++ b/dev-python/setuptools-gettext/setuptools-gettext-0.1.14.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Setuptools plugin for building mo files" +HOMEPAGE=" + https://pypi.org/project/setuptools-gettext/ + https://github.com/breezy-team/setuptools-gettext +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + sys-devel/gettext + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.1[${PYTHON_USEDEP}] + ' 3.10) +" + +python_test() { + cd example || die + distutils_pep517_install "${T}/${EPYTHON}" + if [[ ! -f ${T}/${EPYTHON}/usr/share/locale/nl/LC_MESSAGES/hallowereld.mo ]] + then + die ".mo file not installed" + fi +}