commit: e5ac8f8157f47c79e625eb9f78b0452a8f5445f4 Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Tue Mar 6 20:47:49 2018 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Tue Mar 6 20:51:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5ac8f81
app-arch/brotli: Use only the major version as the subslot This change prevents unnecessary rebuilds due to subslot changes Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-arch/brotli/{brotli-9999.ebuild => brotli-1.0.3-r1.ebuild} | 4 ++-- app-arch/brotli/brotli-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app-arch/brotli/brotli-9999.ebuild b/app-arch/brotli/brotli-1.0.3-r1.ebuild similarity index 95% copy from app-arch/brotli/brotli-9999.ebuild copy to app-arch/brotli/brotli-1.0.3-r1.ebuild index f437159d352..98869f75b24 100644 --- a/app-arch/brotli/brotli-9999.ebuild +++ b/app-arch/brotli/brotli-1.0.3-r1.ebuild @@ -6,12 +6,12 @@ EAPI=6 PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) DISTUTILS_OPTIONAL="1" -inherit cmake-utils distutils-r1 +inherit cmake-utils distutils-r1 eapi7-ver DESCRIPTION="Generic-purpose lossless compression algorithm" HOMEPAGE="https://github.com/google/brotli" -SLOT="0/${PV}" +SLOT="0/$(ver_cut 1)" RDEPEND="python? ( ${PYTHON_DEPS} )" DEPEND="${RDEPEND}" diff --git a/app-arch/brotli/brotli-9999.ebuild b/app-arch/brotli/brotli-9999.ebuild index f437159d352..98869f75b24 100644 --- a/app-arch/brotli/brotli-9999.ebuild +++ b/app-arch/brotli/brotli-9999.ebuild @@ -6,12 +6,12 @@ EAPI=6 PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) DISTUTILS_OPTIONAL="1" -inherit cmake-utils distutils-r1 +inherit cmake-utils distutils-r1 eapi7-ver DESCRIPTION="Generic-purpose lossless compression algorithm" HOMEPAGE="https://github.com/google/brotli" -SLOT="0/${PV}" +SLOT="0/$(ver_cut 1)" RDEPEND="python? ( ${PYTHON_DEPS} )" DEPEND="${RDEPEND}"