26 lines
443 B
Makefile
26 lines
443 B
Makefile
# $OpenBSD: Makefile,v 1.8 2020/07/03 21:12:52 sthen Exp $
|
|
|
|
COMMENT = formatter for Python code
|
|
|
|
MODPY_EGG_VERSION = 0.28.0
|
|
DISTNAME = yapf-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
REVISION = 0
|
|
|
|
CATEGORIES = devel
|
|
|
|
# Apache v2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_PI = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
post-install:
|
|
mv ${PREFIX}/bin/yapf ${PREFIX}/bin/yapf${MODPY_BIN_SUFFIX}
|
|
|
|
.include <bsd.port.mk>
|