1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

- Add LICENSE

- Switch to new test framework and add TEST_DEPENDS
- Pet portlint
- Fix shebang, which is required for running tests (this does not affect installed file which has correct shebang anyway)

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-07-23 09:07:49 +00:00
parent 2250fa6141
commit 9d01fa3f50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475159

View File

@ -10,6 +10,11 @@ MASTER_SITES= CHEESESHOP
MAINTAINER= fullermd@over-yonder.net
COMMENT= Distributed version control system by Canonical
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testtools>=0:devel/py-testtools@${PY_FLAVOR}
OPTIONS_DEFINE= SFTP CA_BUNDLE
SFTP_DESC= Paramiko for SFTP support
CA_BUNDLE_DESC= Include CA bundle for SSL cert validation
@ -18,16 +23,17 @@ OPTIONS_DEFAULT= SFTP CA_BUNDLE
SFTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
USES= gettext python:2.7 shebangfix
SHEBANG_FILES= bzr
USE_PYTHON= distutils cython
PYDISTUTILS_PKGNAME= bzr
USES= gettext python:2.7
MAKE_ENV= BZR_LOG=/dev/null
post-install:
${INSTALL_MAN} ${WRKSRC}/bzr.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bzrlib/*.so
test: build
do-test:
cd ${WRKSRC} && ./bzr selftest
.include <bsd.port.mk>