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-libs/zziplib/
Date: Wed, 10 Jul 2024 06:36:30 +0000 (UTC)	[thread overview]
Message-ID: <1720593222.7fab49bd4d6feb5ca77fc1e1b07fd48ef9f3e552.sam@gentoo> (raw)

commit:     7fab49bd4d6feb5ca77fc1e1b07fd48ef9f3e552
Author:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
AuthorDate: Wed Jul 10 06:19:10 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 10 06:33:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fab49bd

dev-libs/zziplib: add 0.13.77

Closes: https://bugs.gentoo.org/933176
Signed-off-by: Rahul Sandhu <rahul <AT> sandhuservices.dev>
Closes: https://github.com/gentoo/gentoo/pull/37505
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/zziplib/Manifest               |  1 +
 dev-libs/zziplib/zziplib-0.13.77.ebuild | 70 +++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-libs/zziplib/Manifest b/dev-libs/zziplib/Manifest
index 0e48fca0f0ca..6368bbeeff2f 100644
--- a/dev-libs/zziplib/Manifest
+++ b/dev-libs/zziplib/Manifest
@@ -2,3 +2,4 @@ DIST zziplib-0.13.72.tar.gz 1162175 BLAKE2B ff5617645e25040e4666e5440651fbb2b04c
 DIST zziplib-0.13.74-testdata.tar.xz 166188 BLAKE2B f3cc98495542fb95e8bd9cfb98ecd22c9e6206fd13c1d0607ee8b7640ddb3d3c4b9cb7bc7ca7a95a787ffef4e5a8c2b4ab1bc0c5890811ab21c681239840dcdb SHA512 d4545f770c4f00658ec69a7f393f38d0c649704adb30b6a25f2c0b48711829416985258d34911d48b9bd394d9334ab89c8deda719f2aae509a75441f8a8d8902
 DIST zziplib-0.13.74.tar.gz 1177162 BLAKE2B fc093b731406101086e59ff54b4378190c88821c4349d75e35c9595b45695b5f91a20e99a9689f7ebbc8d8951f2c4e1132d670e3827f5329977de1f85c9ce5d2 SHA512 7dd27247cbc475e2c6beb3a96c620f9938ade0dff6f4e088f9c28432fc4cc01df9d6771ec3d5e07baabe27033f4764d60e31c4c54588559de64e894d0557c94f
 DIST zziplib-0.13.76.tar.gz 1185716 BLAKE2B c04743fc47e6a0e102a01d0473d88b9f9cb044a3a021119d16533949d0a1f132fb73f957714a840b0474590bc98f62132e89ce890c5c9097a77d8f007c3f1e5a SHA512 d4b327530fc2681df1705b24d5de697d3c3829e299c28e047849444c7aeaf87e188d96782a2009dc7ae216f82f744a32a94fc7962fb12b3a62b28d7ecf12a7d6
+DIST zziplib-0.13.77.tar.gz 1190133 BLAKE2B 30ab10a440dbef6a9d37e75652734ed6c51fa902f6106d864b923a2d5d0ad170bcb279681e05f613ab8c20ade374ce1f8be21575b1b5f27cb9c7e7da9441c16a SHA512 63071f1ea7290d7658ff4cfdb2aaef5d07f319e12077365ddef6c57c671fcc66efa10e40c6885879063bb8c724524e04264ebfcdc9493e0299f03e3637a1b1d9

diff --git a/dev-libs/zziplib/zziplib-0.13.77.ebuild b/dev-libs/zziplib/zziplib-0.13.77.ebuild
new file mode 100644
index 000000000000..cef1f31dd237
--- /dev/null
+++ b/dev-libs/zziplib/zziplib-0.13.77.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+# Needed for docs, bug #835755
+PYTHON_REQ_USE="xml(+)"
+inherit cmake flag-o-matic python-any-r1
+
+TEST_PV="0.13.74"
+DESCRIPTION="Lightweight library for extracting data from files archived in a single zip file"
+HOMEPAGE="https://github.com/gdraheim/zziplib https://zziplib.sourceforge.net"
+# Test data tarball generated with python ./zziptests.py -D -d /tmp/zziplib -v
+SRC_URI="
+	https://github.com/gdraheim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-${TEST_PV}-testdata.tar.xz )
+"
+
+LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
+SLOT="0/13"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="sdl test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	${PYTHON_DEPS}
+	test? (
+		app-arch/unzip
+		app-arch/zip
+	)
+"
+DEPEND="
+	sys-libs/zlib
+	sdl? ( >=media-libs/libsdl-1.2.6 )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	# This test assumes being built with automake (checks for .libs/x).
+	sed -i -e 's/test_91000_zzshowme_check_sfx/skip_&/' test/zziptests.py || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	# https://github.com/gdraheim/zziplib/commit/f3bfc0dd6663b7df272cc0cf17f48838ad724a2f#diff-b7b1e314614cf326c6e2b6eba1540682R100
+	append-flags -fno-strict-aliasing
+
+	local mycmakeargs=(
+		-DZZIPSDL=$(usex sdl)
+		-DBUILD_TESTS=$(usex test)
+		-DZZIPTEST=$(usex test)
+		-DZZIPDOCS=ON
+		-DZZIPWRAP=OFF
+	)
+
+	cmake_src_configure
+}
+
+src_test() {
+	cd "${S}" || die
+	"${EPYTHON}" "${S}"/test/zziptests.py \
+		--downloads=no \
+		--verbose \
+		--topsrcdir "${S}" \
+		--bindir "$(realpath --relative-to="${S}" "${BUILD_DIR}"/bins)" \
+		--downloaddir "${WORKDIR}"/${PN}-${TEST_PV}-testdata \
+		--testdatadir "${T}"/testdata.d \
+	|| die "Tests failed with ${EPYTHON}"
+}


             reply	other threads:[~2024-07-10  6:37 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-10  6:36 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-23  0:13 [gentoo-commits] repo/gentoo:master commit in: dev-libs/zziplib/ Sam James
2025-01-23  0:13 Sam James
2025-01-09  0:08 Sam James
2024-11-25 21:49 Sam James
2024-11-23 16:02 Michał Górny
2024-11-23 15:42 Michał Górny
2024-11-23 14:51 Sam James
2024-11-20 11:44 Sam James
2024-10-21 21:14 Andreas Sturmlechner
2024-10-18 17:32 Arthur Zamarin
2024-10-15  5:22 Sam James
2024-10-13 22:12 Sam James
2024-10-13 15:53 Sam James
2024-10-13 15:53 Sam James
2024-10-13 15:53 Sam James
2024-10-13 15:53 Sam James
2024-07-10  6:36 Sam James
2024-03-08 14:24 Sam James
2024-03-08 13:09 Sam James
2024-03-08 13:09 Sam James
2024-01-23 16:40 Sam James
2024-01-23 15:08 Sam James
2024-01-23 15:08 Sam James
2024-01-23  7:44 Joonas Niilola
2024-01-23  5:43 Sam James
2024-01-23  4:27 Sam James
2024-01-23  4:23 Sam James
2024-01-23  4:17 Sam James
2023-03-07  7:57 Sam James
2022-12-20 19:00 Andreas Sturmlechner
2022-12-02 18:55 Arthur Zamarin
2022-12-02  0:46 Sam James
2022-12-02  0:46 Sam James
2022-12-02  0:46 Sam James
2022-12-01 22:28 Jakov Smolić
2022-12-01 22:24 Jakov Smolić
2022-12-01 22:22 Jakov Smolić
2022-12-01 20:41 Arthur Zamarin
2022-11-24 18:14 Conrad Kostecki
2022-06-05  9:08 Sam James
2022-05-26 23:17 Jakov Smolić
2022-05-26 11:17 Jakov Smolić
2022-05-26 11:17 Jakov Smolić
2022-05-26 11:16 Jakov Smolić
2022-05-26 11:16 Jakov Smolić
2022-05-26 11:16 Jakov Smolić
2022-05-26 11:16 Jakov Smolić
2022-05-14 10:30 WANG Xuerui
2022-02-18 13:05 Matthew Smith
2022-02-18 13:05 Matthew Smith
2021-02-16 12:34 Sam James
2021-02-14  5:37 Sam James
2021-02-11  7:53 Sam James
2021-02-09 22:51 Sam James
2021-02-09 21:30 Sam James
2021-02-09  6:16 Sam James
2021-02-09  6:15 Sam James
2021-02-08 15:08 Sergei Trofimovich
2021-01-09  4:54 Sam James
2021-01-09  4:21 Sam James
2021-01-06 19:34 Fabian Groffen
2020-12-13  7:42 Sam James
2020-12-12  4:49 Sam James
2020-12-11 23:10 Sergei Trofimovich
2020-12-11 23:07 Sergei Trofimovich
2020-12-11 14:49 Joonas Niilola
2020-12-11  7:42 Sergei Trofimovich
2020-12-10 21:41 Thomas Deutschmann
2020-09-17  6:12 Sam James
2020-09-17  6:12 Sam James
2020-09-14 14:31 Sam James
2020-09-14  1:54 Sam James
2020-09-14  1:39 Sam James
2020-09-14  1:35 Sam James
2020-09-06 16:46 Andreas Sturmlechner
2020-09-06  7:49 Sergei Trofimovich
2020-08-30  5:17 Sam James
2020-08-30  4:03 Sam James
2020-08-29 23:27 Thomas Deutschmann
2020-08-29 23:27 Thomas Deutschmann
2020-08-24  8:29 Mikle Kolyada
2020-08-22 18:52 Andreas Sturmlechner
2020-08-21  7:35 Sam James
2020-08-21  7:35 Sam James
2020-08-19 22:40 Sam James
2020-08-19 18:09 Sam James
2020-08-18 16:53 Agostino Sarubbo
2020-08-18 16:52 Agostino Sarubbo
2020-08-18 11:18 Agostino Sarubbo
2020-08-18 11:16 Agostino Sarubbo
2020-04-05 19:47 Andreas Sturmlechner
2020-03-16 23:39 Andreas Sturmlechner
2020-02-21 20:59 Mart Raudsepp
2020-02-12 16:14 Agostino Sarubbo
2020-02-11 11:37 Agostino Sarubbo
2020-02-06  7:51 Sergei Trofimovich
2020-01-30 12:14 Agostino Sarubbo
2020-01-30 12:11 Agostino Sarubbo
2020-01-30 11:06 Agostino Sarubbo
2020-01-30 11:05 Agostino Sarubbo
2020-01-30 11:00 Agostino Sarubbo
2020-01-29 10:17 Agostino Sarubbo
2020-01-17  2:40 Andreas Sturmlechner
2019-02-07 11:41 Mikle Kolyada
2019-02-07 11:41 Mikle Kolyada
2019-02-02 19:18 Sergei Trofimovich
2019-01-31 22:15 Thomas Deutschmann
2019-01-31 20:21 Markus Meier
2019-01-31  7:25 Sergei Trofimovich
2019-01-30 13:20 Tobias Klausmann
2019-01-27 13:48 Mart Raudsepp
2018-06-22  9:46 Mikle Kolyada
2017-04-26 18:05 David Seifert
2017-03-28 22:52 Michael Weber
2017-01-29 16:19 Fabian Groffen
2016-12-23 15:08 Markus Meier
2016-10-18 19:26 Pacho Ramos
2016-10-16 17:45 Tobias Klausmann
2016-10-12 18:33 Pacho Ramos
2016-10-10 15:16 Jeroen Roovers
2016-01-28  5:50 Michael Sterrett
2016-01-13 18:44 Michael Sterrett
2016-01-13 18:44 Michael Sterrett

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=1720593222.7fab49bd4d6feb5ca77fc1e1b07fd48ef9f3e552.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