summaryrefslogtreecommitdiff
path: root/dev-python/ply
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/ply')
-rw-r--r--dev-python/ply/Manifest11
-rw-r--r--dev-python/ply/files/3.6-lextab-None.patch49
-rw-r--r--dev-python/ply/files/3.6-picklefile-IOError.patch24
-rw-r--r--dev-python/ply/metadata.xml24
-rw-r--r--dev-python/ply/ply-3.10.ebuild43
-rw-r--r--dev-python/ply/ply-3.11.ebuild43
-rw-r--r--dev-python/ply/ply-3.6-r1.ebuild44
-rw-r--r--dev-python/ply/ply-3.9.ebuild43
8 files changed, 0 insertions, 281 deletions
diff --git a/dev-python/ply/Manifest b/dev-python/ply/Manifest
deleted file mode 100644
index 19a2d477f1bf..000000000000
--- a/dev-python/ply/Manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-AUX 3.6-lextab-None.patch 1705 BLAKE2B b41df4e19252f9c7fd63364e6ab73b79b480435cbdf4be1ffae5dca5b031002bd6342cd3371e4a599f3a7dc56056f7d274f9f4d3f85465ca4ba5f8f4b6122a52 SHA512 c5e0d2976d7633bbde91fc957eb2ee9fdf9d8e0f43dac37163ca01d6f6b33da9f7b4e396fba034a53d1270bd1aa0f1683eb507bdb5562a5d3e82823ccf292109
-AUX 3.6-picklefile-IOError.patch 681 BLAKE2B 2aacef3639c9ec920d6cfc5e56ead129234d54019757a4c816c48c563789e119e6148ed409e5432ccdd763b62ad83c1359b63faf8432326ef8ebf4c93fa564c3 SHA512 6dce69df1cc538ff9787cb70617437ac36972b68a998922123bd4f0529dd6f155befe4104741e704e7e8a1ed8822f2e99580867bbc894fc57896aad4130c317b
-DIST ply-3.10.tar.gz 150926 BLAKE2B b7373bfb83f66c35b77f244e67443f5c4805cb5e586e9e9f0bba9746cf72a1ec66ae5e638a29793dc835ef3e7bed061f1b3befd71597b82f86c9a2adbafcef04 SHA512 67fa60ea3fe2cafe165b7c105eb4b08c0c75c98720bbbb19da275215b333d3ce0742c90e558fbe97df396c6faaf85da744063728ab211651beae10e0cad01d44
-DIST ply-3.11.tar.gz 159130 BLAKE2B 58c50b9dad445ad83a64aaa8174ed4602b36f5c8df33a7d62590a92388c4a21c9800599c1d4e4db6f02630e8dee4c8482611e26498e4aa8ccdb2cf3453ae1db4 SHA512 37e39a4f930874933223be58a3da7f259e155b75135f1edd47069b3b40e5e96af883ebf1c8a1bbd32f914a9e92cfc12e29fec05cf61b518f46c1d37421b20008
-DIST ply-3.6.tar.gz 281690 BLAKE2B 1a8e9e925c1a70832e3312208470a3bc4831b7ba18a0c2eb3a8b31fc9a850ae192809b9dec098f8479f2060e63ae781063b362227db2c6080aad85a2fb8648a2 SHA512 1a408d7cd4cdc9d747154623672e6baaf37ad2190cb9d6d6a7c1e1cc3cb40f15547734441b8fc99ecd67d7804d767576bdf0ed219cc669bf3d0df37498c55c55
-DIST ply-3.9.tar.gz 150750 BLAKE2B cb32c3837f2b4bd33ef2074dcb3f1421a54e820faf0e65def16f4c354643dc3e467f7c482dfc5b7f62cfb367945632e346b6e02e16cc79a91bb6f9241e315eb1 SHA512 c3beca6f70e9fdfd11f9fc7beb18efb03f0b32be3cdc949e96c4df3d060e7e9da3ee42d1f58f7a9225d333cb7864a4253fd3a9b75c496364276fe9969ebd7641
-EBUILD ply-3.10.ebuild 1143 BLAKE2B 8338bef39aa812414d6a9405735716c4719d0e2bda61a9b15d30beeddfbc2f51c5d22fc8e7ee5fc3b12177008e8d4536ff3c042b6042cc2b21c7155407fe90c6 SHA512 3df256e8a340609e7c326ca85ac96bb034ba1ae6f27313a6fac05270395cfe29fe9776072e3ae22f0781d73ef6c8bb76f88050920bf6e7b7752fd9e6fcfa6ca8
-EBUILD ply-3.11.ebuild 1143 BLAKE2B 3a519f0a254e936f9319abe93632e238c4d7af833146d412df8f2c3be9bfb73605f7f3df6d47090bf175d8d9ae6784486030e390d88dea6429e8ba7dbfef888e SHA512 caf4c5ed9bf8f4e2e692860a2d49e4ab9ba6ee45143e97b65f511e526d5285f22547eeee88135f53805421883e5fe18368cd67e422e779bb8184480ac15abf64
-EBUILD ply-3.6-r1.ebuild 1144 BLAKE2B d84fdd2687434f3d7ab84b680b2fd798327165612453568344d734a879a625b10fdd2c4c7e5387a0b274176e2056a5e1444cbf420e3920daf0edea396b7a3cf4 SHA512 24730bb33a83ebc834096c680f55590ce65fd8d6f2e9b699703ae03787d44efc8592f60608e8b393115ffd72f0eb826cb6be8c3127680e46a847ca4d4e40fef7
-EBUILD ply-3.9.ebuild 1109 BLAKE2B 2b977f3c9439f4de810c2e57bc18e6dece21bbef2d436bc7df420fa94a447f1d1feec0e7ca96660aca8420b77c362cecf34ee96736d0131233d0fb0cb374d414 SHA512 4bb9afbca93e4fc1ea9bc14d67c0c0a3eb2d9e5a71f110fe8242968a71ef8de93712c89afe59dce7eedab1a651c99268d2eafcef1b65675f5a420942501b9844
-MISC metadata.xml 1418 BLAKE2B df2c9fa5b1d9a0b7779fd72b390d4509f83e1ca4c49f3d64dd2c0b440d2f583c0b936535eb2c15bf323e649cacb4f1bd72bea797bd51afaf611fd8fa6490ae78 SHA512 92a5a470227858726239f537b3d8559e29d589a8aca0f1d43b8a1ee3ec00470117efb45275b5bfc0ab6d0678863db50aadd36aec326978e7a3e858c0b0be41dc
diff --git a/dev-python/ply/files/3.6-lextab-None.patch b/dev-python/ply/files/3.6-lextab-None.patch
deleted file mode 100644
index cab0a466d66f..000000000000
--- a/dev-python/ply/files/3.6-lextab-None.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From dbf122652d38ba03ff9f9fe4aa9bee3693e6775f Mon Sep 17 00:00:00 2001
-From: David Beazley <dave@dabeaz.com>
-Date: Fri, 8 May 2015 10:10:55 -0500
-Subject: [PATCH] Minor fix to account for bad None arguments for
- tabmodule/lextab
-
----
- ply/lex.py | 4 ++++
- ply/yacc.py | 5 ++++-
- 2 files changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/ply/lex.py b/ply/lex.py
-index ed1e2ed..772325c 100644
---- a/ply/lex.py
-+++ b/ply/lex.py
-@@ -859,6 +859,10 @@ def validate_module(self, module):
- # -----------------------------------------------------------------------------
- def lex(module=None, object=None, debug=False, optimize=False, lextab='lextab',
- reflags=0, nowarn=False, outputdir=None, debuglog=None, errorlog=None):
-+
-+ if lextab is None:
-+ lextab = 'lextab'
-+
- global lexer
-
- ldict = None
-diff --git a/ply/yacc.py b/ply/yacc.py
-index e0b4faf..eb02cc2 100644
---- a/ply/yacc.py
-+++ b/ply/yacc.py
-@@ -2709,7 +2709,7 @@ def write_table(self, tabmodule, outputdir='', signature=''):
- _lr_method = %r
-
- _lr_signature = %r
-- ''' % (filename, __tabversion__, self.lr_method, signature))
-+ ''' % (os.path.basename(filename), __tabversion__, self.lr_method, signature))
-
- # Change smaller to 0 to go back to original tables
- smaller = 1
-@@ -3183,6 +3183,9 @@ def yacc(method='LALR', debug=yaccdebug, module=None, tabmodule=tab_module, star
- check_recursion=True, optimize=False, write_tables=True, debugfile=debug_file,
- outputdir=None, debuglog=None, errorlog=None, picklefile=None):
-
-+ if tabmodule is None:
-+ tabmodule = tab_module
-+
- # Reference to the parsing method of the last built parser
- global parse
-
diff --git a/dev-python/ply/files/3.6-picklefile-IOError.patch b/dev-python/ply/files/3.6-picklefile-IOError.patch
deleted file mode 100644
index 85b39494a6fd..000000000000
--- a/dev-python/ply/files/3.6-picklefile-IOError.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From f50768b0b2176998675e728d84ac05f0eef19614 Mon Sep 17 00:00:00 2001
-From: Mike Gilbert <floppym@gentoo.org>
-Date: Sun, 17 May 2015 12:14:16 -0400
-Subject: [PATCH] Catch/ignore IOError when opening picklefile for reading in
- yacc.yacc()
-
-Should resolve #66.
----
- ply/yacc.py | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/ply/yacc.py b/ply/yacc.py
-index eb02cc2..2835c90 100644
---- a/ply/yacc.py
-+++ b/ply/yacc.py
-@@ -3265,6 +3265,8 @@ def yacc(method='LALR', debug=yaccdebug, module=None, tabmodule=tab_module, star
- errorlog.warning(str(e))
- except ImportError:
- pass
-+ except IOError:
-+ pass
-
- if debuglog is None:
- if debug:
diff --git a/dev-python/ply/metadata.xml b/dev-python/ply/metadata.xml
deleted file mode 100644
index 383221e6eaea..000000000000
--- a/dev-python/ply/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <longdescription>
-PLY is a Python-only implementation of the popular compiler construction
-tools lex and yacc. The implementation borrows ideas from a number of
-previous efforts; most notably John Aycock's SPARK toolkit. However,
-the overall flavor of the implementation is more closely modeled after
-the C version of lex and yacc. The other significant feature of PLY is
-that it provides extensive input validation and error reporting--much
-more so than other Python parsing tools.
- </longdescription>
- <longdescription lang="ja">
-PLYはLexとYaccの有名なコンパイラ・コンストラクション・ツールのPython言語実装です
-。この実装は以前の試みから幾つものアイディアを借りています。そのほとんどがJohn AycockのSPARKツールキットからです。しかしながら、実装の全体像はC言語によるLexとYaccにより近いモデルです。PLYの他の重要点は幅広い入力バリデーションとエラー報告を提供する点です。 -- その二点は他のPython言語パーサーより優れています。
- </longdescription>
- <upstream>
- <remote-id type="pypi">ply</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/ply/ply-3.10.ebuild b/dev-python/ply/ply-3.10.ebuild
deleted file mode 100644
index 8c37d3355255..000000000000
--- a/dev-python/ply/ply-3.10.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Python Lex-Yacc library"
-HOMEPAGE="http://www.dabeaz.com/ply/ https://pypi.org/project/ply/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
-IUSE="examples"
-
-RDEPEND=""
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-DOCS=( ANNOUNCE CHANGES TODO )
-
-PATCHES=( "${FILESDIR}/3.6-picklefile-IOError.patch" )
-
-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}"
- done
-}
-
-python_install_all() {
- local HTML_DOCS=( doc/. )
- use examples && dodoc -r example
- distutils-r1_python_install_all
-}
diff --git a/dev-python/ply/ply-3.11.ebuild b/dev-python/ply/ply-3.11.ebuild
deleted file mode 100644
index 80f5cbb26b22..000000000000
--- a/dev-python/ply/ply-3.11.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Python Lex-Yacc library"
-HOMEPAGE="http://www.dabeaz.com/ply/ https://pypi.org/project/ply/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
-IUSE="examples"
-
-RDEPEND=""
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-DOCS=( ANNOUNCE CHANGES TODO )
-
-PATCHES=( "${FILESDIR}/3.6-picklefile-IOError.patch" )
-
-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}"
- done
-}
-
-python_install_all() {
- local HTML_DOCS=( doc/. )
- use examples && dodoc -r example
- distutils-r1_python_install_all
-}
diff --git a/dev-python/ply/ply-3.6-r1.ebuild b/dev-python/ply/ply-3.6-r1.ebuild
deleted file mode 100644
index 78f274043f99..000000000000
--- a/dev-python/ply/ply-3.6-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
-
-inherit distutils-r1
-
-DESCRIPTION="Python Lex-Yacc library"
-HOMEPAGE="http://www.dabeaz.com/ply/ https://pypi.org/project/ply/"
-SRC_URI="http://www.dabeaz.com/ply/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
-IUSE="examples"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=""
-
-DOCS=( ANNOUNCE CHANGES TODO )
-PATCHES=(
- "${FILESDIR}/3.6-lextab-None.patch"
- "${FILESDIR}/3.6-picklefile-IOError.patch"
-)
-
-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}"
- done
-}
-
-python_install_all() {
- local HTML_DOCS=( doc/. )
- use examples && local EXAMPLES=( example/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/ply/ply-3.9.ebuild b/dev-python/ply/ply-3.9.ebuild
deleted file mode 100644
index 2fc447353444..000000000000
--- a/dev-python/ply/ply-3.9.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Python Lex-Yacc library"
-HOMEPAGE="http://www.dabeaz.com/ply/ https://pypi.org/project/ply/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
-IUSE="examples"
-
-RDEPEND=""
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-DOCS=( ANNOUNCE CHANGES TODO )
-
-PATCHES=( "${FILESDIR}/3.6-picklefile-IOError.patch" )
-
-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}"
- done
-}
-
-python_install_all() {
- local HTML_DOCS=( doc/. )
- use examples && dodoc -r example
- distutils-r1_python_install_all
-}