diff options
author | 2024-05-03 06:53:46 +0100 | |
---|---|---|
committer | 2024-05-03 06:53:46 +0100 | |
commit | 2e5933f2972a700cbb8bd15a2464dcdd383918ca (patch) | |
tree | 96f786d3e2b34db12543e6414f36a24f9c07b1aa | |
parent | man: update default PKGDIR location to /var/cache/binpkgs (diff) | |
download | gentoolkit-2e5933f2972a700cbb8bd15a2464dcdd383918ca.tar.gz gentoolkit-2e5933f2972a700cbb8bd15a2464dcdd383918ca.tar.bz2 gentoolkit-2e5933f2972a700cbb8bd15a2464dcdd383918ca.zip |
package: update example PORTDIR path
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | pym/gentoolkit/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py index 2159782..e3dd092 100644 --- a/pym/gentoolkit/package.py +++ b/pym/gentoolkit/package.py @@ -1,5 +1,5 @@ # Copyright(c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> -# Copyright(c) 2004-2010, Gentoo Foundation +# Copyright(c) 2004-2024, Gentoo Authors # # Licensed under the GNU General Public License, v2 @@ -13,7 +13,7 @@ important parts of Portage's back-end. Example usage: >>> portage = Package('sys-apps/portage-9999') >>> portage.ebuild_path() - '/usr/portage/sys-apps/portage/portage-9999.ebuild' + '/var/db/repos/gentoo/sys-apps/portage/portage-9999.ebuild' >>> portage.is_masked() True >>> portage.is_installed() @@ -318,7 +318,7 @@ class Package(CPV): Example usage: >>> pkg = Package('sys-apps/portage-9999') >>> pkg.ebuild_path() - '/usr/portage/sys-apps/portage/portage-9999.ebuild' + '/var/db/repos/gentoo/sys-apps/portage/portage-9999.ebuild' >>> pkg.ebuild_path(in_vartree=True) '/var/db/pkg/sys-apps/portage-9999/portage-9999.ebuild' """ |