Package Details: python-djvulibre 0.8.8-1

Git Clone URL: https://aur.archlinux.org/python-djvulibre.git (read-only, click to copy)
Package Base: python-djvulibre
Description: A set of Python bindings for the DjVuLibre library
Upstream URL: http://jwilk.net/software/python-djvulibre
Licenses: GPL2
Submitter: None
Maintainer: rpanerai
Last Packager: rpanerai
Votes: 18
Popularity: 0.32
First Submitted: 2010-08-25 05:02 (UTC)
Last Updated: 2023-11-19 20:40 (UTC)

Latest Comments

1 2 Next › Last »

rpanerai commented on 2023-09-04 13:09 (UTC) (edited on 2023-09-04 19:29 (UTC) by rpanerai)

Even though the project is abandoned, there is still a newer version of the package, and it can be made to compile.

@dark-saber, since this AUR package has not seen an update in over a year, how do you feel about transferring it to another maintainer? I'd be happy to take over.

rpanerai commented on 2023-08-16 10:29 (UTC)

Build fails: I get errors when compiling Cython files. Sadly, the python-djvulibre project appears abandoned.

madalu commented on 2021-12-18 22:43 (UTC)

The source url has changed, resulting in a 404 error with the current PKGBUILD. This is the url now linked from the project webpage:

https://files.pythonhosted.org/packages/46/f7/8d4c599c87e0331ce7688d4bbcd9c6a8d902b48c92be2aa9708f869db032/python-djvulibre-0.8.7.tar.gz

dark-saber commented on 2016-08-17 09:00 (UTC)

@bunder: Yes, it seems that makepkg doesn't support building split packages with different makedeps (FS#44050, https://bugs.archlinux.org/task/44050), so I'm reverting splitting this package. Thank you!

bunder commented on 2016-08-17 06:56 (UTC)

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 (UTC)

@bunder: 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 (UTC)

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/__init__.py -> build/lib.linux-i686-3.5/djvu copying djvu/const.py -> build/lib.linux-i686-3.5/djvu copying djvu/dllpath.py -> 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 "setup.py", line 300, in <module> distutils.core.setup(**setup_params) File "/usr/lib/python3.5/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib/python3.5/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command cmd_obj.run() File "setup.py", line 202, in run distutils.command.build_ext.build_ext.run(self) File "/usr/lib/python3.5/distutils/command/build_ext.py", line 338, in run self.build_extensions() File "setup.py", line 207, in build_extensions ext.sources = list(self.cython_sources(ext)) File "setup.py", line 233, in cython_sources self.make_file(depends, target, build_c, [source, target]) File "/usr/lib/python3.5/distutils/cmd.py", line 401, in make_file self.execute(func, args, exec_msg, level) File "/usr/lib/python3.5/distutils/cmd.py", line 336, in execute util.execute(func, args, msg, dry_run=self.dry_run) File "/usr/lib/python3.5/distutils/util.py", line 301, in execute func(*args) File "setup.py", 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 (UTC)

@madalu: Great catch, fixed!

madalu commented on 2016-08-15 14:21 (UTC)

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/__init__.py 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/const.py exists in both 'python-djvulibre' and 'python2-djvulibre' /usr/lib/python3.5/site-packages/djvu/decode.cpython-35m-x86_64-linux-gnu.so exists in both 'python-djvulibre' and 'python2-djvulibre' /usr/lib/python3.5/site-packages/djvu/dllpath.py exists in both 'python-djvulibre' and 'python2-djvulibre' /usr/lib/python3.5/site-packages/djvu/sexpr.cpython-35m-x86_64-linux-gnu.so 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 (UTC)

@frangio: Thank you, I've split the package, python2 version is now in https://aur.archlinux.org/packages/python2-djvulibre/, this package now provides python3 version of the library.