diff options
Diffstat (limited to 'dev-python/zodb')
-rw-r--r-- | dev-python/zodb/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zodb/metadata.xml | 34 | ||||
-rw-r--r-- | dev-python/zodb/zodb-5.8.0-r1.ebuild | 57 | ||||
-rw-r--r-- | dev-python/zodb/zodb-5.8.1.ebuild | 57 |
4 files changed, 150 insertions, 0 deletions
diff --git a/dev-python/zodb/Manifest b/dev-python/zodb/Manifest new file mode 100644 index 0000000..0862fdc --- /dev/null +++ b/dev-python/zodb/Manifest @@ -0,0 +1,2 @@ +DIST ZODB-5.8.0.tar.gz 788844 BLAKE2B 820dd1dca250f9167076b410cc33a9200a9372abd5162c7eafb8647f8469a742f7aa4cad841d5d5aa68a64aa354c940f51cc26b11c67815cab76ddb98154e9e9 SHA512 40f617089b0313b47634e56b3b303cda20ef06973178d02b583ff7a424e704d0cd2e60f9de2c90ce134760786d75461763dc7ce20af03505cbfc667b027cab9d +DIST ZODB-5.8.1.tar.gz 790095 BLAKE2B e211bc85b7fe1d25b09213985afcebb6de31fa6a6bdda5e606cd854c2906c324c11c6e01279a7ff22f08d6cbbf8e706597b231f41d99f3d7ca28dd5bd8c8078e SHA512 a51d2914489ac779ec990b9e84f69a56fdaa471d889d6fd3bcd5abac345fd95f9959defa737e47e0e86c4ac7853b146abe25d13d67aeed984268d87f9f8d4864 diff --git a/dev-python/zodb/metadata.xml b/dev-python/zodb/metadata.xml new file mode 100644 index 0000000..25cfc45 --- /dev/null +++ b/dev-python/zodb/metadata.xml @@ -0,0 +1,34 @@ +<?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> + ZODB provides an object-oriented database for Python that provides a high-degree of transparency. ZODB runs on Python 2.7 or Python 3.4 and above. It also runs on PyPy. + + no separate language for database operations + + very little impact on your code to make objects persistent + + no database mapper that partially hides the database. + + Using an object-relational mapping is not like using an object-oriented database. + + almost no seam between code and database. + + ZODB is an ACID Transactional database. + </longdescription> + <upstream> + <maintainer> + <name>Zope Foundation and Contributors</name> + <email>zope-dev@zope.org</email> + </maintainer> + <bugs-to>https://github.com/zopefoundation/zodb/issues</bugs-to> + <changelog>https://github.com/zopefoundation/zodb/blob/master/CHANGES.rst</changelog> + <doc>https://zodb-docs.readthedocs.io</doc> + <remote-id type="github">zopefoundation/zodb</remote-id> + <remote-id type="pypi">zodb</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/zodb/zodb-5.8.0-r1.ebuild b/dev-python/zodb/zodb-5.8.0-r1.ebuild new file mode 100644 index 0000000..96d6998 --- /dev/null +++ b/dev-python/zodb/zodb-5.8.0-r1.ebuild @@ -0,0 +1,57 @@ +# 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 ) +PYPI_NO_NORMALIZE=1 +PYPI_PN="${PN^^}" + +inherit distutils-r1 pypi + +DESCRIPTION="Python object-oriented database" +HOMEPAGE="https://github.com/zopefoundation/zodb" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/BTrees[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/persistent[${PYTHON_USEDEP}] + dev-python/transaction[${PYTHON_USEDEP}] + dev-python/zc-lockfile[${PYTHON_USEDEP}] + dev-python/zconfig[${PYTHON_USEDEP}] + dev-python/zodbpickle[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + dev-python/j1m-sphinxautozconfig[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-zopeext[${PYTHON_USEDEP}] + ) + test? ( + dev-python/manuel[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + dev-python/zope-testrunner[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests setup.py + +src_unpack() { + default + # Remove failing test + rm "${S}/src/${PN^^}/tests/testdocumentation.py" || die +} + +python_test() { + zope-testrunner -pvc -j "$(nproc)" --usecompiled \ + --path "${BUILD_DIR}/install$(python_get_sitedir)/" || die +} diff --git a/dev-python/zodb/zodb-5.8.1.ebuild b/dev-python/zodb/zodb-5.8.1.ebuild new file mode 100644 index 0000000..96d6998 --- /dev/null +++ b/dev-python/zodb/zodb-5.8.1.ebuild @@ -0,0 +1,57 @@ +# 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 ) +PYPI_NO_NORMALIZE=1 +PYPI_PN="${PN^^}" + +inherit distutils-r1 pypi + +DESCRIPTION="Python object-oriented database" +HOMEPAGE="https://github.com/zopefoundation/zodb" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/BTrees[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/persistent[${PYTHON_USEDEP}] + dev-python/transaction[${PYTHON_USEDEP}] + dev-python/zc-lockfile[${PYTHON_USEDEP}] + dev-python/zconfig[${PYTHON_USEDEP}] + dev-python/zodbpickle[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + dev-python/j1m-sphinxautozconfig[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-zopeext[${PYTHON_USEDEP}] + ) + test? ( + dev-python/manuel[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + dev-python/zope-testrunner[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests setup.py + +src_unpack() { + default + # Remove failing test + rm "${S}/src/${PN^^}/tests/testdocumentation.py" || die +} + +python_test() { + zope-testrunner -pvc -j "$(nproc)" --usecompiled \ + --path "${BUILD_DIR}/install$(python_get_sitedir)/" || die +} |