3d9a815d9c
The logic in USES=python will automatically convert this to 3.8+ by itself. Adjust two ports that only had Python 3.7 mentioned but build fine on Python 3.8 too. finance/quickfix: mark BROKEN with PYTHON libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found ^~~~~~~~~~ 1 warning and 1 error generated. Reviewed by: portmgr, vishwin, yuri Differential Revision: <https://reviews.freebsd.org/D40568>
53 lines
1.8 KiB
Makefile
53 lines
1.8 KiB
Makefile
PORTNAME= brz
|
|
DISTVERSION= 3.2.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= breezy-${PORTVERSION}
|
|
|
|
MAINTAINER= fullermd@over-yonder.net
|
|
COMMENT= Distributed version control system based on bzr
|
|
WWW= https://www.breezy-vcs.org/
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}fastbencode>=0:devel/py-fastbencode@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}launchpadlib>=0:devel/py-launchpadlib@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}patiencediff>=0:textproc/py-patiencediff@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testtools>=0:devel/py-testtools@${PY_FLAVOR}
|
|
|
|
USES= gettext python shebangfix
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
SHEBANG_FILES= brz
|
|
MAKE_ENV= BRZ_LOG=/dev/null
|
|
|
|
PLIST_FILES= bin/bzr
|
|
|
|
OPTIONS_DEFINE= CA_BUNDLE DULWICH SFTP
|
|
OPTIONS_DEFAULT= CA_BUNDLE DULWICH
|
|
|
|
CA_BUNDLE_DESC= Include CA bundle for SSL cert validation
|
|
DULWICH_DESC= Depend on Dulwich for git support
|
|
SFTP_DESC= Paramiko for SFTP support
|
|
|
|
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
DULWICH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dulwich>=0:devel/py-dulwich@${PY_FLAVOR}
|
|
SFTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/brz.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
${STRIP_CMD} \
|
|
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/breezy/*.so \
|
|
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/breezy/bzr/*.so
|
|
${RLN} ${STAGEDIR}${PREFIX}/bin/brz ${STAGEDIR}${PREFIX}/bin/bzr
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ./brz selftest
|
|
|
|
.include <bsd.port.mk>
|