dev-python/ply: clear PYTHONDONTWRITEBYTECODE for tests

Bug: https://bugs.gentoo.org/458648
Package-Manager: Portage-2.3.3_p32, Repoman-2.3.1_p25
This commit is contained in:
Mike Gilbert
2017-01-21 21:12:23 -05:00
parent 2a9cf42943
commit e8ce88f4bf
3 changed files with 11 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -19,9 +19,6 @@ IUSE="examples"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
# See bug #458648 for reference
RESTRICT="test"
DOCS=( ANNOUNCE CHANGES TODO )
PATCHES=(
"${FILESDIR}/3.6-lextab-None.patch"
@@ -32,6 +29,9 @@ python_test() {
cp -r -l test "${BUILD_DIR}"/ || die
cd "${BUILD_DIR}"/test || die
# Checks for pyc/pyo files
local -x PYTHONDONTWRITEBYTECODE=
local t
for t in testlex.py testyacc.py; do
"${PYTHON}" "${t}" || die "${t} fails with ${EPYTHON}"

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -20,9 +20,6 @@ IUSE="examples"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
# See bug #458648 for reference
RESTRICT="test"
DOCS=( ANNOUNCE CHANGES TODO )
PATCHES=( "${FILESDIR}/3.6-picklefile-IOError.patch" )
@@ -31,6 +28,9 @@ python_test() {
cp -r -l test "${BUILD_DIR}"/ || die
cd "${BUILD_DIR}"/test || die
# Checks for pyc/pyo files
local -x PYTHONDONTWRITEBYTECODE=
local t
for t in testlex.py testyacc.py; do
"${PYTHON}" "${t}" || die "${t} fails with ${EPYTHON}"

View File

@@ -20,9 +20,6 @@ IUSE="examples"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
# See bug #458648 for reference
RESTRICT="test"
DOCS=( ANNOUNCE CHANGES TODO )
PATCHES=( "${FILESDIR}/3.6-picklefile-IOError.patch" )
@@ -31,6 +28,9 @@ python_test() {
cp -r -l test "${BUILD_DIR}"/ || die
cd "${BUILD_DIR}"/test || die
# Checks for pyc/pyo files
local -x PYTHONDONTWRITEBYTECODE=
local t
for t in testlex.py testyacc.py; do
"${PYTHON}" "${t}" || die "${t} fails with ${EPYTHON}"