mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
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:
@@ -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}"
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user