dev-db/ocp: move common inherit out

Bug: https://bugs.gentoo.org/831291
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-01-20 15:21:41 +00:00
parent 7b01b4e5c7
commit ffbe6ac5b5
2 changed files with 6 additions and 4 deletions

View File

@@ -6,14 +6,15 @@ EAPI=8
DESCRIPTION="Oracle copy tool"
HOMEPAGE="https://github.com/maxsatula/ocp"
inherit toolchain-funcs
if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/maxsatula/ocp.git"
EGIT_BRANCH="develop"
inherit git-r3 autotools toolchain-funcs
inherit autotools git-r3
else
SRC_URI="https://github.com/maxsatula/ocp/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
inherit toolchain-funcs
fi
LICENSE="GPL-2"

View File

@@ -6,14 +6,15 @@ EAPI=8
DESCRIPTION="Oracle copy tool"
HOMEPAGE="https://github.com/maxsatula/ocp"
inherit toolchain-funcs
if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/maxsatula/ocp.git"
EGIT_BRANCH="develop"
inherit git-r3 autotools toolchain-funcs
inherit autotools git-r3
else
SRC_URI="https://github.com/maxsatula/ocp/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
inherit toolchain-funcs
fi
LICENSE="GPL-2"