commit: 63a48a4d267dd060ddebe1553609679a7c3dd344 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Feb 24 05:55:50 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Feb 24 05:55:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a48a4d
dev-python/polib: Bump to 1.2.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/polib/Manifest | 1 + dev-python/polib/polib-1.2.0.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/polib/Manifest b/dev-python/polib/Manifest index 4c0382fecbf6..4f1359f4d70e 100644 --- a/dev-python/polib/Manifest +++ b/dev-python/polib/Manifest @@ -1 +1,2 @@ DIST polib-1.1.1.tar.gz 154644 BLAKE2B 3dfbaf2fa73d286a60a1fff3e50d8703cf62917b7da0c8b783aaec49b8dcfb927b03b0fe0b411b5f90c2ac89298ea027beb2f0d00ad582a65628d8351397ddab SHA512 38de5fbdbc9ef879a4d55b9fe4f86a3aca3fb90dbb671745bd2b126be443598b8b18fe53afd116c3a4d3efc7a42b5ed05d75569bb5b2ef0bd2ced6e13eda95ad +DIST polib-1.2.0.tar.gz 161658 BLAKE2B 8f53d829ac7a2e59676fa7b548645eed26fbd5a2c6e966093145b43bc492ba05ef715e4ddb95f35f8c965890e24c80b7e19d58c6d75d26c4cef141fb15a7d79e SHA512 b325730cd4df6c881ffcab72da1796eb2949243f6060c650209e1c6584e5344ecaede870f22ece00f5c74bcd289fa5d2aa5223b88cb78de0dff5f9e41759096e diff --git a/dev-python/polib/polib-1.2.0.ebuild b/dev-python/polib/polib-1.2.0.ebuild new file mode 100644 index 000000000000..1bc25e6957ea --- /dev/null +++ b/dev-python/polib/polib-1.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A library to manipulate gettext files (.po and .mo files)" +HOMEPAGE=" + https://github.com/izimobil/polib/ + https://pypi.org/project/polib/ + https://polib.readthedocs.io/en/latest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +distutils_enable_sphinx docs + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.7-BE-test.patch +) + +python_test() { + "${EPYTHON}" tests/tests.py -v || die "Tests failed under ${EPYTHON}" +}