From owner-svn-ports-head@freebsd.org Thu Feb 18 14:25:21 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C61B3AACEE1; Thu, 18 Feb 2016 14:25:21 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 7D9ED119E; Thu, 18 Feb 2016 14:25:21 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1IEPKBI082538; Thu, 18 Feb 2016 14:25:20 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1IEPKf7082537; Thu, 18 Feb 2016 14:25:20 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201602181425.u1IEPKf7082537@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Thu, 18 Feb 2016 14:25:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409108 - head/devel/buildbot 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.20 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: Thu, 18 Feb 2016 14:25:21 -0000 Author: koobs Date: Thu Feb 18 14:25:20 2016 New Revision: 409108 URL: https://svnweb.freebsd.org/changeset/ports/409108 Log: devel/buildbot: Modernize (Ports compliance) - Switch to new method of depending on Twisted, USES=twisted is DEPRECATED. - Update and add TEST_DEPENDS, update test target - Remove TESTS option - Correctly limit Python version to -2.7 - Enable architecture independence (NO_ARCH) MFH: 2016Q1 Modified: head/devel/buildbot/Makefile Modified: head/devel/buildbot/Makefile ============================================================================== --- head/devel/buildbot/Makefile Thu Feb 18 14:13:56 2016 (r409107) +++ head/devel/buildbot/Makefile Thu Feb 18 14:25:20 2016 (r409108) @@ -3,6 +3,7 @@ PORTNAME= buildbot PORTVERSION= 0.8.12 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP @@ -12,31 +13,28 @@ COMMENT= Continuous Integration Framewor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.1:${PORTSDIR}/devel/py-Jinja2 \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=11.0.0:${PORTSDIR}/devel/py-twisted \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.1:${PORTSDIR}/devel/py-Jinja2 \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1:${PORTSDIR}/devel/py-dateutil \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy-migrate>=0.7:${PORTSDIR}/databases/py-sqlalchemy-migrate \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0.6:${PORTSDIR}/databases/py-sqlalchemy \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 -TEST_DEPENDS:= ${RUN_DEPENDS} \ +TEST_DEPENDS= trial:${PORTSDIR}/devel/py-twisted \ ${PYTHON_PKGNAMEPREFIX}mock>0.8.0:${PORTSDIR}/devel/py-mock \ - trial:${PORTSDIR}/devel/py-twistedCore \ - ${PYTHON_PKGNAMEPREFIX}twistedWeb>=11.0.0:${PORTSDIR}/www/py-twistedWeb \ - ${PYTHON_PKGNAMEPREFIX}twistedWords>=11.0.0:${PORTSDIR}/net-im/py-twistedWords + ${PYTHON_PKGNAMEPREFIX}boto>0:${PORTSDIR}/devel/py-boto \ + ${PYTHON_PKGNAMEPREFIX}txrequests>0:${PORTSDIR}/www/py-txrequests -OPTIONS_DEFINE= TESTS - -TESTS_DESC= Install test suite requirements -TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} - -USES= python twisted:run,conch,mail,web,words +USES= python:-2.7 USE_PYTHON= autoplist distutils +NO_ARCH= yes + post-patch: @${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 ${REINPLACE_CMD} -e \ 's|/usr/bin/python|${PYTHON_CMD}|g' @${FIND} ${WRKSRC} -name \*.bak -delete -regression-test: extract +do-test: @cd ${WRKSRC} && trial buildbot .include