2020-07-03 21:12:24 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2020/07/03 21:12:52 sthen Exp $
|
2018-05-08 05:59:22 +00:00
|
|
|
|
|
|
|
COMMENT = formatter for Python code
|
|
|
|
|
2019-08-28 22:29:50 +00:00
|
|
|
MODPY_EGG_VERSION = 0.28.0
|
2018-05-08 05:59:22 +00:00
|
|
|
DISTNAME = yapf-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-${DISTNAME}
|
2020-07-03 21:12:24 +00:00
|
|
|
REVISION = 0
|
2018-05-08 05:59:22 +00:00
|
|
|
|
|
|
|
CATEGORIES = devel
|
|
|
|
|
|
|
|
# Apache v2
|
2019-07-12 20:45:45 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2018-05-08 05:59:22 +00:00
|
|
|
|
|
|
|
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>
|