Skip to content

Commit

Permalink
dev-python/yte: version bump 1.5.6 and add tests
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Schubert <mschu.dev@gmail.com>
Closes: #1314
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
  • Loading branch information
mschubert authored and Nowa-Ammerlaan committed Jan 26, 2025
1 parent 6a55f95 commit 5d5106b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev-python/yte/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST yte-1.5.4.tar.gz 6352 BLAKE2B f304d1846c0f54949397570564f6bf9d048cd26a99a87feb62f8944403fd0f619546ed0989a2f9fda381c0f39adaa4d987ff66eb4e3bcbce107a460091c1b775 SHA512 eb61553d4c17f6d39f954ea5ab1a09a83009ab8f6f653afbf780b7a30f355e149b4508f8e3755a804f245246e0a1184c74be995f1477e1d2d27bc536bc1ff1f7
DIST yte-1.5.6.gh.tar.gz 12852 BLAKE2B 05704bcedb30628319367185b70a653443a62431ee89065ca7b0a4875f8e3497530d24f71ebab64bcbe5f7dd894ba10d907c30301166093327fe4a146b5b9489 SHA512 1ef3fbed59710a8c81d2dd441f7790570dc33709d40a33b92801e418c9fd8b9a028926f41c354be8300195ef21a91e5c9c1dd8cc0cdd55c09bb9f28c6d995010
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2025 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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"
Expand All @@ -20,3 +21,9 @@ RDEPEND="
dev-python/plac[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
"

distutils_enable_tests pytest

python_test() {
epytest tests.py
}

0 comments on commit 5d5106b

Please sign in to comment.