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 1D9B9158083 for ; Sun, 22 Sep 2024 02:28:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C54EE29B0; Sun, 22 Sep 2024 02:28:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 076DBE29B0 for ; Sun, 22 Sep 2024 02:28:39 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 403443431ED for ; Sun, 22 Sep 2024 02:28:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCC9A27FB for ; Sun, 22 Sep 2024 02:28:36 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1726971924.9c3eba683c34c056cb15b6b7b2fd48c24ebc19c6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/thrift/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/thrift/Manifest dev-python/thrift/thrift-0.21.0.ebuild X-VCS-Directories: dev-python/thrift/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9c3eba683c34c056cb15b6b7b2fd48c24ebc19c6 X-VCS-Branch: master Date: Sun, 22 Sep 2024 02:28:36 +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: f21319ae-f7f2-438e-80ea-6945b48dac95 X-Archives-Hash: 77fbdbc5679f4126eb7316e49cf8f1c5 commit: 9c3eba683c34c056cb15b6b7b2fd48c24ebc19c6 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 22 02:25:24 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Sep 22 02:25:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c3eba68 dev-python/thrift: Bump to 0.21.0 Signed-off-by: Michał Górny gentoo.org> dev-python/thrift/Manifest | 1 + dev-python/thrift/thrift-0.21.0.ebuild | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-python/thrift/Manifest b/dev-python/thrift/Manifest index 836f16932889..bd08566f86cc 100644 --- a/dev-python/thrift/Manifest +++ b/dev-python/thrift/Manifest @@ -1 +1,2 @@ DIST thrift-0.20.0.tar.gz 4397667 BLAKE2B 23422fdcdf7e0dbce8bc0f8017f54b5848594e2da21de56834152c17c74da7d1c4df23c5b57cf3ba811bb03f1a8588ddf1c2a05222bb726aceda4292a15af21e SHA512 8dc77f666e60141a6b3cf7ee1407b08a0e80d176f8ccfee69317d7df89ab87aea2c7b3ba3e59d4561835edf1ce23762443ad5aeed0099bf075b010853d5eb1cd +DIST thrift-0.21.0.tar.gz 4398072 BLAKE2B 1cbbecd0a4ecfe1a14b657d2a87286ad821e821894efde226aa96b23c62250c6bb032e703e0031990328b263593d92024f28b907e8dc27c217d475f6f3b90932 SHA512 0ffca1232305c07f803adb7239b5d22ee5c766a2809703c127b45a80b820c677e05a2d5b82852af5e1e923abe07ff1d9eb2f3fa4f2aa8732c9a81d8b0daa1f35 diff --git a/dev-python/thrift/thrift-0.21.0.ebuild b/dev-python/thrift/thrift-0.21.0.ebuild new file mode 100644 index 000000000000..34265a0ba6a1 --- /dev/null +++ b/dev-python/thrift/thrift-0.21.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{10..13} ) +inherit distutils-r1 + +DESCRIPTION="Python implementation of Thrift" +HOMEPAGE=" + https://pypi.org/project/thrift/ + https://thrift.apache.org/ + https://github.com/apache/thrift +" +SRC_URI="https://downloads.apache.org/${PN}/${PV}/${P}.tar.gz" +S="${WORKDIR}/${P}/lib/py" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests unittest + +python_test() { + eunittest test +} + +src_install() { + distutils-r1_src_install + # avoid file collision with dev-libs/thrift (bug #933272) + mv "${D}"/usr/share/doc/${P}/README.md \ + "${D}"/usr/share/doc/${P}/ReadMe.md || die +}