From 323afedd6e46d273457add43d92f166ffba5acbf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 27 Oct 2019 02:33:04 +0100 Subject: Fix building of some legacy ebuilds --- app-admin/openshift-client-tools/Manifest | 2 +- .../openshift-client-tools-3.7.1-r1.ebuild | 50 ++++++++++++++++++++++ .../openshift-client-tools-3.7.1.ebuild | 47 -------------------- 3 files changed, 51 insertions(+), 48 deletions(-) create mode 100644 app-admin/openshift-client-tools/openshift-client-tools-3.7.1-r1.ebuild delete mode 100644 app-admin/openshift-client-tools/openshift-client-tools-3.7.1.ebuild (limited to 'app-admin/openshift-client-tools') diff --git a/app-admin/openshift-client-tools/Manifest b/app-admin/openshift-client-tools/Manifest index 9a13658..25043b6 100644 --- a/app-admin/openshift-client-tools/Manifest +++ b/app-admin/openshift-client-tools/Manifest @@ -1,2 +1,2 @@ DIST openshift-client-tools-3.7.1.tar.gz 103203908 BLAKE2B 0fba2ceb09f2c83e44eeea72cae1428506ceaad405947a3ad4d0fa4362c7441b948d37c9ded9048ac845666d74d0d5751f4d086b8988ccaaa380dc44353b7ad0 SHA512 ee2ddbe482dcf53c827423adf16e88adaa379b8914e214ba619ee87b0d84dfd53eaf52b687ef6140d24a7d7fb733908770d55901bbc96e5a430a343cba0b0a3e -EBUILD openshift-client-tools-3.7.1.ebuild 1119 BLAKE2B cee91219906d85ad0eed649ba80c6420aecc46f58d0fe989992c602194b21c32c936e064ac770bcda4d43ade5d4ef848955522e07a27c2aee6e4f7c60c1f5d9e SHA512 21dd8666b1456efc0c9c05c60ff1db1c59ab6d3e321b0dcff8faa32dab9e493c25d378f7938cb077673c361c7a9419b110c0062ced0994c48b99a4097d7931fb +EBUILD openshift-client-tools-3.7.1-r1.ebuild 1222 BLAKE2B 4de9a1978627d655a52bed20df9bba30301526478ce55e28b78ec9f7846f4c459f2c5ea0aedb468263a76dcbf13b520b0271a83b535c06b93c4b735552f6fa73 SHA512 8adf0aa3971b91c5b04471e2b98605ac00e1a49174ad2fd335e6f37a7e51da5f0bd687dd7743a220ba6414e23d480aaff13278c78b06a65a22f27cb720338a1b diff --git a/app-admin/openshift-client-tools/openshift-client-tools-3.7.1-r1.ebuild b/app-admin/openshift-client-tools/openshift-client-tools-3.7.1-r1.ebuild new file mode 100644 index 0000000..6c84fdc --- /dev/null +++ b/app-admin/openshift-client-tools/openshift-client-tools-3.7.1-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit bash-completion-r1 + +DESCRIPTION="Enterprise Kubernetes for Developers (Client Tools)" +HOMEPAGE="https://www.openshift.org" +SRC_URI="https://github.com/openshift/origin/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="bash-completion kerberos" + +DEPEND="dev-lang/go + kerberos? ( app-crypt/mit-krb5 )" +RDEPEND="bash-completion? ( >=app-shells/bash-completion-2.3-r1 )" + +S="${WORKDIR}/origin-${PV}" + +src_compile() { + use kerberos && MY_TAGS="-tags=gssapi" + + export OS_GIT_CATALOG_VERSION="v${PV}" + export OS_GIT_MINOR="" + export OS_GIT_MAJOR="" + export OS_GIT_VERSION="v${PV}" + + # Check fails go1.12 < go1.8 + sed -i'' -e 's#go1.8#go1.10#' hack/lib/build/binaries.sh + + emake all WHAT="cmd/oc ${MY_TAGS} -v" + + emake all WHAT="tools/gendocs -v" + emake all WHAT="tools/genman -v" + hack/generate-docs.sh || exit 1 +} + +src_install() { + case "${ARCH}" in + x86) MY_ARCH="386" ;; + *) MY_ARCH="${ARCH}" ;; + esac + + dobin "_output/local/bin/linux/${MY_ARCH}/oc" + doman docs/man/man1/oc* + use bash-completion && dobashcomp contrib/completions/bash/oc +} \ No newline at end of file diff --git a/app-admin/openshift-client-tools/openshift-client-tools-3.7.1.ebuild b/app-admin/openshift-client-tools/openshift-client-tools-3.7.1.ebuild deleted file mode 100644 index f53b694..0000000 --- a/app-admin/openshift-client-tools/openshift-client-tools-3.7.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit bash-completion-r1 - -DESCRIPTION="Enterprise Kubernetes for Developers (Client Tools)" -HOMEPAGE="https://www.openshift.org" -SRC_URI="https://github.com/openshift/origin/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="bash-completion kerberos" - -DEPEND="dev-lang/go - kerberos? ( app-crypt/mit-krb5 )" -RDEPEND="bash-completion? ( >=app-shells/bash-completion-2.3-r1 )" - -S="${WORKDIR}/origin-${PV}" - -src_compile() { - use kerberos && MY_TAGS="-tags=gssapi" - - export OS_GIT_CATALOG_VERSION="v${PV}" - export OS_GIT_MINOR="" - export OS_GIT_MAJOR="" - export OS_GIT_VERSION="v${PV}" - - emake all WHAT="cmd/oc ${MY_TAGS} -v" - - emake all WHAT="tools/gendocs -v" - emake all WHAT="tools/genman -v" - hack/generate-docs.sh || exit 1 -} - -src_install() { - case "${ARCH}" in - x86) MY_ARCH="386" ;; - *) MY_ARCH="${ARCH}" ;; - esac - - dobin "_output/local/bin/linux/${MY_ARCH}/oc" - doman docs/man/man1/oc* - use bash-completion && dobashcomp contrib/completions/bash/oc -} \ No newline at end of file -- cgit v1.2.3