| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2012-12-22 | update 'svn' versions to 'git', not man pages with already set versions. | Brian Dolbec | |
| 2012-12-22 | Add a blank line between pkgs in a query, bug 448190 | Brian Dolbec | |
| 2012-12-20 | equery: make more ROOT aware | Mike Frysinger | |
| This at least fixes: belongs check depends files list size URL: https://bugs.gentoo.org/160815 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Paul Varner <fuzzyray@gentoo.org> | |||
| 2012-12-19 | drop trailing whitespace | Mike Frysinger | |
| Should be no functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
| 2012-11-11 | eclean/test_clean: remove unused test_test_support import | W. Trevor King | |
| 2012-11-11 | test_cpv: fix test_main and mark so nosetests will ignore it | W. Trevor King | |
| 2012-11-11 | equery/test_init: fix test_main and mark so nosetests will ignore it | W. Trevor King | |
| 2012-11-11 | test_atom: fix test_main and mark so nosetests will ignore it | W. Trevor King | |
| 2012-11-11 | eclean/test_search: fix test_main and mark so nosetests will ignore it | W. Trevor King | |
| 2012-11-11 | test_helpers: fix test_main and mark so nosetests will ignore it | W. Trevor King | |
| 2012-11-11 | test_keyword: fix test_main and mark so nosetests will ignore it | W. Trevor King | |
| 2012-11-11 | test_query: fix test_main and mark so nosetests will ignore it | W. Trevor King | |
| 2012-11-11 | test_syntax: fix test_main and mark so nosetests will ignore it | W. Trevor King | |
| * fix TestGentoolkitHelpers2 -> TestForSyntaxErrors * use unittest.TestLoader and TextTestRunner instead of test.test_support From the Python documentation [1]: The test package is meant for internal use by Python only. It is documented for the benefit of the core developers of Python. Any use of this package outside of Python's standard library is discouraged as code mentioned here can change or be removed without notice between releases of Python. [1]: http://docs.python.org/2/library/test.html | |||
| 2012-11-11 | cpv: define package_list in compare_strs doctest | W. Trevor King | |
| This is not much of a doctest, since we aren't using compare_strs() anywhere, but at least it doesn't error out. Note that comparisons have been reworked in Python 3 where cmp() has been removed. | |||
| 2012-11-11 | cpv: remove shebang from module without __name__ == '__main__' block | W. Trevor King | |
| 2012-11-11 | dependencies: avoid Package-is-not-iterable in graph_reverse_depends doctest | W. Trevor King | |
| Dependency is a subclass of Query, so we need to initialize it with a CPV string, not a Package instance. The old doctest was raising: File ".../pym/gentoolkit/dependencies.py", line 202, in gentoolkit.dependencies.Dependencies.graph_reverse_depends Failed example: deptree = ffmpeg.graph_reverse_depends( only_direct=False, # Include indirect revdeps pkgset=installed) # from installed pkgset Exception raised: Traceback (most recent call last): File "/usr/lib/python3.2/doctest.py", line 1288, in __run compileflags, 1), test.globs) File "<doctest gentoolkit.dependencies.Dependencies.graph_reverse_depends[5]>", line 3, in <module> pkgset=installed) # from installed pkgset File ".../pym/gentoolkit/dependencies.py", line 237, in graph_reverse_depends pkgset = tuple(Dependencies(x) for x in pkgset) File ".../pym/gentoolkit/dependencies.py", line 237, in <genexpr> pkgset = tuple(Dependencies(x) for x in pkgset) File ".../pym/gentoolkit/dependencies.py", line 45, in __init__ Query.__init__(self, query) File "/home/wking/src/gentoolkit/pym/gentoolkit/query.py", line 51, in __init__ if not set(query).intersection(needed_chars): TypeError: 'Package' object is not iterable Also use ffmpeg-9999 (for better future-proofing) and update the length of the resulting deptree. | |||
| 2012-11-11 | dependencies: update Dependencies doctest to use portage-9999 | W. Trevor King | |
| 2012-11-11 | helpers: update entry counts and version range in ChangeLog doctest | W. Trevor King | |
| 2012-11-11 | helpers: update package counts in get_cpvs doctest | W. Trevor King | |
| 2012-11-11 | helpers: convert get_cpvs output to a set before calculating len() | W. Trevor King | |
| This avoids "TypeError: object of type 'generator' has no len()". | |||
| 2012-11-11 | helpers: use print() in ChangeLog doctest for Python 3 compatibility | W. Trevor King | |
| Also update the expected portage.latest. | |||
| 2012-11-11 | keyword: define keyword_list in compare_strs doctest | W. Trevor King | |
| This is not much of a doctest, since we aren't using compare_strs() anywhere, but at least it doesn't error out. Note that comparisons have been reworked in Python 3 where cmp() has been removed. | |||
| 2012-11-11 | keyword: use Python 2/3-agnostic set notation in reduce_keywords doctest | W. Trevor King | |
| Python 2.7 prints sets as "set([1, 2])", but Python 3.2 prints them as "{1, 2}". Avoid having to chose by showing that the result of reduce_keywords() is a set, and then printing the elements in a list. | |||
| 2012-11-11 | keyword: remove shebang from module without __name__ == '__main__' block | W. Trevor King | |
| 2012-11-11 | metadata: fix 'maintainer' -> 'maintainers' in module doctest | W. Trevor King | |
| 2012-11-11 | metadata: add new _Upstream attributes in module doctest | W. Trevor King | |
| 2012-11-11 | metadata: update gnome-print USE description | W. Trevor King | |
| 2012-11-11 | metadata: gourmet package no longer part of a herd | W. Trevor King | |
| 2012-11-11 | metadata: use print() in PackageFormatter doctest for Python 3 compatibility | W. Trevor King | |
| 2012-11-11 | metadata: remove shebang from module without __name__ == '__main__' block | W. Trevor King | |
| 2012-11-11 | package: use portage-9999 in Package.environment doctest | W. Trevor King | |
| 2012-11-11 | package: use portage-9999 (and define pkg) in Package.ebuild_path doctest | W. Trevor King | |
| 2012-11-11 | package: use portage-9999 in module doctest | W. Trevor King | |
| It is more likely to stay current (and be masked and uninstalled) than a particular Portage release. | |||
| 2012-11-11 | package: update PackageFormatter doctest to use Query | W. Trevor King | |
| helpers.find_packages has been replaced by the query.Query class. Also temporarily turn off Portage colorization during the doctest, otherwise the CPV value is printed in green. | |||
| 2012-11-11 | package: use print() in PackageFormatter doctest for Python 3 compatibility | W. Trevor King | |
| 2012-11-11 | package: change "f" -> "path" to avoid pylint C0103 (Invalid name "f") | W. Trevor King | |
| 2012-11-11 | package: change "e" -> "error" to avoid pylint C0103 (Invalid name "e") | W. Trevor King | |
| 2012-11-11 | package: remove shebang from module without __name__ == '__main__' block | W. Trevor King | |
| 2012-11-11 | package: wrap long lines to avoid pylint C0301 | W. Trevor King | |
| 2012-11-11 | helpers: remove unused "sys" import | W. Trevor King | |
| Pointed out by pylint: W0611: 29: Unused import sys | |||
| 2012-11-11 | helpers: change "p" -> "path" to avoid pylint C0103 (Invalid name "p") | W. Trevor King | |
| 2012-11-11 | helpers: wrap long lines to avoid pylint C0301 | W. Trevor King | |
| 2012-11-11 | helpers: use grep instead of vim in FileOwner doctest | W. Trevor King | |
| grep is in the base profile so the tester is more likely to have it installed. The version may be off, but a test result with a different grep version is still obviously working. An empty result from an uninstalled file is not so comforting. | |||
| 2012-11-09 | Fix bug 381581 - revdep-rebuild unicode error | Paul Varner | |
| Changed the function to use gentoolkit functions instead of reading the vardb directly. | |||
| 2012-10-31 | eclean: Fix pkg sorting to work with Python3 | Paul Varner | |
| 2012-10-31 | eclean: sort pkg list shown to user | Mike Frysinger | |
| This makes it much easier to scan through and pick out packages. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
| 2012-10-21 | man page updates thanks to Francesco Turco. Update analyze and rebuild ↵ | Brian Dolbec | |
| modules to use a new not_implemented() in the ModuleBase class. | |||
| 2012-10-09 | Modify _pkg_re to work with EAPI 4-python which is in use by Funtoo. | Paul Varner | |
| Testing on a Gentoo system showed no adverse affects with the change. | |||
| 2012-10-06 | py 3.3 fix for bug 436934. Change the level parameter for the __import__() ↵ | Brian Dolbec | |
| call. | |||
| 2012-10-02 | Minor fix in rebuild (parsing options) | Slawek | |
