From e8ce88f4bf28e8ca3e58ccdce8168060ec7b37d9 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 21 Jan 2017 21:12:23 -0500 Subject: 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 --- dev-python/ply/ply-3.6-r1.ebuild | 8 ++++---- dev-python/ply/ply-3.8.ebuild | 8 ++++---- dev-python/ply/ply-3.9.ebuild | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'dev-python/ply') diff --git a/dev-python/ply/ply-3.6-r1.ebuild b/dev-python/ply/ply-3.6-r1.ebuild index b9c8333cada0..a3436a4ed3ad 100644 --- a/dev-python/ply/ply-3.6-r1.ebuild +++ b/dev-python/ply/ply-3.6-r1.ebuild @@ -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}" diff --git a/dev-python/ply/ply-3.8.ebuild b/dev-python/ply/ply-3.8.ebuild index 9f368cb637be..35f8116dcf7e 100644 --- a/dev-python/ply/ply-3.8.ebuild +++ b/dev-python/ply/ply-3.8.ebuild @@ -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}" diff --git a/dev-python/ply/ply-3.9.ebuild b/dev-python/ply/ply-3.9.ebuild index 8c335d71358f..92d21999fdaf 100644 --- a/dev-python/ply/ply-3.9.ebuild +++ b/dev-python/ply/ply-3.9.ebuild @@ -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}" -- cgit v1.2.3-65-gdbad