diff --git a/dev-python/bson/Manifest b/dev-python/bson/Manifest index b9926ce146..7aada9940b 100644 --- a/dev-python/bson/Manifest +++ b/dev-python/bson/Manifest @@ -1 +1,2 @@ +DIST bson-0.5.10.tar.gz 24735 BLAKE2B a658598d9cac3bf55327ec2084d4c884b92d00e1ffaa084bcfdbebe24fd53b342d117449fde9d394f08b5fc04f9ea9c6856394bdb90806131c65111478c75f72 SHA512 6c74344a75eaeb7f53609ab78a9223218ac89edd320e503898145668cd746d5b76624d91640223a826af7ab978b107715cdb9904f16f6499c9be1ce9f54a09f8 DIST bson-0.5.8.tar.gz 24114 BLAKE2B e35055dcd3c8b1cf77ec9d9496d32d4bca4e9ab31ecf79399a8449c459d1b5e67375bd88743175f1450311519b55cbca8c11a8da736ba87907e1497b5a94b363 SHA512 68bd69d1f5d0d11014d51c0901e7f44b7a3d9f7ad013af4137b7ac48bc42f81bd1423115b67939beedf6e7336794e7ffd4d0d539222d4eaa50845ae25622f21a diff --git a/dev-python/bson/bson-0.5.10.ebuild b/dev-python/bson/bson-0.5.10.ebuild new file mode 100644 index 0000000000..1896b07761 --- /dev/null +++ b/dev-python/bson/bson-0.5.10.ebuild @@ -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 +}