we expected and it's easier|safer to do it this way than fiddle with pkg_add now. thanks aja for update tests with a quick bulk.
34 lines
638 B
Makefile
34 lines
638 B
Makefile
# $OpenBSD: Makefile,v 1.14 2019/04/28 20:51:39 sthen Exp $
|
|
|
|
COMMENT = passive checker of Python programs
|
|
|
|
MODPY_EGG_VERSION = 1.5.0
|
|
DISTNAME = pyflakes-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://github.com/PyCQA/pyflakes
|
|
|
|
MAINTAINER = frantisek holop <minusf@obiit.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
.if ${FLAVOR:Mpython3}
|
|
PKGNAME = pyflakes${MODPY_MAJOR_VERSION}-${MODPY_EGG_VERSION}
|
|
REVISION = 0
|
|
|
|
post-install:
|
|
mv ${PREFIX}/bin/pyflakes ${PREFIX}/bin/pyflakes${MODPY_BIN_SUFFIX}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|