PKGBUILDs/aur/python2-apscheduler/PKGBUILD
Yaron de Leeuw d2a7387995 fix python2-apscheduler
Adding python2-setuptools as dependency
(not make dependency - it is required at runtime)
2014-11-07 23:24:36 +02:00

35 lines
941 B
Bash

# Maintainer: Shanto <shanto@hotmail.com>
# ALARM Maintainer: Yaron de Leeuw < me@jarondl.net >
# upgraded version, and added dependencies.
pkgname=python2-apscheduler
_pkgname=APScheduler
pkgver=3.0.1
pkgrel=1
pkgdesc="Advanced Python Scheduler is a light but powerful in-process task scheduler"
arch=(any)
url="http://pypi.python.org/pypi/APScheduler"
license=('MIT')
#groups=()
depends=('python2'
'python2-pytz'
'python2-tzlocal'
'python2-futures'
'python2-six'
'python2-setuptools'
)
#makedepends=()
#provides=()
#conflicts=()
#replaces=()
#backup=()
options=(!emptydirs)
#install=
source=("http://pypi.python.org/packages/source/A/APScheduler/APScheduler-$pkgver.tar.gz")
package() {
cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
find $pkgdir -path '*.egg-info/*' -exec chmod 0644 {} \;
}
md5sums=('7c3687b3dcd645fe9df48e34eb7a7592')