aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pluggy/Makefile
blob: 10ea518232e246b66938676be68ca9ae4631110a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=   pluggy
PORTVERSION=    0.3.1
CATEGORIES= devel python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= koobs@FreeBSD.org
COMMENT=    Plugin and hook calling mechanisms for Python

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest

USES=       python
USE_PYTHON= autoplist distutils

NO_ARCH=    yes

do-test:
    @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest

.include <bsd.port.mk>