Commit graph

7 commits

Author SHA1 Message Date
wiz
6a72382a91 Update to 0.25. Allow Python 3.
Version 0.25 (December 2012)
    * Add support for $XDG_RUNTIME_DIR, Debian bug #656338.
    * Allow desktop entry files that are not encoded in UTF-8, Debian bug #693855.
    * Mime: Add support for subclasses and aliases.

Version 0.24 (October 2012)
    * Update allowed DesktopEntry categories following changes to the
      specification.
    * Fix removal of empty submenu, freedesktop bug #54747.
    * Documentation is now available on RTD: http://pyxdg.readthedocs.org/
    * A few more tests, and some code cleanup.
    * Fix failure to parse some menu files when kde-config is missing,
      freedesktop bug #56426.

Version 0.23 (July 2012)
    * Fix a test for non-UTF-8 locales.

Version 0.22 (July 2012)
    * Better unicode handling in several modules.
    * Fix for sorting non-ASCII menu entries, freedesktop bug #52492.
    * More tests.

Version 0.21 (July 2012)
    * Tests can now be run conveniently using nosetests, and cover more of the
      code.
    * BaseDirectory: New save_cache_path() function, freedesktop bug #26458.
    * Config: Default icon theme is 'hicolor', not 'highcolor'.
    * Menu: Obsolete Rule.compile() method removed.
    * DesktopEntry: Corrected spelling of checkCategories() method, freedesktop
      bug #24974.
    * DesktopEntry: Consider Actions and Keywords keys standard.
    * DesktopEntry: Accept non-ASCII Keywords.
    * DesktopEntry: Update list of environments valid for OnlyShowIn.
    * Mime: Fix get_type_by_contents() in Python 3.
    * RecentFiles: Minor bug fixes.

Version 0.20 (June 2012)
    * Compatible with Python 3; requires Python 2.6 or later
    * Clean up accidental GPL license notice in Menu.py
    * Add test scripts for xdg.Mime, xdg.Locale and xdg.RecentFiles
    * Fixes for icon theme validation
    * Fix exception in xdg.Mime
    * Replace invalid string exceptions
    * Fall back to default base directories if $XDG* environment variables are
      set but empty.
    * Remove use of deprecated os.popen3 in Menu.py
    * Correct URLs in README
2014-01-27 19:00:18 +00:00
wiz
aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
wiz
c595076396 All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
2012-04-08 20:21:41 +00:00
obache
cb8cbea67c Update py-xdg to 0.19.
Based on PR#43747 by Kamel Derouiche.

Version 0.19
    * IniFile.py: add support for trusted desktop files (thanks to karl mikaelsson)
    * DesktopEntry.py: Support spec version 1.0, Debian bug #563660
    * MimeType.py: Fix parsing of in memory data, Debian bug #563718
    * DesktopEntry.py: Fix constructor, Debian bug #551297, #562951, #562952


Version 0.18

    * DesktopEntry.py: Add getMimeTypes() method, correctly returning strings
    * DesktopEntry.py: Deprecated getMimeType() returning list of regex
    * Menu.py: Add support for XDG_MENU_PREFIX
    * Mime.py: Add get_type_by_contents()
2010-08-14 12:39:01 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
snj
ba763d362b Initial import of py-xdg.
PyXDG is a python library to access freedesktop.org standards.
The following are currently supported:

    * Base Directory Specification Version 0.6
    * Menu Specification Version 1.0-draft1
    * Desktop Entry Specification Version 0.9.4
    * Icon Theme Specification Version 0.8
    * Recent File Spec 0.2
    * Shared-MIME-Database Specification 0.13
2009-03-10 00:34:46 +00:00