forked from steev/python-overlay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-python/pystache: bump to latest, switch back to official upstream
Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST pystache-0.6.2.tar.gz 67882 BLAKE2B c8022bb633740415750e4f70755017129ba2d004b5b8e4474bb7400c5a5880f1e6a40f172a290b22e97cde6720799f434b9d6e54695bd29d7fa33ed68228719b SHA512 d5c0c1e8e53f6dab710a126b975990e89380945e42e82af3a45c48f873e7e886a9c9828163ea26b704aba44a7d2c202ddb49d3e9bf09ca9fca2532efd9f96c45 | ||
DIST pystache-0.6.4.tar.gz 87920 BLAKE2B aa56cf39d5b709ef13cccf3a16ca0cd4c82fbd0b528b2f6bf945ffce06776b0cdc77fec91612d114fb2850bd3d88cc1a0db6d1943f78c3ec22372bdc38477cf6 SHA512 1ef30dbed35f49764320fe42c500cca7a430a5206eebc500861748e787a4b231e33ccbe8a81a2c68c1117b67a85789559131a72e95a481c51c47bfb6026afd29 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright 1999-2022 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
DISTUTILS_USE_PEP517=setuptools | ||
PYTHON_COMPAT=( python3_{8..10} ) | ||
|
||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Python implementation of Mustache templating framework." | ||
HOMEPAGE="https://github.com/PennyDreadfulMTG/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/releases/download/v${PV}/${P}.tar.gz" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~x86" | ||
fi | ||
|
||
LICENSE="MIT" | ||
SLOT="0" | ||
IUSE="test" | ||
|
||
BDEPEND=" | ||
test? ( | ||
dev-python/pyyaml[${PYTHON_USEDEP}] | ||
dev-python/iniconfig[${PYTHON_USEDEP}] | ||
) | ||
" | ||
|
||
RESTRICT="!test? ( test )" | ||
|
||
distutils_enable_tests pytest | ||
|
||
python_test() { | ||
epytest --doctest-modules \ | ||
--doctest-glob='*.rst' \ | ||
--doctest-glob='*.py' \ | ||
. | ||
} |