Date: Saturday, April 8, 2023 @ 12:40:33
  Author: felixonmars
Revision: 1442348

archrelease: copy trunk to community-staging-any

Added:
  python-apscheduler/repos/community-staging-any/
  python-apscheduler/repos/community-staging-any/PKGBUILD
    (from rev 1442346, python-apscheduler/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-apscheduler/repos/community-staging-any/PKGBUILD (from rev 
1442346, python-apscheduler/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-08 12:40:33 UTC (rev 1442348)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-apscheduler
+pkgver=3.10.0
+_commit=a2247473fb0f664ce02f6fb0c584a003df1e952b
+pkgrel=2
+pkgdesc="In-process task scheduler with Cron-like capabilities"
+url="https://github.com/agronholm/apscheduler";
+license=('MIT')
+arch=('any')
+depends=('python-setuptools' 'python-six' 'python-pytz' 'python-tzlocal')
+makedepends=('git' 'python-setuptools-scm')
+checkdepends=('pifpaf' 'python-gevent' 'python-pytest-asyncio' 
'python-pytest-cov'
+              'python-pytest-tornado' 'python-redis' 'python-sqlalchemy' 
'python-tornado'
+              'python-twisted' 'redis')
+# python-kazoo, python-pymongo removed due to lack of running service
+source=("git+https://github.com/agronholm/apscheduler.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd apscheduler
+  python setup.py build
+}
+
+check() {
+  cd apscheduler
+  python setup.py egg_info
+  pifpaf run redis -- python -m pytest
+}
+
+package() {
+  cd apscheduler
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to