Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2014 05:11:56 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363011 - head/devel/py-omnijson
Message-ID:  <201407270511.s6R5Bu6u087357@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Jul 27 05:11:56 2014
New Revision: 363011
URL: http://svnweb.freebsd.org/changeset/ports/363011
QAT: https://qat.redports.org/buildarchive/r363011/

Log:
  devel/py-omnijson: Switch to GitHub, Add QA bits
  
  - Add TEST_DEPENDS
  - Add regression-test target
  - Switch to GITHUB
  - Fix typo in pkg-descr

Modified:
  head/devel/py-omnijson/Makefile
  head/devel/py-omnijson/distinfo
  head/devel/py-omnijson/pkg-descr

Modified: head/devel/py-omnijson/Makefile
==============================================================================
--- head/devel/py-omnijson/Makefile	Sun Jul 27 04:51:42 2014	(r363010)
+++ head/devel/py-omnijson/Makefile	Sun Jul 27 05:11:56 2014	(r363011)
@@ -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 inst
 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>

Modified: head/devel/py-omnijson/distinfo
==============================================================================
--- head/devel/py-omnijson/distinfo	Sun Jul 27 04:51:42 2014	(r363010)
+++ head/devel/py-omnijson/distinfo	Sun Jul 27 05:11:56 2014	(r363011)
@@ -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

Modified: head/devel/py-omnijson/pkg-descr
==============================================================================
--- head/devel/py-omnijson/pkg-descr	Sun Jul 27 04:51:42 2014	(r363010)
+++ head/devel/py-omnijson/pkg-descr	Sun Jul 27 05:11:56 2014	(r363011)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407270511.s6R5Bu6u087357>