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/curio/
Date: Sun,  6 Dec 2020 09:40:10 +0000 (UTC)	[thread overview]
Message-ID: <1607247608.9e2ba732a9a4175b69f8740214d926c041fe030c.Alessandro-Barbieri@gentoo> (raw)

commit:     9e2ba732a9a4175b69f8740214d926c041fe030c
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Dec  6 09:34:10 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Dec  6 09:40:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e2ba732

dev-python/curio: fix DISTUTILS_USE_SETUPTOOLS

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

 dev-python/curio/curio-1.4-r1.ebuild | 50 ++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/dev-python/curio/curio-1.4-r1.ebuild b/dev-python/curio/curio-1.4-r1.ebuild
new file mode 100644
index 00000000..ff39a702
--- /dev/null
+++ b/dev-python/curio/curio-1.4-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Curio is a coroutine-based library for concurrent systems programming"
+HOMEPAGE="
+	https://github.com/dabeaz/curio
+	https://pypi.org/project/curio
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+IUSE="examples"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+DEPEND="test? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+distutils_enable_sphinx docs --no-autodoc
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	# requires internet connection
+	sed -i -e 's:test_ssl_outgoing:_&:' \
+		tests/test_network.py || die
+
+	# AttributeError: module 'asyncio' has no attribute 'run'
+	sed -i -e 's:test_uqueue_asyncio_consumer:_&:' \
+		tests/test_queue.py || die
+	sed -i -e 's:test_uevent_get_asyncio_set:_&:' \
+		-e 's:test_uevent_get_asyncio_wait:_&:' \
+		-e 's:test_universal_error:_&:' \
+		-e 's:test_universal_value:_&:' \
+		tests/test_sync.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+	use examples && dodoc -r examples
+
+	distutils-r1_python_install_all
+}


             reply	other threads:[~2020-12-06  9:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06  9:40 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-13 22:38 [gentoo-commits] repo/proj/guru:master commit in: dev-python/curio/ Julien Roy
2024-05-13 22:21 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2023-01-31  3:09 Julien Roy
2023-01-29 19:36 Julien Roy
2023-01-29 19:28 Julien Roy
2022-07-11 19:22 Anna Vyalkova
2021-05-25  8:10 Anna Vyalkova
2021-05-24 11:06 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-05-24 10:01 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-03-12 12:10 Andrew Ammerlaan
2020-11-28 13:57 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-11-28 13:46 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-11-27 10:26 Alessandro Barbieri
2020-08-29 14:14 Andrew Ammerlaan
2020-04-12 16:16 Andrew Ammerlaan
2020-03-27 17:53 Alessandro Barbieri
2020-02-03 18:07 Andrew Ammerlaan

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=1607247608.9e2ba732a9a4175b69f8740214d926c041fe030c.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