From owner-svn-ports-head@freebsd.org Fri Sep 4 17:13:27 2015 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 702139CABC4; Fri, 4 Sep 2015 17:13:27 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.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 6053E1DC; Fri, 4 Sep 2015 17:13:27 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t84HDRUJ059390; Fri, 4 Sep 2015 17:13:27 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t84HDQ2S059383; Fri, 4 Sep 2015 17:13:26 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201509041713.t84HDQ2S059383@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 4 Sep 2015 17:13:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396115 - in head/devel: . py-apscheduler 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: Fri, 04 Sep 2015 17:13:27 -0000 Author: jbeich Date: Fri Sep 4 17:13:25 2015 New Revision: 396115 URL: https://svnweb.freebsd.org/changeset/ports/396115 Log: devel/py-apscheduler: add new port Advanced Python Scheduler (APScheduler) is a Python library that lets you schedule your Python code to be executed later, either just once or periodically. You can add new jobs or remove old ones on the fly as you please. If you store your jobs in a database, they will also survive scheduler restarts and maintain their state. When the scheduler is restarted, it will then run all the jobs it should have run while it was offline. https://pypi.python.org/pypi/APScheduler Approved by: wg (maintainer) Differential Revision: https://reviews.freebsd.org/D3566 Added: head/devel/py-apscheduler/ head/devel/py-apscheduler/Makefile (contents, props changed) head/devel/py-apscheduler/distinfo (contents, props changed) head/devel/py-apscheduler/pkg-descr (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Sep 4 17:13:00 2015 (r396114) +++ head/devel/Makefile Fri Sep 4 17:13:25 2015 (r396115) @@ -3859,6 +3859,7 @@ SUBDIR += py-apipkg SUBDIR += py-appdirs SUBDIR += py-application + SUBDIR += py-apscheduler SUBDIR += py-archetypes.querywidget SUBDIR += py-archetypes.referencebrowserwidget SUBDIR += py-archetypes.schemaextender Added: head/devel/py-apscheduler/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-apscheduler/Makefile Fri Sep 4 17:13:25 2015 (r396115) @@ -0,0 +1,42 @@ +# $FreeBSD$ + +PORTNAME= apscheduler +PORTVERSION= 3.0.3 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= APScheduler-${DISTVERSION} + +MAINTAINER= wg@FreeBSD.org +COMMENT= In-process task scheduler with Cron-like capabilities + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \ + ${PYTHON_PKGNAMEPREFIX}six>=1.4.0:${PORTSDIR}/devel/py-six \ + ${PYTHON_PKGNAMEPREFIX}tzlocal>0:${PORTSDIR}/devel/py-tzlocal + +NO_ARCH= yes +USES= python +USE_PYTHON= autoplist distutils + +OPTIONS_DEFINE= TEST + +TEST_BUILD_DEPENDS=${PYTHON_PKGNAMEPREFIX}pytest>=2.5.1:${PORTSDIR}/devel/py-pytest +TEST_MAKE_ENV= TZ=UTC +PYDISTUTILS_TEST_TARGET?= test + +.include + +.if ${PORT_OPTIONS:MTEST} && ${PYTHON_REL} < 3300 +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock +.endif + +.if ${PYTHON_REL} < 3200 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}futures>0:${PORTSDIR}/devel/py-futures +.endif + +pre-install-TEST-on: + @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_TEST_TARGET} ${PYDISTUTILS_TESTARGS}) + +.include Added: head/devel/py-apscheduler/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-apscheduler/distinfo Fri Sep 4 17:13:25 2015 (r396115) @@ -0,0 +1,2 @@ +SHA256 (APScheduler-3.0.3.tar.gz) = cb22f71682cfcd21d0cb95487756da6870f751cc86014748075dfbda858e88b9 +SIZE (APScheduler-3.0.3.tar.gz) = 74853 Added: head/devel/py-apscheduler/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-apscheduler/pkg-descr Fri Sep 4 17:13:25 2015 (r396115) @@ -0,0 +1,9 @@ +Advanced Python Scheduler (APScheduler) is a Python library that lets +you schedule your Python code to be executed later, either just once +or periodically. You can add new jobs or remove old ones on the fly as +you please. If you store your jobs in a database, they will also +survive scheduler restarts and maintain their state. When the +scheduler is restarted, it will then run all the jobs it should have +run while it was offline. + +WWW: https://pypi.python.org/pypi/APScheduler