diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-18 15:02:46 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-18 15:02:46 +0000 |
commit | c55ef9dec47782358a6a6ed43cd0a3bb8e4dfe37 (patch) | |
tree | e303f51c012eecbdf4eebc33e9dd0a74452c970e /dev-python/simpleparse | |
parent | Add an ebuild for 0.3.0-rc4 for testing. (diff) | |
download | historical-c55ef9dec47782358a6a6ed43cd0a3bb8e4dfe37.tar.gz historical-c55ef9dec47782358a6a6ed43cd0a3bb8e4dfe37.tar.bz2 historical-c55ef9dec47782358a6a6ed43cd0a3bb8e4dfe37.zip |
Delete older ebuild.
Package-Manager: portage-2.2.0_alpha9_p3/cvs/Linux x86_64
Diffstat (limited to 'dev-python/simpleparse')
-rw-r--r-- | dev-python/simpleparse/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/simpleparse/Manifest | 5 | ||||
-rw-r--r-- | dev-python/simpleparse/files/simpleparse-2.1.0_alpha1-python-2.6.patch | 129 | ||||
-rw-r--r-- | dev-python/simpleparse/simpleparse-2.1.0_alpha1.ebuild | 54 |
4 files changed, 7 insertions, 188 deletions
diff --git a/dev-python/simpleparse/ChangeLog b/dev-python/simpleparse/ChangeLog index 4a73e6ee0b18..a21b721f3f7f 100644 --- a/dev-python/simpleparse/ChangeLog +++ b/dev-python/simpleparse/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/simpleparse # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/simpleparse/ChangeLog,v 1.23 2010/12/18 12:40:59 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/simpleparse/ChangeLog,v 1.24 2010/12/18 15:02:46 arfrever Exp $ + + 18 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -simpleparse-2.1.0_alpha1.ebuild, + -files/simpleparse-2.1.0_alpha1-python-2.6.patch: + Delete. 18 Dec 2010; Raúl Porcel <armin76@gentoo.org> simpleparse-2.1.1_alpha2.ebuild: diff --git a/dev-python/simpleparse/Manifest b/dev-python/simpleparse/Manifest index 1771811c0341..c3ab30ac6469 100644 --- a/dev-python/simpleparse/Manifest +++ b/dev-python/simpleparse/Manifest @@ -1,7 +1,4 @@ -AUX simpleparse-2.1.0_alpha1-python-2.6.patch 4673 RMD160 d70df4f9598da3d7001ceca10c6d87245efd914e SHA1 d8dffae534d368e3a12ce38a690145df5d2a1687 SHA256 c2774b1b815020ab3b07615cc8792159b2aed8e53a9db41f85cc83e049123db9 -DIST SimpleParse-2.1.0a1.zip 501216 RMD160 42e4c3e90ec2772c01edf0ccb3bcc4077ced588e SHA1 198ce1a94e55a41ca9265128f5ab0d7bc6a324c0 SHA256 905fabf2b427614265b97d9631283d14b277fd11276679ef33e6c93ad16862f3 DIST SimpleParse-2.1.1a2.tar.gz 207821 RMD160 3edea7ddf714d77549785b4f64f94001eac1ce45 SHA1 d5c53e57eb90cfa32be30799b52857b4ae3f158f SHA256 9899df932c6805dbb6433c7395e696fd60723f463513933e925cc77314c6bbb8 -EBUILD simpleparse-2.1.0_alpha1.ebuild 1332 RMD160 09f829a70bbe63d217668ec6d70cc003aad842b4 SHA1 cfc4a4f1d0a573efc7e31ce6406e1bcbc71c0508 SHA256 cc86d898e14f515b80def042783cf12de4f511e759caaaac8c11ed9aa7c1d1f0 EBUILD simpleparse-2.1.1_alpha2.ebuild 1169 RMD160 9a10a6098236fb412c5b6c9e5042e3c33f73bba2 SHA1 1f8d9c4f0f078086fdbda720119596d184cd8e8b SHA256 31420074b7d9c44a4b2f9bbde1c6b8d8c34fc755a8c884d984dea5a14c80a257 -MISC ChangeLog 3679 RMD160 af904cab08920d698156f6e83be755f86e164e23 SHA1 29ad6ac2f9d1b054836b8f2869db648741045fee SHA256 67c083221e840f0d734c6945ea0891dd12ac9b153d45bad93b6095fd797e96ae +MISC ChangeLog 3852 RMD160 c5723931b570f475ecdc4866150a6a1816d4fc23 SHA1 7c855465a631ddcd1231af3215ea6012f45b6f8c SHA256 048875416e5ee2b04088432673220463c2e67cae89aa92722522045bc2d3e46d MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/simpleparse/files/simpleparse-2.1.0_alpha1-python-2.6.patch b/dev-python/simpleparse/files/simpleparse-2.1.0_alpha1-python-2.6.patch deleted file mode 100644 index 440021b207f6..000000000000 --- a/dev-python/simpleparse/files/simpleparse-2.1.0_alpha1-python-2.6.patch +++ /dev/null @@ -1,129 +0,0 @@ ---- stt/TextTools/TextTools.py -+++ stt/TextTools/TextTools.py -@@ -167,7 +167,7 @@ - # Extra stuff useful in combination with the C functions - # - --def replace(text,what,with,start=0,stop=None, -+def replace(text,what,with_,start=0,stop=None, - - SearchObject=TextSearch,join=join,joinlist=joinlist,tag=tag, - string_replace=string.replace,type=type, -@@ -188,11 +188,11 @@ - what = so.match - if stop is None: - if start == 0 and len(what) < 2: -- return string_replace(text,what,with) -+ return string_replace(text,what,with_) - stop = len(text) - t = ((text,sWordStart,so,+2), - # Found something, replace and continue searching -- (with,Skip+AppendTagobj,len(what),-1,-1), -+ (with_,Skip+AppendTagobj,len(what),-1,-1), - # Rest of text - (text,Move,ToEOF) - ) -@@ -203,13 +203,13 @@ - - # Alternative (usually slower) versions using different techniques: - --def _replace2(text,what,with,start=0,stop=None, -+def _replace2(text,what,with_,start=0,stop=None, - - join=join,joinlist=joinlist,tag=tag, - TextSearchType=TextSearchType,TextSearch=TextSearch): - - """Analogon to string.replace; returns a string with all occurences -- of what in text[start:stop] replaced by with. -+ of what in text[start:stop] replaced by with_. - - This version uses a one entry tag-table and a - Boyer-Moore-Search-object. what can be a string or a -@@ -226,13 +226,13 @@ - stop = len(text) - if type(what) is not TextSearchType: - what=TextSearch(what) -- t = ((with,sFindWord,what,+1,+0),) -+ t = ((with_,sFindWord,what,+1,+0),) - found,taglist,last = tag(text,t,start,stop) - if not found: - return text - return join(joinlist(text,taglist)) - --def _replace3(text,what,with, -+def _replace3(text,what,with_, - - join=string.join,TextSearch=TextSearch, - TextSearchType=TextSearchType): -@@ -245,12 +245,12 @@ - l = [] - x = 0 - for left,right in slices: -- l.append(text[x:left] + with) -+ l.append(text[x:left] + with_) - x = right - l.append(text[x:]) - return join(l,'') - --def _replace4(text,what,with, -+def _replace4(text,what,with_, - - join=join,joinlist=joinlist,tag=tag,TextSearch=TextSearch, - TextSearchType=TextSearchType): -@@ -262,7 +262,7 @@ - return text - repl = [None]*len(slices) - for i in range(len(slices)): -- repl[i] = (with,)+slices[i] -+ repl[i] = (with_,)+slices[i] - return join(joinlist(text,repl)) - - def multireplace(text,replacements,start=0,stop=None, -@@ -569,16 +569,16 @@ - print 'Replacing strings' - print '-'*72 - print -- for what,with in (('m','M'),('mx','MX'),('mxText','MXTEXT'), -+ for what,with_ in (('m','M'),('mx','MX'),('mxText','MXTEXT'), - ('hmm','HMM'),('hmmm','HMM'),('hmhmm','HMM')): -- print 'Replace "%s" with "%s"' % (what,with) -+ print 'Replace "%s" with "%s"' % (what,with_) - t.start() - for i in range(100): -- rtext = string.replace(text,what,with) -+ rtext = string.replace(text,what,with_) - print 'with string.replace:',t.stop(),'sec.' - t.start() - for i in range(100): -- ttext = replace(text,what,with) -+ ttext = replace(text,what,with_) - print 'with tag.replace:',t.stop(),'sec.' - if ttext != rtext: - print 'results are NOT ok !' -@@ -586,7 +586,7 @@ - mismatch(rtext,ttext) - t.start() - for i in range(100): -- ttext = _replace2(text,what,with) -+ ttext = _replace2(text,what,with_) - print 'with tag._replace2:',t.stop(),'sec.' - if ttext != rtext: - print 'results are NOT ok !' -@@ -594,7 +594,7 @@ - print rtext - t.start() - for i in range(100): -- ttext = _replace3(text,what,with) -+ ttext = _replace3(text,what,with_) - print 'with tag._replace3:',t.stop(),'sec.' - if ttext != rtext: - print 'results are NOT ok !' -@@ -602,7 +602,7 @@ - print rtext - t.start() - for i in range(100): -- ttext = _replace4(text,what,with) -+ ttext = _replace4(text,what,with_) - print 'with tag._replace4:',t.stop(),'sec.' - if ttext != rtext: - print 'results are NOT ok !' diff --git a/dev-python/simpleparse/simpleparse-2.1.0_alpha1.ebuild b/dev-python/simpleparse/simpleparse-2.1.0_alpha1.ebuild deleted file mode 100644 index 260d470da4db..000000000000 --- a/dev-python/simpleparse/simpleparse-2.1.0_alpha1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/simpleparse/simpleparse-2.1.0_alpha1.ebuild,v 1.6 2010/03/10 18:02:38 arfrever Exp $ - -inherit distutils eutils - -MY_P="SimpleParse-${PV/_alpha/a}" - -DESCRIPTION="A Parser Generator for mxTextTools." -HOMEPAGE="http://simpleparse.sourceforge.net" -SRC_URI="mirror://sourceforge/simpleparse/${MY_P}.zip" -LICENSE="as-is eGenixPublic-1.1" -SLOT="0" -KEYWORDS="alpha amd64 ia64 ~ppc sparc x86" -IUSE="doc examples" - -RDEPEND="" -DEPEND="app-arch/unzip" - -S=${WORKDIR}/${MY_P} - -# Maintainer notes: -# * not calling distutils_src_unpack by intention (otherwise the ez_setup.py gets installed) -# * this package contains a patched copy of mxTextTools (from egenix-mx-base) but that copy -# can't be replaced by the original one (tests fail badly). - -src_unpack() { - unpack ${A} - cd "${S}" - - sed -i \ - -e '/data_files/d' \ - setup.py || die "sed failed" - - rm {examples,tests}/__init__.py - - epatch "${FILESDIR}/${P}-python-2.6.patch" -} - -src_install() { - distutils_src_install - - if use doc ; then - dohtml -r doc/* - fi - if use examples ; then - insinto /usr/share/doc/${PF} - doins -r examples - fi -} - -src_test() { - PYTHONPATH="$(ls -d build/lib.*):." "$(PYTHON)" tests/test.py || die "tests failed" -} |