commit: ff5af599eac9884327787484f4ebb00ef3315ccd
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Thu Apr 13 00:34:48 2023 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Thu Apr 13 00:34:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff5af599
dev-python/BTrees: new package, add 5.0
Signed-off-by: Julien Roy <julien <AT> jroy.ca>
dev-python/BTrees/BTrees-5.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++
dev-python/BTrees/Manifest | 1 +
dev-python/BTrees/metadata.xml | 22 +++++++++++++++++++++
3 files changed, 62 insertions(+)
diff --git a/dev-python/BTrees/BTrees-5.0.ebuild
b/dev-python/BTrees/BTrees-5.0.ebuild
new file mode 100644
index 000000000..a31ed96fc
--- /dev/null
+++ b/dev-python/BTrees/BTrees-5.0.ebuild
@@ -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
+}
diff --git a/dev-python/BTrees/Manifest b/dev-python/BTrees/Manifest
new file mode 100644
index 000000000..a756eacf9
--- /dev/null
+++ b/dev-python/BTrees/Manifest
@@ -0,0 +1 @@
+DIST BTrees-5.0.tar.gz 198089 BLAKE2B
c571ee1e2e54b3a978acb25d932ed23a78f78653efc7567f310a98843d8f65150e84bd6f39824726bcc1230fa28a1c0f1359b5f2777ac00d6ce97a1662336e54
SHA512
4b90fb8769f8bacc02fd610c829b69cbb94f6a6fd146279ad06904e479ffc19e82cc37fff10ccf818a8ea8f6b2a19cd29021debb4d70ccb7a5a52fe54c0074b4
diff --git a/dev-python/BTrees/metadata.xml b/dev-python/BTrees/metadata.xml
new file mode 100644
index 000000000..377dadd97
--- /dev/null
+++ b/dev-python/BTrees/metadata.xml
@@ -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>[email protected]</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>[email protected]</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>