diff options
Diffstat (limited to 'dev-python/BTrees')
-rw-r--r-- | dev-python/BTrees/BTrees-5.0-r1.ebuild | 42 | ||||
-rw-r--r-- | dev-python/BTrees/BTrees-5.1.ebuild | 42 | ||||
-rw-r--r-- | dev-python/BTrees/Manifest | 2 | ||||
-rw-r--r-- | dev-python/BTrees/metadata.xml | 22 |
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-python/BTrees/BTrees-5.0-r1.ebuild b/dev-python/BTrees/BTrees-5.0-r1.ebuild new file mode 100644 index 0000000..571aab9 --- /dev/null +++ b/dev-python/BTrees/BTrees-5.0-r1.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_{10..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}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + dev-python/repoze-sphinx-autointerface[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) + test? ( + dev-python/persistent[${PYTHON_USEDEP}] + dev-python/transaction[${PYTHON_USEDEP}] + dev-python/zope-testrunner[${PYTHON_USEDEP}] + ) +" + +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/BTrees-5.1.ebuild b/dev-python/BTrees/BTrees-5.1.ebuild new file mode 100644 index 0000000..571aab9 --- /dev/null +++ b/dev-python/BTrees/BTrees-5.1.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_{10..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}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + dev-python/repoze-sphinx-autointerface[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) + test? ( + dev-python/persistent[${PYTHON_USEDEP}] + dev-python/transaction[${PYTHON_USEDEP}] + dev-python/zope-testrunner[${PYTHON_USEDEP}] + ) +" + +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 0000000..97b1867 --- /dev/null +++ b/dev-python/BTrees/Manifest @@ -0,0 +1,2 @@ +DIST BTrees-5.0.tar.gz 198089 BLAKE2B c571ee1e2e54b3a978acb25d932ed23a78f78653efc7567f310a98843d8f65150e84bd6f39824726bcc1230fa28a1c0f1359b5f2777ac00d6ce97a1662336e54 SHA512 4b90fb8769f8bacc02fd610c829b69cbb94f6a6fd146279ad06904e479ffc19e82cc37fff10ccf818a8ea8f6b2a19cd29021debb4d70ccb7a5a52fe54c0074b4 +DIST BTrees-5.1.tar.gz 245950 BLAKE2B dc0d5e5516aa94bf1a32287f5c845497f3ccd7eddc25037f200a73767992c40c5bc38e134add0d8e10a291c78988f3cb96cd337e26a08ecb00dbe8fd74d865ae SHA512 57b48b449fe174f80f81411e47e0bc2fb188de813720d101907280ceaa32c311dd290128f1f71997b5c1bb2bc45a78399070668855ac1f4e23ed65495835aaa8 diff --git a/dev-python/BTrees/metadata.xml b/dev-python/BTrees/metadata.xml new file mode 100644 index 0000000..377dadd --- /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>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> |