From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxlsxwriter/
Date: Tue, 27 May 2025 02:07:54 +0000 (UTC) [thread overview]
Message-ID: <1748311645.78762e65feaf9d841bccdbabdfdc785f4c691a7c.sam@gentoo> (raw)
commit: 78762e65feaf9d841bccdbabdfdc785f4c691a7c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 27 01:35:30 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 27 02:07:25 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78762e65
dev-libs/libxlsxwriter: add 1.1.6, wire up tests
This isn't the latest version (leaving that for bug #956680) but
needed to do this to get tests wired up as 1.1.6 has an updated cunit.h
vs 1.1.5.
Bug: https://bugs.gentoo.org/956680
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/libxlsxwriter/Manifest | 1 +
dev-libs/libxlsxwriter/libxlsxwriter-1.1.6.ebuild | 52 +++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dev-libs/libxlsxwriter/Manifest b/dev-libs/libxlsxwriter/Manifest
index 329abcd961b9..ede5af67287c 100644
--- a/dev-libs/libxlsxwriter/Manifest
+++ b/dev-libs/libxlsxwriter/Manifest
@@ -1 +1,2 @@
DIST libxlsxwriter-1.1.5.tar.gz 21541446 BLAKE2B f9e2fde83bde852b4568b8ce82a28ad75e6e8d1ca6f3683ac2308d28707e7e4874facf8eac2ce9b4b9fdcc96d8b775dd69eefb2f976f564323a278a3dad032d0 SHA512 bd7db0fcf25ebf492b4d8f7da8fdb6cc79400d7d0fa5856ddae259cb24817034fc97d4828cbde42434f41198dcfb6732ac63c756abd962689f4249ca64bf19c6
+DIST libxlsxwriter-1.1.6.tar.gz 21583760 BLAKE2B 02e240001cce1521261a424a54655896d15bd065f89c2762ce93f87a3f7c7d85426b826ed12334f020f862dd1b5be8dc890b6439669a344bd24ffdd2c4e87c05 SHA512 421d7a5f9f3584873ff7596abb36815f012dcb59c57fff1a311d2e15474ebaf07dbd461a6bdc42ce5db5e60acf73544c119adc64ede59a8de4d041846f22f998
diff --git a/dev-libs/libxlsxwriter/libxlsxwriter-1.1.6.ebuild b/dev-libs/libxlsxwriter/libxlsxwriter-1.1.6.ebuild
new file mode 100644
index 000000000000..3e92b422d569
--- /dev/null
+++ b/dev-libs/libxlsxwriter/libxlsxwriter-1.1.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake plocale
+
+DESCRIPTION="C library for creating Excel XLSX files"
+HOMEPAGE="https://libxlsxwriter.github.io/ https://github.com/jmcnamara/libxlsxwriter"
+SRC_URI="https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-RELEASE_${PV}"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="openssl test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ sys-libs/zlib[minizip]
+ openssl? ( dev-libs/openssl:= )
+"
+RDEPEND="${DEPEND}"
+# pytest gets invoked directly
+BDEPEND="
+ test? ( dev-python/pytest )
+"
+
+src_configure() {
+ DOUBLEFUNCTION=OFF
+ for x in $(plocale_get_locales); do
+ if ! [[ "${x}" =~ ^en* ]]; then
+ #non-english locale detected; apply double function fix
+ DOUBLEFUNCTION=ON
+ break
+ fi
+ done
+ local mycmakeargs=(
+ -DCMAKE_BUILD_TYPE=Release
+ -DBUILD_TESTS="$(usex test)"
+ -DUSE_OPENSSL_MD5="$(usex openssl)"
+ -DUSE_SYSTEM_MINIZIP=ON
+ -DUSE_DTOA_LIBRARY=${DOUBLEFUNCTION}
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ dodoc CONTRIBUTING.md License.txt Readme.md Changes.txt
+ dodoc -r docs examples
+}
next reply other threads:[~2025-05-27 2:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-27 2:07 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-23 19:29 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxlsxwriter/ Arthur Zamarin
2025-09-22 15:29 Sam James
2024-03-02 10:38 Arthur Zamarin
2023-05-27 9:45 Sam James
2023-05-05 4:39 Sam James
2023-02-26 7:02 Joonas Niilola
2023-02-26 7:02 Joonas Niilola
2022-12-05 19:55 Arthur Zamarin
2022-10-17 19:47 Sam James
2022-10-14 6:24 Joonas Niilola
2022-10-14 5:00 Arthur Zamarin
2022-08-29 22:38 Sam James
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=1748311645.78762e65feaf9d841bccdbabdfdc785f4c691a7c.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