mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 23:46:14 -04:00
30 lines
647 B
Bash
30 lines
647 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{8..11} 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}.gh.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
|
|
}
|