diff options
Diffstat (limited to 'x11-misc/dex')
-rw-r--r-- | x11-misc/dex/Manifest | 4 | ||||
-rw-r--r-- | x11-misc/dex/dex-0.8.0.ebuild | 36 | ||||
-rw-r--r-- | x11-misc/dex/dex-0.9.0.ebuild | 22 |
3 files changed, 17 insertions, 45 deletions
diff --git a/x11-misc/dex/Manifest b/x11-misc/dex/Manifest index bbb3947f7fd9..3e8ade116bf4 100644 --- a/x11-misc/dex/Manifest +++ b/x11-misc/dex/Manifest @@ -1,5 +1,3 @@ -DIST dex-0.8.0.tar.gz 8665 BLAKE2B de62557d207d257286cc706c07969b10b0d753b197333f1d24c0c0a22a897fb2e3c64a25f71770424e6cc365d028c9a1e994fcf35c68c96be7281d24ce19b1e3 SHA512 d87a7306b931736aa302dc883cbd9c635397eda2c119133a3ae8028869a4302ce3713b43cc85fdb2f804d1a74ab2499ef32a2680d5d6be039831006e617aa70a DIST dex-0.9.0.tar.gz 10056 BLAKE2B 7abc01ccc6938e926840e4448eb6436db77703c1f8e1fef334d97196803a0b59af0f05fc507d1ac4337367120f7d9d9a211aecec6ac3644424edee3599067a89 SHA512 d68f5482cb0948f27a724437ddfc6de9a0f502bfd0d5c60c76fb85dda3c30e4c432013e530f6a91138c9ac9ff36b3824cd5e382e9d29bb9fb2ec2b9de4133094 -EBUILD dex-0.8.0.ebuild 760 BLAKE2B 0832bad413e07aa4ff05dfa531d4837f69bd7614e93d90e8a973205f6f5668d943a4656616eac7a427add1f5523a82652e3ffea2e7580976fe8b18931645733d SHA512 81d2dde1e68fd9f4f73375892ad69fefecfcfc474d586911a286a90d0155a496d81dc11a904a1aaa35eb3b415842c5f50a59d41dd2e5cb66839c4142d61b31e1 -EBUILD dex-0.9.0.ebuild 759 BLAKE2B 0db07a341ea20c11b845432bf7f3a3af067b94edd12e8fcf8da70a61ee26a9a2fde1d3588b70b39f3dffd3c91141b2e68bd9d4adb78e640883417881643e641d SHA512 61c58e6aa8e77454128609b8ce1875feae20ca5fdac2135ff9dc27e02d4c7bc8ebc9035df4008a00461d7f20fc9ef99111cf49d684acf634eeb3f1d642cf15a4 +EBUILD dex-0.9.0.ebuild 1016 BLAKE2B 736d75c27d300123536c3342eaea0205bc497cb186caba97813ffe94d83f03d20ce587aed35bcc83d063895b8cb09a3be2f2fc296e2ec698b8924e4e1e007bcd SHA512 e27d303c297fc12dbd5b57a6571f09d3839d1dfb551a0126e227e83000bd37cb43b96edda68bb9d9317fadd4373a1a5a31e8d07eb2f0e70b3808bb7cc9bfa4d2 MISC metadata.xml 241 BLAKE2B 2d8350e134c84a3974a561b48212a687b01b2507994e61afec958cad35c2fca29bfadc9918c4b101f5e75a257a7c434c0daa9d4cd6adcfa11433a675c7571fd7 SHA512 2d448dfb1d937c52578e7ad1bfd45a369712bab97c4c923ca6df5f75cdd5e79cd7448b65a0814849c3219043c0ad45a08908c58e61caf09d612b3c441dc9e42b diff --git a/x11-misc/dex/dex-0.8.0.ebuild b/x11-misc/dex/dex-0.8.0.ebuild deleted file mode 100644 index 56393cf8cc9d..000000000000 --- a/x11-misc/dex/dex-0.8.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python{3_9,3_10} ) - -inherit python-r1 - -DESCRIPTION="DesktopEntry eXecution - tool to manage and launch autostart entries" -HOMEPAGE="http://e-jc.de/" -SRC_URI="https://github.com/jceb/dex/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -IUSE="doc" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS}" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx )" - -src_compile() { - # Makefile is for creating man page only - use doc && emake -} - -src_install() { - dobin dex - python_replicate_script "${ED}/usr/bin/dex" - dodoc CHANGELOG.md README.rst - use doc && doman dex.1 -} diff --git a/x11-misc/dex/dex-0.9.0.ebuild b/x11-misc/dex/dex-0.9.0.ebuild index 9a26bc92b006..4774c80d2f54 100644 --- a/x11-misc/dex/dex-0.9.0.ebuild +++ b/x11-misc/dex/dex-0.9.0.ebuild @@ -3,8 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..10} ) - +PYTHON_COMPAT=( python3_{9..11} ) inherit python-r1 DESCRIPTION="DesktopEntry eXecution - tool to manage and launch autostart entries" @@ -14,20 +13,31 @@ SRC_URI="https://github.com/jceb/dex/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - IUSE="doc" - REQUIRED_USE="${PYTHON_REQUIRED_USE}" +# https://github.com/jceb/dex/issues/37 +RESTRICT="test" RDEPEND="${PYTHON_DEPS}" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx )" +DEPEND="${RDEPEND}" +BDEPEND="doc? ( dev-python/sphinx )" src_compile() { # Makefile is for creating man page only use doc && emake } +src_test() { + dex_test() { + ./dex --test 2>&1 | tee test.log || die + if grep -q "Failed example" test.log ; then + die "Tests failed with ${EPYTHON}" + fi + } + + python_foreach_impl dex_test +} + src_install() { dobin dex python_replicate_script "${ED}/usr/bin/dex" |