dev-python/BTrees: new package, add 5.0

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2023-04-12 20:34:48 -04:00
parent d225ce489e
commit ff5af599ea
3 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="scalable persistent components"
HOMEPAGE="https://github.com/zopefoundation/BTrees"
LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/persistent[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]
doc? (
dev-python/repoze-sphinx-autointerface[${PYTHON_USEDEP}]
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
)
test? (
dev-python/transaction[${PYTHON_USEDEP}]
dev-python/zope-testrunner[${PYTHON_USEDEP}]
)
"
DEPEND="${RDEPEND}"
distutils_enable_sphinx docs
distutils_enable_tests pytest
python_test() {
zope-testrunner -pvc -j "$(nproc)" --usecompiled \
--path "${BUILD_DIR}/install$(python_get_sitedir)/" || die
}

View File

@@ -0,0 +1 @@
DIST BTrees-5.0.tar.gz 198089 BLAKE2B c571ee1e2e54b3a978acb25d932ed23a78f78653efc7567f310a98843d8f65150e84bd6f39824726bcc1230fa28a1c0f1359b5f2777ac00d6ce97a1662336e54 SHA512 4b90fb8769f8bacc02fd610c829b69cbb94f6a6fd146279ad06904e479ffc19e82cc37fff10ccf818a8ea8f6b2a19cd29021debb4d70ccb7a5a52fe54c0074b4

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
<longdescription>
This package contains a set of persistent object containers built around a modified BTree data structure. The trees are optimized for use inside ZODB's "optimistic concurrency" paradigm, and include explicit resolution of conflicts detected by that mechanism.
</longdescription>
<upstream>
<maintainer>
<name>Zope Foundation and Contributors</name>
<email>zope-dev@zope.org</email>
</maintainer>
<bugs-to>https://github.com/zopefoundation/BTrees/issues</bugs-to>
<changelog>https://github.com/zopefoundation/BTrees/blob/master/CHANGES.rst</changelog>
<doc>https://btrees.readthedocs.io</doc>
<remote-id type="github">zopefoundation/BTrees</remote-id>
<remote-id type="pypi">BTrees</remote-id>
</upstream>
</pkgmetadata>