public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Takuya Wakazono" <pastalian46@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/librepo/
Date: Fri, 16 Aug 2024 14:55:53 +0000 (UTC)	[thread overview]
Message-ID: <1723819006.d6b7c35f478891a6fa02ff039ee09972072d10f0.pastalian46@gentoo> (raw)

commit:     d6b7c35f478891a6fa02ff039ee09972072d10f0
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Aug 16 14:33:23 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Fri Aug 16 14:36:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6b7c35f

dev-libs/librepo: add 1.18.1

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-libs/librepo/Manifest              |  1 +
 dev-libs/librepo/librepo-1.18.1.ebuild | 57 ++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-libs/librepo/Manifest b/dev-libs/librepo/Manifest
index 3b2c1aced..19e4f5160 100644
--- a/dev-libs/librepo/Manifest
+++ b/dev-libs/librepo/Manifest
@@ -1 +1,2 @@
 DIST librepo-1.18.0.tar.gz 841303 BLAKE2B 57288ee8bf9e77009b1c169ffafb4d59dcc3ecf836870abb7fce78d5d0e381d4377d6de67eb7240a87d1124d32fe1f51a26e6e8168f7557285502595aff69d17 SHA512 6630b4751163ff6a34c32b94f6d0ecdc34926ade6aa92342c99eef9a514edd25405e051c58f6630615dd9cd04ef5c0404ebc4805708356477b97d351baa19a73
+DIST librepo-1.18.1.tar.gz 841526 BLAKE2B 62860d29df4a7288802098f866a17862dd803ffdf58dd78f0dbcb439ee04f8713e644c17e75bb273dccc461c6b654c5092fcc81eecc1119ff302a8d548ee680e SHA512 bc5ef06786f3bd10bc096fa72543be2f528388e1490de6dc95e78c5f0f81511d24346a0fd55a37e844f7ea2864dd53d2ae921e767cd6f721b2c0a7fb6c9ab9f7

diff --git a/dev-libs/librepo/librepo-1.18.1.ebuild b/dev-libs/librepo/librepo-1.18.1.ebuild
new file mode 100644
index 000000000..14c583417
--- /dev/null
+++ b/dev-libs/librepo/librepo-1.18.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Repodata downloading library"
+HOMEPAGE="https://github.com/rpm-software-management/librepo"
+SRC_URI="https://github.com/rpm-software-management/librepo/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc gpgme test +zchunk"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=dev-libs/glib-2.66:2
+	dev-libs/libxml2
+	dev-libs/openssl:=
+	>=net-misc/curl-7.52.0
+	gpgme? ( app-crypt/gpgme:1= )
+	!gpgme? ( >=app-arch/rpm-4.18.0 )
+	zchunk? ( >=app-arch/zchunk-0.9.11 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	virtual/pkgconfig
+	doc? ( app-text/doxygen )
+	test? ( dev-libs/check )
+"
+
+PATCHES=(
+	# getxattr does not seem to work well under QA box. bug #934951
+	"${FILESDIR}/${PN}-1.18.0-disable-checksum-test.patch"
+)
+
+src_prepare() {
+	cmake_src_prepare
+
+	# respect temp directory during tests, bug #924463
+	sed -i "s|/tmp/|${T}/|" tests/testsys.h || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_EXAMPLES=OFF
+		-DENABLE_PYTHON=OFF
+		-DENABLE_SELINUX=OFF
+		-DUSE_GPGME=$(usex gpgme)
+		-DENABLE_DOCS=$(usex doc)
+		-DENABLE_TESTS=$(usex test)
+		-DWITH_ZCHUNK=$(usex zchunk)
+	)
+	cmake_src_configure
+}


             reply	other threads:[~2024-08-16 14:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-16 14:55 Takuya Wakazono [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-16 14:55 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/librepo/ Takuya Wakazono
2024-06-23  5:32 Takuya Wakazono
2024-03-29 14:39 Takuya Wakazono
2024-03-29 14:39 Takuya Wakazono
2024-02-13 11:48 Takuya Wakazono

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=1723819006.d6b7c35f478891a6fa02ff039ee09972072d10f0.pastalian46@gentoo \
    --to=pastalian46@gmail.com \
    --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