dev-lang/python: depend on app-arch/xz-utils[extra-filters] for tests
authorMike Gilbert <floppym@gentoo.org>
Sat, 6 Jan 2018 23:21:39 +0000 (18:21 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sat, 6 Jan 2018 23:21:58 +0000 (18:21 -0500)
Closes: https://bugs.gentoo.org/643744
Package-Manager: Portage-2.3.19_p3, Repoman-2.3.6_p37

dev-lang/python/python-3.4.5-r1.ebuild
dev-lang/python/python-3.5.4-r1.ebuild
dev-lang/python/python-3.6.3-r1.ebuild
dev-lang/python/python-3.6.4.ebuild

index bb01c7623e5ba4eac052c16b4b4ab3352eabacd1..02cb5d3f2cbfd19ec0b508260b680cdf0efee32f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -17,7 +17,8 @@ SRC_URI="https://www.python.org/ftp/python/${PV%_rc*}/${MY_P}.tar.xz
 LICENSE="PSF-2"
 SLOT="3.4/3.4m"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="build elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk wininst +xml"
+IUSE="build elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml"
+RESTRICT="!test? ( test )"
 
 # Do not add a dependency on dev-lang/python to this ebuild.
 # If you need to apply a patch which requires python for bootstrapping, please
@@ -48,6 +49,7 @@ RDEPEND="app-arch/bzip2:0=
        xml? ( >=dev-libs/expat-2.1:0= )
        !!<sys-apps/sandbox-2.6-r1"
 DEPEND="${RDEPEND}
+       test? ( app-arch/xz-utils[extra-filters(+)] )
        virtual/pkgconfig
        >=sys-devel/autoconf-2.65
        !sys-devel/gcc[libffi(-)]"
index 680ae491e0a4e398b6453f190b44579c22f38ab3..35190a8535cabf4c574a7ca788239605362c7c5f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -17,7 +17,8 @@ SRC_URI="https://www.python.org/ftp/python/${PV%_rc*}/${MY_P}.tar.xz
 LICENSE="PSF-2"
 SLOT="3.5/3.5m"
 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="build elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk wininst +xml"
+IUSE="build elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml"
+RESTRICT="!test? ( test )"
 
 # Do not add a dependency on dev-lang/python to this ebuild.
 # If you need to apply a patch which requires python for bootstrapping, please
@@ -48,6 +49,7 @@ RDEPEND="app-arch/bzip2:0=
        xml? ( >=dev-libs/expat-2.1:0= )
        !!<sys-apps/sandbox-2.6-r1"
 DEPEND="${RDEPEND}
+       test? ( app-arch/xz-utils[extra-filters(+)] )
        virtual/pkgconfig
        !sys-devel/gcc[libffi(-)]"
 RDEPEND+=" !build? ( app-misc/mime-types )"
index 3d9849571a91561b17f261a0279daaa53c0c3f72..d904618dc9afb8f70c31583b8170c7ae8e474131 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -17,7 +17,8 @@ SRC_URI="https://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
 LICENSE="PSF-2"
 SLOT="3.6/3.6m"
 KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk wininst +xml"
+IUSE="build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml"
+RESTRICT="!test? ( test )"
 
 # Do not add a dependency on dev-lang/python to this ebuild.
 # If you need to apply a patch which requires python for bootstrapping, please
@@ -48,6 +49,7 @@ RDEPEND="app-arch/bzip2:0=
        xml? ( >=dev-libs/expat-2.1:0= )
        !!<sys-apps/sandbox-2.6-r1"
 DEPEND="${RDEPEND}
+       test? ( app-arch/xz-utils[extra-filters(+)] )
        virtual/pkgconfig
        !sys-devel/gcc[libffi(-)]"
 RDEPEND+=" !build? ( app-misc/mime-types )"
index bf6b9a5fb09ebc7118b71693a11db6ac0d41bb5a..f0adb4196ea4c92927e83b6a9be0bd1f07ec3ec9 100644 (file)
@@ -17,7 +17,8 @@ SRC_URI="https://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
 LICENSE="PSF-2"
 SLOT="3.6/3.6m"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-IUSE="build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk wininst +xml"
+IUSE="build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml"
+RESTRICT="!test? ( test )"
 
 # Do not add a dependency on dev-lang/python to this ebuild.
 # If you need to apply a patch which requires python for bootstrapping, please
@@ -48,6 +49,7 @@ RDEPEND="app-arch/bzip2:0=
        xml? ( >=dev-libs/expat-2.1:0= )
        !!<sys-apps/sandbox-2.6-r1"
 DEPEND="${RDEPEND}
+       test? ( app-arch/xz-utils[extra-filters(+)] )
        virtual/pkgconfig
        !sys-devel/gcc[libffi(-)]"
 RDEPEND+=" !build? ( app-misc/mime-types )"