dev-python/bson: add 0.5.10

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-17 09:28:56 +01:00
parent 29c3437f36
commit 58aac25a13
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Independent BSON codec for Python that doesn't depend on MongoDB"
HOMEPAGE="https://github.com/py-bson/bson"
SRC_URI="https://github.com/py-bson/bson/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-python/python-dateutil-2.4.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
python_test() {
"${EPYTHON}" test.py || die
}