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-perl/Sereal-Decoder/
Date: Sun, 18 Jun 2023 23:46:06 +0000 (UTC)	[thread overview]
Message-ID: <1687131556.f8d5e8ce8876e5b4a3a237030f7717be56018ee5.sam@gentoo> (raw)

commit:     f8d5e8ce8876e5b4a3a237030f7717be56018ee5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 23:33:04 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 23:39:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8d5e8ce

dev-perl/Sereal-Decoder: add 5.4.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-perl/Sereal-Decoder/Manifest                   |  1 +
 .../Sereal-Decoder/Sereal-Decoder-5.4.0.ebuild     | 66 ++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-perl/Sereal-Decoder/Manifest b/dev-perl/Sereal-Decoder/Manifest
index 6f8430042d37..4e8d74a119ee 100644
--- a/dev-perl/Sereal-Decoder/Manifest
+++ b/dev-perl/Sereal-Decoder/Manifest
@@ -1,2 +1,3 @@
 DIST Sereal-Decoder-4.018.tar.gz 692820 BLAKE2B 9bafd14f3dab8c7c2c3c9e5eb8463a1681430ada500e1ad8543c77587f5117c564cad6043cd0e00b55d7c80fef1f62f2223f232b803546ead349439b62f25899 SHA512 18e4d54c1930187fbcfc39a39ef8512c1450ac3e5d22bee419e8333cbda1e08bcb1355bc2abfc388f9d45dfae3b8bcc101a19646b7caa670359bae98fccf87a3
 DIST Sereal-Decoder-4.023.tar.gz 716188 BLAKE2B fe7b59906ce96629f8f7f8c94d04410388295d30adc05b1b9a3ea88606a4c612c1fca80451b636e213c1abc57dcf628fae18125aafef5849ec91cb3e01bd5f92 SHA512 9380853532cad110758db119efd51a4004dda1c6c6065afb0ee5e67c79a3f3baaa4767abaac6224f9bccb48214c7e73bd5c0748868301b1be0bb50534592e6ae
+DIST Sereal-Decoder-5.004.tar.gz 838692 BLAKE2B ee6f3b97ea3b679902fb7360da77e4231cba21912ccc2050d75b88b101fcadff111a04f16ab616b40492470bc592a74efec8b8d2076410795ba698693319c39e SHA512 8125abc3bf1834b6c3c2e7404810150408f71d98658078b622b9234d25ff907208d2532055928752c7956434139cd837b38e05a8867bebdbd722cd5be197fa49

diff --git a/dev-perl/Sereal-Decoder/Sereal-Decoder-5.4.0.ebuild b/dev-perl/Sereal-Decoder/Sereal-Decoder-5.4.0.ebuild
new file mode 100644
index 000000000000..141e1197da9c
--- /dev/null
+++ b/dev-perl/Sereal-Decoder/Sereal-Decoder-5.4.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=YVES
+DIST_VERSION=5.004
+inherit edo perl-module toolchain-funcs
+
+DESCRIPTION="Fast, compact, powerful binary deserialization"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="
+	virtual/perl-XSLoader
+	app-arch/csnappy:=
+	app-arch/zstd:=
+	>=dev-libs/miniz-2.2.0-r1:=
+"
+DEPEND="
+	app-arch/csnappy:=
+	app-arch/zstd:=
+	>=dev-libs/miniz-2.2.0-r1:=
+"
+BDEPEND="
+	${RDEPEND}
+	>=dev-perl/Devel-CheckLib-1.160.0
+	>=virtual/perl-ExtUtils-MakeMaker-7.0
+	>=virtual/perl-ExtUtils-ParseXS-2.210.0
+	virtual/perl-File-Path
+	virtual/pkgconfig
+	test? (
+		virtual/perl-Data-Dumper
+		virtual/perl-File-Spec
+		virtual/perl-Scalar-List-Utils
+		dev-perl/Test-Deep
+		dev-perl/Test-Differences
+		dev-perl/Test-LongString
+		>=virtual/perl-Test-Simple-0.880.0
+		dev-perl/Test-Warn
+	)
+"
+
+src_prepare() {
+	local bundled_lib
+	for bundled_lib in inc/Devel snappy miniz{.c,.h} zstd ; do
+		edo rm -r ${bundled_lib}
+	done
+
+	sed -i -e "/miniz.*OBJ_EXT/d" inc/Sereal/BuildTools.pm || die
+
+	perl-module_src_prepare
+}
+
+src_compile() {
+	# UB
+	export USE_UNALIGNED=no
+
+	DIST_MAKE=(
+		  "INC=$($(tc-getPKG_CONFIG) --cflags miniz)"
+		  "OTHERLDFLAGS=$($(tc-getPKG_CONFIG) --libs miniz)"
+	)
+
+	perl-module_src_compile
+}


             reply	other threads:[~2023-06-18 23:46 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-18 23:46 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-11 14:42 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Sereal-Decoder/ Jakov Smolić
2025-01-10 11:44 Arthur Zamarin
2025-01-10  8:48 Arthur Zamarin
2025-01-10  4:41 WANG Xuerui
2025-01-10  4:17 Sam James
2025-01-10  4:17 Sam James
2023-08-02 13:19 Sam James
2023-07-24  4:03 Sam James
2023-01-13 14:09 Arthur Zamarin
2023-01-02  5:37 Sam James
2023-01-02  5:37 Sam James
2023-01-02  5:37 Sam James
2023-01-02  5:37 Sam James
2022-06-28 15:44 Arthur Zamarin
2022-06-20 17:57 Arthur Zamarin
2022-06-09 19:39 Arthur Zamarin
2022-06-06  0:54 Sam James
2022-06-05 12:47 Jakov Smolić
2022-06-04 21:03 Sam James
2022-06-04 20:00 Jakov Smolić
2022-06-04 19:49 Matthew Smith
2022-06-04  1:17 Sam James
2022-06-04  0:06 Sam James
2021-08-06 19:33 Andreas K. Hüttel
2021-08-02  2:25 Sam James
2021-08-01  7:40 Sam James
2021-04-30 21:27 Andreas K. Hüttel
2018-07-21 12:27 Kent Fredric
2018-06-24 20:25 Sergei Trofimovich
2018-06-10 18:14 Sergei Trofimovich
2018-06-10 16:55 Thomas Deutschmann
2018-06-10 15:38 Aaron Bauman
2018-06-09 10:06 Sergei Trofimovich
2018-01-08 23:36 Kent Fredric
2016-12-08 19:09 Kent Fredric

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=1687131556.f8d5e8ce8876e5b4a3a237030f7717be56018ee5.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