commit:     0d981d46aba97158e4dc9fda1a2bdd3ee4094e6e
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jan 29 18:06:15 2025 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Apr  1 12:36:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d981d46

app-portage/gentle: add 1.0.2

This release fixes compatibility with Portage 3.0.67 and higher.

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
Closes: https://github.com/gentoo/gentoo/pull/40366
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-portage/gentle/Manifest            |  1 +
 app-portage/gentle/gentle-1.0.2.ebuild | 53 ++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-portage/gentle/Manifest b/app-portage/gentle/Manifest
index e3bd2b98c5b3..327d99a1951e 100644
--- a/app-portage/gentle/Manifest
+++ b/app-portage/gentle/Manifest
@@ -1 +1,2 @@
 DIST gentle_mxml-1.0.1.tar.gz 248146 BLAKE2B 
b7ca2198938671f0af6879a5f5e5de81e86e67889b41c385270bf13feabfb110f2bfc5246eb144946d3c3ec75c9375079bb608907a45d48efe57bd981b726b31
 SHA512 
15706895f695ba1ef3e1c576cfd4cc0b4228f931f7b43b61cb4996f77147a5b1587822c971d22b9914f1a0228d6e0afcceacfcad496f55cc50cee3d928503108
+DIST gentle_mxml-1.0.2.tar.gz 248793 BLAKE2B 
003db74d3613f787d207db6c6e368f4bc40859066982a240149179095a1cd94bd69f7efaf81c59e07cc81741b64b12ca809674a5e18bd420fefdd6f621e8419e
 SHA512 
b102f3ee369777f410a4826d922a92097328b217c2ce80890282e8c1b0a7175ea2c5c43b60fff932ce7fcd2d7ce7991ca952a35658144829ca2228532321b314

diff --git a/app-portage/gentle/gentle-1.0.2.ebuild 
b/app-portage/gentle/gentle-1.0.2.ebuild
new file mode 100644
index 000000000000..04f42255d2a3
--- /dev/null
+++ b/app-portage/gentle/gentle-1.0.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_USE_PEP517=flit
+PYPI_PN="gentle-mxml"
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Gentoo Lazy Entry - a metadata.xml generator"
+HOMEPAGE="
+       https://gentle.sysrq.in
+       https://pypi.org/project/gentle-mxml/
+"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-python/lxml[${PYTHON_USEDEP}]
+       sys-apps/portage[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               app-text/xmldiff[${PYTHON_USEDEP}]
+               dev-lang/perl
+               dev-lang/ruby:*
+               >=dev-python/build-1.2.0[${PYTHON_USEDEP}]
+               dev-python/pkginfo[${PYTHON_USEDEP}]
+               dev-python/pyyaml[${PYTHON_USEDEP}]
+               dev-python/rdflib[${PYTHON_USEDEP}]
+               dev-python/uv
+       )
+"
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+       dev-python/insipid-sphinx-theme \
+       dev-python/sphinx-prompt
+
+python_test() {
+       epytest --with-perl --with-ruby
+}
+
+pkg_postinst() {
+       optfeature "python packaging support" "dev-python/build dev-python/uv"
+       optfeature "PKG-INFO support" dev-python/pkginfo
+       optfeature "yaml support" dev-python/pyyaml
+       optfeature "rdf support" dev-python/rdflib
+}

Reply via email to