app-admin/run0edit: add 0.5.7, drop 0.5.6_p20251226

* Remove patch release logic

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
This commit is contained in:
dsaf
2026-02-11 18:10:50 -03:00
parent b29328866d
commit 0d88bce0b6
3 changed files with 5 additions and 21 deletions

View File

@@ -6,28 +6,20 @@ EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
inherit python-single-r1
MY_COMMIT="6c5827576ac9241d976cf8bd953ea244793f2506"
DESCRIPTION="Script to edit a single file as root using run0"
HOMEPAGE="https://github.com/HastD/run0edit"
if [[ ${PV} == *9999* ]]; then
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/HastD/run0edit.git"
elif [[ ${PV} == *_p* ]] ; then
SRC_URI="https://github.com/HastD/run0edit/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
else
SRC_URI="https://github.com/HastD/run0edit/releases/download/v${PV}/run0edit-${PV}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="|| ( Apache-2.0 MIT )"
SLOT="0"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64"
fi
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}