public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/elinks/
Date: Sun,  2 Jun 2024 00:55:08 +0000 (UTC)	[thread overview]
Message-ID: <1717289662.91e97ef23bc7cf5b6cec14cd326eba1d74305745.sam@gentoo> (raw)

commit:     91e97ef23bc7cf5b6cec14cd326eba1d74305745
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue May 28 18:50:58 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun  2 00:54:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e97ef2

www-client/elinks: wire up the upstream support for python scripting

Previously hard disabled, now available via USE=python.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...links-9999.ebuild => elinks-0.16.1.1-r3.ebuild} | 23 ++++++++++++++--------
 www-client/elinks/elinks-9999.ebuild               | 15 ++++++++------
 2 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/www-client/elinks/elinks-9999.ebuild b/www-client/elinks/elinks-0.16.1.1-r3.ebuild
similarity index 91%
copy from www-client/elinks/elinks-9999.ebuild
copy to www-client/elinks/elinks-0.16.1.1-r3.ebuild
index 7611b9f21af9..edfcfdf198e7 100644
--- a/www-client/elinks/elinks-9999.ebuild
+++ b/www-client/elinks/elinks-0.16.1.1-r3.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{10..11} )
 LUA_COMPAT=( lua5-{1,2,3,4} luajit )
 
-inherit flag-o-matic meson lua-single python-any-r1
+inherit flag-o-matic meson lua-single python-single-r1
 
 DESCRIPTION="Advanced and well-established text-mode web browser"
 HOMEPAGE="http://elinks.or.cz/"
@@ -23,9 +23,12 @@ fi
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn"
-IUSE+=" javascript lua lzma +mouse nls nntp perl samba ssl test tre unicode X xml zlib zstd"
+IUSE+=" javascript lua lzma +mouse nls nntp perl python samba ssl test tre unicode X xml zlib zstd"
 RESTRICT="!test? ( test )"
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+REQUIRED_USE="
+	lua? ( ${LUA_REQUIRED_USE} )
+	python? ( ${PYTHON_REQUIRED_USE} )
+"
 
 RDEPEND="
 	>=sys-libs/ncurses-5.2:=[unicode(+)]
@@ -35,7 +38,7 @@ RDEPEND="
 		>=sys-libs/gpm-1.20.0-r5
 	)
 	guile? ( >=dev-scheme/guile-1.6.4-r1[deprecated] )
-	idn? ( net-dns/libidn2:= )
+	idn? ( net-dns/libidn:= )
 	javascript? (
 		dev-cpp/libxmlpp:5.0
 		dev-lang/mujs:=
@@ -43,6 +46,7 @@ RDEPEND="
 	lua? ( ${LUA_DEPS} )
 	lzma? ( app-arch/xz-utils )
 	perl? ( dev-lang/perl:= )
+	python? ( ${PYTHON_DEPS} )
 	samba? ( net-fs/samba )
 	ssl? (
 		!gnutls? ( dev-libs/openssl:= )
@@ -60,18 +64,21 @@ RDEPEND="
 DEPEND="${RDEPEND}
 	X? ( x11-base/xorg-proto )"
 BDEPEND="
-	${PYTHON_DEPS}
 	virtual/pkgconfig
 	nls? ( sys-devel/gettext )
 	test? (
-		net-dns/libidn2
+		net-dns/libidn
 	)
 "
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.16.1.1-perl-5.38.patch
+)
+
 pkg_setup() {
 	use lua && lua-single_pkg_setup
 
-	python-any-r1_pkg_setup
+	use python && python-single-r1_pkg_setup
 }
 
 src_configure() {
@@ -119,7 +126,7 @@ src_configure() {
 		$(meson_use nls)
 		$(meson_use nntp)
 		$(meson_use perl)
-		-Dpython=false
+		$(meson_use python)
 		-Dquickjs=false
 		-Druby=false
 		$(meson_use samba smb)

diff --git a/www-client/elinks/elinks-9999.ebuild b/www-client/elinks/elinks-9999.ebuild
index 7611b9f21af9..5d89b59b7846 100644
--- a/www-client/elinks/elinks-9999.ebuild
+++ b/www-client/elinks/elinks-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{10..11} )
 LUA_COMPAT=( lua5-{1,2,3,4} luajit )
 
-inherit flag-o-matic meson lua-single python-any-r1
+inherit flag-o-matic meson lua-single python-single-r1
 
 DESCRIPTION="Advanced and well-established text-mode web browser"
 HOMEPAGE="http://elinks.or.cz/"
@@ -23,9 +23,12 @@ fi
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn"
-IUSE+=" javascript lua lzma +mouse nls nntp perl samba ssl test tre unicode X xml zlib zstd"
+IUSE+=" javascript lua lzma +mouse nls nntp perl python samba ssl test tre unicode X xml zlib zstd"
 RESTRICT="!test? ( test )"
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+REQUIRED_USE="
+	lua? ( ${LUA_REQUIRED_USE} )
+	python? ( ${PYTHON_REQUIRED_USE} )
+"
 
 RDEPEND="
 	>=sys-libs/ncurses-5.2:=[unicode(+)]
@@ -43,6 +46,7 @@ RDEPEND="
 	lua? ( ${LUA_DEPS} )
 	lzma? ( app-arch/xz-utils )
 	perl? ( dev-lang/perl:= )
+	python? ( ${PYTHON_DEPS} )
 	samba? ( net-fs/samba )
 	ssl? (
 		!gnutls? ( dev-libs/openssl:= )
@@ -60,7 +64,6 @@ RDEPEND="
 DEPEND="${RDEPEND}
 	X? ( x11-base/xorg-proto )"
 BDEPEND="
-	${PYTHON_DEPS}
 	virtual/pkgconfig
 	nls? ( sys-devel/gettext )
 	test? (
@@ -71,7 +74,7 @@ BDEPEND="
 pkg_setup() {
 	use lua && lua-single_pkg_setup
 
-	python-any-r1_pkg_setup
+	use python && python-single-r1_pkg_setup
 }
 
 src_configure() {
@@ -119,7 +122,7 @@ src_configure() {
 		$(meson_use nls)
 		$(meson_use nntp)
 		$(meson_use perl)
-		-Dpython=false
+		$(meson_use python)
 		-Dquickjs=false
 		-Druby=false
 		$(meson_use samba smb)


             reply	other threads:[~2024-06-02  0:55 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-02  0:55 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 11:57 [gentoo-commits] repo/gentoo:master commit in: www-client/elinks/ Sam James
2024-11-08 10:59 Sam James
2024-11-08  6:31 Sam James
2024-11-08  3:54 Sam James
2024-10-17  7:35 Sam James
2024-10-17  7:24 Sam James
2024-10-17  7:19 Sam James
2024-10-17  7:13 Sam James
2024-09-18 13:12 Arsen Arsenović
2024-07-16 22:46 Sam James
2024-07-16 21:28 Conrad Kostecki
2024-07-14 14:03 Conrad Kostecki
2024-06-02  0:55 Sam James
2024-02-29  0:51 Sam James
2024-02-29  0:27 Sam James
2023-10-27 15:20 Michał Górny
2023-09-09  9:51 Sam James
2023-09-09  9:51 Sam James
2023-09-09  9:51 Sam James
2023-09-09  9:44 Sam James
2023-09-09  9:44 Sam James
2023-09-09  9:42 Sam James
2023-09-09  9:28 Arthur Zamarin
2023-09-09  9:28 Arthur Zamarin
2023-05-27 15:55 Sam James
2023-05-21  6:01 Joonas Niilola
2023-05-21  6:01 Joonas Niilola
2023-05-21  0:50 Sam James
2023-05-20 13:00 Sam James
2023-05-10  1:31 Sam James
2023-05-01 10:02 Sam James
2023-05-01  9:39 Sam James
2023-05-01  7:39 Arthur Zamarin
2023-05-01  7:39 Arthur Zamarin
2023-05-01  7:23 Sam James
2023-05-01  7:23 Sam James
2023-05-01  6:45 Arthur Zamarin
2023-05-01  5:16 Sam James
2023-05-01  5:16 Sam James
2023-05-01  5:09 Sam James
2023-04-14 15:51 Michał Górny
2022-12-29 21:41 Sam James
2022-10-28 13:21 Sam James
2022-10-13 19:56 Sam James
2022-10-13  1:51 Sam James
2022-10-13  1:51 Sam James
2021-11-01  8:29 Arthur Zamarin
2021-04-30 18:30 Mikle Kolyada
2021-03-20  8:25 Joonas Niilola
2021-01-24  3:52 Sam James
2021-01-23 22:51 Sam James
2021-01-23 22:42 Sam James
2021-01-23  4:20 Sam James
2021-01-23  4:09 Sam James
2021-01-07 16:52 Sam James
2021-01-07 10:09 Sam James
2021-01-06 11:37 Fabian Groffen
2021-01-06  6:37 Sam James
2021-01-04 19:40 Sergei Trofimovich
2020-10-27 21:18 Sam James
2020-10-27 21:18 Sam James
2020-09-20 13:12 Thomas Deutschmann
2020-09-13 18:36 Sam James
2020-09-13  8:44 Sergei Trofimovich
2020-09-11 17:32 Sergei Trofimovich
2020-09-09 21:59 Sergei Trofimovich
2020-09-09 21:35 Sergei Trofimovich
2020-09-08 15:56 Thomas Deutschmann
2020-09-08  4:35 Sam James
2020-08-07 17:58 Sam James
2020-08-07 17:58 Sam James
2020-08-07 17:58 Sam James
2020-08-07 17:58 Sam James
2020-08-07 17:58 Sam James
2020-06-18  9:52 Andreas Sturmlechner
2019-11-25  7:30 Sergei Trofimovich
2019-11-23 15:51 Agostino Sarubbo
2019-08-29 13:40 Michał Górny
2019-07-28 19:54 Mikle Kolyada
2019-06-27  8:56 Agostino Sarubbo
2019-06-22  9:38 Sergei Trofimovich
2019-06-22  9:32 Sergei Trofimovich
2019-06-20  9:21 Mikle Kolyada
2019-06-18 18:24 Thomas Deutschmann
2019-06-15  9:28 Sergei Trofimovich
2019-04-26 17:59 Anthony G. Basile
2019-04-21  3:13 Anthony G. Basile
2018-08-15 10:33 Michał Górny
2018-03-03 14:52 Michał Górny
2018-03-03 14:52 Michał Górny
2018-02-18 17:25 Patrice Clement
2018-02-18 17:25 Patrice Clement
2018-02-18 17:25 Patrice Clement
2018-02-18 17:25 Patrice Clement
2017-10-22 21:31 Andreas Hüttel
2017-10-22 16:55 Patrice Clement
2017-10-22 16:55 Patrice Clement
2017-10-22 16:55 Patrice Clement
2017-10-22 16:55 Patrice Clement
2017-10-22 16:55 Patrice Clement
2017-10-11 20:00 Jonas Stein
2017-04-21  7:33 David Seifert
2016-04-15 11:17 Anthony G. Basile
2016-04-15 11:17 Anthony G. Basile
2015-12-03  4:00 Mike Frysinger
2015-11-21  7:11 Anthony G. Basile
2015-10-07 18:56 Ian Stakenvicius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717289662.91e97ef23bc7cf5b6cec14cd326eba1d74305745.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox