Find attached SimpleTAL-3.9.ebuild SimpleTAL is a stand alone Python implementation of the TAL, TALES and METAL specifications used in Zope to power HTML and XML templates. SimpleTAL is an independent implementation of TAL; there are no dependencies on Zope nor is any of the Zope work re-used.
Created attachment 30871 [details] SimpleTAL-3.9.ebuild
Comment on attachment 30871 [details] SimpleTAL-3.9.ebuild >KEYWORDS="x86 ~ppc sparc ~alpha" Sorry, KEYWORDS should read "~x86 ~ppc ~sparc ~alpha". I took the file directly from my local PORTDIR_OVERLAY, and forgot to change it! :-(
thanks for your contribution, but it looks like the ebuild doesn't work: - first i corrected the download location (SimpleTAL with capital letters) - additionally the S directory required SimpleTAL now still two tests fail... is this normal? however the installer doesn't run the tests anymore. ====================================================================== FAIL: testDTDPassthru (tests/TALTests/XMLTests/TALHandlerTestCases.TALHandlerTestCases) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/simpletal-3.9/work/SimpleTAL-3.9/tests/TALTests/XMLTests/TALHandlerTestCases.py", line 228, in testDTDPassthru """<?xml version="1.0" encoding="iso-8859-1"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n<html><head><title>Hi</title></head><body></body></html>""") File "/var/tmp/portage/simpletal-3.9/work/SimpleTAL-3.9/tests/TALTests/XMLTests/TALHandlerTestCases.py", line 150, in _runTest_ self.failUnless (expectedChecksum == realChecksum, "%s - \npassed in: %s \ngot back %s \nexpected %s\n\nTemplate: %s" % (errMsg, txt, realResult, result, template)) File "/usr/lib/python2.3/unittest.py", line 278, in failUnless if not expr: raise self.failureException, msg AssertionError: Error - passed in: <?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html><head><title>Hi</title></head><body></body></html> got back <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" "-//W3C//DTD XHTML 1.1//EN"> <html><head><title>Hi</title></head><body></body></html> expected <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html><head><title>Hi</title></head><body></body></html> Template: Commands: [0] (9, u'<html><head><title>Hi</title></head><body></body></html>') Symbols: Macros: ====================================================================== FAIL: testSampleXHTML11Doc (tests/TALTests/XMLTests/TALHandlerTestCases.TALHandlerTestCases) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/simpletal-3.9/work/SimpleTAL-3.9/tests/TALTests/XMLTests/TALHandlerTestCases.py", line 261, in testSampleXHTML11Doc """) File "/var/tmp/portage/simpletal-3.9/work/SimpleTAL-3.9/tests/TALTests/XMLTests/TALHandlerTestCases.py", line 150, in _runTest_ self.failUnless (expectedChecksum == realChecksum, "%s - \npassed in: %s \ngot back %s \nexpected %s\n\nTemplate: %s" % (errMsg, txt, realResult, result, template)) File "/usr/lib/python2.3/unittest.py", line 278, in failUnless if not expr: raise self.failureException, msg AssertionError: Error - passed in: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > <head> <title>Virtual Library</title> </head> <body> <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p> </body> </html> got back <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" "-//W3C//DTD XHTML 1.1//EN"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Virtual Library</title> </head> <body> <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p> </body> </html> expected <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > <head> <title>Virtual Library</title> </head> <body> <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p> </body> </html> Template: Commands: [0] (9, u'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\n <head>\n <title>Virtual Library</title>\n </head>\n <body>\n <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>\n </body>\n</html>')