1 |
commit: 4b5ee4ef5d4f5277bbd5264450935f2cf7d427f2 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 15 04:15:42 2021 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 15 04:17:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b5ee4ef |
7 |
|
8 |
dev-python/pyrqlite: Fix tests for python 3.10 |
9 |
|
10 |
See: https://github.com/rqlite/pyrqlite/pull/36 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
dev-python/pyrqlite/Manifest | 1 + |
15 |
dev-python/pyrqlite/pyrqlite-2.1.ebuild | 4 +++- |
16 |
2 files changed, 4 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-python/pyrqlite/Manifest b/dev-python/pyrqlite/Manifest |
19 |
index a3473217880..ba01ecd9a71 100644 |
20 |
--- a/dev-python/pyrqlite/Manifest |
21 |
+++ b/dev-python/pyrqlite/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
+DIST pyrqlite-2.1-python3.10-test_support.patch 1017 BLAKE2B 50353be2d15d1a468328c3f7f40c4d8512975b0c8e8e458aac219b4d207cd8819bcd98417585b81322eb9c241adb1d389b7b161c775734db396bcd16dce2886a SHA512 b88a220af27fbedc259f10d6d8af436f2b6d5533f17550c8f90b3bd4a64c81319b4922d748d3b0baa9ae1e1bd1390349fd8b21fc1f8e48b707ee074f93b830f4 |
24 |
DIST pyrqlite-2.1.tar.gz 19069 BLAKE2B f5ce9c1201632e81ba6f7f41e3ef54bd5fff354c869e73879e8b324ad12aea6476eb197119a22ba15d58c9ab3503435b0110ce9bfe2c21d16fe10b44afbe486a SHA512 6a63860378021b29ec0e8d81cf2c3534c97cec2c65d60e8ac2ec9b0a7900efb9a9a63546da44d8be89570eae2fd47eca4004167d11438b2dd9eb6bc68e646bad |
25 |
|
26 |
diff --git a/dev-python/pyrqlite/pyrqlite-2.1.ebuild b/dev-python/pyrqlite/pyrqlite-2.1.ebuild |
27 |
index c1ae5f7ad52..c5e0a6a8cb9 100644 |
28 |
--- a/dev-python/pyrqlite/pyrqlite-2.1.ebuild |
29 |
+++ b/dev-python/pyrqlite/pyrqlite-2.1.ebuild |
30 |
@@ -8,7 +8,8 @@ inherit distutils-r1 |
31 |
|
32 |
DESCRIPTION="Python client for rqlite" |
33 |
HOMEPAGE="https://github.com/rqlite/pyrqlite" |
34 |
-SRC_URI="https://github.com/rqlite/pyrqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+SRC_URI="https://github.com/rqlite/pyrqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz |
36 |
+ https://github.com/rqlite/pyrqlite/pull/36.patch -> ${P}-python3.10-test_support.patch" |
37 |
|
38 |
LICENSE="MIT" |
39 |
SLOT="0" |
40 |
@@ -16,6 +17,7 @@ KEYWORDS="~amd64 ~x86" |
41 |
IUSE="test" |
42 |
RESTRICT="!test? ( test )" |
43 |
BDEPEND="test? ( dev-db/rqlite )" |
44 |
+PATCHES=("${DISTDIR}/${P}-python3.10-test_support.patch") |
45 |
|
46 |
distutils_enable_tests pytest |