public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/createrepo_c/
Date: Thu,  4 Apr 2024 04:44:09 +0000 (UTC)	[thread overview]
Message-ID: <1712205814.5fdedd849adb55ad3045d5f65ac184a8ac736e1c.kangie@gentoo> (raw)

commit:     5fdedd849adb55ad3045d5f65ac184a8ac736e1c
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  4 04:43:34 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Thu Apr  4 04:43:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fdedd84

app-arch/createrepo_c: add 1.1.0

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 app-arch/createrepo_c/Manifest                  |  1 +
 app-arch/createrepo_c/createrepo_c-1.1.0.ebuild | 66 +++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/app-arch/createrepo_c/Manifest b/app-arch/createrepo_c/Manifest
index 0682688ca5d3..a4125621249e 100644
--- a/app-arch/createrepo_c/Manifest
+++ b/app-arch/createrepo_c/Manifest
@@ -1,2 +1,3 @@
 DIST createrepo_c-1.0.3.tar.gz 630527 BLAKE2B d7959f8f8dad6a35ff19355420f744722a7d5698beb6535c57ab1b61d223150220a89192a041f4258471f76b8c76aca0a9d068fc058e0555b3a1f652a510f5e9 SHA512 42877eb0216e90f7beff3ed17e061b72abc3edf818323265cb76a70efdc2aa847a773b0c3bdfba1ca299cbbe976a66106d0b49cf9a8a43db761579432d7ebaa5
 DIST createrepo_c-1.0.4.tar.gz 630635 BLAKE2B d1ed426642471ae9a92a342553a0c841de676c23056edae1f4f7360e2334e6f809296296009a7bd5818f0aa50406ff773a2b3b9feb88a7e2b838e51efae82c2e SHA512 1871697a95e75163ea79e509a3d3ae15a4f7c873699962419b5011dd9b960d9764a6f3782c18b094e1bd0d6c90330d8225589a0362fe199440844c5359dbee0c
+DIST createrepo_c-1.1.0.tar.gz 637506 BLAKE2B 9e8ccc9da83f071b2426f3be08a363281f30356d5811648eeaa322d2761d2152310af6ca87a744e9024ac54e46368496d0b9b4fb2b6702e99ab965bafa0203cc SHA512 9e09a2a1dcc0b285975037b70b961f66f08f43b84b384c87b607aaa76462956e2dee305fd2ac620956e4bf365aa3fcf3874e1145054c96c0e41656957835d97e

diff --git a/app-arch/createrepo_c/createrepo_c-1.1.0.ebuild b/app-arch/createrepo_c/createrepo_c-1.1.0.ebuild
new file mode 100644
index 000000000000..afc050773235
--- /dev/null
+++ b/app-arch/createrepo_c/createrepo_c-1.1.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2020-2024 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 zstd"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	app-arch/bzip2:=
+	app-arch/drpm
+	app-arch/rpm
+	app-arch/xz-utils
+	app-arch/zchunk
+	app-arch/zstd:=
+	>=dev-db/sqlite-3.6.18: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"
+}


             reply	other threads:[~2024-04-04  4:44 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-04  4:44 Matt Jolly [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-25 11:41 [gentoo-commits] repo/gentoo:master commit in: app-arch/createrepo_c/ Matt Jolly
2025-03-25 11:41 Matt Jolly
2025-03-14  7:15 Sam James
2025-01-31 15:08 Matt Jolly
2024-09-24  6:31 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-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-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=1712205814.5fdedd849adb55ad3045d5f65ac184a8ac736e1c.kangie@gentoo \
    --to=kangie@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