Package Details: python-djvulibre 0.8.6-1

Git Clone URL: (read-only, click to copy)
Package Base: python-djvulibre
Description: A set of Python bindings for the DjVuLibre library
Upstream URL:
Licenses: GPL2
Submitter: None
Maintainer: dark-saber
Last Packager: dark-saber
Votes: 17
Popularity: 0.000000
First Submitted: 2010-08-25 05:02
Last Updated: 2021-03-06 13:56

Latest Comments

1 2 Next › Last »

dark-saber commented on 2016-08-17 09:00

Yes, it seems that makepkg doesn't support building split packages with different makedeps (FS#44050,, so I'm reverting splitting this package. Thank you!

bunder commented on 2016-08-17 06:56

dark-saber, I'm not using any AUR helper. The package fails being built with makepkg if cython/cython2 is not installed.

dark-saber commented on 2016-08-15 19:57

Hmm, looks like this depends on which AUR helper you use. Yaourt fails to see extra dependencies, while pacaur installs them just fine. I've seen the method used here in some python library PKGBUILDs, but I'll look for a more universal solution. I'm not a huge fan of moving all dependencies to the top level, because it somewhat ruins the idea of split packages.

bunder commented on 2016-08-15 18:49

BTW, package fails if cython/cython2 are not installed.

running build
running build_py
creating build
creating build/lib.linux-i686-3.5
creating build/lib.linux-i686-3.5/djvu
copying djvu/ -> build/lib.linux-i686-3.5/djvu
copying djvu/ -> build/lib.linux-i686-3.5/djvu
copying djvu/ -> build/lib.linux-i686-3.5/djvu
running build_ext
creating build/temp.linux-i686-3.5
creating build/temp.linux-i686-3.5/src
creating 'build/temp.linux-i686-3.5/src/config.pxi'
cythoning 'djvu.decode' extension
generating build/temp.linux-i686-3.5/src/decode.c from djvu/decode.pyx, build/temp.linux-i686-3.5/src/config.pxi, djvu/common.pxi, djvu/decode.pxd, djvu/sexpr.pxd
Traceback (most recent call last):
File "", line 300, in <module>
File "/usr/lib/python3.5/distutils/", line 148, in setup
File "/usr/lib/python3.5/distutils/", line 955, in run_commands
File "/usr/lib/python3.5/distutils/", line 974, in run_command
File "/usr/lib/python3.5/distutils/command/", line 135, in run
File "/usr/lib/python3.5/distutils/", line 313, in run_command
File "/usr/lib/python3.5/distutils/", line 974, in run_command
File "", line 202, in run
File "/usr/lib/python3.5/distutils/command/", line 338, in run
File "", line 207, in build_extensions
ext.sources = list(self.cython_sources(ext))
File "", line 233, in cython_sources
self.make_file(depends, target, build_c, [source, target])
File "/usr/lib/python3.5/distutils/", line 401, in make_file
self.execute(func, args, exec_msg, level)
File "/usr/lib/python3.5/distutils/", line 336, in execute
util.execute(func, args, msg, dry_run=self.dry_run)
File "/usr/lib/python3.5/distutils/", line 301, in execute
File "", line 226, in build_c
raise RuntimeError('Cython >= {ver} is required'.format(ver=req_cython_version))
RuntimeError: Cython >= 0.20 is required

Seems you need to specify makedepends at top level.

dark-saber commented on 2016-08-15 14:35

Great catch, fixed!

madalu commented on 2016-08-15 14:21

I believe line 50 of the PKGBUILD needs to be changed from python to python2. Otherwise this PKGBUILD simply builds two python 3 packages, one named python-djvulibre and the other named python2-djvulibre. But they are both actually python 3 packages (installed to /usr/lib/python3.5/), which results in the following conflict when trying to install both:

error: failed to commit transaction (conflicting files)
/usr/lib/python3.5/site-packages/djvu/ exists in both 'python-djvulibre' and 'python2-djvulibre'
/usr/lib/python3.5/site-packages/djvu/__pycache__/__init__.cpython-35.pyc exists in both 'python-djvulibre' and 'python2-djvulibre'
/usr/lib/python3.5/site-packages/djvu/__pycache__/const.cpython-35.pyc exists in both 'python-djvulibre' and 'python2-djvulibre'
/usr/lib/python3.5/site-packages/djvu/__pycache__/dllpath.cpython-35.pyc exists in both 'python-djvulibre' and 'python2-djvulibre'
/usr/lib/python3.5/site-packages/djvu/ exists in both 'python-djvulibre' and 'python2-djvulibre'
/usr/lib/python3.5/site-packages/djvu/ exists in both 'python-djvulibre' and 'python2-djvulibre'
/usr/lib/python3.5/site-packages/djvu/ exists in both 'python-djvulibre' and 'python2-djvulibre'
/usr/lib/python3.5/site-packages/djvu/ exists in both 'python-djvulibre' and 'python2-djvulibre'
/usr/lib/python3.5/site-packages/python_djvulibre-0.8-py3.5.egg-info exists in both 'python-djvulibre' and 'python2-djvulibre'

dark-saber commented on 2016-08-13 10:37

Thank you, I've split the package, python2 version is now in, this package now provides python3 version of the library.

frangio commented on 2016-08-11 23:39

Package doesn't build. Here's a fix:

Shouldn't this be renamed `python2-djvulibre`?

Anonymous comment on 2012-01-31 06:00

Updated to 0.3.4.

ntkoopman commented on 2011-04-04 09:45