-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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"
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}"
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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" )
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}"
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" )
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}"