aboutsummaryrefslogblamecommitdiff
path: root/sysutils/py-ploy/Makefile
blob: f559040abe6b608a4df168c68de894ec80fa4fac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                               

                    
                     







                                                              
                                     
 


                                                                                     

                                                                              
 
                           
                                              
 

                   



                                                               
                      
# Created by: Kubilay Kocak <koobs@FreeBSD.org>

PORTNAME=	ploy
PORTVERSION=	1.5.2
CATEGORIES=	sysutils python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	Manage servers through a central configuration

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lazy>0:devel/py-lazy@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}

USES=		python:3.6+
USE_PYTHON=	autoplist concurrent distutils

NO_ARCH=	yes

do-test:
	${RM} ${WRKSRC}/tox.ini # clobbers our pytest arguments
	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs

.include <bsd.port.mk>