summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-10-14 21:15:42 -0700
committerZac Medico <zmedico@gentoo.org>2021-10-14 21:17:25 -0700
commit4b5ee4ef5d4f5277bbd5264450935f2cf7d427f2 (patch)
tree11df8482da78296a5ebf03d49e3b03d9965072e8 /dev-python/pyrqlite
parentprofiles: last-rite dev-ml/ppx_tools_versioned (diff)
downloadgentoo-4b5ee4ef5d4f5277bbd5264450935f2cf7d427f2.tar.gz
gentoo-4b5ee4ef5d4f5277bbd5264450935f2cf7d427f2.tar.bz2
gentoo-4b5ee4ef5d4f5277bbd5264450935f2cf7d427f2.zip
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>
Diffstat (limited to 'dev-python/pyrqlite')
-rw-r--r--dev-python/pyrqlite/Manifest1
-rw-r--r--dev-python/pyrqlite/pyrqlite-2.1.ebuild4
2 files changed, 4 insertions, 1 deletions
diff --git a/dev-python/pyrqlite/Manifest b/dev-python/pyrqlite/Manifest
index a34732178808..ba01ecd9a713 100644
--- a/dev-python/pyrqlite/Manifest
+++ b/dev-python/pyrqlite/Manifest
@@ -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
diff --git a/dev-python/pyrqlite/pyrqlite-2.1.ebuild b/dev-python/pyrqlite/pyrqlite-2.1.ebuild
index c1ae5f7ad52d..c5e0a6a8cb99 100644
--- a/dev-python/pyrqlite/pyrqlite-2.1.ebuild
+++ b/dev-python/pyrqlite/pyrqlite-2.1.ebuild
@@ -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