Package Details: python-rebulk 3.0.1-2

Git Clone URL: https://aur.archlinux.org/python-rebulk.git (read-only, click to copy)
Package Base: python-rebulk
Description: Define simple search patterns in bulk to perform advanced matching on any string.
Upstream URL: https://github.com/Toilal/rebulk
Licenses: MIT
Submitter: sleduc
Maintainer: fryfrog
Last Packager: fryfrog
Votes: 28
Popularity: 0.162912
First Submitted: 2016-01-24 10:18
Last Updated: 2020-12-27 20:18

Latest Comments

1 2 3 Next › Last »

fryfrog commented on 2020-12-27 20:18

@simonzack, thanks for figuring it out. Punted python-six from depends.

simonzack commented on 2020-12-27 07:06

Thanks for the updates fryfrog! Another small issue, I don't think this package needs python-six, after running pip show rebulk and pipdeptree.

A lot of other Python packages still depend on python-six I think, but the less the better. Hopefully there will fewer and fewer in the future.

fryfrog commented on 2020-12-25 16:40

Ha, duh! The whole point of removing python2! Fixed. :)

simonzack commented on 2020-12-25 06:49

Oh python2-setuptools is still in the PKGBUILD can it be removed? Turns out the commit feat: add python 3.8/3.9 support, drop python 2.7/3.4 support · Toilal/rebulk@048a15f dropped Python 2 anyway.

fryfrog commented on 2020-12-25 05:27

Sure, I don't see any packages needing python2-rebulk. I'll punt it.

simonzack commented on 2020-12-25 03:35

Can python2-rebulk be removed? Python 2 is deprecated now. I only use this package for subliminal, and installing Python 2 every time is rather unnecessary. It's probably the case that no other package requires python2-rebulk either.

tyrannis.hawk commented on 2020-06-26 09:59

When building, I get:

WARNING: The pip package is not available, falling back to EasyInstall for handling setup_requires/test_requires; this is deprecated and will be removed in a future version.

However, the rebulk package is available on pip: https://pypi.org/project/rebulk/

fryfrog commented on 2020-05-09 14:56

Done. The requirements.txt file links to a blog post that 404s, so who knows what is required and what isn't. :/

dkasak commented on 2020-05-09 10:54

This patch works for me:

diff --git a/.SRCINFO b/.SRCINFO
index 582fb15..4273d45 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = python-rebulk
    pkgdesc = Define simple search patterns in bulk to perform advanced matching on any string.
    pkgver = 2.0.1
-   pkgrel = 3
+   pkgrel = 4
    url = https://github.com/Toilal/rebulk
    arch = any
    license = MIT
@@ -14,11 +14,11 @@ pkgbase = python-rebulk
 pkgname = python-rebulk
    depends = python
    depends = python-six
-   depends = python-regex
+   optdepends = python-regex

 pkgname = python2-rebulk
    depends = python2
    depends = python2-six
-   depends = python2-regex
    depends = python2-ordereddict
+   optdepends = python2-regex

diff --git a/PKGBUILD b/PKGBUILD
index 0c2e439..b9ee7f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 pkgname=('python-rebulk' 'python2-rebulk')
 _name=${pkgname#python-}
 pkgver=2.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Define simple search patterns in bulk to perform advanced matching on any string. "
 arch=("any")
 url="https://github.com/Toilal/rebulk"
@@ -30,8 +30,8 @@ check() {

 package_python-rebulk() {
   depends=('python'
-           'python-six'
-           'python-regex')
+           'python-six')
+  optdepends=('python-regex')
   cd "${srcdir}/rebulk-${pkgver}"
   python setup.py install --root="${pkgdir}/" --optimize=1
 }
@@ -39,8 +39,8 @@ package_python-rebulk() {
 package_python2-rebulk() {
   depends=('python2'
            'python2-six'
-           'python2-regex'
            'python2-ordereddict')
+  optdepends=('python2-regex')
   cd "${srcdir}/rebulk-${pkgver}-py2"
   python2 setup.py install --root="${pkgdir}/" --optimize=1
 }

dkasak commented on 2020-05-09 10:49

Since this breaking change was made in python-regex, many packages using python-rebulk are broken.

Since the rebulk Python package does not depend on regex (it's an optional dependency), could we make python-regex an optional dependency here as well?