commit: e8ce88f4bf28e8ca3e58ccdce8168060ec7b37d9 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sun Jan 22 02:12:23 2017 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sun Jan 22 02:13:35 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8ce88f4
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(-) diff --git a/dev-python/ply/ply-3.6-r1.ebuild b/dev-python/ply/ply-3.6-r1.ebuild index b9c8333..a3436a4 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 9f368cb..35f8116 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 8c335d7..92d2199 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}"