Summary: | dev-python/mako-1.0.0 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | eroen <erikdenstore+gbugs> |
Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs, dschridde+gentoobugs, yngwin |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=483402 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 512242 | ||
Attachments: | dev-python:mako-0.9.0:20130927-192833.log |
Description
eroen
2013-09-27 06:37:46 UTC
Created attachment 359644 [details]
dev-python:mako-0.9.0:20130927-192833.log
With the following changes, dropping the patch and 2to3 call, mako-0.9.0 passes tests and seems to work for simple experiments using python{2.7,3.2,3.3} on an almost-~amd64 system.
--- mako-0.7.3-r1.ebuild 2013-09-27 16:44:01.732696696 +0200
+++ mako-0.9.0.ebuild 2013-09-27 17:00:46.481460894 +0200
@@ -4,7 +4,7 @@
EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7,3_2} )
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
inherit distutils-r1
@@ -27,20 +27,9 @@
S="${WORKDIR}/${MY_P}"
-PATCHES=(
- "${FILESDIR}/test-fix.patch"
-)
-
python_test() {
cp -r -l test "${BUILD_DIR}"/ || die
- if [[ ${EPYTHON} == python3.* ]]; then
- # Notes:
- # -W is not supported by python3.1
- # -n causes Python to write into hardlinked files
- 2to3 --no-diffs -w "${BUILD_DIR}"/test || die
- fi
-
cd "${BUILD_DIR}"/test || die
nosetests || die "Tests fail with ${EPYTHON}"
}
Sorry, I missed that I had dev-python/beaker from ::progress installed on the test box, which has python3_3 enabled. Beaker is listed as an optional dependency in setup.py, though. All tests still succeed if beaker is not installed at all. *** Bug 520440 has been marked as a duplicate of this bug. *** + 30 Sep 2014; Ben de Groot <yngwin@gentoo.org> +mako-1.0.0.ebuild: + Version bump, thanks to eroen in bug #486158. As this is a major version bump, + it's masked for testing. Since I got no negative feedback, I've unmasked this. |