Package: python-apptools / 4.4.0-3

Metadata

Package Version Patches format
python-apptools 4.4.0-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
support_python3 sphinx | (download)

docs/source/conf.py | 10 10 + 0 - 0 !
1 file changed, 10 insertions(+)

 adding support for python2-only function execfile()
removing_traitsui | (download)

apptools/__init__.py | 1 0 + 1 - 0 !
apptools/naming/trait_defs/naming_traits.py | 19 13 + 6 - 0 !
2 files changed, 13 insertions(+), 7 deletions(-)

 making traitsui dependency optional
 If users don't have traitsui, then GUI-specific functions now do nothing
 instead of crashing the application.  This really helps for running unit tests
 on build machines without any X-server which have problems when running
 traitsui functions. Failure to import traitsui is no longer fatal. traitsui
 is only Recommended until we can get it python3'd. This lets us keep ~98% of
 functionality.
lintian_spelling | (download)

docs/source/appscripting/Introduction.rst | 4 2 + 2 - 0 !
docs/source/scripting/introduction.rst | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 fixing some spelling in documentation
 Addresses lintian tag spelling-error-in-manpage
dont_delete_tmp | (download)

apptools/preferences/tests/preference_binding_test_case.py | 2 1 + 1 - 0 !
apptools/preferences/tests/preferences_test_case.py | 2 1 + 1 - 0 !
apptools/preferences/tests/py_config_file_test_case.py | 2 1 + 1 - 0 !
apptools/preferences/tests/scoped_preferences_test_case.py | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 fixes deletion of /tmp in chroot
 Self tests will fail if we build this package in an isolated chroot
 environment.
 .
 That's because os.removedirs() was used. This deletes parent directories if
 empty. In our case, we were building with root permissions (normal for
 chroot), in an isolated enviornment. The /tmp directory was empty, so when
 tests ran os.removedirs(), /tmp was also deleted. The next test that tried to
 tempfile.mkdtemp() would fail because it couldn't create a new directory in
 /tmp because /tmp didn't exist.
skip_test_file_properties | (download)

apptools/io/tests/file_test_case.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 skipping a unit test when run as root
 This unit test fails when run as root.  That makes sense because the test
 is checking whether a file will be read-only (which doesn't happen when you
 are root).  Therefore it makes sense to skip this test when running as root
man_page_section | (download)

docs/source/conf.py | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 fixing manpage section 
 The default section for the sphinx-generated
 man page is section 1. This is a library and
 so the man page belongs in section 3.