From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Sereal-Encoder/
Date: Sun, 18 Jun 2023 23:46:07 +0000 (UTC) [thread overview]
Message-ID: <1687131557.4ff6f966dc47a58776cd03d563f587eb6ea7811d.sam@gentoo> (raw)
commit: 4ff6f966dc47a58776cd03d563f587eb6ea7811d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 23:30:23 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 23:39:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ff6f966
dev-perl/Sereal-Encoder: add 5.4.0
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-perl/Sereal-Encoder/Manifest | 1 +
.../Sereal-Encoder/Sereal-Encoder-5.4.0.ebuild | 66 ++++++++++++++++++++++
2 files changed, 67 insertions(+)
diff --git a/dev-perl/Sereal-Encoder/Manifest b/dev-perl/Sereal-Encoder/Manifest
index 7194b621589a..5f148e12b30c 100644
--- a/dev-perl/Sereal-Encoder/Manifest
+++ b/dev-perl/Sereal-Encoder/Manifest
@@ -1,2 +1,3 @@
DIST Sereal-Encoder-4.018.tar.gz 700306 BLAKE2B 92e2d005b48c9714761dd6abb390de14f31642b05850664ff396e3d92958cb715599e922d7bc5da9912047ebbcae3f7631e585ccb35ff16b15e1e28a15d1fb9a SHA512 021586f02560906fa315cf7eefc877ff029c123550dd2889a90d8e36e2d480bc4c53fa7437728cb73bda6da886af52f1b58661796f78859c7b41f62a2000a070
DIST Sereal-Encoder-4.023.tar.gz 723637 BLAKE2B 59abae93a719e13163b028c734d7fc9551d79b12c7a7e0db5dee92babce8567fa999cd44f26f79bbfb1299cc513ccc6bd4e3581aa3e168b119de1f6303c3bc38 SHA512 dc4b1b4e1d7977c1f7c8f00c7c0d1a475b785ccda29aee22a6cd09593000b176027d535f2820dd33de8820ec63cb2522d2eee4b6bd5cbbf432d5cf45437b9a67
+DIST Sereal-Encoder-5.004.tar.gz 836822 BLAKE2B 7e0fa107c3bb7f1d4dc766f3b197e2bc1e2535827471faeb0510b8c5aedd31bde2d21eba7074f4b8a9769db4dc9a4565996ee158afcaf692f529c0b8d05c015e SHA512 6ad25a4a3cdc3e7de7b7f47b7511154b5e6eca90a54b305a8d50f59dd1352000f054255912c4eeb6d37991813844068b1a0e2f544be27ac9bcea08fb6c0fc6d5
diff --git a/dev-perl/Sereal-Encoder/Sereal-Encoder-5.4.0.ebuild b/dev-perl/Sereal-Encoder/Sereal-Encoder-5.4.0.ebuild
new file mode 100644
index 000000000000..8f7ccfab26a5
--- /dev/null
+++ b/dev-perl/Sereal-Encoder/Sereal-Encoder-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 serialization"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+# Note: bundled zstd fails to compile
+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.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
+ >=dev-perl/Sereal-Decoder-${PV}
+ )
+"
+
+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
+}
next reply other threads:[~2023-06-18 23:46 UTC|newest]
Thread overview: 42+ 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-Encoder/ 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-15 7:34 Sam James
2023-08-03 15:10 Sam James
2023-08-03 15:10 Sam James
2023-08-02 15:11 Sam James
2023-08-02 13:35 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-12-05 22:15 Andreas K. Hüttel
2021-10-11 6:32 Agostino Sarubbo
2021-10-11 5:15 Sam James
2021-10-11 4:18 Sam James
2021-10-11 3:10 Sam James
2021-08-06 19:33 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
2017-06-30 2:20 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=1687131557.4ff6f966dc47a58776cd03d563f587eb6ea7811d.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