diff options
author | Sam James <sam@gentoo.org> | 2021-09-20 23:12:58 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-09-20 23:13:24 +0100 |
commit | 42ceb7e1ef230ad978ff970bb3b27fe4544d0ddf (patch) | |
tree | 50fe891c3e50af8179211f4ede730ff7caf39f16 /app-portage/recover-broken-vdb | |
parent | sys-fs/btrfs-progs: Bump to version 5.14.1 (diff) | |
download | gentoo-42ceb7e1ef230ad978ff970bb3b27fe4544d0ddf.tar.gz gentoo-42ceb7e1ef230ad978ff970bb3b27fe4544d0ddf.tar.bz2 gentoo-42ceb7e1ef230ad978ff970bb3b27fe4544d0ddf.zip |
app-portage/recover-broken-vdb: add 0.0.1 (unkeyworded)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-portage/recover-broken-vdb')
-rw-r--r-- | app-portage/recover-broken-vdb/recover-broken-vdb-0.0.1.ebuild | 28 | ||||
-rw-r--r-- | app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild | 3 |
2 files changed, 30 insertions, 1 deletions
diff --git a/app-portage/recover-broken-vdb/recover-broken-vdb-0.0.1.ebuild b/app-portage/recover-broken-vdb/recover-broken-vdb-0.0.1.ebuild new file mode 100644 index 000000000000..f449a2fa9462 --- /dev/null +++ b/app-portage/recover-broken-vdb/recover-broken-vdb-0.0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Check Portage's VDB for internal inconsistency on ELF metadata" +HOMEPAGE="https://github.com/thesamesam/recover-broken-vdb" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/thesamesam/${PN}.git" +else + SRC_URI="https://github.com/thesamesam/recover-broken-vdb/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + #KEYWORDS="~amd64" +fi + +LICENSE="GPL-2" +SLOT="0" + +# Require latest version of pax-utils to avoid users breaking their systems again +# The tool itself works fine with older versions +RDEPEND=">=app-misc/pax-utils-1.3.3 + $(python_gen_cond_dep 'sys-apps/portage[${PYTHON_USEDEP}]')" diff --git a/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild b/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild index 6c342b04ec7e..f449a2fa9462 100644 --- a/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild +++ b/app-portage/recover-broken-vdb/recover-broken-vdb-9999.ebuild @@ -15,7 +15,8 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/thesamesam/${PN}.git" else - KEYWORDS="~amd64" + SRC_URI="https://github.com/thesamesam/recover-broken-vdb/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + #KEYWORDS="~amd64" fi LICENSE="GPL-2" |