mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 01:23:23 -04:00
dev-python/zodb: new package, add 5.8.0
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
1
dev-python/zodb/Manifest
Normal file
1
dev-python/zodb/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ZODB-5.8.0.tar.gz 788844 BLAKE2B 820dd1dca250f9167076b410cc33a9200a9372abd5162c7eafb8647f8469a742f7aa4cad841d5d5aa68a64aa354c940f51cc26b11c67815cab76ddb98154e9e9 SHA512 40f617089b0313b47634e56b3b303cda20ef06973178d02b583ff7a424e704d0cd2e60f9de2c90ce134760786d75461763dc7ce20af03505cbfc667b027cab9d
|
||||
34
dev-python/zodb/metadata.xml
Normal file
34
dev-python/zodb/metadata.xml
Normal file
@@ -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>
|
||||
57
dev-python/zodb/zodb-5.8.0.ebuild
Normal file
57
dev-python/zodb/zodb-5.8.0.ebuild
Normal file
@@ -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_{9..11} )
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user