diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-07-16 15:46:54 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-07-16 15:46:54 (GMT) |
commit | e418dc2bb6751ec6d2f495bb607c4490e7ba60e3 (patch) | |
tree | 0024171529e2f5ad6cd5ab39c81791feb5d7b3e4 /abs/core/python_modules | |
parent | 1d8a0047671e426bf4529df3ab8361dde02e4596 (diff) | |
download | linhes_pkgbuild-e418dc2bb6751ec6d2f495bb607c4490e7ba60e3.zip linhes_pkgbuild-e418dc2bb6751ec6d2f495bb607c4490e7ba60e3.tar.gz linhes_pkgbuild-e418dc2bb6751ec6d2f495bb607c4490e7ba60e3.tar.bz2 |
python-rebulk: initial inclusion. dep of flexget
Diffstat (limited to 'abs/core/python_modules')
-rw-r--r-- | abs/core/python_modules/python-rebulk/PKGBUILD | 34 | ||||
-rw-r--r-- | abs/core/python_modules/python-rebulk/__changelog | 2 |
2 files changed, 36 insertions, 0 deletions
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 <sebastien@sleduc.fr> +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 + |