openbsd-ports/devel/py-magic/Makefile

31 lines
584 B
Makefile

# $OpenBSD: Makefile,v 1.7 2021/11/02 00:00:51 sthen Exp $
MODPY_EGG_VERSION = 0.4.15
COMMENT = Python module for file type identification using libmagic
DISTNAME = python-magic-${MODPY_EGG_VERSION}
PKGNAME = py-magic-${MODPY_EGG_VERSION}
EPOCH = 0
CATEGORIES = devel
REVISION = 4
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
FLAVORS = python3
FLAVOR = python3
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
SUBST_VARS += MODPY_FLAVOR
RUN_DEPENDS = devel/libmagic
# Broken tests
NO_TEST = Yes
.include <bsd.port.mk>