we expected and it's easier|safer to do it this way than fiddle with pkg_add now. thanks aja for update tests with a quick bulk.
34 lines
617 B
Makefile
34 lines
617 B
Makefile
# $OpenBSD: Makefile,v 1.8 2019/04/28 20:51:26 sthen Exp $
|
|
|
|
COMMENT = python bindings for Chromaprint and the Acoustid API
|
|
|
|
MODPY_EGG_VERSION = 1.1.5
|
|
DISTNAME = pyacoustid-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-acoustid-${MODPY_EGG_VERSION}
|
|
REVISION = 0
|
|
|
|
CATEGORIES = audio
|
|
|
|
HOMEPAGE = https://github.com/sampsyo/pyacoustid/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODPY_PI = Yes
|
|
|
|
MODULES = lang/python
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
RUN_DEPENDS = audio/chromaprint \
|
|
www/py-requests${MODPY_FLAVOR}
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/setup.py
|
|
|
|
# needs audioread
|
|
NO_TEST= Yes
|
|
|
|
.include <bsd.port.mk>
|