svn commit: r413471 - head/archivers/py-borgbackup
Antoine Brodin
antoine at FreeBSD.org
Sat Apr 16 17:56:05 UTC 2016
Author: antoine
Date: Sat Apr 16 17:56:03 2016
New Revision: 413471
URL: https://svnweb.freebsd.org/changeset/ports/413471
Log:
- Remove obsolete ${PORTSDIR} from DEPENDS
- Remove inapproriate NO_PACKAGE
Modified:
head/archivers/py-borgbackup/Makefile
Modified: head/archivers/py-borgbackup/Makefile
==============================================================================
--- head/archivers/py-borgbackup/Makefile Sat Apr 16 17:48:10 2016 (r413470)
+++ head/archivers/py-borgbackup/Makefile Sat Apr 16 17:56:03 2016 (r413471)
@@ -13,26 +13,26 @@ COMMENT= Deduplicating backup program
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:${PORTSDIR}/devel/py-setuptools_scm
-LIB_DEPENDS= liblz4.so:${PORTSDIR}/archivers/liblz4
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.4.6:${PORTSDIR}/devel/py-msgpack-python
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:devel/py-setuptools_scm
+LIB_DEPENDS= liblz4.so:archivers/liblz4
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.4.6:devel/py-msgpack-python
OPTIONS_DEFINE= FUSE
FUSE_DESC= Support to mount locally borg backup files
OPTIONS_DEFAULT=
-FUSE_RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/llfuse.so:${PORTSDIR}/devel/py-llfuse
+FUSE_RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/llfuse.so:devel/py-llfuse
USES= python:3.4+
USE_PYTHON= autoplist distutils
USE_OPENSSL= yes
-# Leave py3 only ports as manual port builds.
-# See https://lists.freebsd.org/pipermail/freebsd-python/2016-April/010151.html
-NO_PACKAGE= yes
-
.include <bsd.port.pre.mk>
+.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
+IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
+.endif
+
# borg requires openssl>=1.0.0
.if ${OSVERSION} < 1000015
WITH_OPENSSL_PORT=yes
More information about the svn-ports-head
mailing list