From 9ba55d71ee6f0ac25b341100a4fb7a469db2caa1 Mon Sep 17 00:00:00 2001 From: Jaco Kroon Date: Mon, 12 Oct 2020 15:49:57 +0200 Subject: app-arch/createrepo_c: new package Signed-off-by: Jaco Kroon Closes: https://github.com/gentoo/gentoo/pull/17901 Signed-off-by: Sam James --- app-arch/createrepo_c/Manifest | 1 + app-arch/createrepo_c/createrepo_c-0.16.2.ebuild | 39 ++++++++++++++++++++++++ app-arch/createrepo_c/metadata.xml | 12 ++++++++ 3 files changed, 52 insertions(+) create mode 100644 app-arch/createrepo_c/Manifest create mode 100644 app-arch/createrepo_c/createrepo_c-0.16.2.ebuild create mode 100644 app-arch/createrepo_c/metadata.xml (limited to 'app-arch') diff --git a/app-arch/createrepo_c/Manifest b/app-arch/createrepo_c/Manifest new file mode 100644 index 000000000000..3207cc02e8ba --- /dev/null +++ b/app-arch/createrepo_c/Manifest @@ -0,0 +1 @@ +DIST createrepo_c-0.16.2.tar.gz 601935 BLAKE2B 8b9f279d97744e9eeb68cfcc7e9a229ab5a4d8cfca74a2a3d444915eaae7a6d2fa113e517fdcd72b69d0343e541ccce8020f50162e4800c54ba989cea8d5756e SHA512 c63abc8aa6c65584b51a0aa337e261fe5d9a52d72287874f86531caa8133718290a4f44aa765979fa319973c4ba0681437a26f84f64bd5bf781c86a6daa8a39b diff --git a/app-arch/createrepo_c/createrepo_c-0.16.2.ebuild b/app-arch/createrepo_c/createrepo_c-0.16.2.ebuild new file mode 100644 index 000000000000..e1e6662cf8b4 --- /dev/null +++ b/app-arch/createrepo_c/createrepo_c-0.16.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Notes: Help with enabling the python support would be great. +EAPI=7 + +inherit cmake + +DESCRIPTION="C implementation of createrepo" +HOMEPAGE="https://github.com/rpm-software-management/createrepo_c" +SRC_URI="https://github.com/rpm-software-management/createrepo_c/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="app-arch/bzip2:= + app-arch/rpm + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/libxml2 + dev-libs/openssl:= + net-misc/curl + sys-apps/file + sys-libs/zlib:=" +RDEPEND="${DEPEND} + app-arch/lzma" + +src_configure() +{ + # Other than for python (where tests are failing) we have special no-in-tree dependencies. + local mycmakeargs=( + -DENABLE_DRPM=OFF + -DENABLE_PYTHON=OFF + -DWITH_ZCHUNK=OFF + -DWITH_LIBMODULEMD=OFF + ) + cmake_src_configure +} diff --git a/app-arch/createrepo_c/metadata.xml b/app-arch/createrepo_c/metadata.xml new file mode 100644 index 000000000000..64b17e08bff5 --- /dev/null +++ b/app-arch/createrepo_c/metadata.xml @@ -0,0 +1,12 @@ + + + + + jaco@uls.co.za + Jaco Kroon + + + proxy-maint@gentoo.org + Proxy Maintainers + + -- cgit v1.2.3-65-gdbad