From e418dc2bb6751ec6d2f495bb607c4490e7ba60e3 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 16 Jul 2017 15:46:54 +0000 Subject: python-rebulk: initial inclusion. dep of flexget --- abs/core/python_modules/python-rebulk/PKGBUILD | 34 +++++++++++++++++++++++ abs/core/python_modules/python-rebulk/__changelog | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 abs/core/python_modules/python-rebulk/PKGBUILD create mode 100644 abs/core/python_modules/python-rebulk/__changelog diff --git a/abs/core/python_modules/python-rebulk/PKGBUILD b/abs/core/python_modules/python-rebulk/PKGBUILD new file mode 100644 index 0000000..c7338bf --- /dev/null +++ b/abs/core/python_modules/python-rebulk/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Sebastien Leduc +pkgname=('python2-rebulk') +pkgbase='python-rebulk' +_guser='Toilal' +_gproject="rebulk" +pkgver=0.9.0 +pkgrel=1 +pkgdesc=" Define simple search patterns in bulk to perform advanced matching on any string. " +arch=("any") +url="https://github.com/Toilal/rebulk" +license=('MIT') +makedepends=('python2' 'python2-setuptools' 'python2-pytest-runner') +options=(!emptydirs) +source=("https://github.com/${_guser}/${_gproject}/archive/${pkgver}.tar.gz") +md5sums=('7f76cd95e6ca9219202aeaa9b1b7b7c8') + + +prepare() { + cp -a "${srcdir}/${_gproject}-${pkgver}"{,-python2} +} + +package_python-rebulk() { + depends=('python-six' 'python-regex') + cd "$srcdir/$_gproject-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +package_python2-rebulk() { + depends=('python2-six' 'python2-regex' 'python2-ordereddict') + cd "$srcdir/$_gproject-$pkgver-python2" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: diff --git a/abs/core/python_modules/python-rebulk/__changelog b/abs/core/python_modules/python-rebulk/__changelog new file mode 100644 index 0000000..4f818ef --- /dev/null +++ b/abs/core/python_modules/python-rebulk/__changelog @@ -0,0 +1,2 @@ +PKGBUILD: don't build py 3 stuff + -- cgit v0.12