|
Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
| 2 |
|
| 3 |
PORTNAME= pyznap |
| 4 |
PORTVERSION= 1.0.2 |
| 5 |
DISTVERSIONPREFIX= v |
| 6 |
CATEGORIES= sysutils |
| 7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
| 8 |
|
| 9 |
MAINTAINER= driesm.michiels@gmail.com |
| 10 |
COMMENT= ZFS snapshot tool written in python |
| 11 |
|
| 12 |
LICENSE= GPLv3 |
| 13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
| 14 |
|
| 15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configparser>3.5.0:devel/py-configparser@${PY_FLAVOR} \ |
| 16 |
${PYTHON_PKGNAMEPREFIX}paramiko>=2.4.1:security/py-paramiko@${PY_FLAVOR} \ |
| 17 |
mbuffer:misc/mbuffer |
| 18 |
|
| 19 |
USES= python:3.5+ |
| 20 |
USE_PYTHON= autoplist distutils |
| 21 |
|
| 22 |
USE_GITHUB= yes |
| 23 |
GH_ACCOUNT= yboetz |
| 24 |
|
| 25 |
NO_ARCH= yes |
| 26 |
SUB_FILES= pkg-message |
| 27 |
|
| 28 |
post-patch: |
| 29 |
@${REINPLACE_CMD} -e 's|/etc/pyznap/|${LOCALBASE}/etc/pyznap/|g' ${WRKSRC}/${PORTNAME}/main.py |
| 30 |
|
| 31 |
.include <bsd.port.mk> |