Date: Tue, 27 Jan 2015 03:00:25 +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: r377972 - in head/www/py-slumber: . files Message-ID: <201501270300.t0R30PhD039608@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Tue Jan 27 03:00:24 2015 New Revision: 377972 URL: https://svnweb.freebsd.org/changeset/ports/377972 QAT: https://qat.redports.org/buildarchive/r377972/ Log: www/py-slumber: Update to 0.6.1, chase repo move - Update to 0.6.1 - Chase upstream repository move [1] - Add TESTS option - Tweak existing OPTIONS descriptions - Explicitly set TEST_DEPENDS - Add LICENSE_FILE - Update regression-test: target invocation - Patch setup.py to include unittest2 requirement [2] - pkg-descr: Update WWW: URL [2] https://github.com/samgiles/slumber/pull/104 PR: 197119 [1] Reported by: antoine [1] Added: head/www/py-slumber/files/ head/www/py-slumber/files/patch-setup.py (contents, props changed) Modified: head/www/py-slumber/Makefile head/www/py-slumber/distinfo head/www/py-slumber/pkg-descr Modified: head/www/py-slumber/Makefile ============================================================================== --- head/www/py-slumber/Makefile Tue Jan 27 02:03:18 2015 (r377971) +++ head/www/py-slumber/Makefile Tue Jan 27 03:00:24 2015 (r377972) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= slumber -PORTVERSION= 0.6.0 -PORTREVISION= 2 +PORTVERSION= 0.6.1 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,26 +10,32 @@ MAINTAINER= koobs@FreeBSD.org COMMENT= Python library that makes consuming a RESTful API easier LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests - -TEST_DEPENDS:= ${RUN_DEPENDS} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \ + ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 \ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock -OPTIONS_DEFINE= YAML +OPTIONS_DEFINE= TESTS YAML + +TESTS_DESC= Install test suite requirements +TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} -YAML_DESC= Enable YAML serializer support +YAML_DESC= YAML serializer support YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml +USES= python +USE_PYTHON= autoplist distutils + USE_GITHUB= yes -GH_ACCOUNT= dstufft -GH_COMMIT= 85b17b9 +GH_ACCOUNT= samgiles +GH_COMMIT= d53a9ec GH_TAGNAME= v${DISTVERSION} -USES= python -USE_PYTHON= distutils autoplist +pre-install: regression-test regression-test: build - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include <bsd.port.mk> Modified: head/www/py-slumber/distinfo ============================================================================== --- head/www/py-slumber/distinfo Tue Jan 27 02:03:18 2015 (r377971) +++ head/www/py-slumber/distinfo Tue Jan 27 03:00:24 2015 (r377972) @@ -1,2 +1,2 @@ -SHA256 (slumber-0.6.0.tar.gz) = b7091250a331277823440fd6c148f4a4a605960bec3c146616d3f9a6bb0ce80b -SIZE (slumber-0.6.0.tar.gz) = 14202 +SHA256 (slumber-0.6.1.tar.gz) = 4765add16e44368a198546758cae46c292dcffc650524ec459c8dba8c0b5005f +SIZE (slumber-0.6.1.tar.gz) = 14782 Added: head/www/py-slumber/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-slumber/files/patch-setup.py Tue Jan 27 03:00:24 2015 (r377972) @@ -0,0 +1,11 @@ +--- setup.py.orig 2015-01-27 02:55:28 UTC ++++ setup.py +@@ -2,7 +2,7 @@ import os + from setuptools import setup + + install_requires = ["requests"] +-tests_require = ["mock"] ++tests_require = ["mock", "unittest2"] + + base_dir = os.path.dirname(os.path.abspath(__file__)) + Modified: head/www/py-slumber/pkg-descr ============================================================================== --- head/www/py-slumber/pkg-descr Tue Jan 27 02:03:18 2015 (r377971) +++ head/www/py-slumber/pkg-descr Tue Jan 27 03:00:24 2015 (r377972) @@ -3,4 +3,4 @@ orientated interface to ReSTful APIs. It excellent requests_ library and abstracts away the handling of urls, serialization, and processing requests. -WWW: http://slumber.in/ +WWW: http://github.com/samgiles/slumber
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501270300.t0R30PhD039608>