From 2902ba8790f5ce0cccaa6266e2c3edae85c79a72 Mon Sep 17 00:00:00 2001 From: Johannes Dewender Date: Sat, 27 Apr 2013 00:13:17 +0200 Subject: [PATCH] set version to 0.5.0 Last CHANGES additions and readme/index fixes. --- CHANGES.rst | 6 +++++- README.rst | 2 +- discid/__init__.py | 2 +- doc/index.rst | 7 ++++--- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index c630388..085b5f2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,13 +1,17 @@ Changelog ========= -Changes in 0.5.0 (2013-04-??): +Changes in 0.5.0 (2013-04-27): ------------------------------ * feature: :issue:`10` add :attr:`Disc.mcn` and :attr:`Track.isrc` * feature: add :data:`LIBDISCID_VERSION_STRING` + * feature: :issue:`28` add :attr:`Disc.seconds`, :attr:`Track.seconds` + and aliases :attr:`Disc.length` and :attr:`Track.sectors` * :issue:`22` move :func:`read` and :func:`put` to module level * :issue:`25` provide a package `discid` rather than a module + * :issue:`29` changed parameters for :func:`put` to include extra `sectors` + and add :exc:`TOCError` * rename :class:`DiscId` to :class:`Disc` * fix: :issue:`27` move track attributes to :class:`Track` * fix: :issue:`24` only have "real" tracks in the list(s) (0 not special) diff --git a/README.rst b/README.rst index 6c6bd55..13e3115 100644 --- a/README.rst +++ b/README.rst @@ -9,7 +9,7 @@ module works with Python 2 >= 2.6, or Python 3 >= 3.1. Libdiscid >= 0.2.2 is needed. Libdiscid's main purpose is the calculation of an identifier of audio -discs (disc ID) to use for the MusicBrainz database. +discs (disc ID) to use for the `MusicBrainz database `_. That identifier is calculated from the TOC of the disc, similar to the freeDB CDDB identifier. Libdiscid can calculate MusicBrainz disc IDs and diff --git a/discid/__init__.py b/discid/__init__.py index 8e17566..bb7621a 100644 --- a/discid/__init__.py +++ b/discid/__init__.py @@ -33,7 +33,7 @@ import discid.libdiscid import discid.disc -__version__ = "0.4.0-dev" +__version__ = "0.5.0" # these contants are defined here so sphinx can catch the "docstrings" diff --git a/doc/index.rst b/doc/index.rst index 800d73c..41a415e 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -7,9 +7,10 @@ python-discid |current| **python-discid** is a Python binding of :musicbrainz:`libdiscid` by MusicBrainz. -The main purpose is the calculation of and identifier for audio discs -(disc ID) to use for the MusicBrainz_ database. -Additionally the disc MCN and track ISRCs can be extracted. +The main purpose is the calculation of an identifier for audio discs +(:musicbrainz:`Disc ID`) to use for the MusicBrainz_ database. +Additionally the disc MCN and track :musicbrainz:`ISRCs ` +can be extracted. This module is released under the `GNU Lesser General Public License Version 3