aboutsummaryrefslogtreecommitdiff
path: root/devel/b2
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2017-10-10 05:23:01 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2017-10-10 05:23:01 +0000
commit267accea8a1368ade6883530607220b7574c7584 (patch)
tree614ed5b06bcd8575c08cf3b96bd0f69a8382884e /devel/b2
parent26e1cccb8965ecffffc1dc5a198ce7173df08b50 (diff)
downloadports-267accea8a1368ade6883530607220b7574c7584.tar.gz
ports-267accea8a1368ade6883530607220b7574c7584.zip
Update b2 to latest from Backblaze.
Reviewed by: mat Approved by: robak (maintainer timeout) Differential Revision: https://reviews.freebsd.org/D12139
Notes
Notes: svn path=/head/; revision=451655
Diffstat (limited to 'devel/b2')
-rw-r--r--devel/b2/Makefile28
-rw-r--r--devel/b2/distinfo5
2 files changed, 17 insertions, 16 deletions
diff --git a/devel/b2/Makefile b/devel/b2/Makefile
index 8bd0c2975534..59200e0b696f 100644
--- a/devel/b2/Makefile
+++ b/devel/b2/Makefile
@@ -2,28 +2,28 @@
# $FreeBSD$
PORTNAME= b2
-PORTVERSION= 0.2.4
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.7.2
CATEGORIES= devel
-MASTER_SITES= https://www.backblaze.com/b2/docs/
-DISTNAME= ${PORTNAME}
-EXTRACT_SUFX=
MAINTAINER= robak@FreeBSD.org
COMMENT= Command Line Interface for Backblaze's B2 storage service
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python:2.6+ shebangfix
-SHEBANG_FILES= b2
-NO_BUILD= yes
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0.8.0:devel/py-arrow \
+ ${PYTHON_PKGNAMEPREFIX}logfury>=0.1.2:devel/py-logfury \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
+ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.5.0:misc/py-tqdm
-PLIST_FILES= bin/${PORTNAME}
+USES= python:2.7+
+USE_PYTHON= distutils autoplist
-do-extract:
- @${MKDIR} ${WRKSRC}
- @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+USE_GITHUB= yes
+GH_ACCOUNT= Backblaze
+GH_PROJECT= B2_Command_Line_Tool
.include <bsd.port.mk>
diff --git a/devel/b2/distinfo b/devel/b2/distinfo
index 7e13ef9a1467..0610ea0531bd 100644
--- a/devel/b2/distinfo
+++ b/devel/b2/distinfo
@@ -1,2 +1,3 @@
-SHA256 (b2) = 2a73a5daf3915ae30788ebfff51c134bcf5e92157b4079afe8499b2b2eade9f8
-SIZE (b2) = 24688
+TIMESTAMP = 1503852685
+SHA256 (Backblaze-B2_Command_Line_Tool-v0.7.2_GH0.tar.gz) = 7e284cbf0ddc3ae102df03ada91bd4fcfa28e1452a26fe19b136f681e9321e8c
+SIZE (Backblaze-B2_Command_Line_Tool-v0.7.2_GH0.tar.gz) = 99169