Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2015 17:13:26 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396115 - in head/devel: . py-apscheduler
Message-ID:  <201509041713.t84HDQ2S059383@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>

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



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