diff options
Diffstat (limited to 'dev-python/ply/ply-3.8.ebuild')
-rw-r--r-- | dev-python/ply/ply-3.8.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
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}" |