29 lines
549 B
Makefile

# $OpenBSD: Makefile,v 1.12 2021/11/02 00:00:50 sthen Exp $
COMMENT = Python utility / library to sort Python imports
MODPY_EGG_VERSION = 4.2.15
DISTNAME = isort-${MODPY_EGG_VERSION}
PKGNAME = py-isort-${MODPY_EGG_VERSION}
REVISION = 6
CATEGORIES = devel
HOMEPAGE = https://github.com/timothycrosley/isort
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR = python3
TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR} \
devel/py-test${MODPY_FLAVOR}
.include <bsd.port.mk>