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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B4D91382C5 for ; Mon, 14 Jun 2021 02:27:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBDCBE0E0D; Mon, 14 Jun 2021 02:27:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2940E0E0D for ; Mon, 14 Jun 2021 02:27:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B32F3340DA8 for ; Mon, 14 Jun 2021 02:27:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0DF547B3 for ; Mon, 14 Jun 2021 02:27:34 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1623637650.675478ed31d2e248c06fb54789973d373b14ca58.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-cython/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pytest-cython/Manifest dev-python/pytest-cython/pytest-cython-0.1.1.ebuild X-VCS-Directories: dev-python/pytest-cython/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 675478ed31d2e248c06fb54789973d373b14ca58 X-VCS-Branch: dev Date: Mon, 14 Jun 2021 02:27:34 +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: 66e0eed6-004f-40a9-90d7-2ee9034add7e X-Archives-Hash: 53004ff063f665f3ea703377381a49cb commit: 675478ed31d2e248c06fb54789973d373b14ca58 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Jun 14 00:47:44 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Mon Jun 14 02:27:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=675478ed dev-python/pytest-cython: add 0.1.1 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/pytest-cython/Manifest | 1 + .../pytest-cython/pytest-cython-0.1.1.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/pytest-cython/Manifest b/dev-python/pytest-cython/Manifest index e28b85e2d..38d733099 100644 --- a/dev-python/pytest-cython/Manifest +++ b/dev-python/pytest-cython/Manifest @@ -1 +1,2 @@ DIST pytest-cython-0.1.0.tar.gz 19109 BLAKE2B 75895992402f36010385e0851cce4532825d374cc9d5af1b45d4dc938070da1f9e8c9901601ac10e3fa9a76fd4f0affd3f0dac6d8857eea88c73cbc1686ce613 SHA512 65d8d25f95f2419ae76902cad8f0f4c9b810dbbba80621d301f53d2128dfeb11c4d74e2ac4f1e39f63aadfc1404e9000c0668efbab4793d307f0b90345023771 +DIST pytest-cython-0.1.1.tar.gz 817776 BLAKE2B d9b812cefc45153a1ce7abb0b1be2e7fc329b88d89ed48529f62a38c402d74bb164ed6b928f291586f0064820dc52156eacdf161da3a0d65d10f5a15681a17e4 SHA512 353a6c3b67df0608b24f24e04ba5d3fa48065d3960834e32bf44f2dfcd6248cb4c86de528c15dbfd20e36811bfb0ae04670f6441afb74bcb7bd1d7af71060463 diff --git a/dev-python/pytest-cython/pytest-cython-0.1.1.ebuild b/dev-python/pytest-cython/pytest-cython-0.1.1.ebuild new file mode 100644 index 000000000..1d8fc289c --- /dev/null +++ b/dev-python/pytest-cython/pytest-cython-0.1.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( pypy3 python3_{8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Plugin for testing Cython extension modules" +HOMEPAGE="https://github.com/lgpage/pytest-cython" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme +distutils_enable_tests pytest + +src_prepare() { + sed -i 's|\[pytest\]|\[tool:pytest\]|' setup.cfg || die + default +} + +python_test() { + epytest -vv \ + --deselect tests/test_pytest_cython.py::test_wrap_c_ext_module \ + --deselect tests/test_pytest_cython.py::test_cython_ext_module \ + --deselect tests/test_pytest_cython.py::test_wrap_cpp_ext_module \ + --deselect tests/test_pytest_cython.py::test_pure_py_module \ + || die +}