diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-26 00:10:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-26 00:10:07 +0100 |
commit | 95461df035e3867364495f065e5e805bf629b2d7 (patch) | |
tree | 867dce371a84a696e91be255d89f282975aa0480 /dev-python/pyrqlite | |
parent | 46eedbedafdb0040c37884982d4c775ce277fb7b (diff) |
gentoo resync : 25.10.2021
Diffstat (limited to 'dev-python/pyrqlite')
-rw-r--r-- | dev-python/pyrqlite/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pyrqlite/pyrqlite-2.1-r1.ebuild | 30 | ||||
-rw-r--r-- | dev-python/pyrqlite/pyrqlite-2.1.ebuild | 3 |
3 files changed, 35 insertions, 2 deletions
diff --git a/dev-python/pyrqlite/Manifest b/dev-python/pyrqlite/Manifest index 483fb6ae345f..bfc937f66f71 100644 --- a/dev-python/pyrqlite/Manifest +++ b/dev-python/pyrqlite/Manifest @@ -1,4 +1,6 @@ DIST pyrqlite-2.1-python3.10-test_support.patch 1017 BLAKE2B 50353be2d15d1a468328c3f7f40c4d8512975b0c8e8e458aac219b4d207cd8819bcd98417585b81322eb9c241adb1d389b7b161c775734db396bcd16dce2886a SHA512 b88a220af27fbedc259f10d6d8af436f2b6d5533f17550c8f90b3bd4a64c81319b4922d748d3b0baa9ae1e1bd1390349fd8b21fc1f8e48b707ee074f93b830f4 +DIST pyrqlite-2.1-rqlite-6.7.0-ephemeral.py 3284 BLAKE2B 97029bf48fe8902909cd463718b64399f6736a09a463233d7a577c6c3afbc8709315364f6c7af90d3d40ebcb2cfcbb8ba7ec2b0589a80bfbc8e7ec130603c4aa SHA512 15c96c52c2528f9ecad8ddd6cff0a05a3684654aff5d99c86615d49279dc43cd0c1dee89b0fac33876e793f54bbb51a403b3678a278dbdd9329fe031156a4576 DIST pyrqlite-2.1.tar.gz 19069 BLAKE2B f5ce9c1201632e81ba6f7f41e3ef54bd5fff354c869e73879e8b324ad12aea6476eb197119a22ba15d58c9ab3503435b0110ce9bfe2c21d16fe10b44afbe486a SHA512 6a63860378021b29ec0e8d81cf2c3534c97cec2c65d60e8ac2ec9b0a7900efb9a9a63546da44d8be89570eae2fd47eca4004167d11438b2dd9eb6bc68e646bad -EBUILD pyrqlite-2.1.ebuild 727 BLAKE2B c9682020d102fc61b8948f7045a84882b203fca62779d2d12f4c4f2260265bc1a4d34ac57285f6cd8540e56c581563ca13f93d8c7c4ade51bd1923691d079924 SHA512 3568f753bc97d4fe44414d1a8cdbf57ee505f9a64e7802af84bd6c8edc855f6f2b9b141762426f05c486e92e96761a82a1f8098cbcbd65ecf547a1de0c5325f0 +EBUILD pyrqlite-2.1-r1.ebuild 988 BLAKE2B ffbc44a154526f9d828e5fe7379b6d3e18e221276c68be4c855ecf06622dc7483c84cdbe7eb47b716954729d4bcbf1fcf9692dc3b6e510ff5d17051f428db0c7 SHA512 85e1b6f94513c410f6e65bcc703aedff4e8d14a4d2c049959dd229b5555c117eac136e7e2e9d5aeb6e03b144c17307859edad2f03b85a32596f8f8c7ca1f870a +EBUILD pyrqlite-2.1.ebuild 811 BLAKE2B bf70ec6ce9dd503f720626cd41b28cbb214731db838741553a45937ba627b842af812b04d7d9e7b3cb2f932fb93a61679d35cb8fc7a4f1f328b19d625d0ce1f6 SHA512 28baf3752376686b3630e00b906c4db37f4aa4f5b30e73d3605b5887b867597660a42717133f21e5c777a767112f7b70957d11f6e46e27a25bcafbeb8856df5f MISC metadata.xml 307 BLAKE2B ecfc0d8bc8bba30ef1c7364632705614c62fa51b2158576ff344997163fd0509f396a518e22091006b9c08d90e7ddfd635290e81d171ab26295bcd42f6d50b5e SHA512 adc659745324a0b86427c72b8821969256198170fbd70fde0daf84e57645370e983b78724c840ffa3827f48d7e00cfcdfeabe1afd0924bd8847f9639e256ebe7 diff --git a/dev-python/pyrqlite/pyrqlite-2.1-r1.ebuild b/dev-python/pyrqlite/pyrqlite-2.1-r1.ebuild new file mode 100644 index 000000000000..9c596d9cb4a2 --- /dev/null +++ b/dev-python/pyrqlite/pyrqlite-2.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +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 + https://github.com/rqlite/pyrqlite/pull/36.patch -> ${P}-python3.10-test_support.patch + https://github.com/rqlite/pyrqlite/raw/17a22221e4e796a04c28aa578a93821cc3349b41/src/pyrqlite/_ephemeral.py -> ${P}-rqlite-6.7.0-ephemeral.py" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( >=dev-db/rqlite-6.7.0 )" +RESTRICT+=" !test? ( test )" + +PATCHES=("${DISTDIR}/${P}-python3.10-test_support.patch") + +distutils_enable_tests pytest + +src_prepare() { + sed -e "s:^__version__ = .*:__version__ = '${PV}':" -i src/${PN}/constants.py || die + cp "${DISTDIR}/${P}-rqlite-6.7.0-ephemeral.py" src/pyrqlite/_ephemeral.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/pyrqlite/pyrqlite-2.1.ebuild b/dev-python/pyrqlite/pyrqlite-2.1.ebuild index c3171044ea3d..6a7df81f7097 100644 --- a/dev-python/pyrqlite/pyrqlite-2.1.ebuild +++ b/dev-python/pyrqlite/pyrqlite-2.1.ebuild @@ -15,7 +15,8 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -BDEPEND="test? ( dev-db/rqlite )" +# Pin test rqlite version due to https://github.com/rqlite/pyrqlite/issues/37. +BDEPEND="test? ( <dev-db/rqlite-6.2 )" PATCHES=("${DISTDIR}/${P}-python3.10-test_support.patch") |