blob: e7abe40ba51433f88f88c69368df4e0cf9fe44fa (
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
27
28
29
30
31
32
33
|
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= omnijson
PORTVERSION= 0.1.2
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Wraps the best Python JSON installed
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install tools required to run unit tests
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= kennethreitz
USES= python
USE_PYTHON= distutils autoplist
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
.include <bsd.port.mk>
|