aboutsummaryrefslogtreecommitdiff
path: root/databases/py-lmdb
Commit message (Collapse)AuthorAgeFilesLines
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Drop python 2.7 support from a few portsAntoine Brodin2020-12-281-1/+1
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=559531
* Relax hardcoded paths to fix build with Python 3.8.7Kai Knoblich2020-12-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the shared libs naming scheme. This means "EXT_SUFFIX" is now derived from SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so". The affected ports strip the libaries in the "post-install" target via hardcoded path(s) and the build fails at the end because the new extension is not expected at this place. Remedy the issue by adding wildcards to these paths. This should also prepare the ports for future Python releases, which will use the new shared libs naming scheme. [1] https://bugs.python.org/issue42604 PR: 252057 Reported by: John Kennedy Reviewed by: fluffy, koobs Approved by: koobs (python) Notes: svn path=/head/; revision=559094
* databases/py-lmdb: Update to 0.97Kai Knoblich2019-10-253-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update WWW field as upstream has a new maintainer. * While I'm here: Add "do-test" target to make future QA easier. Notable changes since 0.93: * Only preload the value with the GIL (= Global Interpreter Lock) unlocked when the value is actually requested. This significantly improves read performance to retrieve keys with large values when the value isn't retrieved. * Handling of the Environment(create=True) flag was improved. * Database names may be reused after they are dropped on CFFI, without reopening the environment. * Python argument parsing now matches the behaviour of CFFI, and most sane Python APIs: a bool parameter is considered to be true if it is any truthy value, not just if it is exactly True. * Updated LMDB to version 0.9.22. * Fixed several 2.7/3 bugs in command line tool. https://github.com/jnwatson/py-lmdb/blob/py-lmdb_0.97/ChangeLog PR: 241367 Submitted by: Keith Gaughan <k@stereochro.me> (maintainer) MFH: 2019Q4 Notes: svn path=/head/; revision=515593
* Use PY_FLAVOR for dependencies.Mathieu Arnold2018-06-201-1/+1
| | | | | | | | | | FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight Notes: svn path=/head/; revision=472884
* Convert Python ports to FLAVORS.Mathieu Arnold2017-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ports using USE_PYTHON=distutils are now flavored. They will automatically get flavors (py27, py34, py35, py36) depending on what versions they support. There is also a USE_PYTHON=flavors for ports that do not use distutils but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if using distutils but flavors are not wanted. A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added to cope with Python ports that did not have the Python PKGNAMEPREFIX but are flavored. USES=python now also exports a PY_FLAVOR variable that contains the current python flavor. It can be used in dependency lines when the port itself is not python flavored. For example, deskutils/calibre. By default, all the flavors are generated. To only generate flavors for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf. In all the ports with Python dependencies, the *_DEPENDS entries MUST end with the flavor so that the framework knows which to build/use. This is done by appending '@${PY_FLAVOR}' after the origin (or @${FLAVOR} if in a Python module with Python flavors, as the content will be the same). For example: RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} PR: 223071 Reviewed by: portmgr, python Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12464 Notes: svn path=/head/; revision=455210
* Add py-lmdb 0.93, python bindings for LMDB.Vanilla I. Shu2017-09-113-0/+37
PR: 222188 Submitted by: Keith Gaughan <k@sterechro.me> Notes: svn path=/head/; revision=449648