From f8f68d6f93dd8510c09261f47d4f64cadf303815 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 6 Mar 2024 19:06:26 +0000 Subject: gentoo auto-resync : 06:03:2024 - 19:06:26 --- app-misc/lfm/Manifest | 3 ++- .../lfm/files/lfm-3.1-dont-error-on-wheel.patch | 14 +++++++++++ app-misc/lfm/lfm-3.1-r1.ebuild | 29 ++++++++++++++++++++++ app-misc/lfm/lfm-3.1.ebuild | 17 ------------- 4 files changed, 45 insertions(+), 18 deletions(-) create mode 100644 app-misc/lfm/files/lfm-3.1-dont-error-on-wheel.patch create mode 100644 app-misc/lfm/lfm-3.1-r1.ebuild delete mode 100644 app-misc/lfm/lfm-3.1.ebuild (limited to 'app-misc/lfm') diff --git a/app-misc/lfm/Manifest b/app-misc/lfm/Manifest index 40ef219e91dd..4c7d1bb808c1 100644 --- a/app-misc/lfm/Manifest +++ b/app-misc/lfm/Manifest @@ -1,3 +1,4 @@ +AUX lfm-3.1-dont-error-on-wheel.patch 466 BLAKE2B fe01bacfd2851886e493191f6deac5d11d1ad7bc8674143c5e71031eb0caf1386a98d20f1df240ccc2f6ebecd7c2de64e85d2b4a22293a78429031fe525dccf0 SHA512 f78150a4a6bc1575b8c8d9a446138ccb1e7fe81b3ea621467c11bf246e02c7025ecead26188a79dff11c104d6fceb94241f874b6df89561125543a0166fa24bd DIST lfm-3.1.tar.gz 88878 BLAKE2B 409b61d24de671db33c25ff78c039f690fb376fce7bf146c452a67e72d3b50d54b461994ae7a2fb9a17fb64fc94de83f58d5faa0bd960970a53ee5c42fc9c166 SHA512 9e6142c0d871fe19b4b82e5333e03de562ca87a7498bd7fb496cca27e0b42c56a33913f2a7eb46439447ab7adb4a87da44bfcc1548101e15703aaa21ec105af8 -EBUILD lfm-3.1.ebuild 451 BLAKE2B 2fe7246528f177ed70469560b270fe48676ddb61b43b3dc21a031070352731871b8f7fc1dceef60d5dba23885396a4fbeb45361da74b7dd81d3ef5ff754f8935 SHA512 5329e3499dea2a26e8bdbd47a996cf2a8e0ac0ab25c02cd250fff6b6b4451e080c0c22fe6b861a9c65e48d16453cffdc429e77029216bea9fd4d438d441ba6f4 +EBUILD lfm-3.1-r1.ebuild 647 BLAKE2B 7d200f60b86c566fb50f8158dc239c8a91344d68d91165abf83790470ce121d0ff5d27f494de095d9bcd6d9b227abae591fe0f410bb7e180d491c5693ee52eb0 SHA512 ae3b3309ddf16a61bdfd83bed410cdb57bc14a7097fdf3a248de9bf3eab5b557d0857e3065062a155e31c7e1fe22d9c550c31bad0e5de6d37ad88398adbd2476 MISC metadata.xml 245 BLAKE2B 4988fa1366a9b8a3769e503545339cdd493a0bdc362ca9237b158b94549de1f061477546b00fd3b21dc9325812423f7207071e22e3234d5c0b88c755197557d2 SHA512 e00be68ab9ad3acfce3d2d48721c47cf50e2c6358c9ceb45a2a23fc5303826ea26b9205ce4f230121c2e40c9c467367f2dc57863680899b21e8005034aa9118c diff --git a/app-misc/lfm/files/lfm-3.1-dont-error-on-wheel.patch b/app-misc/lfm/files/lfm-3.1-dont-error-on-wheel.patch new file mode 100644 index 000000000000..d74014fb05ff --- /dev/null +++ b/app-misc/lfm/files/lfm-3.1-dont-error-on-wheel.patch @@ -0,0 +1,14 @@ +diff -ur lfm-3.1/setup.py lfm-3.1.new/setup.py +--- lfm-3.1/setup.py 2024-03-06 11:44:37.646520051 -0600 ++++ lfm-3.1.new/setup.py 2024-03-06 11:45:18.058725112 -0600 +@@ -45,10 +45,6 @@ + print('ERROR: Python 3.4 or higher is required to run lfm.') + exit(-1) + +-# to avoid bug in pip 7.x. See https://bitbucket.org/pypa/wheel/issues/92 +-if 'bdist_wheel' in argv: +- raise RuntimeError("This setup.py does not support wheels") +- + import shutil + try: + try: diff --git a/app-misc/lfm/lfm-3.1-r1.ebuild b/app-misc/lfm/lfm-3.1-r1.ebuild new file mode 100644 index 000000000000..c6f5c61a6916 --- /dev/null +++ b/app-misc/lfm/lfm-3.1-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_REQ_USE="ncurses" +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Last File Manager is a powerful file manager for the console" +HOMEPAGE="https://inigo.katxi.org/devel/lfm/" +SRC_URI="https://inigo.katxi.org/devel/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( "${FILESDIR}"/lfm-3.1-dont-error-on-wheel.patch ) + +src_prepare() { + default + sed -e '/data_files/d' -i setup.py || die +} + +src_install() { + distutils-r1_src_install + doman ${PN}.1 +} diff --git a/app-misc/lfm/lfm-3.1.ebuild b/app-misc/lfm/lfm-3.1.ebuild deleted file mode 100644 index 1404dff1e505..000000000000 --- a/app-misc/lfm/lfm-3.1.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..11} ) -PYTHON_REQ_USE="ncurses" -DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 - -DESCRIPTION="Last File Manager is a powerful file manager for the console" -HOMEPAGE="https://inigo.katxi.org/devel/lfm/" -SRC_URI="https://inigo.katxi.org/devel/${PN}/${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -- cgit v1.2.3