dev-python/pyrqlite: Fix tests for python 3.10

See: https://github.com/rqlite/pyrqlite/pull/36
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
Zac Medico 2021-10-14 21:15:42 -07:00
parent f9e1ff4d2d
commit 4b5ee4ef5d
No known key found for this signature in database
GPG Key ID: D075FB8C104A3D20
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1,2 @@
DIST pyrqlite-2.1-python3.10-test_support.patch 1017 BLAKE2B 50353be2d15d1a468328c3f7f40c4d8512975b0c8e8e458aac219b4d207cd8819bcd98417585b81322eb9c241adb1d389b7b161c775734db396bcd16dce2886a SHA512 b88a220af27fbedc259f10d6d8af436f2b6d5533f17550c8f90b3bd4a64c81319b4922d748d3b0baa9ae1e1bd1390349fd8b21fc1f8e48b707ee074f93b830f4
DIST pyrqlite-2.1.tar.gz 19069 BLAKE2B f5ce9c1201632e81ba6f7f41e3ef54bd5fff354c869e73879e8b324ad12aea6476eb197119a22ba15d58c9ab3503435b0110ce9bfe2c21d16fe10b44afbe486a SHA512 6a63860378021b29ec0e8d81cf2c3534c97cec2c65d60e8ac2ec9b0a7900efb9a9a63546da44d8be89570eae2fd47eca4004167d11438b2dd9eb6bc68e646bad

View File

@ -8,7 +8,8 @@ inherit distutils-r1
DESCRIPTION="Python client for rqlite"
HOMEPAGE="https://github.com/rqlite/pyrqlite"
SRC_URI="https://github.com/rqlite/pyrqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/rqlite/pyrqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/rqlite/pyrqlite/pull/36.patch -> ${P}-python3.10-test_support.patch"
LICENSE="MIT"
SLOT="0"
@ -16,6 +17,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="test? ( dev-db/rqlite )"
PATCHES=("${DISTDIR}/${P}-python3.10-test_support.patch")
distutils_enable_tests pytest