summaryrefslogtreecommitdiff
path: root/dev-util/howdoi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-07 12:37:21 +0100
commitb8c7370a682e4e29cda623222d17a790c01c3642 (patch)
treef6caa14689bd00a5760eadaa381ff41e50ef3c1b /dev-util/howdoi
parent8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff)
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'dev-util/howdoi')
-rw-r--r--dev-util/howdoi/Manifest5
-rw-r--r--dev-util/howdoi/howdoi-2.0.19.ebuild27
-rw-r--r--dev-util/howdoi/howdoi-2.0.20-r2.ebuild (renamed from dev-util/howdoi/howdoi-2.0.20.ebuild)24
3 files changed, 20 insertions, 36 deletions
diff --git a/dev-util/howdoi/Manifest b/dev-util/howdoi/Manifest
index 20e540f8d0d0..550da70da34c 100644
--- a/dev-util/howdoi/Manifest
+++ b/dev-util/howdoi/Manifest
@@ -1,6 +1,5 @@
-DIST howdoi-2.0.19.tar.gz 27109 BLAKE2B 32c7ebf177a5a51f9df924440c5767e1a47125e24b821b51b28cfec45a747f7c04265b93aa0a68a85d2f65582617f866483aa77e8c1168903ef9dfdc860535f5 SHA512 e3e074f7b122513486bda0a0f68d31d51a2da2f17efe5c6ae2b5c49f44dd0f80a735d67a33e3d47eea51d83968da19bc294fc74a30f7e30457058ad9919e105a
+DIST howdoi-2.0.20.gh.tar.gz 2516362 BLAKE2B 4b871661e4926ecfc1eadb095301a5c69fb70d80c1d7ca5aa4c2a6fad36a2bfb53469a79da89b1e28a659cdf0493a7ab47b231e391167c80010303684835bc0f SHA512 1efa479a92b85e418ee83e0f25e00fdc276f0ccb504af924106f925b80ce39af2c92a2dc27744e4816d67e764783f98771eb3ea889c08953e0bade17553f12fe
DIST howdoi-2.0.20.tar.gz 27595 BLAKE2B 30644384dbe4c6073bd380a283f2af38943822480eebecbdfb252ca225c31579905bf023a90ba907be27e59ec4ae422f27accbe33d30340075264264e865d8b7 SHA512 0950a9f2366817646741c554a0f4b7bd1f05f614af9460ccb110dc0d0f68f58dd6437fedb237df4b340b5a4fbc569faf315273937f6520a85060791044b3dadf
-EBUILD howdoi-2.0.19.ebuild 662 BLAKE2B e6118ab2595d7ab41730ef7e1bc8e7469fee49462f61f0797fbc465df73bd0016776eafb1099cc4efa47eb04af480c6ef53b224859cecb793b88efc43e0adce2 SHA512 f14f28eee02a0fbb4e08af82c52668d3a60f203b41436bb27ba85c777e5337b50d463e9c67524a5ee379ae1f71d6f7e45c374e8187a960d80ce0ae070a70a9a5
EBUILD howdoi-2.0.20-r1.ebuild 692 BLAKE2B d5ba2862a3c49debbfca6a077f7e8a74ea800952b811576529198a1e6ffe125baad98e3d1adb5e07165281ef9150d3adf6060ee6b5e595051bafc55d4b69c864 SHA512 db99d74914a98b3273024efe238c00e18bf55371aab16ca48e5915ae9d1ed58ef839be45d369d24ece2d1faea72d4f5a58375ec27d1233bfc87d4fe9c3769fbf
-EBUILD howdoi-2.0.20.ebuild 688 BLAKE2B ca9861beea443831e8824d08c66ddfcb6826903143bbe53068dce81d300bdb0d062f7b0f18d8e8bf2e230e335ee85812c8cc30bbd9b8bbd99075249c33a44045 SHA512 ed574bd166624cb36136c1c799c4648ee6afd45a20531a1bd80e5dff1998bbc8c695ffb1b35739fbbd5141bd92b708b16e73f286a36d592d26eaa959877406d6
+EBUILD howdoi-2.0.20-r2.ebuild 1070 BLAKE2B 3b7a025c9e0a1ffdac60f7626ffa5faec422da740f95d8e553d05d4a43352d473b8380fc0f274bf9c9305b712c1f4f8bdad71e85138bb5e7966a17f4d28c48fb SHA512 aef35cb3d04cb0b9d5c107d452417886fa600c81b9ee85e06e35d4241cebc1d594f5e8f460a7d2d050db8bfdd087669385ad56b1ef6848401a5e5b9f510022fd
MISC metadata.xml 314 BLAKE2B e40e7e6433ff34dde02694b59b222bc4d88eca4bb8d08c80e9d01db0c253ad60b4d47ab3cf0121480aa119ee1805bbea5223e4115d8f956d26fd4572c176f30b SHA512 c0436baa5ddba9423a8cc85adc93939b813aa893f3ed74510223f36fee0d4ba8626da36565ccfdb6e5b8ed3f2d61bad3ae41cc3369241455ab51796069dc6ab9
diff --git a/dev-util/howdoi/howdoi-2.0.19.ebuild b/dev-util/howdoi/howdoi-2.0.19.ebuild
deleted file mode 100644
index 9abefcceba8c..000000000000
--- a/dev-util/howdoi/howdoi-2.0.19.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_SETUPTOOLS="manual"
-PYTHON_COMPAT=( python3_10 )
-inherit distutils-r1 pypi
-
-DESCRIPTION="A code search tool"
-HOMEPAGE="https://pypi.org/project/howdoi/"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-# bug 818580
-RESTRICT="test"
-
-BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="
- dev-python/appdirs[${PYTHON_USEDEP}]
- dev-python/cachelib[${PYTHON_USEDEP}]
- dev-python/keep[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- >=dev-python/pyquery-1.4.1[${PYTHON_USEDEP}]
- >=dev-python/requests-2.24.0[${PYTHON_USEDEP}]
-"
diff --git a/dev-util/howdoi/howdoi-2.0.20.ebuild b/dev-util/howdoi/howdoi-2.0.20-r2.ebuild
index bece62a0a155..a5b89a8bdffe 100644
--- a/dev-util/howdoi/howdoi-2.0.20.ebuild
+++ b/dev-util/howdoi/howdoi-2.0.20-r2.ebuild
@@ -1,20 +1,23 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517="setuptools"
-PYTHON_COMPAT=( python3_10 )
-inherit distutils-r1 pypi
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1
DESCRIPTION="A code search tool"
HOMEPAGE="https://pypi.org/project/howdoi/"
+# pypi sources do not contain test data
+SRC_URI="
+ https://github.com/gleitz/howdoi/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-# bug 818580
-RESTRICT="test"
+KEYWORDS="amd64 x86"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
@@ -26,3 +29,12 @@ RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
>=dev-python/requests-2.24.0[${PYTHON_USEDEP}]
"
+
+distutils_enable_tests unittest
+
+src_test() {
+ # following varaible disables colorization test, which does not work on non-tty output
+ # see https://github.com/gleitz/howdoi/commit/c53b6a179a09159740de2c06fb87b194e810f839
+ local -x GITHUB_ACTION=1
+ distutils-r1_src_test
+}