switch ports using command-line tools from py-sphinx that don't need a py2 version of it to py3-sphinx
36 lines
724 B
Makefile
36 lines
724 B
Makefile
# $OpenBSD: Makefile,v 1.21 2021/02/19 23:13:06 sthen Exp $
|
|
|
|
COMMENT = python package to parse and build CSS
|
|
|
|
CATEGORIES = textproc
|
|
|
|
MODPY_EGG_VERSION = 1.0.2
|
|
DISTNAME = cssutils-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
MODPY_PI = Yes
|
|
REVISION = 2
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
HOMEPAGE = http://cthedot.de/cssutils/
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_PYTEST = Yes
|
|
MODPY_PYTEST_ARGS = lib/cssutils
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
TEST_DEPENDS = devel/py-pbr${MODPY_FLAVOR}
|
|
|
|
post-install:
|
|
chmod 444 ${WRKINST}/${MODPY_SITEPKG}/${DISTNAME}-py${MODPY_VERSION}.egg-info/*
|
|
.for b in csscapture csscombine cssparse
|
|
mv -f ${PREFIX}/bin/$b ${PREFIX}/bin/$b${MODPY_BIN_SUFFIX}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|