# $OpenBSD: Makefile.template,v 1.88 2020/05/15 01:32:48 abieber Exp $

COMMENT =		Unity asset extractor for Python based on AssetStudio

MODPY_EGG_VERSION =	1.4.6
DISTNAME =		UnityPy-${MODPY_EGG_VERSION}
PKGNAME =		py-unitypy-${MODPY_EGG_VERSION}
CATEGORIES =		games
MAINTAINER =		Thomas Frohwein <thfr@openbsd.org>

# MIT
PERMIT_PACKAGE =	Yes

MODULES =		lang/python
MODPY_PI =		Yes
MODPY_SETUPTOOLS =	Yes
MODPY_VERSION =		${MODPY_DEFAULT_VERSION_3}
BUILD_DEPENDS =		archivers/py-brotli \
			archivers/py-lz4 \
			audio/py-fsb5 \
			graphics/py-Pillow \
			graphics/py-texture2ddecoder
RUN_DEPENDS =		archivers/py-brotli \
			archivers/py-lz4 \
			audio/py-fsb5 \
			graphics/py-Pillow \
			graphics/py-texture2ddecoder
# 'make test' fails: __init__() missing 1 required positional argument: 'reader'
NO_TEST =		Yes

.include <bsd.port.mk>
