diff --git a/aur/flexget/PKGBUILD b/aur/flexget/PKGBUILD index 68f19d962..1901494cb 100644 --- a/aur/flexget/PKGBUILD +++ b/aur/flexget/PKGBUILD @@ -35,6 +35,7 @@ depends=('python2' 'python2-tvrage' #AUR# 'python2-tmdb3' #AUR# 'python2-pynzb' #AUR# + 'python2-apscheduler' #AUR# # undocumented in FlexGet.egg-info/requires.txt ) optdepends=('python2-guppy: for memusage plugin' #AUR# diff --git a/aur/python2-apscheduler/PKGBUILD b/aur/python2-apscheduler/PKGBUILD new file mode 100644 index 000000000..3bc2cd80b --- /dev/null +++ b/aur/python2-apscheduler/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Shanto + +# 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') diff --git a/aur/python2-tzlocal/PKGBUILD b/aur/python2-tzlocal/PKGBUILD new file mode 100644 index 000000000..00dc66a56 --- /dev/null +++ b/aur/python2-tzlocal/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Étienne Deparis + +pkgname=python2-tzlocal +_pkgname=tzlocal +pkgver=1.1.1 +pkgrel=1 +pkgdesc="Python2 version for tzinfo object for the local timezone" +arch=('any') +url='https://github.com/regebro/tzlocal' +license=('custom') +depends=('python2-pytz') +makedepends=('python2-setuptools') +source=("https://pypi.python.org/packages/source/t/${_pkgname}/${_pkgname}-$pkgver.zip") +sha256sums=('696bfd8d7c888de039af6c6fdf86fd52e32508277d89c75d200eb2c150487ed4') + +package() { + cd "${_pkgname}-$pkgver" + python2 setup.py install --root="$pkgdir" + install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}