aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2015-12-05 13:55:11 -0500
committerTim Harder <radhermit@gmail.com>2015-12-05 13:55:50 -0500
commit751efdf8edad66548248ced49f4dc7cba67b84f1 (patch)
treec898639520cec0ee6cfa7fa2251a53700a1fd6e1 /doc
parentman/pkgcore: minor extended atom syntax rewording (diff)
downloadpkgcore-751efdf8edad66548248ced49f4dc7cba67b84f1.tar.gz
pkgcore-751efdf8edad66548248ced49f4dc7cba67b84f1.tar.bz2
pkgcore-751efdf8edad66548248ced49f4dc7cba67b84f1.zip
man/pkgcore: move regular atom extension docs to pkgspec
Diffstat (limited to 'doc')
-rw-r--r--doc/man/pkgcore.rst64
1 files changed, 0 insertions, 64 deletions
diff --git a/doc/man/pkgcore.rst b/doc/man/pkgcore.rst
index dec42f48e..4f58ddd4f 100644
--- a/doc/man/pkgcore.rst
+++ b/doc/man/pkgcore.rst
@@ -377,70 +377,6 @@ dev-vcs/\*bzr*tools\* category must be dev-vcs, and the globbing there is like
=portage-1.0 match version 1.0 of any 'portage' package
===================== ==========================================================
-Additionally, pkgcore supports additional atom extensions that are more
-'pure' to the atom specification.
-
-Use flag dependencies
----------------------
-
-http://bugs.gentoo.org/2272 has the details, but a use dependency is basically
-a normal atom that is able to force/disable flags on the target atom.
-
-Syntax:
-
- normal-atom[enabled_flag1,enabled_flag2,-disabled_flag,-disabled_flag2]
-
-Example:
-
- sys-apps/portage[build]
-
-Would only match sys-apps/portage with the build flag forced on.
-
-Forcing 'build' off while forcing 'doc' on would be:
-
- sys-apps/portage[-build,doc]
-
-Slot dependencies
------------------
-
-Slot dependencies allow for finer grained matching of packages.
-
-Syntax:
-
- normal-atom:slot1,slot2,slot3
-
-Matching just python in slot '2.7':
-
- dev-lang/python:2.7
-
-Matching python in slot '3.4' or '3.5'
-
- dev-lang/python:3.4,3.5
-
-Repo dependencies
------------------
-
-The main usage of this form is to limit an atom to match only within a specific
-repo - for example, to state "I need python from the gentoo repo _only_."
-
-syntax:
-
- normal-atom::repository-id
-
-Example:
-
- sys-devel/gcc::gentoo
-
-A complication of this form is that ':' is also used for slots- '::' is treated
-as strictly repository id matching, and must be the last token in the atom.
-
-If you need to do slot matching in addition, it would be
-
- sys-devel/gcc:4.9::gentoo
-
-which would match slot '4.9' from repository 'gentoo' (defined in
-profiles/repo_name) of sys-devel/gcc.
-
Utilities
=========