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 13083158089 for ; Thu, 7 Sep 2023 03:19:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDC0D2BC08D; Thu, 7 Sep 2023 03:19:34 +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 C7B432BC08D for ; Thu, 7 Sep 2023 03:19:34 +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 89810335CB7 for ; Thu, 7 Sep 2023 03:19:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F5411145 for ; Thu, 7 Sep 2023 03:19:30 +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: <1694056418.10da7c20a8fa300016480fe2640824c5df44adba.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyelftools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyelftools/Manifest dev-python/pyelftools/pyelftools-0.30.ebuild X-VCS-Directories: dev-python/pyelftools/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 10da7c20a8fa300016480fe2640824c5df44adba X-VCS-Branch: master Date: Thu, 7 Sep 2023 03:19:30 +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: 9487fa5a-72c1-4862-91d0-c59f9d5b5c18 X-Archives-Hash: 0951b62b701d4dc49f174351d7cec507 commit: 10da7c20a8fa300016480fe2640824c5df44adba Author: Michał Górny gentoo org> AuthorDate: Thu Sep 7 02:55:34 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 7 03:13:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10da7c20 dev-python/pyelftools: Bump to 0.30 Signed-off-by: Michał Górny gentoo.org> dev-python/pyelftools/Manifest | 1 + dev-python/pyelftools/pyelftools-0.30.ebuild | 30 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/pyelftools/Manifest b/dev-python/pyelftools/Manifest index 693998d18175..d0dada90443f 100644 --- a/dev-python/pyelftools/Manifest +++ b/dev-python/pyelftools/Manifest @@ -1 +1,2 @@ DIST pyelftools-0.29.gh.tar.gz 14176561 BLAKE2B 441260492f8cd512445249700a79f1d823ef96f6213ab9183e17160b76efe51493c28d2ae8ecea79acf45e78987b4c24940441e9bc0a3deaeda0ee4fb72b58c3 SHA512 0eba3b029a734abe9f8df92cd58bc967f10bf9f61c3a419bdbc5e637200844dddd947bcb485e8ebbe2eeaa7f7e91efc6500316af51aace1db051a658cf61153e +DIST pyelftools-0.30.gh.tar.gz 14115024 BLAKE2B b7974bc1a51ff5ba6ced17aac44e3911ff8d892564a3bef07ae6a5fc261eb7d2eb02170678c4d0bafedaa9e393fa4ca6d2059c420436ea73aa4f6aa7b49a894e SHA512 5bd4c797f90307e351d541b8de8f76124c66e497b68b811f7012e1271c902beb6ab530a424b338777d12277d44f9b5f89f049e05d9fc2ec36a90b6fa16f1c1a4 diff --git a/dev-python/pyelftools/pyelftools-0.30.ebuild b/dev-python/pyelftools/pyelftools-0.30.ebuild new file mode 100644 index 000000000000..8d04f7b51519 --- /dev/null +++ b/dev-python/pyelftools/pyelftools-0.30.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="pure-Python library for analyzing ELF files and DWARF debugging information" +HOMEPAGE=" + https://pypi.org/project/pyelftools/ + https://github.com/eliben/pyelftools/ +" +# PyPI tarball lacks some test files +SRC_URI=" + https://github.com/eliben/pyelftools/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +python_test() { + # readelf_tests often fails due to host `readelf` changing output format + "${EPYTHON}" test/run_all_unittests.py || die + "${EPYTHON}" test/run_examples_test.py || die +}