PKGBUILDs/aur/python2-apscheduler/PKGBUILD

34 lines
902 B
Bash
Raw Normal View History

# 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')
#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')