mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
x11-misc/dex: 0.10.1 added
Signed-off-by: Ana Alexandru-Gabriel <ana.alexandru.gabriel@proton.me> Closes: https://github.com/gentoo/gentoo/pull/40245 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
4c431e4dfe
commit
dee57f24e0
@@ -1 +1,2 @@
|
||||
DIST dex-0.10.1.tar.gz 13224 BLAKE2B 97d39251d67f89880b7c6252ec1da77f9188b432bce1e6f7e66205363cd3aa876b1a192f4e2e7193e41a0ae7835e6da499c6e64b7f9bae0359028f539d11753b SHA512 4832e60416f07b90d4f4d03d6493322ccd44a73270edf289d80136587859d137cf39db12fc5cf38d3bdfa46aae3a4d1353c7776e702240b560a287190bdc2b57
|
||||
DIST dex-0.9.0.tar.gz 10056 BLAKE2B 7abc01ccc6938e926840e4448eb6436db77703c1f8e1fef334d97196803a0b59af0f05fc507d1ac4337367120f7d9d9a211aecec6ac3644424edee3599067a89 SHA512 d68f5482cb0948f27a724437ddfc6de9a0f502bfd0d5c60c76fb85dda3c30e4c432013e530f6a91138c9ac9ff36b3824cd5e382e9d29bb9fb2ec2b9de4133094
|
||||
|
||||
48
x11-misc/dex/dex-0.10.1.ebuild
Normal file
48
x11-misc/dex/dex-0.10.1.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
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/refs/tags/${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}"
|
||||
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"
|
||||
dodoc CHANGELOG.md README.rst
|
||||
use doc && doman dex.1
|
||||
}
|
||||
Reference in New Issue
Block a user