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 223A215802F for ; Tue, 7 Mar 2023 09:23:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69798E087A; Tue, 7 Mar 2023 09:23:14 +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 4E94EE087A for ; Tue, 7 Mar 2023 09:23:14 +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 91F5C3413C2 for ; Tue, 7 Mar 2023 09:23:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C90588D8 for ; Tue, 7 Mar 2023 09:23:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1678180971.2b39ffb6bf88b5d0160a9c9b08a2409f0a7f2769.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/distorm3/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/distorm3/distorm3-3.5.2-r1.ebuild X-VCS-Directories: dev-libs/distorm3/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2b39ffb6bf88b5d0160a9c9b08a2409f0a7f2769 X-VCS-Branch: master Date: Tue, 7 Mar 2023 09:23:10 +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: 3e93e6a5-ec69-4bb5-94c6-880643134b79 X-Archives-Hash: 2e2e11c69feb5316365a462fa272bc45 commit: 2b39ffb6bf88b5d0160a9c9b08a2409f0a7f2769 Author: Sam James gentoo org> AuthorDate: Tue Mar 7 09:21:17 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 7 09:22:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b39ffb6 dev-libs/distorm3: update EAPI 7 -> 8, enable py3.11, PEP517 Closes: https://github.com/mgorny/python-bump-testing/issues/43 Closes: https://bugs.gentoo.org/896700 Signed-off-by: Sam James gentoo.org> dev-libs/distorm3/distorm3-3.5.2-r1.ebuild | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/dev-libs/distorm3/distorm3-3.5.2-r1.ebuild b/dev-libs/distorm3/distorm3-3.5.2-r1.ebuild new file mode 100644 index 000000000000..c623afc293d7 --- /dev/null +++ b/dev-libs/distorm3/distorm3-3.5.2-r1.ebuild @@ -0,0 +1,38 @@ +# 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_{9..11} ) +inherit distutils-r1 pypi + +DESCRIPTION="The ultimate disassembler library (X86-32, X86-64)" +HOMEPAGE="http://www.ragestorm.net/distorm/" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-lang/yasm )" + +PATCHES=( "${FILESDIR}"/${P}-under.patch ) + +EPYTEST_DESELECT=( + # outdated tests? API usage mismatch + # https://github.com/gdabah/distorm/issues/173 + python/test_distorm3.py::Test::test_dummy + python/test_distorm3.py::InstBin::test_dummy + python/test_distorm3.py::Inst::test_dummy +) + +distutils_enable_tests pytest + +python_install() { + distutils-r1_python_install + + # don't know why it does not happen by default + python_optimize +}