From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C3E68158094 for ; Thu, 1 Sep 2022 06:27:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E18BEE0866; Thu, 1 Sep 2022 06:27:58 +0000 (UTC) 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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C49D5E0866 for ; Thu, 1 Sep 2022 06:27:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9E6C340C79 for ; Thu, 1 Sep 2022 06:27:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B32058B for ; Thu, 1 Sep 2022 06:27:56 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1662013671.ba8d0af76670991b7279541bc0582d1d4885c09e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libsearpc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libsearpc/Manifest net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild X-VCS-Directories: net-libs/libsearpc/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: ba8d0af76670991b7279541bc0582d1d4885c09e X-VCS-Branch: master Date: Thu, 1 Sep 2022 06:27:56 +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: ed8fefed-dd73-4998-8efa-1852dcc40139 X-Archives-Hash: 8ef98197113ddd528be695f8923230d6 commit: ba8d0af76670991b7279541bc0582d1d4885c09e Author: Quentin Retornaz retornaz com> AuthorDate: Thu Sep 1 00:08:51 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Sep 1 06:27:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba8d0af7 net-libs/libsearpc: version bump to 3.2.0_p1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Quentin Retornaz retornaz.com> Signed-off-by: Joonas Niilola gentoo.org> net-libs/libsearpc/Manifest | 1 + net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild | 42 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/net-libs/libsearpc/Manifest b/net-libs/libsearpc/Manifest index 7198ca76ba6d..fb2501075b90 100644 --- a/net-libs/libsearpc/Manifest +++ b/net-libs/libsearpc/Manifest @@ -1 +1,2 @@ DIST libsearpc-3.2.0.tar.gz 52303 BLAKE2B 34707b504b4e63017549e5ed04e8e1e8d1e98b873aebe2ad3f675fe88e209bb73d8b56d1aef137bc4bead2a2fbcf7410dfdf1d02a92a8f37efbaaf0d56d79a4c SHA512 071784b6d34f6ddf947748474c210f0f803e3451373e351b6a768b0cf4a17ddcdaf415ff4ce5f020f1a68df3f6f0a0e53a78ad9e2df286fafea870e303c8f6dd +DIST libsearpc-3.2.0_p1.tar.gz 54011 BLAKE2B 9bdfa72b207eb57d1242384e5581eea9083f4f30616a9bc8da1255b281c0a847ec1fc6d23db7510dc7988a67d7c836762b8343ac4fdffe07ce6296b65d9cf8c8 SHA512 2e1580ffa54e233b078385a94d2d9a7e080bfb2f8ccbaf96645c94f86d0eda686bd84277341cff39840afa03fc67abd05cb2f57a81d117fff4773280f9da265a diff --git a/net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild b/net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild new file mode 100644 index 000000000000..b9dac0542a45 --- /dev/null +++ b/net-libs/libsearpc/libsearpc-3.2.0_p1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +# Upstream is moving tags repeatedly, then we use commit hash. +RELEASE_COMMIT="54145b03f4240222e336a9a2f402e93facefde65" #tag v3.2_latest + +inherit autotools python-single-r1 + +DESCRIPTION="A simple C language RPC framework" +HOMEPAGE="https://github.com/haiwen/libsearpc/ http://seafile.com/" +SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.26.0 + >=dev-libs/jansson-2.2.1:=" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/simplejson[${PYTHON_USEDEP}] + ')" + +S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" + +src_prepare() { + default + sed -i -e "s/(DESTDIR)//" ${PN}.pc.in || die + eautoreconf +} + +src_install() { + default + # Remove unnecessary .la files + find "${ED}" -name '*.la' -delete || die +}