mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-python/zodbpickle: new package, add 3.0.1
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
1
dev-python/zodbpickle/Manifest
Normal file
1
dev-python/zodbpickle/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST zodbpickle-3.0.1.tar.gz 111068 BLAKE2B 32e5bb09f6fc97a6b5ecc865e750adef6fe60ab52d6dd3c8807920859d63749c6ed77a99c7bce5515f8e0839e03d845eec60712444bee90f37f6a9ebfaaa24c0 SHA512 f3b9fd019a175ec8eb8cb3d1d3c05a8f142f6b0842affb8d1b910bea0af0216c799608355dbce4bb236a6b3732634fe81744ffeb27c23cd9cad267255cfed253
|
||||
24
dev-python/zodbpickle/metadata.xml
Normal file
24
dev-python/zodbpickle/metadata.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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 presents a uniform pickling interface for ZODB:
|
||||
|
||||
Under Python2, this package forks both Python 2.7's pickle and cPickle modules, adding support for the protocol 3 opcodes. It also provides a new subclass of bytes, zodbpickle.binary, which Python2 applications can use to pickle binary values such that they will be unpickled as bytes under Py3k.
|
||||
Under Py3k, this package forks the pickle module (and the supporting C extension) from both Python 3.2 and Python 3.3. The fork add support for the noload operations used by ZODB.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Zope Foundation and Contributors</name>
|
||||
<email>zope-dev@zope.org</email>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/zopefoundation/zodbpickle/issues</bugs-to>
|
||||
<changelog>https://github.com/zopefoundation/zodbpicle/blob/master/CHANGES.rst</changelog>
|
||||
<remote-id type="github">zopefoundation/zodbpickle</remote-id>
|
||||
<remote-id type="pypi">zodbpickle</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
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