public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools-gettext/, profiles/
@ 2023-12-16 15:09 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2023-12-16 15:09 UTC (permalink / raw
  To: gentoo-commits

commit:     bb817991bf7470ad52ac7033fd3e1be18a543754
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 15:08:35 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 15:09:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb817991

dev-python/setuptools-gettext: Bump to 0.1.8

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/setuptools-gettext/Manifest             |  1 +
 .../setuptools-gettext-0.1.8.ebuild                | 37 ++++++++++++++++++++++
 profiles/package.mask                              |  6 ++++
 3 files changed, 44 insertions(+)

diff --git a/dev-python/setuptools-gettext/Manifest b/dev-python/setuptools-gettext/Manifest
index 5ce91d8aa038..a9a6292e4423 100644
--- a/dev-python/setuptools-gettext/Manifest
+++ b/dev-python/setuptools-gettext/Manifest
@@ -1 +1,2 @@
 DIST setuptools-gettext-0.1.3.tar.gz 10654 BLAKE2B 801adc5f09facff215009ee61cef6996866efced51424a9dbcc6ace76e132b75d3cc8293eecbe0958372966e9faa64c73d7f743d2bb6187b448d9becf6106c8c SHA512 786e9f9280013759e96fe16551ba2dafef033d7d1faadc9bf9306c6442ba242d638778b45c8c228a2ff04038903958bc1db435c4982b665d73ba15fcc4bd9eee
+DIST setuptools-gettext-0.1.8.tar.gz 15548 BLAKE2B 4e1dcd219fca132e859a44e7ab86f0c81ac2dfccf5d2aca89ac05a2a3a50fec715a5e23e44173e741330d874d1f721ac8ec9d73d79b586ab605fb281aba8aafe SHA512 55b6512061565f210596972db3033d3d4f555428d23d1cac93feb3ea540461e908585d13157bcf97335f07b5a86e0b823b15457fe2f107ffc49e2e1b0c7a0c1e

diff --git a/dev-python/setuptools-gettext/setuptools-gettext-0.1.8.ebuild b/dev-python/setuptools-gettext/setuptools-gettext-0.1.8.ebuild
new file mode 100644
index 000000000000..71b027b2d6e3
--- /dev/null
+++ b/dev-python/setuptools-gettext/setuptools-gettext-0.1.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+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
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index ddc9da916abf..0fdd628a7a00 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -33,6 +33,12 @@
 
 #--- END OF EXAMPLES ---
 
+# Michał Górny <mgorny@gentoo.org> (2023-12-16)
+# This package is completely broken upstream: it installs locales
+# into an incorrect subdirectory:
+# https://github.com/breezy-team/setuptools-gettext/issues/30
+=dev-python/setuptools-gettext-0.1.8
+
 # Michał Górny <mgorny@gentoo.org> (2023-12-15)
 # Superseded by dev-python/pypy3_10-exe{,-bin}.
 # Removal on 2024-01-14.  Bug #920036.


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-16 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-16 15:09 [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools-gettext/, profiles/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox