databases/py-lmdb 2.2.0_2 FreeBSD
Python bindings for LMDB
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
6edc12e913- License
- OPENLDAP
- Categories
- databases, python
- Package size
- 86.7 KiB, 542.4 KiB installed
Description
This is a port of py-lmdb, which provides bindings for OpenLDAP's Lightning Memory-mapped Database (LMDB).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/py-lmdb | 2.2.0_2 |
| OpenBSD | databases/py-lmdb | 2.2.1 |
| NetBSD | databases/py-lmdb | 2.3.0 |
| DragonFly | databases/py-lmdb | 0.97_1 |
Install
Binary package:
pkg install py312-lmdb
From the ports tree:
cd /usr/ports/databases/py-lmdb/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-lmdb>0:databases/py-lmdb
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.2.0_1 | 2.2.0_1 | 0.97 | 0.97_1 | 2.2.0_1 |
| FreeBSD:14:quarterly | 2.2.0_1 | 2.2.0_1 | n/a | 0.97_1 | 2.2.0_1 |
| FreeBSD:15:latest | 2.2.0_1 | 2.2.0_1 | n/a | 0.97_1 | 0.97_1 |
| FreeBSD:15:quarterly | 2.2.0_1 | 2.2.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.2.0_1 | 2.2.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 4
${PYTHON_PKGNAMEPREFIX}cffi>0.8: devel/py-cffi${PYTHON_PKGNAMEPREFIX}patch-ng>0: devel/py-patch-ng${PYTHON_PKGNAMEPREFIX}setuptools>0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Library 1
liblmdb0.so: databases/lmdb0
Test 1
${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest
The full lists below include those, and their dependencies in turn.
Build dependencies 20
- archivers/liblz4
- archivers/zstd
- databases/lmdb0
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-cffi
- devel/py-installer
- devel/py-packaging
- devel/py-patch-ng
- devel/py-pycparser
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-wheel
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
Run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- localbase python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lmdb-2.2.0.tar.gz | 933189 | 53020e20305c043ea6e68089bc242d744fba6073cdb268332299ba6dda2886d4 |
Master sites 1
- PYPI
Commit history 4
| Date | Commit | Credits | Log message |
|---|---|---|---|
6edc12e913 |
Hajimu UMEMOTO | databases/py-lmdb: Fix build after lmdb update. Approved by: bapt |
|
85ba298b7e |
Baptiste Daroussin | databases/lmdb: allow to install both 0.x and 1.x together LMDB 1.0 and the legacy 0.9 ABI cannot be mixed, the datanase format are
incompatibles as well.
Rename or relocate everything databases/lmdb0 installs so that it no
longer overlaps with databases/lmdb:
- the utilities are now mdb_copy0, mdb_dump0, mdb_load0 and mdb_stat0
- the header is include/lmdb0/lmdb.h
- the linker name is liblmdb0.so, the shared object keeps its ABI name
liblmdb.so.0 so already linked programs are unaffected
- the pkg-config file is lmdb0.pc
A compatibility prefix holding the previous layout is also installed
under ${PREFIX}/lmdb0/ (include/, lib/ and libdata/pkgconfig/) so that
build systems which expect to find lmdb.h and -llmdb relative to a
single directory only need a path change.
Now all ports should migrate to lmdb 1.X and use the lmdb 0.9 port to ease
… |
|
5f9d389f29 |
Xin LI | databases/lmdb0: Add port for LMDB 0.9.x legacy ABI LMDB 1.0 introduced an incompatible on-disk format change and subtle
API breakage: applications that compiled cleanly against 1.0 headers
could fail silently at run time. Known affected ports include dns/knot3,
mail/bogofilter, and mail/postfix; the postfix issue has been confirmed
upstream. Linux distributions such as Arch Linux have observed the same
breakage. Samba can also be affected in certain configurations.
Because the regression is not detectable in an -exp build run -- the
postfix failure only manifests at run time, and bogofilter was caught
only because post-build self-tests happen to exercise this path -- we
cannot rely on package builds to validate the 1.0 upgrade.
This commit introduces databases/lmdb0 as a holding port for the 0.9.35
… |
|
f203d27f50 |
Xin LI | databases/py-lmdb: update to 2.2.0, switch to pep517 PR: ports/295487
Approved by: maintainer ([email protected]) |