From 262dea609d1cde1b7d3f556b5e77f6ba6f6d272b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 31 Jan 2024 23:49:10 +0000 Subject: gentoo auto-resync : 31:01:2024 - 23:49:10 --- app-arch/Manifest.gz | Bin 17744 -> 17743 bytes app-arch/createrepo_c/Manifest | 4 +- app-arch/createrepo_c/createrepo_c-1.0.3.ebuild | 66 ++++++++++++++++++++++++ app-arch/createrepo_c/createrepo_c-9999.ebuild | 7 ++- 4 files changed, 72 insertions(+), 5 deletions(-) create mode 100644 app-arch/createrepo_c/createrepo_c-1.0.3.ebuild (limited to 'app-arch') diff --git a/app-arch/Manifest.gz b/app-arch/Manifest.gz index 32303c9e2479..3db21aa7da8f 100644 Binary files a/app-arch/Manifest.gz and b/app-arch/Manifest.gz differ diff --git a/app-arch/createrepo_c/Manifest b/app-arch/createrepo_c/Manifest index 2c873ed315a1..d90e50c99ce5 100644 --- a/app-arch/createrepo_c/Manifest +++ b/app-arch/createrepo_c/Manifest @@ -1,4 +1,6 @@ DIST createrepo_c-1.0.2.tar.gz 629680 BLAKE2B 441b4bb6973c67325403a0ab3a34cf475daddd41c7823a6634c576f6ab5ff0b9354d8941bbd67223b9fbd0c60a0cb81130b125d66d7eb7850abc818eeeffd437 SHA512 b4ceba2f0b558843bdc04be30a10ffb785eea0beb6e1f1efe7373b2a47c8aba554f1a881194c02d1b3980332912d92aa84fdda079324b60c2d57c55e43fa9eb6 +DIST createrepo_c-1.0.3.tar.gz 630527 BLAKE2B d7959f8f8dad6a35ff19355420f744722a7d5698beb6535c57ab1b61d223150220a89192a041f4258471f76b8c76aca0a9d068fc058e0555b3a1f652a510f5e9 SHA512 42877eb0216e90f7beff3ed17e061b72abc3edf818323265cb76a70efdc2aa847a773b0c3bdfba1ca299cbbe976a66106d0b49cf9a8a43db761579432d7ebaa5 EBUILD createrepo_c-1.0.2.ebuild 1500 BLAKE2B 1d6c2fc12bbf9a7ca94e2d4ac778f68344281335bbecd800eb597fc7e66a25fbd710f8c6866fe431d2e745b284d42f5b95f94d95bd019d890c3c91d19ffe7cec SHA512 b525ccc209777258f80d91a686ba2255eeb6861590d52ad3d9a33ef95e52768068f854ff8526174b27f9d1091182e3311cec12a24fbe8503aef9be8a5ba6c2e8 -EBUILD createrepo_c-9999.ebuild 1500 BLAKE2B 1d6c2fc12bbf9a7ca94e2d4ac778f68344281335bbecd800eb597fc7e66a25fbd710f8c6866fe431d2e745b284d42f5b95f94d95bd019d890c3c91d19ffe7cec SHA512 b525ccc209777258f80d91a686ba2255eeb6861590d52ad3d9a33ef95e52768068f854ff8526174b27f9d1091182e3311cec12a24fbe8503aef9be8a5ba6c2e8 +EBUILD createrepo_c-1.0.3.ebuild 1472 BLAKE2B ab5c3eb56f3da03da28837c10d053d2c5ed3454b501753234f4f0e5de3ed3de04ea8f7809e137ee517255ca93c40767e4b73956a6278f552dfa869ab68bd755e SHA512 23424e98af056f00479da601042e5a223d9cf52e8d86904f0b6eec868879caf26cfe1b3897dae5d833f80909003366a73973026fc274d0c958bc755ea2d9c7bb +EBUILD createrepo_c-9999.ebuild 1472 BLAKE2B ab5c3eb56f3da03da28837c10d053d2c5ed3454b501753234f4f0e5de3ed3de04ea8f7809e137ee517255ca93c40767e4b73956a6278f552dfa869ab68bd755e SHA512 23424e98af056f00479da601042e5a223d9cf52e8d86904f0b6eec868879caf26cfe1b3897dae5d833f80909003366a73973026fc274d0c958bc755ea2d9c7bb MISC metadata.xml 828 BLAKE2B 13ea8960341f448e8abb558701208a46dd0150ec12080efc456a51949120c46bf7621adb8591d6ed52be7ccee7572d924dfa764209ed442be74eb5b6a9f153db SHA512 9c6dbdad0aff7e4f2d309f1352848f75a4d59f7069bc7b46bc3d013e72d56bad6411051b2763e6dc644e6041ac291422de8afa6a2d4fcb49847f31267cb9f78d diff --git a/app-arch/createrepo_c/createrepo_c-1.0.3.ebuild b/app-arch/createrepo_c/createrepo_c-1.0.3.ebuild new file mode 100644 index 000000000000..afc050773235 --- /dev/null +++ b/app-arch/createrepo_c/createrepo_c-1.0.3.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" +} diff --git a/app-arch/createrepo_c/createrepo_c-9999.ebuild b/app-arch/createrepo_c/createrepo_c-9999.ebuild index a9a502907e62..afc050773235 100644 --- a/app-arch/createrepo_c/createrepo_c-9999.ebuild +++ b/app-arch/createrepo_c/createrepo_c-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -27,7 +27,8 @@ DEPEND=" app-arch/rpm app-arch/xz-utils app-arch/zchunk - dev-db/sqlite:3 + app-arch/zstd:= + >=dev-db/sqlite-3.6.18:3 dev-libs/glib:2 dev-libs/libxml2 dev-libs/openssl:= @@ -35,7 +36,6 @@ DEPEND=" sys-apps/file sys-libs/libmodulemd sys-libs/zlib:= - zstd? ( app-arch/zstd:= ) " RDEPEND="${DEPEND}" @@ -50,7 +50,6 @@ src_configure() { -DWITH_LEGACY_HASHES=$(usex legacy ON OFF) -DWITH_LIBMODULEMD=ON -DWITH_ZCHUNK=ON - -DWITH_ZSTD=$(usex zstd) ) cmake_src_configure -- cgit v1.2.3