Merge pull request #1015 from jarondl/update-flexget

Update flexget
This commit is contained in:
Kevin Mihelich 2014-11-07 12:35:35 -07:00
commit dcbe189ed6
3 changed files with 61 additions and 9 deletions

View file

@ -4,7 +4,7 @@
pkgname=flexget
_pkgname=FlexGet
pkgver=1.2.199
pkgver=1.2.214
pkgrel=1
pkgdesc="Automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more."
@ -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#
@ -42,19 +43,17 @@ optdepends=('python2-guppy: for memusage plugin' #AUR#
'python2-cherrypy: web interface'
'python2-flask: web interface'
)
makedepends=('python2-distribute'
'python2-paver'
makedepends=('python2-paver'
'python2-setuptools'
)
source=("http://download.flexget.com/archive/${_pkgname}-${pkgver}.tar.gz"
source=("https://pypi.python.org/packages/source/F/FlexGet/${_pkgname}-${pkgver}.tar.gz"
'flexget.service'
)
changelog=ChangeLog
sha256sums=('5033d98ff447e9a51ae9daf989230f5900b4a037aa9f5af5cef1135192ef94ef'
'e2c3a958ed0c286337cd37fba1d6cbdf4306c57fcddf2b9cc43615ce80ae83aa')
sha256sums=('f84524b4222a503ce79005316b7025e3a9848863b5daae2d611bc38da4643d94'
'e2c3a958ed0c286337cd37fba1d6cbdf4306c57fcddf2b9cc43615ce80ae83aa'
)
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
@ -66,7 +65,7 @@ package() {
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
# Make sure the perms allow reading by all
chmod ugo+r ${pkgdir}/usr/lib/python2.7/site-packages/FlexGet-1.2-py2.7.egg-info/*
chmod ugo+r ${pkgdir}/usr/lib/python2.7/site-packages/${_pkgname}-${pkgver}-py2.7.egg-info/*
# install systemd user unit
install -Dm644 ../flexget.service "${pkgdir}"/usr/lib/systemd/user/flexget.service

View file

@ -0,0 +1,33 @@
# 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')

View file

@ -0,0 +1,20 @@
# Maintainer: Étienne Deparis <etienne [at] depar.is>
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"
}