From owner-svn-ports-head@FreeBSD.ORG Sun Jul 27 05:11:57 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 833F1224; Sun, 27 Jul 2014 05:11:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 56BB825B1; Sun, 27 Jul 2014 05:11:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6R5Bvbq087360; Sun, 27 Jul 2014 05:11:57 GMT (envelope-from koobs@svn.freebsd.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6R5Bu6u087357; Sun, 27 Jul 2014 05:11:56 GMT (envelope-from koobs@svn.freebsd.org) Message-Id: <201407270511.s6R5Bu6u087357@svn.freebsd.org> From: Kubilay Kocak Date: Sun, 27 Jul 2014 05:11:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363011 - head/devel/py-omnijson X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 05:11:57 -0000 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 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