dev-python/quex: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-05-31 22:32:32 +02:00
parent 1962cd8b89
commit ab0e2e3ec0
3 changed files with 0 additions and 66 deletions

View File

@@ -1,2 +1 @@
DIST quex-0.71.0.zip 4599847 BLAKE2B 37bb5b0c7ec6540563cd94e0fbc277064b69b0c84dcb3da20a02d1b3fa9d8ee5a801a71be41f908c33ed4fe9271c0cea31ece19be4b489228ae0c962d5731b43 SHA512 9d3b75680b9336dc4903e334dc8e1a389e2acee715ba1c5fba26aca1e905172f52098eb9c6a1c3e8b9354ea1cc857d8802a2bea4ac864fd0acb5d879c2524997
DIST quex-0.71.2.zip 4466070 BLAKE2B 3c9db64174c9a56a8b07b64b7140e8d65b2352f93f6eb67e2ee34b595db05ffe1b73d0668d668268423d457e15bb365509de9abc0335af7d017496b814ca9cae SHA512 5065495ba568e38f384447cdbd7ef02f8d38cf5cd9425a9ec523e8e72d4ed52f3a02dec945961e568a4d759ab1e45d717cbc55a3b38a9e4dde9eb75524a1eb5b

View File

@@ -1,11 +0,0 @@
--- a/quex/input/code/base.py 2020-08-17 11:27:16.948578316 +0200
+++ b/quex/input/code/base.py 2020-08-17 11:27:27.604426654 +0200
@@ -123,7 +123,7 @@
def set_source_reference(self, SourceReference):
self.__source_reference = SourceReference
- @typed(Re=re._pattern_type)
+ @typed(Re=re.Pattern)
def contains_string(self, Re): return self.__check_code(lambda x: Re.search(x) is not None)
def is_empty(self): return not self.__check_code(lambda x: len(x) != 0)
def is_whitespace(self): return not self.__check_code(lambda x: len(x.strip()) != 0)

View File

@@ -1,54 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_7 )
inherit python-single-r1
DESCRIPTION="Mode Oriented Directly Coded Lexical Analyser Generator"
HOMEPAGE="http://quex.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}"
BDEPEND="${RDEPEND}
app-arch/unzip"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-py37.patch
)
src_prepare() {
default
sed -i \
-e "s:@PYTHON_SITEDIR@:$(python_get_sitedir):g" \
quex/DEFINITIONS.py || die
mkdir -p engine/codec_db/unicode || die
mv quex/engine/codec_db/database engine/codec_db/ || die
mv quex/engine/codec_db/unicode/database engine/codec_db/unicode/ || die
mv quex/code_base . || die
}
src_install() {
default
insinto /usr/share/quex/
doins -r engine
doins -r code_base
python_domodule quex
python_newscript quex-exe.py quex
doman manpage/quex.1
dodoc -r demo
insinto /etc/profile.d/
doins "${FILESDIR}"/quex.sh
}