summaryrefslogtreecommitdiff
path: root/dev-python/pyrqlite/pyrqlite-2.1.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyrqlite/pyrqlite-2.1.1.ebuild')
-rw-r--r--dev-python/pyrqlite/pyrqlite-2.1.1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-python/pyrqlite/pyrqlite-2.1.1.ebuild b/dev-python/pyrqlite/pyrqlite-2.1.1.ebuild
index d933752383b0..4d08827d5414 100644
--- a/dev-python/pyrqlite/pyrqlite-2.1.1.ebuild
+++ b/dev-python/pyrqlite/pyrqlite-2.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -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/42.patch -> ${P}-test_cPragmaTableInfo.patch"
LICENSE="MIT"
SLOT="0"
@@ -17,6 +18,8 @@ KEYWORDS="~amd64 ~x86"
BDEPEND="test? ( >=dev-db/rqlite-6.7.0 )"
RESTRICT+=" !test? ( test )"
+PATCHES=("${DISTDIR}/${P}-test_cPragmaTableInfo.patch")
+
distutils_enable_tests pytest
src_prepare() {