1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

devel/py-omnijson: Switch to GitHub, Add QA bits

- Add TEST_DEPENDS
- Add regression-test target
- Switch to GITHUB
- Fix typo in pkg-descr
This commit is contained in:
Kubilay Kocak 2014-07-27 05:11:56 +00:00
parent 4840f9efdb
commit c53b057007
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363011
3 changed files with 19 additions and 4 deletions

View File

@ -3,8 +3,8 @@
PORTNAME= omnijson
PORTVERSION= 0.1.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
@ -13,8 +13,23 @@ COMMENT= Wraps the best Python JSON installed
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/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
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= 2235005
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (omnijson-0.1.2.tar.gz) = 0b73d7f3129b92b55adb3463d84d1ca7e4261042e2499759e46e0d77453d614c
SIZE (omnijson-0.1.2.tar.gz) = 16817
SHA256 (omnijson-0.1.2.tar.gz) = 92758346537371ef41cf417bad62c786233d10d16940fb90a01a437e6e850346
SIZE (omnijson-0.1.2.tar.gz) = 16728

View File

@ -5,7 +5,7 @@ Features:
* Loads whichever is the fastest JSON module installed
* Falls back on built in pure-python simplejson, just in case.
* Proper API (loads(), dumps())
* Verndorizable
* Vendorizable
* Supports Python 2.5-3.2 out of the box
WWW: https://github.com/kennethreitz/omnijson