From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EBB6D1581EE for ; Tue, 25 Mar 2025 11:41:56 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D79B53432FF for ; Tue, 25 Mar 2025 11:41:56 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C8130110296; Tue, 25 Mar 2025 11:41:55 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BEAD3110296 for ; Tue, 25 Mar 2025 11:41:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 703683432A7 for ; Tue, 25 Mar 2025 11:41:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6158157C for ; Tue, 25 Mar 2025 11:41:53 +0000 (UTC) From: "Matt Jolly" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Jolly" Message-ID: <1742902228.4bba4a25f8f2a50d1a16f3a05b1345134df7e7c4.kangie@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/createrepo_c/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/createrepo_c/Manifest app-arch/createrepo_c/createrepo_c-1.2.1.ebuild X-VCS-Directories: app-arch/createrepo_c/ X-VCS-Committer: kangie X-VCS-Committer-Name: Matt Jolly X-VCS-Revision: 4bba4a25f8f2a50d1a16f3a05b1345134df7e7c4 X-VCS-Branch: master Date: Tue, 25 Mar 2025 11:41:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1dcb8560-88d6-4fba-9d6b-3527cc73f3fe X-Archives-Hash: d3364d832890106eae2740544f3cd9bd commit: 4bba4a25f8f2a50d1a16f3a05b1345134df7e7c4 Author: Matt Jolly gentoo org> AuthorDate: Tue Mar 25 11:30:28 2025 +0000 Commit: Matt Jolly gentoo org> CommitDate: Tue Mar 25 11:30:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bba4a25 app-arch/createrepo_c: add 1.2.1 Signed-off-by: Matt Jolly gentoo.org> app-arch/createrepo_c/Manifest | 1 + app-arch/createrepo_c/createrepo_c-1.2.1.ebuild | 66 +++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/app-arch/createrepo_c/Manifest b/app-arch/createrepo_c/Manifest index 871e6a83f864..e1e83b335cc3 100644 --- a/app-arch/createrepo_c/Manifest +++ b/app-arch/createrepo_c/Manifest @@ -1,2 +1,3 @@ DIST createrepo_c-1.1.4.tar.gz 638216 BLAKE2B 881ec936931e24b17e0af29ae830efe03e671ed0ec5d457d0f527288f3a71584fb8dc3daeea2a53ed8cfc54ba41f21115efe5ecdc30d9a7f71f29997c370cca3 SHA512 1690a1e8a133a7c0fb1d009444bedb2ee20feb08fc4788174b63e2b133fa89f612a8518ef411fbb6fcefc382575ccb497429702ab230dd10962379c7c604a434 DIST createrepo_c-1.2.0.tar.gz 639118 BLAKE2B 35c9617ebab793a6eb7ad7b03ff074ef4a82739ccb602f07387099df1216f7453dd2710002e8e8383ec0253546eaa19e383895204972732ff877e74eacee0a6f SHA512 e399b635ea008ff833385107f28c6ac8514427c8be4cf45fdb2ed5cca601852c8429730e4160975ba8370ad8a74ee628dc91d1dd7629ed6d5b6fe60008d275ef +DIST createrepo_c-1.2.1.tar.gz 639122 BLAKE2B 6705fd56f72934eef88b31fae725085c91b6b14a601d0f0908ed9307d72eabf17fd2258f13eeadeb7234b31d08a61eab2fc75c4b75bf8ea75ee69442715277bc SHA512 3acd54e5848ad3995d8b140b9d338fb8588c46d163e029b7203e49b3ff1a9984b55d403c3a5c590be23ebb5c5c74de369883eb51bba6fb51e8b247f9f10ab383 diff --git a/app-arch/createrepo_c/createrepo_c-1.2.1.ebuild b/app-arch/createrepo_c/createrepo_c-1.2.1.ebuild new file mode 100644 index 000000000000..b6e7ce841917 --- /dev/null +++ b/app-arch/createrepo_c/createrepo_c-1.2.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 2020-2025 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" +}