diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-08-22 09:42:47 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-08-22 10:04:16 +0200 |
commit | 6809241c0e716f0181908ddfbdbff3718813e5eb (patch) | |
tree | bd3ff4a49be9b36999f20e468281a8554effdfc0 /media-libs/libcaca | |
parent | media-gfx/alembic: Eradicate python2 (diff) | |
download | gentoo-6809241c0e716f0181908ddfbdbff3718813e5eb.tar.gz gentoo-6809241c0e716f0181908ddfbdbff3718813e5eb.tar.bz2 gentoo-6809241c0e716f0181908ddfbdbff3718813e5eb.zip |
media-libs/libcaca: Eradicate python2
Closes: https://bugs.gentoo.org/705942
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-libs/libcaca')
-rw-r--r-- | media-libs/libcaca/libcaca-0.99_beta19-r1.ebuild | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/media-libs/libcaca/libcaca-0.99_beta19-r1.ebuild b/media-libs/libcaca/libcaca-0.99_beta19-r1.ebuild index f1b7568c43af..0bc4e2321bd1 100644 --- a/media-libs/libcaca/libcaca-0.99_beta19-r1.ebuild +++ b/media-libs/libcaca/libcaca-0.99_beta19-r1.ebuild @@ -2,11 +2,10 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 ) RUBY_OPTIONAL=yes #USE_RUBY=ruby20 -inherit autotools ruby-ng eutils flag-o-matic ltprune mono-env multilib java-pkg-opt-2 python-single-r1 multilib-minimal +inherit autotools ruby-ng eutils flag-o-matic ltprune mono-env multilib java-pkg-opt-2 multilib-minimal MY_P=${P/_/.} DESCRIPTION="A library that creates colored ASCII-art graphics" @@ -16,11 +15,9 @@ SRC_URI="http://libcaca.zoy.org/files/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2 ISC LGPL-2.1 WTFPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" -IUSE="cxx doc imlib java mono ncurses opengl python ruby slang static-libs test truetype X" +IUSE="cxx doc imlib java mono ncurses opengl ruby slang static-libs test truetype X" RESTRICT="!test? ( test )" -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" +REQUIRED_USE="" # ruby? ( ruby_targets_${USE_RUBY} ) COMMON_DEPEND="imlib? ( >=media-libs/imlib2-1.4.6-r2[${MULTILIB_USEDEP}] ) @@ -32,7 +29,6 @@ COMMON_DEPEND="imlib? ( >=media-libs/imlib2-1.4.6-r2[${MULTILIB_USEDEP}] ) >=media-libs/freeglut-2.8.1[${MULTILIB_USEDEP}] truetype? ( >=media-libs/ftgl-2.1.3_rc5 ) ) - python? ( ${PYTHON_DEPS} ) slang? ( >=sys-libs/slang-2.2.4-r1[${MULTILIB_USEDEP}] ) X? ( >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] )" # ruby? ( $(ruby_implementations_depend) ) @@ -55,7 +51,6 @@ S=${WORKDIR}/${MY_P} DOCS=( AUTHORS ChangeLog NEWS NOTES README THANKS ) pkg_setup() { - use python && python-single-r1_pkg_setup java-pkg-opt-2_pkg_setup use mono && mono-env_pkg_setup } @@ -124,7 +119,7 @@ multilib_src_configure() { $(use_enable test cppunit) \ $(multilib_native_use_enable java) \ $(multilib_native_use_enable ruby) \ - $(multilib_native_use_enable python) \ + --disable-python \ $(multilib_native_use_enable mono csharp) \ $(multilib_native_use_enable doc) } |