From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/createrepo_c/
Date: Wed, 17 May 2023 01:38:18 +0000 (UTC) [thread overview]
Message-ID: <1684287207.218cce57091eeb6b57d9c6fe2a8605c7da02cd4c.sam@gentoo> (raw)
commit: 218cce57091eeb6b57d9c6fe2a8605c7da02cd4c
Author: Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
AuthorDate: Sun May 14 12:55:48 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 17 01:33:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218cce57
app-arch/createrepo_c: add 0.21.1
Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-arch/createrepo_c/Manifest | 1 +
app-arch/createrepo_c/createrepo_c-0.21.1.ebuild | 65 ++++++++++++++++++++++++
2 files changed, 66 insertions(+)
diff --git a/app-arch/createrepo_c/Manifest b/app-arch/createrepo_c/Manifest
index 16e7dad39520..92cf9e123d7e 100644
--- a/app-arch/createrepo_c/Manifest
+++ b/app-arch/createrepo_c/Manifest
@@ -1 +1,2 @@
DIST createrepo_c-0.20.1.tar.gz 614968 BLAKE2B 8eb35c121e1beaa960310d10bfe616799b3a6b13d99f1e8c9d4077975cc929c9f786dec7d26a17d7efbd1859e2e7d8a614147c36a0a82c87f1c1c1a652afa6f3 SHA512 54a2cc7c7cd3f3b9a0c23cd8c136ae1331e7fa7cc995189088e7e6f2276c78b2b84e21c2a2b93f4528b5e9e4018dd6525262c8aaba3bc8a1412a51dfafd101f7
+DIST createrepo_c-0.21.1.tar.gz 626012 BLAKE2B 87e7fff68bb06c9552ea80eada625e58130d171db48b0a1aa4965150b136e62c656e368e1bc7cc057e5fad105fff620bb37e171e367eb688725d2089e4181db4 SHA512 453b857ecde5aa63f57e4a783855e4f4c32a041b68c0bfbb5d5b06bc0010d6cd043ba374cb880cce1d0de160a37df2df2688e9886bf9c8d92c09fe530aa36dfe
diff --git a/app-arch/createrepo_c/createrepo_c-0.21.1.ebuild b/app-arch/createrepo_c/createrepo_c-0.21.1.ebuild
new file mode 100644
index 000000000000..7433f2a6011f
--- /dev/null
+++ b/app-arch/createrepo_c/createrepo_c-0.21.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C implementation of createrepo"
+HOMEPAGE="https://github.com/rpm-software-management/createrepo_c"
+if [[ ${PV} = 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/rpm-software-management/createrepo_c.git"
+else
+ SRC_URI="https://github.com/rpm-software-management/createrepo_c/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="legacy test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ app-arch/bzip2:=
+ app-arch/drpm
+ app-arch/rpm
+ app-arch/xz-utils
+ app-arch/zchunk
+ dev-db/sqlite:3
+ dev-libs/glib:2
+ dev-libs/libxml2
+ dev-libs/openssl:=
+ net-misc/curl
+ sys-apps/file
+ sys-libs/libmodulemd
+ sys-libs/zlib:=
+"
+
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_DRPM=ON
+ # As best I can tell, this enables distribution as a wheel. No need for this on gentoo!
+ -DENABLE_PYTHON=OFF
+ # Upstream enables some 'Legacy' stuff by default, let's put that behind a USE flag
+ -DENABLE_LEGACY_WEAKDEPS=$(usex legacy ON OFF)
+ -DWITH_LEGACY_HASHES=$(usex legacy ON OFF)
+ -DWITH_LIBMODULEMD=ON
+ -DWITH_ZCHUNK=ON
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ # Tests have a magic target!
+ use test && cmake_src_compile tests
+}
+
+src_test() {
+ "${S}"_build/tests/run_tests.sh || die "Failed to run C library tests"
+}
next reply other threads:[~2023-05-17 1:38 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-17 1:38 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-24 6:31 [gentoo-commits] repo/gentoo:master commit in: app-arch/createrepo_c/ Matt Jolly
2024-07-14 11:15 Matt Jolly
2024-07-14 11:15 Matt Jolly
2024-06-24 6:42 Matt Jolly
2024-06-24 6:42 Matt Jolly
2024-04-04 4:44 Matt Jolly
2024-04-04 4:44 Matt Jolly
2024-02-19 1:11 Matt Jolly
2024-02-19 1:11 Matt Jolly
2024-01-31 17:24 Sam James
2023-11-25 3:59 Sam James
2023-11-25 3:59 Sam James
2023-08-13 6:49 Sam James
2023-08-13 6:49 Sam James
2023-05-17 1:38 Sam James
2023-05-07 6:17 Joonas Niilola
2023-03-07 12:16 Sam James
2022-12-19 8:40 Andreas Sturmlechner
2022-10-29 21:32 Sam James
2021-01-04 17:14 Sam James
2021-01-04 17:14 Sam James
2021-01-04 17:14 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=1684287207.218cce57091eeb6b57d9c6fe2a8605c7da02cd4c.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