py-setuptools. Also change the lang/python module to use the new devel/py2-setuptools for python2 ports ok sthen@
31 lines
576 B
Makefile
31 lines
576 B
Makefile
# $OpenBSD: Makefile,v 1.5 2021/05/21 19:50:26 kmos 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 = 2
|
|
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
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>
|