summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-01-01 00:26:18 -0500
committerSam James <sam@gentoo.org>2024-01-09 03:27:06 +0000
commit42bb17eae7aa44047350038300ed8a2e15452690 (patch)
tree74acc3e89b5ab1a2a7bdd0760682be87eb33283c /sys-apps
parentprofiles/arch/ia64: mask >=sys-libs/glibc-2.39 (diff)
downloadgentoo-42bb17eae7aa44047350038300ed8a2e15452690.tar.gz
gentoo-42bb17eae7aa44047350038300ed8a2e15452690.tar.bz2
gentoo-42bb17eae7aa44047350038300ed8a2e15452690.zip
sys-apps/pkgcore: depend on snakeoil at build time too
Using --buildpkgonly, this fails to build. The build backend imports snakeoil to generate the version number, so it must be available. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/pkgcore/pkgcore-0.12.23-r1.ebuild13
-rw-r--r--sys-apps/pkgcore/pkgcore-0.12.23.ebuild13
-rw-r--r--sys-apps/pkgcore/pkgcore-0.12.24.ebuild15
-rw-r--r--sys-apps/pkgcore/pkgcore-9999.ebuild13
4 files changed, 33 insertions, 21 deletions
diff --git a/sys-apps/pkgcore/pkgcore-0.12.23-r1.ebuild b/sys-apps/pkgcore/pkgcore-0.12.23-r1.ebuild
index dd0437c0c1fd..e976a4ab907a 100644
--- a/sys-apps/pkgcore/pkgcore-0.12.23-r1.ebuild
+++ b/sys-apps/pkgcore/pkgcore-0.12.23-r1.ebuild
@@ -22,16 +22,19 @@ HOMEPAGE="https://github.com/pkgcore/pkgcore"
LICENSE="BSD MIT"
SLOT="0"
+if [[ ${PV} == *9999 ]]; then
+ COMMON_DEPEND="~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
+else
+ COMMON_DEPEND=">=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]"
+fi
+
RDEPEND="
+ ${COMMON_DEPEND}
>=app-shells/bash-5.0[readline]
dev-python/lxml[${PYTHON_USEDEP}]
"
-if [[ ${PV} == *9999 ]]; then
- RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
-else
- RDEPEND+=" >=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]"
-fi
BDEPEND="
+ ${COMMON_DEPEND}
>=dev-python/flit-core-3.8[${PYTHON_USEDEP}]
test? (
dev-vcs/git
diff --git a/sys-apps/pkgcore/pkgcore-0.12.23.ebuild b/sys-apps/pkgcore/pkgcore-0.12.23.ebuild
index 5b1d3415ec55..eb2065fe8341 100644
--- a/sys-apps/pkgcore/pkgcore-0.12.23.ebuild
+++ b/sys-apps/pkgcore/pkgcore-0.12.23.ebuild
@@ -22,16 +22,19 @@ HOMEPAGE="https://github.com/pkgcore/pkgcore"
LICENSE="BSD MIT"
SLOT="0"
+if [[ ${PV} == *9999 ]]; then
+ COMMON_DEPEND="~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
+else
+ COMMON_DEPEND=">=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]"
+fi
+
RDEPEND="
+ ${COMMON_DEPEND}
>=app-shells/bash-5.0[readline]
dev-python/lxml[${PYTHON_USEDEP}]
"
-if [[ ${PV} == *9999 ]]; then
- RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
-else
- RDEPEND+=" >=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]"
-fi
BDEPEND="
+ ${COMMON_DEPEND}
>=dev-python/flit-core-3.8[${PYTHON_USEDEP}]
test? (
dev-vcs/git
diff --git a/sys-apps/pkgcore/pkgcore-0.12.24.ebuild b/sys-apps/pkgcore/pkgcore-0.12.24.ebuild
index 5b1d3415ec55..d0d06f8a6b4e 100644
--- a/sys-apps/pkgcore/pkgcore-0.12.24.ebuild
+++ b/sys-apps/pkgcore/pkgcore-0.12.24.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -22,16 +22,19 @@ HOMEPAGE="https://github.com/pkgcore/pkgcore"
LICENSE="BSD MIT"
SLOT="0"
+if [[ ${PV} == *9999 ]]; then
+ COMMON_DEPEND="~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
+else
+ COMMON_DEPEND=">=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]"
+fi
+
RDEPEND="
+ ${COMMON_DEPEND}
>=app-shells/bash-5.0[readline]
dev-python/lxml[${PYTHON_USEDEP}]
"
-if [[ ${PV} == *9999 ]]; then
- RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
-else
- RDEPEND+=" >=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]"
-fi
BDEPEND="
+ ${COMMON_DEPEND}
>=dev-python/flit-core-3.8[${PYTHON_USEDEP}]
test? (
dev-vcs/git
diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild
index 3f64d0ccb6e6..6258b5b378c7 100644
--- a/sys-apps/pkgcore/pkgcore-9999.ebuild
+++ b/sys-apps/pkgcore/pkgcore-9999.ebuild
@@ -22,16 +22,19 @@ HOMEPAGE="https://github.com/pkgcore/pkgcore"
LICENSE="BSD MIT"
SLOT="0"
+if [[ ${PV} == *9999 ]]; then
+ COMMON_DEPEND="~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
+else
+ COMMON_DEPEND=">=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]"
+fi
+
RDEPEND="
+ ${COMMON_DEPEND}
>=app-shells/bash-5.0[readline]
dev-python/lxml[${PYTHON_USEDEP}]
"
-if [[ ${PV} == *9999 ]]; then
- RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
-else
- RDEPEND+=" >=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]"
-fi
BDEPEND="
+ ${COMMON_DEPEND}
>=dev-python/flit-core-3.8[${PYTHON_USEDEP}]
test? (
dev-vcs/git