Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50278 - SimpleTAL-3.9.ebuild (New Package)
Summary: SimpleTAL-3.9.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: net-zope (OBSOLETE)
URL: http://www.owlfish.com/software/simpl...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-06 12:10 UTC by Iain Smith
Modified: 2004-05-12 12:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
SimpleTAL-3.9.ebuild (SimpleTAL-3.9.ebuild,1.18 KB, text/plain)
2004-05-06 12:12 UTC, Iain Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iain Smith 2004-05-06 12:10:52 UTC
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.
Comment 1 Iain Smith 2004-05-06 12:12:13 UTC
Created attachment 30871 [details]
SimpleTAL-3.9.ebuild
Comment 2 Iain Smith 2004-05-06 12:18:16 UTC
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! :-(
Comment 3 Jodok Batlogg (RETIRED) gentoo-dev 2004-05-12 12:25:01 UTC
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>')