diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-09-22 04:25:24 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-09-22 04:25:24 +0200 |
commit | 9c3eba683c34c056cb15b6b7b2fd48c24ebc19c6 (patch) | |
tree | 85efa2ba296bbbacf220f4af3d65f4dbbdaa97ea /dev-python/thrift | |
parent | dev-python/python-multipart: Bump to 0.0.10 (diff) | |
download | gentoo-9c3eba683c34c056cb15b6b7b2fd48c24ebc19c6.tar.gz gentoo-9c3eba683c34c056cb15b6b7b2fd48c24ebc19c6.tar.bz2 gentoo-9c3eba683c34c056cb15b6b7b2fd48c24ebc19c6.zip |
dev-python/thrift: Bump to 0.21.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/thrift')
-rw-r--r-- | dev-python/thrift/Manifest | 1 | ||||
-rw-r--r-- | dev-python/thrift/thrift-0.21.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
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 +} |