mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-python/zodbpickle: new package, add 3.0.1
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
40
dev-python/zodbpickle/zodbpickle-3.0.1.ebuild
Normal file
40
dev-python/zodbpickle/zodbpickle-3.0.1.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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 pypi
|
||||
|
||||
DESCRIPTION="Fork of Python's pickle module to work with ZODB"
|
||||
HOMEPAGE="https://github.com/zopefoundation/zodbpickle"
|
||||
|
||||
LICENSE="ZPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/packaging-22.0
|
||||
test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
python_test() {
|
||||
zope-testrunner -pvcD --usecompiled \
|
||||
--path="${BUILD_DIR}/install$(python_get_sitedir)/zodbpickle" || die
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# Don't install tests
|
||||
# rm -r "${BUILD_DIR}/install$(python_get_sitedir)/zodbpickle/tests" || die
|
||||
distutils-r1_python_install
|
||||
}
|
||||
|
||||
python_test() {
|
||||
zope-testrunner -pvc -j "$(nproc)" --usecompiled \
|
||||
--path "${BUILD_DIR}/install$(python_get_sitedir)" || die
|
||||
}
|
||||
Reference in New Issue
Block a user