openbsd-ports/audio/py-discid/Makefile
kmos 8997ef6b1f audio/py-discid is a Python binding for audio/libdiscid. Needed to be able
to update audio/picard.

Python binding of MusicBrainz Libdiscid. Libdiscid's main purpose
is the calculation of an identifier of audio 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 freeDB disc IDs. Additionally the MCN of the disc and
ISRCs from the tracks can be extracted.

This module is a close binding that offloads all relevant data
storage and calculation to Libdiscid. On the other hand it gives a
pythonic API and uses objects and exceptions.

Version 1.2.0

Input from sthen@

OK edd@ sthen@
2019-07-14 23:01:58 +00:00

26 lines
456 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2019/07/14 23:01:58 kmos Exp $
COMMENT = Python binding of libdiscid
MODPY_EGG_VERSION = 1.2.0
DISTNAME = discid-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = audio
HOMEPAGE = https://python-discid.readthedocs.org/
# LGPL3 or later
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = audio/libdiscid
FLAVORS = python3
FLAVOR ?=
.include <bsd.port.mk>