mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
29 lines
1 KiB
Bash
29 lines
1 KiB
Bash
# Maintainer: Yaron de Leeuw < me@jarondl.net >
|
|
# Maintained at : https://github.com/jarondl/aur-pkgbuilds-jarondl
|
|
|
|
# Contributor: Shanto <shanto@hotmail.com>
|
|
|
|
pkgname=python2-apscheduler
|
|
_pkgname=APScheduler
|
|
pkgver=3.0.3
|
|
pkgrel=1
|
|
pkgdesc="In-process task scheduler with Cron-like capabilities"
|
|
arch=('any')
|
|
url="https://pypi.python.org/pypi/APScheduler"
|
|
license=('MIT')
|
|
depends=('python2'
|
|
'python2-pytz'
|
|
'python2-tzlocal'
|
|
'python2-futures'
|
|
'python2-six'
|
|
'python2-setuptools'
|
|
)
|
|
source=("https://pypi.python.org/packages/source/A/APScheduler/APScheduler-$pkgver.tar.gz"
|
|
"https://bitbucket.org/agronholm/apscheduler/raw/master/LICENSE.txt")
|
|
sha256sums=('cb22f71682cfcd21d0cb95487756da6870f751cc86014748075dfbda858e88b9'
|
|
'6163f7987dfb38d6bc320ce2b70b2f02b862bc41126516d552ef1cd43247e758')
|
|
package() {
|
|
cd "$srcdir/$_pkgname-$pkgver"
|
|
python2 setup.py install --root="$pkgdir/" --optimize=1
|
|
install -D -m644 ../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|