Commit graph

30 commits

Author SHA1 Message Date
wiz
67e1f1a6bf python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
2022-01-05 15:40:56 +00:00
wiz
8a9cb53cf6 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:52:30 +00:00
wiz
c3937aad3c py-mutagen: add missing test dependency 2021-12-16 12:49:34 +00:00
wiz
7aa7aa7ae2 py-mutagen: mark as not for python 2.7
Also adapt the dependencies to not support python 2.7.
2021-12-16 12:44:53 +00:00
bsiegert
7de408b874 Update py-mutagen to 1.45.1, needed for PR pkg/56378.
1.45.1 - 2020-07-31

Fix flake8 tests when run after calling setup.py build
No longer use mmap when rewriting files. Fixes slow save performance with
Windows network shares, ZFS and more

1.45.0 - 2020-07-11

WAVE support with ID3 tags
DSDIFF support with ID3 tags
MP4: Add support for nero chapters
wavpack: add support for wavpack DSD
wavpack: add bits_per_sample
MP4: handle DecoderSpecificInfo with wrong instance size
docs: various fixes
tests: depend on flake8 now (instead of pycodestyle and pyflakes)
docs: fix warnings with sphinx v3

Fuzzing related:
Fuzzing integration with python-afl
Fix various unhandled error cases in ogg, asf, oggvorbis, id3
aac: Fix ZeroDivisionError in case frequency is unknown
musepack: handle truncated stream header
musepack: handle invalid sample rate index
musepack: handle duplicate RG/SH packets
oggtheora: handle truncated header packet
oggtheora: fail if FRN in the header packet is zero
oggtheora: handle empty pages in more cases
ogg: handle empty pages in to_packets()
aiff: handle overflow in read_float()
2021-11-20 20:07:09 +00:00
wiz
e1cab12eeb *: use py-hypothesis via versioned_dependencies.mk 2020-10-06 10:51:21 +00:00
adam
154786aa7f py-mutagen: updated to 1.43.1
1.43.1

Add pickle support for enum types
docs: fix various warnings with sphinx v3


1.43.0

Note: 1.43.x might be the last version supporting Python 2
Python 3.4 is no longer supported
Building requires ‘setuptools’ now, CLI tools depend on ‘pkg_resources’
CLI tools are setuptools entry points now
Fix collections ABCs deprecation warning
Minor typo fixes
MP3: increase max initial wrong syncs from 1000 to 1500
FLAC: support files with multiple VORBIS_COMMENT blocks like libflac
ID3: Improved TYER/TDAT/TIME upgrade to TDRC
MP4: Add support for iTunes HD Video tag (hdvd)
Add AC3 file type
AIFF: renamed sample_size to bits_per_sample (sample_size still works)
API doc fixes
Add support for Tom’s lossless Audio Kompressor (TAK)
OptimFROG: support encoder version >= 5.100
AIFF: Fix handling of padding bytes, safe chunk manipulation
Fix typos
2020-08-05 16:33:52 +00:00
adam
def14da987 fix pytest versioned dep. 2020-05-16 09:03:22 +00:00
adam
422e4dea2b py-mutagen: pytest from versioned depends 2020-05-16 08:50:22 +00:00
wen
0d148620fd Update to 1.40.0
Upstream changes:
1.40.0 - 2018-01-25
-------------------

* APEv2: Ensures tags are saved in a deterministic way :pr:`329`
  (:user:`cushy007`)
* Restore WinXP support for the CLI tools 🐛`332`
* easymp4: Fix EasyMP4.add_tags() when no tags exist 🐛`334`
* id3: Fix PyCharm not being able to resolve id3 frame class references
  🐛`336`
* Support pathlib.Path objects for paths (PEP 519) 🐛`337` :pr:`338`
  (:user:`Andrew Rabert <nvllsvm>`)
* Use semver for versioning
2018-01-27 08:15:05 +00:00
adam
a7a14c06d5 py-mutagen: updated to 1.39
1.39:
* Tests:
  * Require `hypothesis <https://hypothesis.readthedocs.io>`__
  * Run pycodestyle/pyflakes tests by default. Skip with ``--no-quality`` or
    ``-m no quality`` when using pytest directly.
* Python 3.3 is no longer supported
* MP3: Improved bitrate accuracy for files with XING header
* ASF: Fix case where some tags resulted in broken ASFUnicodeAttribute
  instances
* Add support for filesystems which don't support opening files read/write
  (gvfs over fuse for example)
* mid3v2: Add support for USLT
* Minor improvements
2017-11-07 12:54:06 +00:00
adam
a656789303 Changes 1.38:
* Note: New release tarballs are now hosted on github:
  https://github.com/quodlibet/mutagen/releases
* ID3:
  * Add iTunes grouping frame `id3.GRP1`
  * Fix exposing text frames where the text can't be encoded with the
    reported encoding due to merging of frames
* OGG: Fix wrong StreamInfo.length (small negative value) for all
  ogg based formats in rare cases.
2017-06-20 12:38:42 +00:00
leot
c91ae7fc8d Update audio/{py-mutagen,mutagen-tools} to 1.37.
pkgsrc changes:
 - Update MASTER_SITES to MASTER_SITE_PYPI
 - Update HOMEPAGE
 - Clarify - a bit - comments regarding patches/patch-aa, they're needed to omit
   respectively {script,module} installations due the mutagen-tools separation

Changes (changelog regarding 1.27...1.31 was adjusted to only reflect changes
pertinent to mutagen-tools that was not previosly synced with py-mutagen):
1.37 - 2017.02.24
-----------------

* Relicense "GPLv2" → "GPLv2 or later" 🐛`291`
* DSF: add `mutagen.dsf` module for DSF (DSD Stream File) support
  :pr:`283` (Boris Pruessmann)
* MP3: Add `mp3.MPEGInfo.encoder_settings` containing a guess of the encoder
  settings used, for example ``"-V2"`` for LAME 🐛`66`
* ID3: add iTunes movement related frames `id3.MVIN` and `id3.MVNM`
* MP4: support ``©mvi``, ``©mvc``, ``shwm``, ``stik``, ``rtng``, ``tves``,
  ``tvsn``, ``plID``, ``cnID``, ``geID``, ``atID``, ``sfID``, ``cmID``,
  ``akID`` 🐛`130`


1.36.3 - 2017.02.24
-------------------

* MP3: fix error with xing frames without a frame count 🐛`292`


1.36.2 - 2017.01.25
-------------------

* ID3: Always write little endian utf-16 with BOM.
  Fixes tests on big endian machines :pr:`289`


1.36.1 - 2017.01.22
-------------------

* Support GAE runtime 🐛`286`
* FLAC: Fix crash when loading files with zero samples 🐛`287`
* MP3: Handle broken lame tags written by older lame versions


1.36 - 2016.12.22
-----------------

* ID3: Ignore trailing empty values for v2.3 text frames 🐛`276`
* ID3: Write large APIC frames last 🐛`278`
* EasyID3: support saving as v2.3 🐛`188`
* FLAC: Add StreamInfo.bitrate 🐛`279`
* mid3cp: Add ``--merge`` option 🐛`277`
* MP4: Allow loading files without audio tracks 🐛`272`


1.35.1 - 2016.11.09
-------------------

* Revert back to distutils 🐛`273`


1.35 - 2016.11.02
-----------------

* Tests: Require pytest
* Tools: Install .exe launchers on Windows
* setup.py: Require setuptools
* ID3:

  * Fix loading files with CRM frames 🐛`239`
  * Fix loading AENC, LINK, GRID frames with no payload
  * Merge duplicate text frames with same key on load 🐛`172`
  * Allow parsing of duplicate APIC frames 🐛`172`
  * Parse utf-16 text fields with missing BOM 🐛`267`
  * Increase max resyncs for the mpeg frame search 🐛`268`


1.34.1 - 2016.08.13
-------------------

* ID3: Expose some internals again to make Picard (mostly) work again.

  * http://tickets.musicbrainz.org/browse/PICARD-833
  * https://github.com/metabrainz/picard/pull/479


1.34 - 2016.07.20
-----------------

* ID3:

  * Add `CTOC <id3.CTOC>` and `CHAP <id3.CHAP>` frames. New classes:
    `ID3Tags <id3.ID3Tags>`, `CTOCFlags <id3.CTOCFlags>`. 🐛`6`
  * Add `TCAT <id3.TCAT>`, `TKWD <id3.TKWD>`, `PCST <id3.PCST>` frames.
    🐛`249`
  * Validate user provided LNK/LINK frameid. 🐛`242`
  * Add `RVAD <id3.RVAD>`, RVA frames
  * Add TST, TSA, TS2, TSP and TSC frames
  * Fix not writing optional fields when saving to v2.3
  * Add default field values for all frames

* Drop Python 2.6 support
* EasyID3: Fix TXXX frame encoding when setting a non-latin1 encodable
  value after a latin1 one. 🐛`263`


1.33.2 - 2016.07.05
-------------------

* Fix loading of small ogg/apev2 files (1.33 regression)


1.33.1 - 2016.06.29
-------------------

* Fix Overeager deprecation warnings 🐛`261`


1.33 - 2016.06.29
-----------------

* FileType, Metadata: File-like object support 🐛`1`
* mid3v2: Add APIC support. 🐛`47`
* EasyID3: Fix handling of RVA2 frames with non-lowercase description
  🐛`215`
* mid3v2: Add UFID support. 🐛`234`
* ID3: Include human-readable representation of the picture type in
  APIC._pprint() 🐛`244`
* EasyID3: make albumartist use TPE2 and move performer to TXXX. 🐛`252`
* ID3: id3.ID3TimeStamp comparator: check type :pr:`260`
  (Fabian Peter Hammerle)
* setup.py: follow PEP440 for the development version
* FileType/Metadata.load/save/delete no longer raise IOError or IOError
  subclasses. They only raise subclasses of MutagenError.


1.32 - 2016.05.02
-----------------

* Add basic SMF (Standard MIDI File) support (:mod:`mutagen.smf`)
* FLAC: add ``audio/flac`` mime type. 🐛`235`
* ASF: Fixed crash when object size is longer than the header and file length
  (Ben Ockmore)
* ID3: Validate attributes set after frame creation :bb-pr:`8`
  (Daniel Plachotich)
* MP4: validate values in ``__setitem__`` so things don't fail in save()
  🐛`236`
* tests: Fix SynchronizedTextSpec test on big-endian machines 🐛`247`
  (Daniel Plachotich)
* ID3: do type checking in ``__setitem__`` 🐛`251`
* Building the documentation now requires sphinx >= 1.3
* New :class:`mutagen.Tags` base class for tags
* Moved from Bitbucket to GitHub

1.31 - 2015.09.10
-----------------

* Tools: Support Unicode output under Windows 🐛`232`

1.30 - 2015.08.22
-----------------

* No change relevant for tools

1.29 - 2015.05.09
-----------------

* mid3v2: Fix an error under Python 3 with files without tags 🐛`219`
* mid3v2: Various Windows+Python2+Unicode fixes 🐛`214`

1.28 - 2015.03.06
-----------------

* Tools:

  * Add signal handling 🐛`170`
  * mid3cp: Make it work under Windows.
  * mutagen-inspect: Make it work under Windows+Python3 🐛`216`
  * Support unicode file paths under Windows+Python2 🐛`214`
  * Support file paths with invalid encoding under Unix+Python3.
2017-05-09 13:14:32 +00:00
wiz
3e7d3151fc Update to 1.31:
1.31 - 2015.09.10
-----------------

* New padding control API for flac/id3/mp4/asf/ogg/aiff and everything
  based on it, except oggflac 🐛`229`
* Mutagen will now reduce padding on save if there is lots of it.
* delete() will remove padding in addition to tags.

* ASF:

  * Padding support 🐛`201`
  * Don't report negative lengths for some broken files
  * New :class:`asf.ASFInfo`.codec_type/codec_name/codec_description
  * Implement ASF.delete()

* OGG: Padding support for Opus/Vorbis/Theora/Speex
* M4A: Implementation removed. Every operation will raise. Use mp4 instead.
* Tools: Support Unicode output under Windows 🐛`232`


1.30 - 2015.08.22
-----------------

* FLAC:

  * Fix :meth:`flac.FLAC.save` in case the source contained a too large
    (invalid but recovered) image block 🐛`226`

* MP3:

  * Improved length and bitrate accuracy:

    * Read lame "Info" tags for improved bitrate/length accuracy
    * Use bytes info of VBRI headers for improved bitrate accuracy
    * Subtract encoder delay/padding from length for improved length accuracy
      (especially for short tracks)
    * Fix rare false identification of Xing headers 🐛`182`

  * New :class:`mp3.MPEGInfo`.encoder_info attribute containing the encoder
    name and version 🐛`66`
  * New :class:`mp3.MPEGInfo`.bitrate_mode attribute exposing if the file is
    VBR, ABR or CBR 🐛`24` 🐛`66`
  * New :class:`mp3.MPEGInfo`.channels attribute providing the channel count
  * New :class:`mp3.MPEGInfo`.track_gain/track_peak/album_gain values exposing
    the replaygain info provided by the lame header 🐛`36`

* ID3:

  * New :class:`id3.PictureType` enum for the picture type used in APIC frames 🐛`222`

* MP4:

  * Fix MP4FreeForm.__eq__ and MP4Cover.__eq__ when comparing with bytes
    🐛`218`

* Don't raise on :meth:`FileType.save` if there are no tags. 🐛`227`
* Minor fixes: 🐛`228`


1.29 - 2015.05.09
-----------------

* mid3v2: Fix an error under Python 3 with files without tags 🐛`219`
* mid3v2: Various Windows+Python2+Unicode fixes 🐛`214`
* Don't emit warnings during loading (ID3Warning) 🐛`223`
* py.test support


1.28 - 2015.03.06
-----------------

* Various minor fixes to make mutagen behave the same under Python3 as under
  Python2.
* Update gpl text 🐛`205`
* Documentation: Add example for how to create a new flac.Picture 🐛`209`

* ID3:

  * Various error handling fixes (🐛`110`, 🐛`211`, ...)
  * Don't hide ID3 loading errors with ID3FileType.
  * In case a synch safe marked frame isn't sync safe, only warn 🐛`210`
  * Removed PEDANTIC mode

* Tools:

  * Add signal handling 🐛`170`
  * mid3cp: Make it work under Windows.
  * mutagen-inspect: Make it work under Windows+Python3 🐛`216`
  * Support unicode file paths under Windows+Python2 🐛`214`
  * Support file paths with invalid encoding under Unix+Python3.
2015-11-04 09:53:40 +00:00
drochner
fe21c9fdb2 update to 1.27
changes:
-mp4 improvements
-added aac support
-fixes
2015-01-06 19:52:40 +00:00
drochner
4603fe8899 update to 1.25.1
changes:
-added Python3 support
-bugfixes
-mp4 improvements
2014-10-17 15:58:57 +00:00
wiz
c1b44346cd Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
2014-05-09 07:36:53 +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
drochner
d4c5d89717 update to 1.22
changes: minor fixes and improvements
2013-12-04 16:47:32 +00:00
drochner
92cb8f5dd1 update to 1.21
changes:
-bugfixes
-support more id3v2 tags
2013-03-15 17:47:03 +00:00
asau
3997aff2d7 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 23:47:56 +00:00
obache
404bddff43 distutils pkg, register egg-info.
Bump PKGREVISION.
2011-12-10 13:00:56 +00:00
gls
87afd3df18 Update audio/py-mutagen to 1.20
1.20 - 2010.08.04
 * ASF: Don't store blocks over 64K in the MetadataObject block;
   use the MetadataLibraryBlock instead. (#60, Luká# Lalinský)
 * ID3: Faster parsing of files with lots of padding. (#65, Christoph Reiter)
 * FLAC: Correct check for audio data start. (#67)
2011-08-06 19:16:32 +00:00
obache
17859b65f1 Update py-mutagen to 1.19.
Patch provided by Wen Heping via PR#42851.

1.19 - 2010.02.18
 * ID3:
   * POPM: 'count' is optional; the attribute may not exist. (#33)
   * TimeStampTextFrame: Fix a TypeError in unicode comparisons. (#43)
   * MakeID3v1: Translate TYER into ID3v1 year if TDRC is not present. (#42)
 * mid3v2:
   * Allow --delete followed by --frame, and --genre 1 --genre 2. (#37)
   * Add --quiet and --verbose flags. (#40)
 * moggsplit: --m3u option to write an M3U playlist of the new files. (#39)
 * mid3iconv: Fix crash when processing TCML or TIPL frames. (#41)
 * VCommentDict: Correctly normalize key names for .keys() iterator. (#45)
 * MP3: Correct length calculation for MPEG-2 files. (#46)
 * oggflac: Fix typo in docstring. (#53)
 * EasyID3: Force UTF-8 encoding. (#54)
 * EasyMP4: Fix 'genre' translation. (#56)

1.18 - 2009.10.22
 * ASF:
   * Distinguish between empty and absent tag values in
     ContentDescriptionObjects. (#29)
 * mid3iconv:
   * Fix a crash when processing empty (invalid) text frames.
 * MAJOR API INCOMPATIBILITY!!!!
   * EasyID3FileType is now in mutagen.easyid3, not mutagen.id3. This
     change was necessary to restore API compatibility with 1.16, as
     1.17 accidentally contained a circular import preventing
     mutagen.easyid3 from importing by itself. (#32)

1.17 - 2009.10.07
 * ID3:
   * Support for the iTunes non-standard TSO2 and TSOC frames.
   * Attempt to recover from bad SYLT frames. (#2)
   * Attempt to recover from faulty extended header flags. (#4, #21)
   * Fix a bug in ID3v2.4 footer flag detection, (#5)
 * MP4:
   * Don't fail or double-encode UTF-8 strings when given a str.
   * Don't corrupt 64 bit atom sizes when resizing atoms. (#17)
 * EasyID3:
   * Extension API for defining new "easy" tags at runtime.
   * Support for many, many more tags.
 * OggVorbis, OggSpeex: Handle bitrates below 0 as per the spec. (#30)
 * EasyMP4: Like EasyID3, but for iTunes MPEG-4 files.
 * mutagen.File: New 'easy=True' argument to create new EasyMP3, EasyMP4,
   EasyTrueAudio, and EasyID3FileType instances.

1.16 - 2009.06.15
 * Website / code repository move.
 * Bug Fixes:
   * EasyID3: Invalid keys now raise KeyError (and ValueError).
   * mutagen.File: .flac files with an ID3 tag will be opened as FLAC.
 * MAJOR API INCOMPATIBILITY!!!!
   * Python 2.6 has required us to rename the .format attribute of M4A/MP4
     cover atoms, because it conflicts with the new str.format method.
     It has been renamed .imageformat.
2010-03-05 13:57:51 +00:00
drochner
7e9bb42fbf update to 1.15
changes: bugfixes, minor improvements
2009-07-07 17:56:40 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
joerg
a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00
wiz
3d1219c90a Update to 1.10:
1.10 - 2007.01.21
 * New Features:
   * FLAC: Skip ID3 tags. Added option to delete them on save.
   * EncodedTextSpec: Make private members more private.
   * Corrupted Oggs generated by GStreamer (e.g. Sound Juicer) can be read.
   * FileTypes have a .mime attribute which is a list of likely MIME types
     for the file.
   * ASF (WMA/WMV) support.
 * Bug Fixes:
   * ID3: Fixed reading of v2.3 tags with unsynchronized data.
   * ID3: The data length indicator for compressed tags is written
     as a synch-safe integer.
2007-01-25 23:33:19 +00:00
joerg
fbce6b64d8 Needs Python 2.3+ 2007-01-13 12:06:19 +00:00
drochner
72f892bdbe add py-mutagen-1.9, a Python module to handle audio metadata
(This is just the Python extension part. If the command line utils
are needed, a seperate pkg should be added.)
2007-01-10 10:21:25 +00:00