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 E07DD158091 for ; Fri, 17 Jun 2022 08:10:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3CBDE094F; Fri, 17 Jun 2022 08:10:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66DD8E0940 for ; Fri, 17 Jun 2022 08:10:28 +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 67E7034197B for ; Fri, 17 Jun 2022 08:10:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9ECA944B for ; Fri, 17 Jun 2022 08:10:25 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1655453416.cedd9e9694db8b62fee1a579b8f45e9f10c20e9b.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dbfread/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/dbfread/dbfread-2.0.7-r1.ebuild X-VCS-Directories: dev-python/dbfread/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: cedd9e9694db8b62fee1a579b8f45e9f10c20e9b X-VCS-Branch: master Date: Fri, 17 Jun 2022 08:10:25 +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: ed222f52-62cb-4e19-81cb-163447829fa0 X-Archives-Hash: f10b7882071f359c2cabf9d84c77fc62 commit: cedd9e9694db8b62fee1a579b8f45e9f10c20e9b Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jun 17 06:46:08 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jun 17 08:10:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cedd9e96 dev-python/dbfread: EAPI=8, PEP517, cleanup Signed-off-by: Arthur Zamarin gentoo.org> dev-python/dbfread/dbfread-2.0.7-r1.ebuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/dev-python/dbfread/dbfread-2.0.7-r1.ebuild b/dev-python/dbfread/dbfread-2.0.7-r1.ebuild new file mode 100644 index 000000000000..116e2142b96c --- /dev/null +++ b/dev-python/dbfread/dbfread-2.0.7-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Read DBF Files with Python" +HOMEPAGE="https://github.com/olemb/dbfread https://pypi.org/project/dbfread/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + test? ( https://github.com/olemb/dbfread/archive/refs/tags/${PV}.tar.gz -> ${P}-src.tar.gz )" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + dbfread/test_read_and_length.py::test_len + dbfread/test_read_and_length.py::test_list +) + +python_prepare_all() { + sed -e 's|\[pytest\]|[tool:pytest]|' -i setup.cfg || die + distutils-r1_python_prepare_all +}