openbsd-ports/textproc/py-charset-normalizer/Makefile
kmos dc943bde16 py-charset-normalizer uses Werror along with a number of warning options
that base-gcc doesn't understand. Switch to ports-gcc to fix build on
sparc64
2023-01-30 15:33:33 +00:00

31 lines
576 B
Makefile

COMMENT = character set detector library
MODPY_EGG_VERSION = 3.0.1
DISTNAME = charset-normalizer-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = textproc
HOMEPAGE = https://github.com/ousret/charset_normalizer
# MIT
PERMIT_PACKAGE = Yes
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
MAKE_ENV = CHARSET_NORMALIZER_USE_MYPYC=1
BUILD_DEPENDS = devel/py-mypy${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-test-cov${MODPY_FLAVOR}
FLAVOR = python3
FLAVORS = python3
.include <bsd.port.mk>