sys-apps/portage: disable rsync-verify for stage1 build
authorZac Medico <zmedico@gentoo.org>
Wed, 7 Feb 2018 19:35:09 +0000 (11:35 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 7 Feb 2018 19:40:43 +0000 (11:40 -0800)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

sys-apps/portage/portage-2.3.24.ebuild
sys-apps/portage/portage-9999.ebuild

index 9c6f5d9387dc1d12ed6e9a09cfb5e51e72ec1966..f0ad350864b12f2c5ad2256c3cb89881edbb6c7f 100644 (file)
@@ -44,17 +44,17 @@ RDEPEND="
                >=app-admin/eselect-1.2
                $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
                        python{2_7,3_4,3_5} pypy)
+               rsync-verify? (
+                       >=app-portage/gemato-10
+                       app-crypt/gentoo-keys
+                       app-crypt/gnupg[ssl(-)]
+               )
        )
        elibc_FreeBSD? ( sys-freebsd/freebsd-bin )
        elibc_glibc? ( >=sys-apps/sandbox-2.2 )
        elibc_musl? ( >=sys-apps/sandbox-2.2 )
        elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
        >=app-misc/pax-utils-0.1.17
-       rsync-verify? (
-               >=app-portage/gemato-10
-               app-crypt/gentoo-keys
-               app-crypt/gnupg[ssl(-)]
-       )
        selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
        xattr? ( kernel_linux? (
                >=sys-apps/install-xattr-0.3
@@ -123,7 +123,7 @@ python_prepare_all() {
                        || die "failed to append to make.globals"
        fi
 
-       if ! use rsync-verify; then
+       if use build || ! use rsync-verify; then
                sed -e '/^sync-rsync-verify-metamanifest/s|yes|no|' \
                        -i cnf/repos.conf || die "sed failed"
        fi
index e91f5535212f85f77a5ab079351fce1ff54344da..2df6101a5f93dcd822df1260566d54488c7746fd 100644 (file)
@@ -44,6 +44,11 @@ RDEPEND="
                >=app-admin/eselect-1.2
                $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
                        python{2_7,3_4,3_5} pypy)
+               rsync-verify? (
+                       >=app-portage/gemato-10
+                       app-crypt/gentoo-keys
+                       app-crypt/gnupg[ssl(-)]
+               )
        )
        elibc_FreeBSD? ( sys-freebsd/freebsd-bin )
        elibc_glibc? ( >=sys-apps/sandbox-2.2 )
@@ -122,7 +127,7 @@ python_prepare_all() {
                        || die "failed to append to make.globals"
        fi
 
-       if ! use rsync-verify; then
+       if use build || ! use rsync-verify; then
                sed -e '/^sync-rsync-verify-metamanifest/s|yes|no|' \
                        -i cnf/repos.conf || die "sed failed"
        fi