mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/curio: add 1.6, drop 1.5
Closes: https://bugs.gentoo.org/848165 Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST curio-1.5.tar.gz 234920 BLAKE2B 26e3c0de872d77478f433990f88f9ac35f9615621aadfcc7b8d766488ffe390fd4698854640792bda4e649fc0d1224fa7cb5bf89777268fee4349500a5365547 SHA512 8c78d866b949da862ddb29d6a8db6881d00dedb33637529d02d4e3010de0e1ecd15e74f52c011828738ac7d54e5f04425c8ffb43abaf1e77c21d28d874ff711b
|
||||
DIST curio-1.6.tar.gz 235660 BLAKE2B b09f0c5cf62a99efefd95727f5547cf4f02a8b921b52f21051acb206098886fec63123772b826efa1c2842291cbcf4225324e5d7a85b103caacf94035be741ec SHA512 480824a50055d170cc01e2ab28dc1b276df9ab8dfbd50f3c70fe6e3fe2a745b636a4717f7886463a1ed38d6fc357098239e1718e00c8f983369b72f4e5d20f17
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{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
|
||||
}
|
||||
27
dev-python/curio/curio-1.6.ebuild
Normal file
27
dev-python/curio/curio-1.6.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
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
|
||||
@@ -1,16 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
Curio is a coroutine-based library for concurrent Python systems programming. It provides standard programming abstractions such as as tasks, sockets, files, locks, and queues. It works on Unix and Windows. You'll find it to be familiar, small, fast, and fun
|
||||
Core Features
|
||||
|
||||
Curio supports standard synchronization primitives (events, locks, recursive locks, semaphores, and condition variables), queues, subprocesses, as well as running tasks in threads and processes. The task model fully supports cancellation, task groups, timeouts, monitoring, and other features critical to writing reliable code.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">dabeaz/curio</remote-id>
|
||||
<remote-id type="pypi">curio</remote-id>
|
||||
</upstream>
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>David Beazley</name>
|
||||
<email>dave@dabeaz.com</email>
|
||||
</maintainer>
|
||||
<remote-id type="github">dabeaz/curio</remote-id>
|
||||
<remote-id type="pypi">curio</remote-id>
|
||||
<bugs-to>https://github.com/dabeaz/curio/issues</bugs-to>
|
||||
<changelog>https://github.com/dabeaz/curio/blob/master/CHANGES</changelog>
|
||||
<doc>https://curio.readthedocs.io/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user