summaryrefslogtreecommitdiff
path: root/devel/py-libusb1/Makefile
blob: ca930938c7cd4ed158f304bc83cb8fe3434ac33f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

PORTNAME=	libusb1
PORTVERSION?=	1.8
CATEGORIES=	devel python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Pure-python wrapper for libusb-1.0

LICENSE=	LGPL21+

CONFLICTS_INSTALL?=	${PKGNAMEPREFIX}${PORTNAME}15

NO_ARCH=	yes
USES=		python:3.6+
USE_PYTHON=	autoplist distutils

do-test:
		@${PYTHON_CMD} -m unittest discover -vs ${TEST_WRKSRC}

.include <bsd.port.mk>