32 lines
607 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 2019/05/13 18:06:43 danj Exp $
COMMENT = Python utility / library to sort Python imports
2017-06-18 21:41:36 +00:00
MODPY_EGG_VERSION = 4.2.15
DISTNAME = isort-${MODPY_EGG_VERSION}
PKGNAME = py-isort-${MODPY_EGG_VERSION}
REVISION = 1
CATEGORIES = devel
HOMEPAGE = https://github.com/timothycrosley/isort
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
2017-06-18 21:41:36 +00:00
TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR} \
devel/py-test${MODPY_FLAVOR}
post-install:
2017-06-18 21:41:36 +00:00
mv ${PREFIX}/bin/isort{,${MODPY_BIN_SUFFIX}}
.include <bsd.port.mk>