Changeset View
Changeset View
Standalone View
Standalone View
devel/b2/Makefile
# Created by: Bartek Rutkowski <robak@FreeBSD.org> | # Created by: Bartek Rutkowski <robak@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= b2 | PORTNAME= b2 | ||||
PORTVERSION= 0.2.4 | DISTVERSIONPREFIX= v | ||||
DISTVERSION= 0.7.2 | |||||
CATEGORIES= devel | CATEGORIES= devel | ||||
matUnsubmitted Done Inline Actionsmat: ```
DISTVERSIONPREFIX= v
DISTVERSION= 0.7.2
```
| |||||
MASTER_SITES= https://www.backblaze.com/b2/docs/ | |||||
DISTNAME= ${PORTNAME} | |||||
EXTRACT_SUFX= | |||||
MAINTAINER= robak@FreeBSD.org | MAINTAINER= robak@FreeBSD.org | ||||
COMMENT= Command Line Interface for Backblaze's B2 storage service | COMMENT= Command Line Interface for Backblaze's B2 storage service | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | |||||
USES= python:2.6+ shebangfix | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0.8.0:devel/py-arrow \ | ||||
SHEBANG_FILES= b2 | ${PYTHON_PKGNAMEPREFIX}logfury>=0.1.2:devel/py-logfury \ | ||||
NO_BUILD= yes | ${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests \ | ||||
${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six \ | |||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \ | |||||
Done Inline ActionsThere has not been a 2.6 for 3.5 years, 2.7+ here would probably be clearer. mat: There has not been a 2.6 for 3.5 years, `2.7+` here would probably be clearer. | |||||
${PYTHON_PKGNAMEPREFIX}tqdm>=4.5.0:misc/py-tqdm | |||||
PLIST_FILES= bin/${PORTNAME} | USES= python:2.7+ | ||||
Done Inline ActionsMove this before USES, and replace += with =. mat: Move this before `USES`, and replace `+=` with `=`. | |||||
USE_PYTHON= distutils autoplist | |||||
do-extract: | USE_GITHUB= yes | ||||
@${MKDIR} ${WRKSRC} | GH_ACCOUNT= Backblaze | ||||
@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC} | GH_PROJECT= B2_Command_Line_Tool | ||||
do-install: | |||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin | |||||
Done Inline ActionsPut this after USES. mat: Put this after `USES`. | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |