summaryrefslogtreecommitdiff
path: root/dev-python/cheetah3
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-17 14:32:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-17 14:32:10 +0100
commit51c50bd4c895ebf56d81fecae8e45ec3b5fc3efa (patch)
tree753b6b08624c34d1ed8414bbe22c45409f7741b9 /dev-python/cheetah3
parentbe9d77d3ac6af8f4ead98d89706f356b65578c93 (diff)
parentdeba8115d2c2af26df42966b91ef04ff4dd79cde (diff)
Merge branch 'edge' into next
Diffstat (limited to 'dev-python/cheetah3')
-rw-r--r--dev-python/cheetah3/Manifest4
-rw-r--r--dev-python/cheetah3/cheetah3-3.2.4.ebuild (renamed from dev-python/cheetah3/cheetah3-3.2.3.ebuild)31
2 files changed, 16 insertions, 19 deletions
diff --git a/dev-python/cheetah3/Manifest b/dev-python/cheetah3/Manifest
index 51423f43d8cc..459c2951a605 100644
--- a/dev-python/cheetah3/Manifest
+++ b/dev-python/cheetah3/Manifest
@@ -1,3 +1,3 @@
-DIST Cheetah3-3.2.3.tar.gz 875441 BLAKE2B 0fa4a533bd66f98e982312a451f464a2c3fb645916b98aaa92d3af219cb49e252985b4c675a612c1c9265f8028577be4be78b551ad4cdbbaca7f4439624193b9 SHA512 ebc735b59d61912679405469f9d509fc73bbdde51c414320994421849f4a02266d2c286c0f618cab2a592ab47ac0a4be9ec444fab75145a0c31dd0c3c39fc1e3
-EBUILD cheetah3-3.2.3.ebuild 1095 BLAKE2B e17987d4cbb7d1325e4857c1ec53bcce97caeca742780957b99ea43e962f9b2f7ea3a47286dda066103663d08c93583b98b9b169134f2cbeb8259be05655fb78 SHA512 ee337a07d1db64dc59fe5648200ea23be996766b27747313f891a87ca11c5068ce80efcd9da992ace500ee6748e56a97ab8a1b1b257646544c73e78f695bd02a
+DIST cheetah3-3.2.4.tar.gz 315044 BLAKE2B 5cb36364f424acf87593b3f18b5709d1a161dd3fb9bc1f4cfb6fe7c22d2515c852d5d7d0215692274ffe5437267e3232fcfae3d76c592cf66d8927fabdf37953 SHA512 64fbe95fe8d5f3185168ba780e106a46caa0656272235168df603eff50dd6e476eed041658a1e11ae12ee10d148a001c32a23677a1ee6da5b6d43e20e4d1e36e
+EBUILD cheetah3-3.2.4.ebuild 1112 BLAKE2B 893ecf71b76b88c108f6d0f59f4d20bde9724b778e6da63145f4fdec48a63e753f61abc9a359d87f0e1f56cfbc406681ba637649c415af6b935c841d707a1a71 SHA512 cc45c7888335b17bf6e598ec1e2d670e61aacbce11d1ca3ca58acdb1f90efa57ce3752e2d5f5f292937c357ea7f9b549ec0418a88ef309a545bd94812944e553
MISC metadata.xml 662 BLAKE2B 3dfe6898c1c2b60050da8427fd4e51a07ba7870120ce491166b9fd222bbaa49e7df7ba3afafe8b159a7b60f781da67dc0dfdf03f085e813cb3f6d59169ecc526 SHA512 b15fac64b057cc9216aaa21002332ec348e89a618ba4c32dd8b9622afd17d7d8db6ef6c3e7c645ad0a03b306c50b79322f5ad1866db93f1033e69b1c7d6130a1
diff --git a/dev-python/cheetah3/cheetah3-3.2.3.ebuild b/dev-python/cheetah3/cheetah3-3.2.4.ebuild
index a8d49c8a73be..d66ca7e2f4c2 100644
--- a/dev-python/cheetah3/cheetah3-3.2.3.ebuild
+++ b/dev-python/cheetah3/cheetah3-3.2.4.ebuild
@@ -1,33 +1,27 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
-PYTHON_COMPAT=( python3_{6,7} )
-
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1
-MY_PN="Cheetah3"
-MY_P="${MY_PN}-${PV/_}"
-
DESCRIPTION="Python-powered template engine and code generator"
HOMEPAGE="http://www.cheetahtemplate.org/ https://pypi.org/project/Cheetah3/"
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
+SRC_URI="https://github.com/CheetahTemplate3/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
IUSE=""
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
SLOT="0"
-RDEPEND="dev-python/markdown[${PYTHON_USEDEP}]
- !dev-python/cheetah"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
-
-S="${WORKDIR}/${MY_P}"
+RDEPEND="
+ dev-python/markdown[${PYTHON_USEDEP}]
+ !dev-python/cheetah
+"
+BDEPEND="${RDEPEND}"
DOCS=( ANNOUNCE.rst README.rst TODO )
-# Race in the test suite
-DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
# Disable broken tests.
@@ -41,5 +35,8 @@ python_prepare_all() {
}
python_test() {
- "${PYTHON}" Cheetah/Tests/Test.py || die "Testing failed with ${EPYTHON}"
+ cp -r "${S}/Cheetah/Tests/ImportHooksTemplates" \
+ "${BUILD_DIR}/lib/Cheetah/Tests/ImportHooksTemplates" || die
+
+ "${EPYTHON}" Cheetah/Tests/Test.py || die "Tests fail with ${EPYTHON}"
}