View | Details | Raw Unified | Return to bug 236154
Collapse All | Expand All

(-)sysutils/py-pyznap/Makefile (-1 / +11 lines)
Lines 1-33 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=		pyznap
3
PORTNAME=		pyznap
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=		1.1.0
5
DISTVERSION=		1.1.2
6
CATEGORIES=		sysutils python
6
CATEGORIES=		sysutils python
7
PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
8
8
9
MAINTAINER=	driesm.michiels@gmail.com
9
MAINTAINER=	driesm.michiels@gmail.com
10
COMMENT=	ZFS snapshot tool written in Python
10
COMMENT=	ZFS snapshot tool written in Python
11
11
12
LICENSE=	GPLv3
12
LICENSE=	GPLv3
13
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}configparser>3.5.0:devel/py-configparser@${PY_FLAVOR} \
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}configparser>3.5.0:devel/py-configparser@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}paramiko>=2.4.2:security/py-paramiko@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}paramiko>=2.4.2:security/py-paramiko@${PY_FLAVOR} \
17
		mbuffer:misc/mbuffer \
17
		mbuffer:misc/mbuffer \
18
		pv:sysutils/pv
18
		pv:sysutils/pv
19
19
20
#TEST_DEPENDS=	${YPTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
21
#		${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \
22
#		faketime:devel/faketime
23
20
USES=		python:3.5+
24
USES=		python:3.5+
21
USE_PYTHON=	autoplist concurrent distutils
25
USE_PYTHON=	autoplist concurrent distutils
22
26
23
USE_GITHUB=	yes
27
USE_GITHUB=	yes
24
GH_ACCOUNT=	yboetz
28
GH_ACCOUNT=	yboetz
25
29
26
NO_ARCH=	yes
30
NO_ARCH=	yes
27
SUB_FILES=	pkg-message
31
SUB_FILES=	pkg-message
28
SUB_LIST=	BINDIR=${PREFIX}/bin ETCDIR=${PREFIX}/etc
32
SUB_LIST=	BINDIR=${PREFIX}/bin ETCDIR=${PREFIX}/etc
29
33
30
post-patch:
34
post-patch:
31
	${REINPLACE_CMD} -e 's|/etc/pyznap/|${PREFIX}/etc/pyznap/|g' ${WRKSRC}/${PORTNAME}/main.py
35
	${REINPLACE_CMD} -e 's|/etc/pyznap/|${PREFIX}/etc/pyznap/|g' ${WRKSRC}/${PORTNAME}/main.py
32
36
37
# upstream does not support selecting/deselecting tests from setuptools
38
# zfs tests work on the host but not in a poudriere jail
39
# ssh tests fail as priv/pub key auth is required to be set up in advance
40
#do-test:
41
#	@${CD} ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
42
33
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)sysutils/py-pyznap/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1540236332
1
TIMESTAMP = 1551541568
2
SHA256 (yboetz-pyznap-v1.1.0_GH0.tar.gz) = 70c75c89088ac353109f34ba991f67a2029a69d06dbf2b51fa641935f4a12083
2
SHA256 (yboetz-pyznap-v1.1.2_GH0.tar.gz) = f6a49a1abfa57391a4ca0dacc031017fb97c1d7983d807e9d7b42562a002a9fb
3
SIZE (yboetz-pyznap-v1.1.0_GH0.tar.gz) = 33985
3
SIZE (yboetz-pyznap-v1.1.2_GH0.tar.gz) = 34587

Return to bug 236154