dev-python/six: Add a strong warning for the next version bump
authorMike Gilbert <floppym@gentoo.org>
Fri, 11 Mar 2016 02:33:24 +0000 (21:33 -0500)
committerMike Gilbert <floppym@gentoo.org>
Fri, 11 Mar 2016 02:33:24 +0000 (21:33 -0500)
Package-Manager: portage-2.2.28_p57

dev-python/six/six-1.10.0.ebuild

index f0d2eef16da1bb4f9e6b1ac41276b729128c7dbb..b005475fb6c6faf06dc6650d293ed016e885eeb9 100644 (file)
@@ -26,6 +26,15 @@ PATCHES=(
        "${FILESDIR}"/1.9.0-mapping.patch
 )
 
+if [[ ${PV} != 1.10.0 ]]; then
+       # There is no longer a circular dep with setuptools, so please do the following
+       # Drop 1.10.0-no-setuptools.patch
+       # Add a dependency on dev-python/setuptools[${PYTHON_USEDEP}]
+       # Remove pkg_preinst
+       # Thanks! - Mike Gilbert (floppym)
+       die "Please read the ebuild for notes on this version bump"
+fi
+
 python_prepare_all() {
        # https://bitbucket.org/gutworth/six/issues/139/
        sed \