diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/urwid/Manifest | 42 | ||||
-rw-r--r-- | dev-python/urwid/files/digest-urwid-0.8.6 | 1 | ||||
-rw-r--r-- | dev-python/urwid/files/digest-urwid-0.8.7-r1 | 1 | ||||
-rw-r--r-- | dev-python/urwid/files/digest-urwid-0.9.2 | 3 | ||||
-rw-r--r-- | dev-python/urwid/files/urwid-0.8.7-input.diff | 248 | ||||
-rw-r--r-- | dev-python/urwid/urwid-0.8.6.ebuild | 30 | ||||
-rw-r--r-- | dev-python/urwid/urwid-0.8.7-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-python/urwid/urwid-0.9.2.ebuild | 31 |
8 files changed, 7 insertions, 385 deletions
diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest index 85f93867b4bc..6454ff0f216d 100644 --- a/dev-python/urwid/Manifest +++ b/dev-python/urwid/Manifest @@ -1,27 +1,8 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX urwid-0.8.7-input.diff 7220 RMD160 3590a976e13fe4d20509714e017a036a0aab6c28 SHA1 5ae19863df374356f12499854602bcba9c274bae SHA256 7b2357b14c9eaed729a1fdf60306839d5d4ccbc6f6919d2b9e8354ae7d9ab0be -MD5 aa77940438f11f48e2d3dcd568275c94 files/urwid-0.8.7-input.diff 7220 -RMD160 3590a976e13fe4d20509714e017a036a0aab6c28 files/urwid-0.8.7-input.diff 7220 -SHA256 7b2357b14c9eaed729a1fdf60306839d5d4ccbc6f6919d2b9e8354ae7d9ab0be files/urwid-0.8.7-input.diff 7220 -DIST urwid-0.8.6.tar.gz 61204 -DIST urwid-0.8.7.tar.gz 76918 -DIST urwid-0.9.2.tar.gz 117621 RMD160 fc63497dd64d5a9d754e78dee9837fcd5407a11d SHA256 37e4be35b7e6f88a384f170102a7923bed9c1abf93b1249e9888ed67191494d7 DIST urwid-0.9.4.tar.gz 133365 RMD160 8bcbb87d0ab6d199656a5f17e6d21daf539c8a67 SHA256 95f16ae6db5d44a8be80893706cef1cacdce25de7815bcd1707edf3379d0b0df DIST urwid-0.9.5.tar.gz 140623 RMD160 6cfc0ce7ba0fffe75bc04920ee47d38a3ec31af9 SHA1 76ca9b8d769f06541a2ab115d494414006589491 SHA256 ec624023b60ef912b22f34bb95ccc51e2dddabb4a3ba6ed51fedd6dfcb8cf6d9 -EBUILD urwid-0.8.6.ebuild 747 RMD160 0a39f8b3da8166cf17cb67481db0cbb4ece16918 SHA1 b444bb28a7490acf33263c13b2e1abc9b3c23116 SHA256 7d81951ff57cad8047e1f2877c1545005996119b624fcb42ca0d362621144c80 -MD5 f367b6d77406960c7d3d3b8151f25712 urwid-0.8.6.ebuild 747 -RMD160 0a39f8b3da8166cf17cb67481db0cbb4ece16918 urwid-0.8.6.ebuild 747 -SHA256 7d81951ff57cad8047e1f2877c1545005996119b624fcb42ca0d362621144c80 urwid-0.8.6.ebuild 747 -EBUILD urwid-0.8.7-r1.ebuild 874 RMD160 70c3da5a14cc347f157c697b2d95c83edaed6147 SHA1 fafebfaa4bce51ec29421f36a803450b10f04719 SHA256 b21663a36b4e258f919ba1aad462c2e4fe429324e1dc232e47e0a7fc854ab986 -MD5 b3ee80ae5f012ceaca63a356df521a86 urwid-0.8.7-r1.ebuild 874 -RMD160 70c3da5a14cc347f157c697b2d95c83edaed6147 urwid-0.8.7-r1.ebuild 874 -SHA256 b21663a36b4e258f919ba1aad462c2e4fe429324e1dc232e47e0a7fc854ab986 urwid-0.8.7-r1.ebuild 874 -EBUILD urwid-0.9.2.ebuild 791 RMD160 b5d748c8f1581a87ffd238878796689e9b8c3cd8 SHA1 0bc52478718432001fbe61f2869a1d6e80323cc0 SHA256 c1b0cc715ce70cc39a527ef578b32a9e7f2bae224cab903d7e58ecaf6eb6e844 -MD5 0ec4ff5407520afab5eed84dea042ee0 urwid-0.9.2.ebuild 791 -RMD160 b5d748c8f1581a87ffd238878796689e9b8c3cd8 urwid-0.9.2.ebuild 791 -SHA256 c1b0cc715ce70cc39a527ef578b32a9e7f2bae224cab903d7e58ecaf6eb6e844 urwid-0.9.2.ebuild 791 EBUILD urwid-0.9.4.ebuild 799 RMD160 83ae4fabd245ca2ce936f54d8e190775cec419ef SHA1 b048bd9aa005a53040482558dd467b30b2fb53b9 SHA256 7435780e03c658e0d359f9dceca00b62362594a748ab7bed808dcae7d730bf0c MD5 21d8a41ad641559e8a0860319c2bee6b urwid-0.9.4.ebuild 799 RMD160 83ae4fabd245ca2ce936f54d8e190775cec419ef urwid-0.9.4.ebuild 799 @@ -30,23 +11,14 @@ EBUILD urwid-0.9.5.ebuild 808 RMD160 fc5ae93f33f0183dd786b3ca357b0cc84b199a9a SH MD5 9ee48a589249feca9f6bb62da4af5af7 urwid-0.9.5.ebuild 808 RMD160 fc5ae93f33f0183dd786b3ca357b0cc84b199a9a urwid-0.9.5.ebuild 808 SHA256 92c9e417762683a83da99bee1a5934fcca1337a69d0ef896ec77e77bfc797374 urwid-0.9.5.ebuild 808 -MISC ChangeLog 1903 RMD160 4beb9cd9f2ff3751589ed525f0ca41000aec8083 SHA1 8491007a89135d42ce1032b6d880d4abdce065c4 SHA256 c4636a18c16360d3038a46bfdcecaae2147e64b963983574ed42e338bc239af0 -MD5 a0e8478e31a1305574687f0e4c358803 ChangeLog 1903 -RMD160 4beb9cd9f2ff3751589ed525f0ca41000aec8083 ChangeLog 1903 -SHA256 c4636a18c16360d3038a46bfdcecaae2147e64b963983574ed42e338bc239af0 ChangeLog 1903 +MISC ChangeLog 2083 RMD160 eff2791a6bbdd3d2a112346db5d221a0889587e6 SHA1 55a5d5571c5b100bc2da55107b37e9f6606ec7ff SHA256 11d18b573dd118f95b3a8740ec651f87a1304665966d22ab94a5da1017c09ef7 +MD5 0c89563001fc6f7843f85e7ed3810fd6 ChangeLog 2083 +RMD160 eff2791a6bbdd3d2a112346db5d221a0889587e6 ChangeLog 2083 +SHA256 11d18b573dd118f95b3a8740ec651f87a1304665966d22ab94a5da1017c09ef7 ChangeLog 2083 MISC metadata.xml 991 RMD160 6b2b7d8a3d6ddd4539a0ef3cd146652a06b4930b SHA1 1872aff74bf94f6086d32012177ea94f0720b397 SHA256 0f02e35aee7374005a2ba830c2e6db437a7a29cb458dddf30ea31336f4f6d0de MD5 dcbe56222e2a90068b09fd4b96718e43 metadata.xml 991 RMD160 6b2b7d8a3d6ddd4539a0ef3cd146652a06b4930b metadata.xml 991 SHA256 0f02e35aee7374005a2ba830c2e6db437a7a29cb458dddf30ea31336f4f6d0de metadata.xml 991 -MD5 84b7b6bba847f6a4f3c63695b607eb8a files/digest-urwid-0.8.6 62 -RMD160 4806014ca0c8baad8379b12c37dd5e4d779bb35e files/digest-urwid-0.8.6 62 -SHA256 fed88bd69eb0f6b00e5f8f4c15228c23913e543914a98ddb439fd1f41aeeb433 files/digest-urwid-0.8.6 62 -MD5 f8967397e1d9508b8cc6df9fc17a0e75 files/digest-urwid-0.8.7-r1 62 -RMD160 4c85df5c22c879521ebd869b80506264a1345b11 files/digest-urwid-0.8.7-r1 62 -SHA256 3f1ab3651351ca24a6b145012f5f7cc3d09107b5a5f1f09bb3453389d1f23d6a files/digest-urwid-0.8.7-r1 62 -MD5 3f39e05f19b260310e4160971c24f582 files/digest-urwid-0.9.2 235 -RMD160 65e6c2fb2cd8bcbc02c2b0a49b58ddb5b4e9c70d files/digest-urwid-0.9.2 235 -SHA256 e3b810d2ebf68acbc75aedb90391f4f409c0776edd677fe0476306f7b092496b files/digest-urwid-0.9.2 235 MD5 2861fb6e952ae97bbb0c2950f002f1f1 files/digest-urwid-0.9.4 235 RMD160 b1c4a62d67b8eae62f9430d21dba0c51692d50a1 files/digest-urwid-0.9.4 235 SHA256 9642ff4a9736b8b59457cfb283a50ffdc71e680fce18ddda619eb4065d9d2cbe files/digest-urwid-0.9.4 235 @@ -56,7 +28,7 @@ SHA256 ec9aaf8e455590aa792d1da515cb07c3b6d5348a62c73e711c56e394ed677389 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) -iD8DBQFEuz9I2jLqHNfbg2URAv57AJ4vRyIkHBmd7l2D4VGM5h3hHJ121QCfQ41j -6xJgAWsGJqdmAjVE81QPSQE= -=v8yZ +iD8DBQFEu0A92jLqHNfbg2URAkiWAJ9StNxMYI6rzLORDNoReVQCRAltBQCeIlyy +rrYnr9WHHPDxcEX7LcKDiI4= +=YyIW -----END PGP SIGNATURE----- diff --git a/dev-python/urwid/files/digest-urwid-0.8.6 b/dev-python/urwid/files/digest-urwid-0.8.6 deleted file mode 100644 index fb270f1925c2..000000000000 --- a/dev-python/urwid/files/digest-urwid-0.8.6 +++ /dev/null @@ -1 +0,0 @@ -MD5 18a90cc7e859195112323221b68ed1e4 urwid-0.8.6.tar.gz 61204 diff --git a/dev-python/urwid/files/digest-urwid-0.8.7-r1 b/dev-python/urwid/files/digest-urwid-0.8.7-r1 deleted file mode 100644 index 0bc1d7c9d687..000000000000 --- a/dev-python/urwid/files/digest-urwid-0.8.7-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 77ab93284f4971e2fa39ab9b3ddb8003 urwid-0.8.7.tar.gz 76918 diff --git a/dev-python/urwid/files/digest-urwid-0.9.2 b/dev-python/urwid/files/digest-urwid-0.9.2 deleted file mode 100644 index 48788b0f0a05..000000000000 --- a/dev-python/urwid/files/digest-urwid-0.9.2 +++ /dev/null @@ -1,3 +0,0 @@ -RMD160 fc63497dd64d5a9d754e78dee9837fcd5407a11d urwid-0.9.2.tar.gz 117621 -SHA256 37e4be35b7e6f88a384f170102a7923bed9c1abf93b1249e9888ed67191494d7 urwid-0.9.2.tar.gz 117621 -MD5 b0006a3916d46c7a284086aadbd9f0f5 urwid-0.9.2.tar.gz 117621 diff --git a/dev-python/urwid/files/urwid-0.8.7-input.diff b/dev-python/urwid/files/urwid-0.8.7-input.diff deleted file mode 100644 index 68a09c8618b3..000000000000 --- a/dev-python/urwid/files/urwid-0.8.7-input.diff +++ /dev/null @@ -1,248 +0,0 @@ ---- urwid/curses_display.py.0.8.7 2005-05-07 12:43:13.757255723 -0400 -+++ urwid/curses_display.py 2005-05-01 17:58:03.000000000 -0400 -@@ -79,6 +79,94 @@ - -1:None, - } - -+def escape_modifier( digit ): -+ mode = ord(digit) - ord("1") -+ return "shift "*(mode&1) + "meta "*((mode&2)/2) + "ctrl "*((mode&4)/4) -+ -+ -+_escape_sequences = [ -+ ('[A','up'),('[B','down'),('[C','right'),('[D','left'), -+ ('[E','5'),('[F','end'),('[H','home'), -+ -+ ('[1~','home'),('[2~','insert'),('[3~','delete'),('[4~','end'), -+ ('[5~','page up'),('[6~','page down'), -+ -+ ('[[A','f1'),('[[B','f2'),('[[C','f3'),('[[D','f4'),('[[E','f5'), -+ -+ ('[11~','f1'),('[12~','f2'),('[13~','f3'),('[14~','f4'), -+ ('[15~','f5'),('[17~','f6'),('[18~','f7'),('[19~','f8'), -+ ('[20~','f9'),('[21~','f10'),('[23~','f11'),('[24~','f12'), -+ ('[25~','f13'), -+ -+ ('OA','up'),('OB','down'),('OC','right'),('OD','left'), -+ ('OH','home'),('OF','end'), -+ ('OP','f1'),('OQ','f2'),('OR','f3'),('OS','f4'), -+ ('Oo','/'),('Oj','*'),('Om','-'),('Ok','+'), -+ -+] + [ -+ # modified cursor keys -- [#X form -+ ("["+digit+letter, escape_modifier(digit) + key) -+ for digit in "12345678" -+ for letter,key in zip("ABCD",('up','down','right','left')) -+] + [ -+ # modified cursor keys + home, end, 5 -- [1;#X form -+ ("[1;"+digit+letter, escape_modifier(digit) + key) -+ for digit in "12345678" -+ for letter,key in zip("ABCDEFH", -+ ('up','down','right','left','5','end','home')) -+] + [ -+ # modified F1-F4 keys -- O#X form -+ ("O"+digit+letter, escape_modifier(digit) + key) -+ for digit in "12345678" -+ for letter,key in zip("PQRS",('f1','f2','f3','f4')) -+] + [ -+ # modified F1-F13 keys -- [XX;#~ form -+ ("["+str(num)+";"+digit+"~", escape_modifier(digit) + key) -+ for digit in "12345678" -+ for num,key in zip((11,12,13,14,15,17,18,19,20,21,23,24,25), -+ ('f1','f2','f3','f4','f5','f6','f7','f8','f9', -+ 'f10','f11','f12','f13')) -+] -+ -+class _KeyqueueTrie: -+ def __init__( self, sequences ): -+ self.data = {} -+ for s, result in sequences: -+ assert type(result) != type({}) -+ self.add(self.data, s, result) -+ -+ def add(self, root, s, result): -+ assert type(root) == type({}), "trie conflict detected" -+ assert len(s) > 0, "trie conflict detected" -+ -+ if root.has_key(ord(s[0])): -+ return self.add(root[ord(s[0])], s[1:], result) -+ if len(s)>1: -+ d = {} -+ root[ord(s[0])] = d -+ return self.add(d, s[1:], result) -+ root[ord(s)] = result -+ -+ def get(self, keys, more_fn): -+ return self.get_recurse(self.data, keys, more_fn) -+ -+ def get_recurse(self, root, keys, more_fn): -+ if type(root) != type({}): -+ return (root, keys) -+ if not keys: -+ # get more keys -+ key = more_fn() -+ if key < 0: -+ return None -+ keys.append(key) -+ if not root.has_key(keys[0]): -+ return None -+ return self.get_recurse( root[keys[0]], keys[1:], more_fn ) -+ -+ -+_escape_trie = _KeyqueueTrie(_escape_sequences) -+ -+ - # replace control characters with ?'s - _trans_table = "?"*32+"".join([chr(x) for x in range(32,256)]) - -@@ -179,7 +267,7 @@ - curses.noecho() - curses.meta(1) - curses.halfdelay(10) # don't wait longer than 1s for keypress -- self.s.keypad(1) -+ self.s.keypad(0) - self.s.scrollok(1) - return fn() - finally: -@@ -254,6 +342,11 @@ - self.s.nodelay(0) - return self.s.getch() - -+ def _getch_tinydelay(self): -+ curses.halfdelay(1) # don't wait longer than 0.1s for keypress -+ self.s.nodelay(0) -+ return self.s.getch() -+ - def _getch_nodelay(self): - self.s.nodelay(1) - while 1: -@@ -345,8 +438,15 @@ - key = self._getch_nodelay() - - processed = [] -+ -+ def more_fn(raw=raw): -+ key = self._getch_tinydelay() -+ if key >= 0: -+ raw.append(key) -+ return key -+ - while keys: -- run, keys = self._process_keyqueue(keys) -+ run, keys = self._process_keyqueue(keys, more_fn) - processed += run - - if resize: -@@ -354,8 +454,7 @@ - - return processed, raw - -- def _process_keyqueue(self, keys): -- # help.. becoming unmaintainable.. -+ def _process_keyqueue(self, keys, more_fn): - code = keys.pop(0) - if code >= 32 and code <= 126: - key = chr(code) -@@ -364,87 +463,28 @@ - return [_keyconv[code]],keys - if code >0 and code <27: - return ["ctrl %s" % chr(ord('a')+code-1)],keys -- if code >=0xA1 and util.double_byte_encoding and keys: -- if keys[0] >=0xA1: -- return [chr(code)+chr(keys.pop(0))],keys -+ if code < 256 and util.within_double_byte(chr(code),0,0): -+ if not keys: -+ key = more_fn() -+ if key >= 0: keys.append(key) -+ if keys and key[0] < 256: -+ db = chr(code)+chr(keys[0]) -+ if util.within_double_byte( db, 0, 1 ): -+ keys.pop(0) -+ return [db],keys - if code >127 and code <256: - key = chr(code) - return [key],keys - if code != 27: - return ["<%d>"%code],keys - -- if not keys: return ['esc'],keys -- c2 = keys.pop(0) -- -- if c2 == ord('['): -- if not keys: return ['esc','['],keys -- c3 = keys.pop(0) -- if chr(c3) not in "12456[" or not keys: -- return ['esc','['],[c3]+keys -- c4 = keys.pop(0) -- if c3 == ord("["): -- if c4 == ord('A'): return ["f1"],keys -- if c4 == ord('B'): return ["f2"],keys -- if c4 == ord('C'): return ["f3"],keys -- if c4 == ord('D'): return ["f4"],keys -- if c4 == ord('E'): return ["f5"],keys -- return ['esc','['],[c3,c4]+keys -- -- if c4 == ord("~"): -- if c3 == ord('1'): return ["home"],keys -- if c3 == ord('4'): return ["end"],keys -- if c3 == ord('5'): return ["page up"],keys -- if c3 == ord('6'): return ["page down"],keys -- return ['esc','['],[c3,c4]+keys -- -- if chr(c4) not in "0123456789" or not keys: -- return ['esc','['],[c3,c4]+keys -- c5 = keys.pop(0) -- -- if c5 != ord("~"): -- return ['esc','['],[c3,c4,c5]+keys -- num = chr(c3)+chr(c4) -- numd = {"11":"f1", "12":"f2", "13":"f3", "14":"f4", -- "15":"f5", "17":"f6", "18":"f7", "19":"f8", -- "20":"f9", "21":"f10", "23":"f11", "24":"f12", -- "25":"f13"} -- if numd.has_key(num): -- return [numd[num]],keys -- else: -- return ['esc','['],[c3,c4,c5]+keys -+ result = _escape_trie.get( keys, more_fn ) -+ -+ if result is None: -+ return ['esc'],keys - -- if c2 != ord('O'): -- if c2 >32 and c2 <127: -- key = "meta "+chr(c2) -- return [key],keys -- return ['esc'],[c2]+keys -- -- c3 = keys.pop(0) -- if c3 == ord('H'): return ["home"],keys -- if c3 == ord('F'): return ["end"],keys -- if c3 == ord('o'): return ["/"],keys -- if c3 == ord('j'): return ["*"],keys -- if c3 == ord('m'): return ["-"],keys -- if c3 == ord('k'): return ["+"],keys -- if c3 == ord('A'): return ["up"],keys -- if c3 == ord('B'): return ["down"],keys -- if c3 == ord('C'): return ["right"],keys -- if c3 == ord('D'): return ["left"],keys -- -- if chr(c3) not in "2345678" or not keys: -- return ['esc'],[c2,c3]+keys -- i = c3 - ord("1") -- mod = "" -- if i & 1: mod += "shift " -- if i & 2: mod += "meta " -- if i & 4: mod += "ctrl " -- -- c4 = keys.pop(0) -- if c4 == ord('A'): return [mod+"up"],keys -- if c4 == ord('B'): return [mod+"down"],keys -- if c4 == ord('C'): return [mod+"right"],keys -- if c4 == ord('D'): return [mod+"left"],keys -- else: return ['esc'],[c2,c3,c4]+keys -+ result, keys = result -+ return [result],keys - - - def _dbg_instr(self): # messy input string (intended for debugging) diff --git a/dev-python/urwid/urwid-0.8.6.ebuild b/dev-python/urwid/urwid-0.8.6.ebuild deleted file mode 100644 index 8049c17c6703..000000000000 --- a/dev-python/urwid/urwid-0.8.6.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-0.8.6.ebuild,v 1.4 2005/02/27 10:31:50 lucass Exp $ - -inherit distutils - -DESCRIPTION="Urwid is a curses-based user interface library for Python." -HOMEPAGE="http://excess.org/urwid/" -SRC_URI="http://excess.org/urwid/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~ppc" - -IUSE="examples" -DEPEND="virtual/python" - -src_test() { - ${python} test_urwid.py || die "unit tests failed" -} - -src_install() { - distutils_src_install - - dohtml tutorial.html reference.html - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins browse.py edit.py calc.py fib.py tour.py - fi -} diff --git a/dev-python/urwid/urwid-0.8.7-r1.ebuild b/dev-python/urwid/urwid-0.8.7-r1.ebuild deleted file mode 100644 index 248b3595ab66..000000000000 --- a/dev-python/urwid/urwid-0.8.7-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-0.8.7-r1.ebuild,v 1.2 2005/11/28 11:45:53 marienz Exp $ - -inherit distutils eutils - -DESCRIPTION="Urwid is a curses-based user interface library for Python." -HOMEPAGE="http://excess.org/urwid/" -SRC_URI="http://excess.org/urwid/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~ppc" - -IUSE="examples" -DEPEND="virtual/python" - -src_unpack() { - unpack ${A} - cd ${S} || die "Failed to cd to ${S}" - epatch ${FILESDIR}/${P}-input.diff -} - -src_test() { - ${python} test_urwid.py || die "unit tests failed" -} - -src_install() { - distutils_src_install - - dohtml tutorial.html reference.html - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins browse.py dialog.py edit.py calc.py fib.py tour.py - fi -} diff --git a/dev-python/urwid/urwid-0.9.2.ebuild b/dev-python/urwid/urwid-0.9.2.ebuild deleted file mode 100644 index 6b69d8c07e01..000000000000 --- a/dev-python/urwid/urwid-0.9.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-0.9.2.ebuild,v 1.3 2006/04/30 16:22:17 bazik Exp $ - -inherit distutils - -DESCRIPTION="Urwid is a curses-based user interface library for Python." -HOMEPAGE="http://excess.org/urwid/" -SRC_URI="http://excess.org/urwid/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~ia64 ~ppc ~sparc ~x86" - -IUSE="examples" -DEPEND="virtual/python" - -src_test() { - ${python} test_urwid.py || die "unit tests failed" -} - -src_install() { - distutils_src_install - - dohtml tutorial.html reference.html - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins browse.py dialog.py edit.py - doins calc.py fib.py tour.py input_test.py - fi -} |