kmos c45cd79fc7 Add RUN_DEPENDS to TEST_DEPENDS automatically for ports using the
lang/python port module. I've not yet come up with a port that
would not need this and one can always set MODPY_TESTDEP to "no"
to prevent the module from touching TEST_DEPENDS.

Idea from afresh1 who pointed out the cpan module already does this.

aja "I support this move."

OK sthen@
2019-05-15 12:04:34 +00:00

35 lines
724 B
Makefile

# $OpenBSD: Makefile,v 1.10 2019/05/15 12:04:35 kmos Exp $
COMMENT = import changesets from CVS into Git
MODPY_EGG_VERSION = 0.1.0
REVISION = 2
DISTNAME = git-cvs-${MODPY_EGG_VERSION}
DISTFILES = ${DISTNAME}{${MODPY_EGG_VERSION}}.tar.gz
CATEGORIES = devel
HOMEPAGE = https://github.com/ustuehler/git-cvs
# BSD
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://github.com/ustuehler/git-cvs/archive/
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_ADJ_FILES = scripts/git-cvs
BUILD_DEPENDS = devel/py-nose
RUN_DEPENDS= devel/git \
devel/py-rcsparse
TEST_DEPENDS= ${BUILD_DEPENDS}
# for regression tests:
# cvs(1) insists on doing a chdir(2) to HOME before checkout
PORTHOME = ${WRKDIR}
.include <bsd.port.mk>