mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
dev-cpp/kokkos: fix pkgdev warnings about misplaced S= and empty SRC_URI=
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://github.com/kokkos"
|
||||
MY_PV="$(ver_cut 1-2).0$(ver_cut 3)"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 -x86"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="!test? ( test )"
|
||||
DEPEND="sys-apps/hwloc:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://github.com/kokkos"
|
||||
MY_PV="$(ver_cut 1-2).0$(ver_cut 3)"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 -x86"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="!test? ( test )"
|
||||
DEPEND="sys-apps/hwloc:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
@@ -10,6 +10,8 @@ HOMEPAGE="https://github.com/kokkos"
|
||||
MY_PV="$(ver_cut 1-2).0$(ver_cut 3)"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -x86"
|
||||
@@ -19,8 +21,6 @@ RESTRICT="!test? ( test )"
|
||||
DEPEND="sys-apps/hwloc:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ HOMEPAGE="https://github.com/kokkos"
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/kokkos/kokkos.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
MY_PV="$(ver_cut 1-2).0$(ver_cut 3)"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
@@ -27,8 +26,6 @@ RESTRICT="!test? ( test )"
|
||||
DEPEND="sys-apps/hwloc:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user