commit:     243a2f75b8655bcc6b958579d1d362f0474f132f
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sun Feb  5 00:20:03 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Feb  5 00:20:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=243a2f75

dev-python/btrees: new package, add 4.11.3

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-python/btrees/Manifest             |  1 +
 dev-python/btrees/btrees-4.11.3.ebuild | 42 ++++++++++++++++++++++++++++++++++
 dev-python/btrees/metadata.xml         | 22 ++++++++++++++++++
 3 files changed, 65 insertions(+)

diff --git a/dev-python/btrees/Manifest b/dev-python/btrees/Manifest
new file mode 100644
index 000000000..161151b9a
--- /dev/null
+++ b/dev-python/btrees/Manifest
@@ -0,0 +1 @@
+DIST btrees-4.11.3.gh.tar.gz 193194 BLAKE2B 
d596506b0e036af628f56124f8cf4ccd19b459c18b6c27ed127f1366cb1179c2c4ccf8db3b5196ffe49f33860b562ee29e4739291dfaa15866296611d9c8fa0c
 SHA512 
e184f47db4ba63938cd8e6ddcc7aa452447e4324e64e8e92b874e3d72736c6371a0ba6c82fdc5a94046ac7aee1b028ca43de4eaea9a11394040868c8c89c9974

diff --git a/dev-python/btrees/btrees-4.11.3.ebuild 
b/dev-python/btrees/btrees-4.11.3.ebuild
new file mode 100644
index 000000000..d38e9be49
--- /dev/null
+++ b/dev-python/btrees/btrees-4.11.3.ebuild
@@ -0,0 +1,42 @@
+# 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} )
+
+inherit distutils-r1
+
+DESCRIPTION="scalable persistent components"
+HOMEPAGE="https://github.com/zopefoundation/BTrees";
+SRC_URI="https://github.com/zopefoundation/BTrees/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
+S="${WORKDIR}/BTrees-${PV}"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64"
+# Too manu failures, not upstream, needs to be investigated
+RESTRICT="test"
+
+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 unittest
+
+src_test(){
+       cd "${S}/src/BTrees" || die
+       distutils-r1_src_test
+}

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>

Reply via email to