mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
cc7cee6402
included in lang/python/3 -main).
38 lines
802 B
Makefile
38 lines
802 B
Makefile
COMMENT= inline and side-by-side colored and incremental diff
|
|
|
|
# was renamed cdiff->ydiff
|
|
MODPY_DISTV= 1.4.2
|
|
DISTNAME= ydiff-${MODPY_DISTV}
|
|
REVISION= 1
|
|
|
|
CATEGORIES= textproc
|
|
|
|
HOMEPAGE= https://github.com/ymattw/ydiff
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MODULES= lang/python
|
|
MODPY_PI= Yes
|
|
MODPY_PYBUILD= setuptools
|
|
|
|
# not in sdist
|
|
MODPY_PYTEST= No
|
|
|
|
TEST_DEPENDS= devel/git \
|
|
devel/py-codestyle \
|
|
devel/py-coverage \
|
|
shells/bash \
|
|
textproc/py-docutils
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ydiff
|
|
${INSTALL_DATA} ${WRKSRC}/README.rst ${PREFIX}/share/doc/ydiff/
|
|
|
|
pre-test:
|
|
ln -sf ${LOCALBASE}/bin/rst2html ${WRKDIR}/bin/rst2html.py
|
|
ln -sf ${LOCALBASE}/bin/pycodestyle ${WRKDIR}/bin/pep8
|
|
ln -sf ${LOCALBASE}/bin/coverage-${MODPY_VERSION} ${WRKDIR}/bin/coverage
|
|
|
|
.include <bsd.port.mk>
|