ports/archivers/py-brotli/Makefile

37 lines
753 B
Makefile

COMMENT = Python bindings for the Brotli compression library
MODPY_EGG_VERSION = 1.0.9
DISTNAME = Brotli-${MODPY_EGG_VERSION}
PKGNAME = py-brotli-${MODPY_EGG_VERSION}
REVISION = 3
CATEGORIES = archivers
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
HOMEPAGE = https://github.com/google/brotli
# MIT
PERMIT_PACKAGE = Yes
EXTRACT_SUFX = .zip
# C++
COMPILER = base-clang ports-gcc base-gcc
WANTLIB += ${COMPILER_LIBCXX} m
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
MODPY_PYTEST_ARGS = python/
FLAVORS = python3
FLAVOR = python3
# Tests aren't included in 1.0.9 tarball (even the github tarball,
# although they are in the repo?!), but can be copied in (tests/ and
# python/tests/).
.include <bsd.port.mk>