commit: 5d5106b8d83a9e812f418a7fa94184c1edd22143 Author: Michael Schubert <mschu.dev <AT> gmail <DOT> com> AuthorDate: Sun Jan 26 11:40:12 2025 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Sun Jan 26 11:45:34 2025 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5d5106b8
dev-python/yte: version bump 1.5.6 and add tests Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com> Closes: https://github.com/gentoo/sci/pull/1314 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> dev-python/yte/{yte-1.5.4.ebuild => yte-1.5.6.ebuild} | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-python/yte/yte-1.5.4.ebuild b/dev-python/yte/yte-1.5.6.ebuild similarity index 66% rename from dev-python/yte/yte-1.5.4.ebuild rename to dev-python/yte/yte-1.5.6.ebuild index ad7b669b1..f8f25ff5c 100644 --- a/dev-python/yte/yte-1.5.4.ebuild +++ b/dev-python/yte/yte-1.5.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2025 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,10 +6,11 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{10..12} ) -inherit pypi distutils-r1 +inherit distutils-r1 DESCRIPTION="A YAML template engine with Python expressions" HOMEPAGE="https://pypi.org/project/yte/" +SRC_URI="https://github.com/yte-template-engine/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" @@ -20,3 +21,9 @@ RDEPEND=" dev-python/plac[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] " + +distutils_enable_tests pytest + +python_test() { + epytest tests.py +}
