commit:     315ed53003b0b078a222d2f12013fd9da32506cf
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 13 05:18:20 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 13 06:15:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315ed530

dev-python/pystache: Bump to 0.6.6

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

 dev-python/pystache/Manifest              |  1 +
 dev-python/pystache/pystache-0.6.6.ebuild | 52 +++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/pystache/Manifest b/dev-python/pystache/Manifest
index e38962d4433d..908683d3b291 100644
--- a/dev-python/pystache/Manifest
+++ b/dev-python/pystache/Manifest
@@ -1 +1,2 @@
 DIST pystache-0.6.5.gh.tar.gz 272484 BLAKE2B 
8b82aa8922480019e4833333f83d767ef19a1505e2fc708fef0d01c08353b5e600a077c1e86e36c412680381ff6fd310f83857038f383b8218b72269b4e5349b
 SHA512 
e3054e0bff5c3bc6679bf22555dd3cfb2f31b241484c7e6201d37b7767a22f2f842912e3f61d8e2e2858615a4f99ef4192d885b60f84dfeffa1408370ccfba75
+DIST pystache-0.6.6.gh.tar.gz 272592 BLAKE2B 
c79efc37991c4fd0ea7995017bb225d6426e1a09c1d0d4d700da91400e340e8548e79b75ffb3d7ae485eb1d305709b2640ad2555f484068496e2f68681ad8ebc
 SHA512 
debbeedc99201825c87274c14dafa757f48833de0a210444e1939e16decb06126f1fa4fd13b384fbaf28cdc9269d26a87c462db792b0b420a84e08c4f4484346

diff --git a/dev-python/pystache/pystache-0.6.6.ebuild 
b/dev-python/pystache/pystache-0.6.6.ebuild
new file mode 100644
index 000000000000..6421fd663d35
--- /dev/null
+++ b/dev-python/pystache/pystache-0.6.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Updated Python implementation of Mustache templating framework"
+HOMEPAGE="
+       https://github.com/PennyDreadfulMTG/pystache/
+       https://pypi.org/project/pystache/
+"
+
+if [[ ${PV} = 9999* ]]; then
+       EGIT_REPO_URI="https://github.com/PennyDreadfulMTG/pystache.git";
+       EGIT_BRANCH="master"
+       inherit git-r3
+else
+       SRC_URI="
+               
https://github.com/PennyDreadfulMTG/pystache/archive/v${PV}.tar.gz
+                       -> ${P}.gh.tar.gz
+       "
+       KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+BDEPEND="
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pyyaml[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx \
+       docs/source \
+       dev-python/sphinx-rtd-theme \
+       dev-python/recommonmark \
+       dev-python/sphinxcontrib-apidoc
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+src_prepare() {
+       sed -i '/sphinx_git/d' "${S}"/setup.cfg "${S}"/docs/source/conf.py
+       default
+}

Reply via email to