Added flexget and deps to aur

This commit is contained in:
Kevin Mihelich 2011-03-22 00:29:33 -04:00
parent d5201ad731
commit c5a978faba
8 changed files with 195 additions and 0 deletions

32
aur/flexget/PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# Maintainer: Nathan Owe <ndowens.aur at gmail dot com>
plugrel=1
pkgname=flexget
_pkgname=FlexGet
pkgver=1.0r1997
pkgrel=1
pkgdesc="Automate downloading or processing content (torrents, podcasts, etc.)"
arch=(any)
url="http://flexget.com/"
depends=('python2' 'cherrypy' 'python-flask' 'python-progressbar' \
'python2-pynzb' 'pyrss2gen' 'python2-sqlalchemy' 'python-html5lib' \
'python-beautifulsoup' 'python-yaml' 'python-feedparser')
makedepends=('python2-distribute')
license=('MIT')
install=('flexget.install')
source=("http://download.flexget.com/unstable/${_pkgname}-${pkgver}.tar.gz")
md5sums=('4331f29cab53f23d474fed5e43cbeb3d')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py install --root=${pkgdir}/ optimize=1
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}

View file

@ -0,0 +1,22 @@
# arg 1: the new package version
post_install() {
echo "You need to place your config.yml in /opt/flexget/ see dir for examples."
echo "Configuration details can be found at http://flexget.com/wiki/Configuration."
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
echo "You need to place your config.yml in /opt/flexget/ see dir for examples."
echo "Configuration details can be found at http://flexget.com/wiki/Configuration."
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
op=$1
shift
$op $*

22
aur/pyrss2gen/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# Maintainer: Florian Léger <florian6 dot leger at laposte dot net>
plugrel=1
pkgname=pyrss2gen
pkgver=1.0.0
pkgrel=3
pkgdesc="A Python library for generating RSS 2.0 feeds."
arch=('any')
url='http://www.dalkescientific.com/Python/PyRSS2Gen.html'
license=('BSD')
depends=('python2')
makedepends=('python2-distribute')
source=("http://www.dalkescientific.com/Python/PyRSS2Gen-${pkgver}.tar.gz")
md5sums=('b37ed0c9cfa4438a73dbbb0207f3aff6')
build() {
cd "$srcdir/PyRSS2Gen-$pkgver"
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
python2 setup.py install --root="$pkgdir" || return 1
}

22
aur/python-flask/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# Maintainer: Tarmo Heiskanen <turskii@gmail.com>
plugrel=1
pkgname=python-flask
pkgver=0.6.1
pkgrel=1
pkgdesc='Micro webdevelopment framework for Python'
arch=('any')
url='http://flask.pocoo.org/'
license=('BSD')
depends=('python2' 'python-werkzeug' 'python-jinja')
makedepends=('setuptools')
source=("http://pypi.python.org/packages/source/F/Flask/Flask-${pkgver}.tar.gz")
md5sums=('7af56e33fb6a35db2818c20e604c8698')
build() {
cd "${srcdir}/Flask-${pkgver}"
python2 ./setup.py install --root="${pkgdir}" --prefix="/usr"
}
# vim:set ts=2 sw=2 et:

View file

@ -0,0 +1,21 @@
# Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
# Contributor: Vasily Shevkunov <vasily@shevkunov.name>
plugrel=1
pkgname=python-progressbar
pkgver=2.2
pkgrel=2
pkgdesc="Text progressbar library for python"
arch=('i686' 'x86_64')
url="http://pypi.python.org/pypi/progressbar"
license=('LGPL')
makedepends=('python2')
depends=('python2')
source=(http://pypi.python.org/packages/source/p/progressbar/progressbar-$pkgver.tar.gz)
md5sums=('8ea4e2c17a8ec9e7d153767c5f2a7b28')
build() {
cd $startdir/src/progressbar-$pkgver
sed -i 's|^#!/usr/bin/python$|#!/usr/bin/python2|' progressbar.py
python2 setup.py install --root=$startdir/pkg || return 1
}

View file

@ -0,0 +1,22 @@
# Contributer: Richard Murri <admin@richardmurri.com>
plugrel=1
pkgname=python-werkzeug
pkgver=0.6.2
pkgrel=2
pkgdesc="The Swiss Army knife of Python web development"
arch=(any)
url="http://werkzeug.pocoo.org/"
license=('BSD')
depends=('python2>=2.4')
makedepends=('setuptools')
source=(http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-$pkgver.tar.gz)
md5sums=('519408350346a247333bb5d584371724')
build() {
cd Werkzeug-$pkgver
python2 ./setup.py install --root=$pkgdir --prefix=/usr || return 1
}

View file

@ -0,0 +1,28 @@
Copyright (c) 2009, Eric Florenzano
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of the author nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -0,0 +1,26 @@
# Contributor : Daniel Neve <the.mephit@googlemail.com>
plugrel=1
pkgshort=pynzb
pkgname=python2-$pkgshort
pkgver=0.1.0
pkgrel=1
pkgdesc="A unified API for parsing NZB files"
arch=('any')
url="http://pypi.python.org/pypi/pynzb/"
license=('BSD')
depends=('python2' 'expat')
makedepends=('setuptools')
conflicts=('pynzb')
optdepends=('python-lxml: Use lxml instead of expat')
source=(http://pypi.python.org/packages/source/p/$pkgshort/$pkgshort-$pkgver.tar.gz
https://www.github.com/ericflo/$pkgshort/raw/master/LICENSE.txt)
md5sums=('63c74a36348ac28aa99732dcb8be8c59'
'87d87599921bae943f981b28ecfc3cc1')
build() {
cd $srcdir/$pkgshort-$pkgver
python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
install -D -m644 $srcdir/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
}