public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-cython/
Date: Mon, 18 May 2020 15:41:13 +0000 (UTC)	[thread overview]
Message-ID: <1589816469.5a165a8ebd3ca9d559e810fab1a91f044c6cf698.Alessandro-Barbieri@gentoo> (raw)

commit:     5a165a8ebd3ca9d559e810fab1a91f044c6cf698
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 18 15:40:30 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon May 18 15:41:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a165a8e

dev-python/pytest-cython: pypy3 and python3.8

also restrict tests

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../pytest-cython/pytest-cython-0.1.0-r2.ebuild    | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/dev-python/pytest-cython/pytest-cython-0.1.0-r2.ebuild b/dev-python/pytest-cython/pytest-cython-0.1.0-r2.ebuild
new file mode 100644
index 0000000..01c69d2
--- /dev/null
+++ b/dev-python/pytest-cython/pytest-cython-0.1.0-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+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"
+IUSE="test"
+
+#IDK how to run this: python tests/example-project/setup.py clean build_ext --inplace --use-cython
+RESTRICT="test"
+RDEPEND="
+	dev-python/cython[${PYTHON_USEDEP}]
+	dev-python/pytest[${PYTHON_USEDEP}]
+"
+DEPEND="
+	${RDEPEND}
+"
+
+src_prepare() {
+	sed -i 's|\[pytest\]|\[tool:pytest\]|' setup.cfg || die
+	default
+}
+
+distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme


             reply	other threads:[~2020-05-18 15:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-18 15:41 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-27  0:31 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-cython/ Anna Vyalkova
2022-05-02 20:01 Alessandro Barbieri
2021-07-05  0:43 Alessandro Barbieri
2021-06-14  2:27 Alessandro Barbieri
2020-12-18 19:05 Andrew Ammerlaan
2020-04-27 21:24 Alessandro Barbieri
2020-04-25 11:37 Andrew Ammerlaan
2020-04-25  7:26 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1589816469.5a165a8ebd3ca9d559e810fab1a91f044c6cf698.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox