mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 17:13:00 -04:00
dev-python/zodb: treeclean
Closes: https://bugs.gentoo.org/904463 Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST ZODB-5.8.0.tar.gz 788844 BLAKE2B 820dd1dca250f9167076b410cc33a9200a9372abd5162c7eafb8647f8469a742f7aa4cad841d5d5aa68a64aa354c940f51cc26b11c67815cab76ddb98154e9e9 SHA512 40f617089b0313b47634e56b3b303cda20ef06973178d02b583ff7a424e704d0cd2e60f9de2c90ce134760786d75461763dc7ce20af03505cbfc667b027cab9d
|
||||
DIST ZODB-5.8.1.tar.gz 790095 BLAKE2B e211bc85b7fe1d25b09213985afcebb6de31fa6a6bdda5e606cd854c2906c324c11c6e01279a7ff22f08d6cbbf8e706597b231f41d99f3d7ca28dd5bd8c8078e SHA512 a51d2914489ac779ec990b9e84f69a56fdaa471d889d6fd3bcd5abac345fd95f9959defa737e47e0e86c4ac7853b146abe25d13d67aeed984268d87f9f8d4864
|
||||
@@ -1,34 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,57 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user