summaryrefslogtreecommitdiff
path: root/app-misc/rmlint
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/rmlint')
-rw-r--r--app-misc/rmlint/Manifest3
-rw-r--r--app-misc/rmlint/files/rmlint-2.10.1-fix-gui-install.patch11
-rw-r--r--app-misc/rmlint/rmlint-2.10.1-r1.ebuild (renamed from app-misc/rmlint/rmlint-2.10.1.ebuild)8
3 files changed, 18 insertions, 4 deletions
diff --git a/app-misc/rmlint/Manifest b/app-misc/rmlint/Manifest
index e297fb2787a5..34919333067a 100644
--- a/app-misc/rmlint/Manifest
+++ b/app-misc/rmlint/Manifest
@@ -1,9 +1,10 @@
AUX rmlint-2.10.1-cflags.patch 626 BLAKE2B e34590b6cb83399444f6a29379f0c84f3d442ead5dfdcc542822d34da50f00eebcc6b2eb26bf627710b2b8ded428471f22d3bcfa9b2ac367362fcafe208b92e6 SHA512 644ae7ea5dfaefd78942f89d93937598c9ed6c8edc1ee1a342ff35f040e75d7e38e285ad5436ee33597604c6cb456f51624a6f8225c25a62ed727797633139d6
AUX rmlint-2.10.1-fix-cc.patch 1619 BLAKE2B d0b7267d33e1fd906c6d914c1030e143e42b92d9f814c02b6476e1ccd23af20c810b02a2ddfe2d4b5e2f6e7b5a8a8fbc3225aeca56cb78bb84450e9dca07c925 SHA512 e83a90650e434cee31b889f238bee7c0905abd787931fb7752c82c17e927f840de83790e7258526836e14289c2aaa3dcfc94b2097c19e3ac3ab5ac41a6380951
+AUX rmlint-2.10.1-fix-gui-install.patch 322 BLAKE2B 314a8912b2173f207ff642f1147be501969eb5aeeec96e1a77ecab2c0689dac20cf0dd4571d77f764a4224e99aed6f547bca609dd1721ee7d0d2e207934028c6 SHA512 8209959e8f4087871da09070c635a5d116209b32aaa06043ee52bbaa7683b6fee1a302547202250c5a547ca2ab71534ca67541042b3a717a4c7268400329f245
AUX rmlint-2.10.1-fix-tests.patch 4833 BLAKE2B 75b1e0a732c833f5684a0d6b3870d9f65d4eb62018728353f24e956be1b3fb12cd98f1cc385c398a8b7ad524b50059f04e9200fd1b07519ce5e4a8d042556dec SHA512 8ad1ac7c0812b0414935b49391152507ef043143a2d13d89d9be590b5eee9e42654869282d989c6ff26a5dc178e76e2b3157b1b3fae57ab6d64a3ff91c7f8b60
AUX rmlint-2.10.1-scons.patch 3626 BLAKE2B cc9187d2b8926eb36071462d02a60f3a4b06de99ad97adf5b9dbb4bca3f9a42ccb8fd863ec9f78500acabdfe692d18c7141fb165c6c13661463b704117c308c6 SHA512 bf585930651101e3057547442527ad571c193a9e7bcff976544f16fd9bac75e0cc074bbf60bf31c1dd50538aa961a0143b46cd3feac6deec014b8689da048c85
AUX rmlint-2.10.1-skip-tests.patch 1216 BLAKE2B 8fa9727f5146a26fbd91e8e6c4f8b903e432c386ca8f97b4591bd9244940bf94aa476dfb0390c332fe8fa7e777e31890046423cd88e47181f3a8f30e3fead4be SHA512 c66812da8860a714d1ae368039f95dd86d59b3ba6164fc9141f0c1c0ab6ab7c7245dcef9785a179dc437615cd5d9e8af1a1ee60354e99c02fd3c345fd2e91608
AUX rmlint-2.10.1-x86-fix-size.patch 1092 BLAKE2B 2cd3e7e68d5252c89b84d1d78a17520e6c5f7b61f5d9bfc05bd25ea96b9057bb195c7afc6e61a8bac121ae749b5f84d28dc032be2d92bd6f5a2ab04f5b3cae9d SHA512 78a41f52aa1af9f9d63227b9a2100cf87806a442f07d153e83ccedf7110a14e4c7fec8c9a4fdf21284301927895a62eedaf666cbfe90092eb4ac41e68bf34c6e
DIST rmlint-2.10.1.tar.gz 2494474 BLAKE2B 40219ff64d54f0e2fc66a958c6ca51520152f77f9038e9756ab601da5180502528be7b2d750c85b5991c31db96c3eb7415841084b6c90db103dc212947864034 SHA512 a1281359798816dadaf3a1e706e671dc63edf8f7d176c114a924a1e03fc9ad6fa54d10de701b09b5e364a9a815e0d11bdbef3d16fb7fec74eb85af20a106db1a
-EBUILD rmlint-2.10.1.ebuild 2965 BLAKE2B 3f520f561f52969da2234d06b70b54d69208e27518d5568f30a8e7091192f6021371f560ea12ea1268d4e6aa797751bc7419eece05dbc2e2134bf7c32855794a SHA512 01a309ae5c88c664527f3a80837e7a95bdee37fdbd224c11e15f3e9f2d1f6e826679b0f16fe4c2ad2fe05213b10c7bdd002d287b3d8d0aa4cbea4c4afbe3150f
+EBUILD rmlint-2.10.1-r1.ebuild 3075 BLAKE2B 534f4634a94ddaf2cc4c3aef6d663c0215b7725bd448dcf8c8ed657cd3b2cf56919794b69211024b0218b433dae989ee9bd3c181cd90044e20c69873099d928c SHA512 7bd5d1a72e4b17b086d30e6cf62a460f08f417feb761bdc9541a82382fcce5076ebd5c22a945b00215b80193e649dc1ccfaaebd60c1c39cbd3023dfcb07b3198
MISC metadata.xml 383 BLAKE2B 5ac0b3d0708812cfcd5f432f43556ea55a2e7686447e06d876ae686befb854831415f1e5713cab07f3ba9f87c7cd982e17342423630eae4ea9656cbce29ed957 SHA512 d42c9219374f548e8105f7463156895e584c0b5863788fb9214633c9dc5c46dc8f2f4c53a00c411dd32aa1f3b83d9b9e9bd24508a2f18f69e7032aaf4c1de218
diff --git a/app-misc/rmlint/files/rmlint-2.10.1-fix-gui-install.patch b/app-misc/rmlint/files/rmlint-2.10.1-fix-gui-install.patch
new file mode 100644
index 000000000000..2ae13cd4abb0
--- /dev/null
+++ b/app-misc/rmlint/files/rmlint-2.10.1-fix-gui-install.patch
@@ -0,0 +1,11 @@
+--- a/gui/setup.py
++++ b/gui/setup.py
+@@ -19,7 +19,7 @@ def read_version():
+ with open('../.version', 'r') as handle:
+ version_string = handle.read()
+
+- return version_string.strip()
++ return version_string.split()[0]
+
+ class install_glib_resources(install):
+ user_options = install.user_options + [
diff --git a/app-misc/rmlint/rmlint-2.10.1.ebuild b/app-misc/rmlint/rmlint-2.10.1-r1.ebuild
index 838041b4fc6e..0bb48648fcc8 100644
--- a/app-misc/rmlint/rmlint-2.10.1.ebuild
+++ b/app-misc/rmlint/rmlint-2.10.1-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
-inherit gnome2-utils python-single-r1 scons-utils toolchain-funcs xdg-utils
+inherit gnome2-utils python-single-r1 scons-utils toolchain-funcs
DESCRIPTION="Extremely fast tool to remove duplicates and other lint from your filesystem"
HOMEPAGE="https://rmlint.readthedocs.io/"
@@ -70,6 +70,8 @@ PATCHES=(
"${FILESDIR}/${PN}-2.10.1-x86-fix-size.patch"
# https://github.com/sahib/rmlint/pull/526
"${FILESDIR}/${PN}-2.10.1-fix-cc.patch"
+ # https://github.com/sahib/rmlint/issues/608#issuecomment-1406811107
+ "${FILESDIR}/${PN}-2.10.1-fix-gui-install.patch"
)
src_prepare() {