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: dev-lang/swig/
Date: Mon, 21 Apr 2025 07:11:25 +0000 (UTC)	[thread overview]
Message-ID: <1745219312.3ccf1feb5436a842565bb602c814618ecf200812.sam@gentoo> (raw)

commit:     3ccf1feb5436a842565bb602c814618ecf200812
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 21 07:08:32 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 21 07:08:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ccf1feb

dev-lang/swig: add 4.3.1

Closes: https://bugs.gentoo.org/953964
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/swig/Manifest          |  1 +
 dev-lang/swig/swig-4.3.1.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-lang/swig/Manifest b/dev-lang/swig/Manifest
index d904ff0cfd6b..ff9f7a5aa1ef 100644
--- a/dev-lang/swig/Manifest
+++ b/dev-lang/swig/Manifest
@@ -2,3 +2,4 @@ DIST swig-4.1.1.tar.gz 8600805 BLAKE2B 898d3405f20c3e49626fb808b568e77c69b81ec24
 DIST swig-4.2.0.tar.gz 8339586 BLAKE2B 4f1c3c7d4b1e218b67a2d796d2171df73971036a433e5fb80233b3050f022d578efdff28fc44d98a6d176ec6270b4942f5f56e9a74bbd8b30d6836c76c620a04 SHA512 b7f508b25bc6e882ed6123f6c7ad12b02a7b74de09ac6e5789968e9c2f51407d1e3dafd5ea495087b4fb0f447ecce17e6070471479c67c4265166d8342a10862
 DIST swig-4.2.1.tar.gz 8364050 BLAKE2B 0acffd4794d09f2347d669d1460a794c03f136ab3ddc6623741e182ff52b6bf5f639c736e38540918ebb1abbe36c2ce1957aef8a429f1a716d9c5361175569bf SHA512 019dee5a46d57e1030eef47cd5d007ccaadbdcd4e53cd30d7c795f0118ecf4406a78185534502c81c5f6d7bac0713256e7e19b20b5a2d14e2c552219edbaf5cf
 DIST swig-4.3.0.tar.gz 8616205 BLAKE2B ff9c9b9c139ebde89c46abd4b46903dc6c33aff969ed3bf873d7982ed9ad53793e2648460eb52e606e6295984698239118b10cef5d66333b1c3588286367d4d8 SHA512 5dfb8aa9898fccb063dbdf5d6266928cf46d671491308d2c122c59414377f1558015a37d7268729f62c5d4ee20438c98c83ee575fb00078dfe77564ee46a2f64
+DIST swig-4.3.1.tar.gz 8620774 BLAKE2B cd47eb3f9bf7c7e2f1583a58c4416275720b55754abd05c61636e68ac36e6b5899b293e55cf680071257017b53b95e7a2fd8983ca4effc7e98bb7af4dac5e026 SHA512 8958f7bc3345549a9bc4e00aa8d40a99f6c4bb92b95d627c8796cf8f8d1ba0041a89cab542f171778c2b26aa2a877767181ae9bd2c05fd055f373a32a463399c

diff --git a/dev-lang/swig/swig-4.3.1.ebuild b/dev-lang/swig/swig-4.3.1.ebuild
new file mode 100644
index 000000000000..5dc47d6b15e4
--- /dev/null
+++ b/dev-lang/swig/swig-4.3.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simplified Wrapper and Interface Generator"
+HOMEPAGE="http://www.swig.org/ https://github.com/swig/swig"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+ BSD BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="ccache doc pcre test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	pcre? ( dev-libs/libpcre2 )
+	ccache? ( sys-libs/zlib )
+"
+DEPEND="
+	${RDEPEND}
+	test? ( dev-libs/boost )
+"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO )
+
+src_configure() {
+	# TODO: add USE for various langs? (https://bugs.gentoo.org/921504#c3)
+	econf \
+		PKGCONFIG="$(tc-getPKG_CONFIG)" \
+		--without-maximum-compile-warnings \
+		$(use_enable ccache) \
+		$(use_with pcre)
+}
+
+src_compile() {
+	# Override these variables per Makefile.in to get verbose logs
+	emake FLAGS="-k" RUNPIPE=""
+}
+
+src_test() {
+	# The tests won't get run w/o an explicit call, broken Makefiles?
+	# java skipped for bug #921504
+	# *-sections for bug #935318
+	emake check \
+		skip-java=true \
+		FLAGS="-k" \
+		RUNPIPE="" \
+		CFLAGS="${CFLAGS} -std=c++20 -ffunction-sections -fdata-sections" \
+		CXXFLAGS="${CXXFLAGS} -std=c++20 -ffunction-sections -fdata-sections" \
+		LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+	default
+
+	if use doc; then
+		docinto html
+		dodoc -r Doc/{Devel,Manual}
+	fi
+}


             reply	other threads:[~2025-04-21  7:11 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-21  7:11 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-26  6:31 [gentoo-commits] repo/gentoo:master commit in: dev-lang/swig/ Sam James
2025-03-14 21:55 Jay Faulkner
2024-09-23 10:59 Sam James
2024-09-22 14:02 Sam James
2024-09-22 14:02 Sam James
2024-09-22 13:59 Sam James
2024-08-09  8:50 Jakov Smolić
2024-07-02  3:56 Ionen Wolkens
2024-06-08  5:18 Arthur Zamarin
2024-06-07 15:38 Arthur Zamarin
2024-05-28 13:19 Sam James
2024-02-27 22:06 Sam James
2024-01-02  7:56 Sam James
2023-06-10 21:34 Sam James
2023-06-10 21:34 Sam James
2023-06-10 21:34 Sam James
2023-06-10 21:33 Sam James
2023-01-30 16:31 Arthur Zamarin
2023-01-28 21:49 Jakov Smolić
2023-01-28  1:33 Sam James
2023-01-28  1:33 Sam James
2023-01-28  0:55 Sam James
2023-01-13 14:53 Sam James
2022-11-30 23:53 Sam James
2022-11-30 23:53 Sam James
2022-11-02  0:47 Sam James
2022-10-25 10:44 Sam James
2022-07-10  7:53 Sam James
2022-07-06  8:24 David Seifert
2021-08-16 20:35 James Le Cuirot
2021-06-18 21:07 David Seifert
2020-12-27 14:08 Fabian Groffen
2020-10-10 13:43 Sergei Trofimovich
2020-10-07  7:09 Agostino Sarubbo
2020-10-07  6:54 Agostino Sarubbo
2020-10-07  6:53 Agostino Sarubbo
2020-10-07  6:50 Agostino Sarubbo
2020-10-07  6:42 Agostino Sarubbo
2020-10-06 13:17 Sam James
2020-10-06  4:51 Sam James
2020-09-05  2:35 Sam James
2020-09-03 14:29 Thomas Deutschmann
2020-09-01  3:02 Sam James
2020-09-01  3:02 Sam James
2020-09-01  3:02 Sam James
2020-08-30 17:37 Dennis Lamm
2020-05-22  0:02 Mike Frysinger
2019-12-14 22:16 David Seifert
2019-06-30  7:46 Amy Liffey
2019-06-30  7:46 Amy Liffey
2019-06-14  1:26 Göktürk Yüksek
2019-06-06 10:04 Michael Haubenwallner
2018-06-30 13:32 David Seifert
2018-05-04 13:57 Mart Raudsepp
2018-03-10 12:23 Pacho Ramos
2018-01-21  0:41 Andreas Hüttel
2017-06-10 15:10 Agostino Sarubbo
2017-05-05 19:10 Markus Meier
2017-04-29 12:14 Jeroen Roovers
2017-04-22  7:33 Tobias Klausmann
2017-02-02 14:11 Tim Harder
2017-01-20 23:42 Tim Harder
2016-12-19 11:43 Aaron Bauman
2016-11-02 18:08 Markus Meier
2016-10-03 12:15 Tobias Klausmann
2016-10-02 10:10 Jeroen Roovers
2016-10-02  6:00 Jeroen Roovers
2016-06-19  4:23 Tim Harder
2016-06-19  4:23 Tim Harder
2016-01-11  4:20 Tim Harder
2015-08-25  4:31 Tim Harder

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=1745219312.3ccf1feb5436a842565bb602c814618ecf200812.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