Package Details: python-leveldb 0.201-3

Git Clone URL: https://aur.archlinux.org/python-leveldb.git (read-only, click to copy)
Package Base: python-leveldb
Description: Python bindings for leveldb database library
Upstream URL: https://github.com/rjpower/py-leveldb/
Licenses: BSD
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 12
Popularity: 0.77
First Submitted: 2017-03-19 06:49 (UTC)
Last Updated: 2022-11-11 19:52 (UTC)

Latest Comments

dbermond commented on 2022-11-11 19:52 (UTC)

@Samsagax Package updated. I'm slowly updating my packages, since I have a lot of them.

Samsagax commented on 2022-11-09 21:37 (UTC)

Hello again. This package needs to add git -c protocol.file.allow=always submodule update since you are using submodules since git 2.28.1:

https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules

npaladin2000 commented on 2022-09-05 23:35 (UTC)

Getting an error building:

Successfully built leveldb-0.20-cp310-cp310-linux_x86_64.whl
==> Starting check()...
EEEEEE
======================================================================
ERROR: testCompact (test.test.TestLevelDB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/steam/.cache/yay/python-leveldb/src/py-leveldb/test/test.py", line 44, in setUp
    self.leveldb.DestroyDB(self.name)
AttributeError: module 'leveldb' has no attribute 'DestroyDB'

======================================================================
ERROR: testIterationBasic (test.test.TestLevelDB)
----------------------------------------------------------------------
Traceback (most recent call last):
Traceback (most recent call last):
  File "/home/steam/.cache/yay/python-leveldb/src/py-leveldb/test/test.py", line 44, in setUp
    self.leveldb.DestroyDB(self.name)
AttributeError: module 'leveldb' has no attribute 'DestroyDB'

======================================================================
ERROR: testIteratorCrash (test.test.TestLevelDB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/steam/.cache/yay/python-leveldb/src/py-leveldb/test/test.py", line 44, in setUp
    self.leveldb.DestroyDB(self.name)
AttributeError: module 'leveldb' has no attribute 'DestroyDB'

======================================================================
ERROR: testIteratorNone (test.test.TestLevelDB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/steam/.cache/yay/python-leveldb/src/py-leveldb/test/test.py", line 44, in setUp
    self.leveldb.DestroyDB(self.name)
AttributeError: module 'leveldb' has no attribute 'DestroyDB'

======================================================================
ERROR: testMe (test.test.TestLevelDB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/steam/.cache/yay/python-leveldb/src/py-leveldb/test/test.py", line 44, in setUp
    self.leveldb.DestroyDB(self.name)
AttributeError: module 'leveldb' has no attribute 'DestroyDB'

======================================================================
ERROR: testSnapshotBasic (test.test.TestLevelDB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/steam/.cache/yay/python-leveldb/src/py-leveldb/test/test.py", line 44, in setUp
    self.leveldb.DestroyDB(self.name)
AttributeError: module 'leveldb' has no attribute 'DestroyDB'

----------------------------------------------------------------------
Ran 6 tests in 0.006s

FAILED (errors=6)
==> ERROR: A failure occurred in check().
    Aborting...
error making: python-leveldb

dbermond commented on 2022-08-18 20:37 (UTC)

@Samsagax Updated the build path to reflect python changes. Thanks for reporting.

Samsagax commented on 2022-08-16 21:34 (UTC) (edited on 2022-08-16 21:37 (UTC) by Samsagax)

Its failing to build cause of the check() function fails to find the correct python path:

Correct check() function should be:

check() {
  cd "leveldb-${pkgver}"
  local _pyver
  _pyver="$(python -c 'import sys; print("%s%s" %sys.version_info[0:2])')"
  PYTHONPATH="$(pwd)/build/lib.linux-${CARCH}-cpython-${_pyver}" nosetests
}

Look for the PYTHONPATH and pyver changes

dbermond commented on 2019-11-20 21:51 (UTC)

@troyengel Fixed. Thanks.

troyengel commented on 2019-11-20 13:50 (UTC)

AUR version 0.20-2

The upstream code is not compatible with the new python 3.8 upgrade, I had to apply the same patch as the Fedora packagers: https://src.fedoraproject.org/rpms/python-leveldb/c/57adbb30b4d4c1ee58976eaa8ca5b3cea9c516ab?branch=master

dbermond commented on 2017-03-27 17:35 (UTC)

Hi petronny. I avoid using split packages in AUR because the majoritiy of AUR helpers cannot handle them. Thanks for asking though.

petronny commented on 2017-03-25 07:57 (UTC)

Hi, will you like to merge python2-leveldb and this into 1 PKGBUILD?