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 EB863158020 for ; Tue, 8 Nov 2022 12:53:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D901DE09BC; Tue, 8 Nov 2022 12:53:05 +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 C4C7BE09BC for ; Tue, 8 Nov 2022 12:53:05 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF2DF340FFA for ; Tue, 8 Nov 2022 12:53:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 001E0710 for ; Tue, 8 Nov 2022 12:53:03 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1667911973.eacde6b9cc6969fd6be86ec647d80e3e771e5184.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pychm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pychm/pychm-0.8.6-r1.ebuild X-VCS-Directories: dev-python/pychm/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: eacde6b9cc6969fd6be86ec647d80e3e771e5184 X-VCS-Branch: master Date: Tue, 8 Nov 2022 12:53:03 +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: 3da80131-6ec9-40d6-9b30-02b3459d19fb X-Archives-Hash: 51658f0d5564644f77016c7bdd98cc58 commit: eacde6b9cc6969fd6be86ec647d80e3e771e5184 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Nov 8 12:48:04 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Nov 8 12:52:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eacde6b9 dev-python/pychm: update EAPI 7 -> 8, pep517, enable py3.11 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/pychm/pychm-0.8.6-r1.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/dev-python/pychm/pychm-0.8.6-r1.ebuild b/dev-python/pychm/pychm-0.8.6-r1.ebuild new file mode 100644 index 000000000000..2f078383366b --- /dev/null +++ b/dev-python/pychm/pychm-0.8.6-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Python bindings for the chmlib library" +HOMEPAGE="https://github.com/dottedmag/pychm" +SRC_URI="https://github.com/dottedmag/pychm/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" + +RDEPEND="dev-libs/chmlib" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +src_test() { + # need to avoid relative import of 'chm' directory but tests rely + # on locating files relatively via tests/... + mv tests .. || die + cd .. || die + distutils-r1_src_test +}