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

Update b2 to latest from Backblaze.

Reviewed by:	mat
Approved by:	robak (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D12139
This commit is contained in:
Gordon Tetlow 2017-10-10 05:23:01 +00:00
parent 26e1cccb89
commit 267accea8a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451655
2 changed files with 17 additions and 16 deletions

View File

@ -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>

View File

@ -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