summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-14 15:51:46 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-14 15:57:31 +0200
commiteb26687369c8a0e9451ff9247b5c19595710de28 (patch)
treeca663b7416dca85c1d6eb18f3631909e234f0b6a /app-portage
parentgames-misc/lucidlife: Set HOMEPAGE to "no homepage" (diff)
downloadgentoo-eb26687369c8a0e9451ff9247b5c19595710de28.tar.gz
gentoo-eb26687369c8a0e9451ff9247b5c19595710de28.tar.bz2
gentoo-eb26687369c8a0e9451ff9247b5c19595710de28.zip
app-portage/nattka: Add flag for depgraph-order sorting
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/nattka/metadata.xml5
-rw-r--r--app-portage/nattka/nattka-9999.ebuild13
2 files changed, 11 insertions, 7 deletions
diff --git a/app-portage/nattka/metadata.xml b/app-portage/nattka/metadata.xml
index 0319eec4c8be..25a63f37e394 100644
--- a/app-portage/nattka/metadata.xml
+++ b/app-portage/nattka/metadata.xml
@@ -5,4 +5,9 @@
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
+ <use>
+ <flag name='depgraph-order'>
+ Process packages in depgraph order whenever possible.
+ </flag>
+ </use>
</pkgmetadata>
diff --git a/app-portage/nattka/nattka-9999.ebuild b/app-portage/nattka/nattka-9999.ebuild
index 8e021291c6f7..55996068ff7a 100644
--- a/app-portage/nattka/nattka-9999.ebuild
+++ b/app-portage/nattka/nattka-9999.ebuild
@@ -15,24 +15,23 @@ EGIT_REPO_URI="https://github.com/mgorny/nattka.git"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS=""
+IUSE="depgraph-order"
RDEPEND="
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-util/pkgcheck[${PYTHON_USEDEP}]
dev-vcs/git
- sys-apps/pkgcore[${PYTHON_USEDEP}]"
+ sys-apps/pkgcore[${PYTHON_USEDEP}]
+ depgraph-order? (
+ dev-python/networkx[${PYTHON_USEDEP}]
+ )"
BDEPEND="
test? (
dev-python/freezegun[${PYTHON_USEDEP}]
+ dev-python/networkx[${PYTHON_USEDEP}]
dev-python/vcrpy[${PYTHON_USEDEP}]
)"
distutils_enable_sphinx doc --no-autodoc
distutils_enable_tests pytest
-
-pkg_postinst() {
- elog "NATTkA can optionally use:"
- elog " dev-python/networkx"
- elog "to sort 'apply' output in dependency order."
-}