[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2024-05-13 Thread Julien Roy
commit: f7fc0b218b9380e146c92f128d4509a407029593
Author: Julien Roy  jroy  ca>
AuthorDate: Mon May 13 22:16:33 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Mon May 13 22:18:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7fc0b21

dev-python/curio: treeclean

Closes: https://bugs.gentoo.org/931372
Closes: https://bugs.gentoo.org/884639
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/curio/Manifest |  1 -
 dev-python/curio/curio-1.6.ebuild | 31 ---
 dev-python/curio/metadata.xml | 22 --
 3 files changed, 54 deletions(-)

diff --git a/dev-python/curio/Manifest b/dev-python/curio/Manifest
deleted file mode 100644
index 69cf93cf66..00
--- a/dev-python/curio/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST curio-1.6.tar.gz 235660 BLAKE2B 
b09f0c5cf62a99efefd95727f5547cf4f02a8b921b52f21051acb206098886fec63123772b826efa1c2842291cbcf4225324e5d7a85b103caacf94035be741ec
 SHA512 
480824a50055d170cc01e2ab28dc1b276df9ab8dfbd50f3c70fe6e3fe2a745b636a4717f7886463a1ed38d6fc357098239e1718e00c8f983369b72f4e5d20f17

diff --git a/dev-python/curio/curio-1.6.ebuild 
b/dev-python/curio/curio-1.6.ebuild
deleted file mode 100644
index 1acb6a9614..00
--- a/dev-python/curio/curio-1.6.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Curio is a coroutine-based library for concurrent systems 
programming"
-HOMEPAGE="
-   https://github.com/dabeaz/curio
-   https://pypi.org/project/curio/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="examples"
-
-DEPEND="test? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-EPYTEST_DESELECT=(
-   # Needs net
-   "tests/test_network.py::test_ssl_outgoing"
-)
-
-distutils_enable_sphinx docs --no-autodoc
-distutils_enable_tests pytest

diff --git a/dev-python/curio/metadata.xml b/dev-python/curio/metadata.xml
deleted file mode 100644
index 03c3a912d5..00
--- a/dev-python/curio/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-
-
-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.
-
-
-
-David Beazley
-d...@dabeaz.com
-
-dabeaz/curio
-curio
-https://github.com/dabeaz/curio/issues
-
https://github.com/dabeaz/curio/blob/master/CHANGES
-https://curio.readthedocs.io/
-
-



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2023-01-30 Thread Julien Roy
commit: ee44f476e8d611c82eb2244f7d3c75b868dc6d03
Author: Julien Roy  jroy  ca>
AuthorDate: Tue Jan 31 03:07:02 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Tue Jan 31 03:09:12 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ee44f476

dev-python/curio: deselect test that requires network

Closes: https://bugs.gentoo.org/892595
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/curio/curio-1.6.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-python/curio/curio-1.6.ebuild 
b/dev-python/curio/curio-1.6.ebuild
index 0cf35ad54..17adf0b74 100644
--- a/dev-python/curio/curio-1.6.ebuild
+++ b/dev-python/curio/curio-1.6.ebuild
@@ -23,5 +23,10 @@ SLOT="0"
 
 DEPEND="test? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
 
+EPYTEST_DESELECT=(
+   # Needs net
+   "tests/test_network.py::test_ssl_outgoing"
+)
+
 distutils_enable_sphinx docs --no-autodoc
 distutils_enable_tests pytest



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2023-01-29 Thread Julien Roy
commit: b86145659d8a611c803c71f722f13b40810be35e
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Jan 29 19:36:09 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Jan 29 19:36:09 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8614565

dev-python/curio: update EAPI 7 -> 8

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/curio/curio-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/curio/curio-1.6.ebuild 
b/dev-python/curio/curio-1.6.ebuild
index 8482fd334..0cf35ad54 100644
--- a/dev-python/curio/curio-1.6.ebuild
+++ b/dev-python/curio/curio-1.6.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_USE_PEP517=setuptools



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2023-01-29 Thread Julien Roy
commit: 7a696ec76166a20ece4ca8a14283b24f2c833624
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Jan 29 19:27:34 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Jan 29 19:27:34 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a696ec7

dev-python/curio: add 1.6, drop 1.5

Closes: https://bugs.gentoo.org/848165
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/curio/Manifest |  2 +-
 dev-python/curio/curio-1.5.ebuild | 50 ---
 dev-python/curio/curio-1.6.ebuild | 27 +
 dev-python/curio/metadata.xml | 22 ++---
 4 files changed, 42 insertions(+), 59 deletions(-)

diff --git a/dev-python/curio/Manifest b/dev-python/curio/Manifest
index 6e217e529..69cf93cf6 100644
--- a/dev-python/curio/Manifest
+++ b/dev-python/curio/Manifest
@@ -1 +1 @@
-DIST curio-1.5.tar.gz 234920 BLAKE2B 
26e3c0de872d77478f433990f88f9ac35f9615621aadfcc7b8d766488ffe390fd4698854640792bda4e649fc0d1224fa7cb5bf89777268fee4349500a5365547
 SHA512 
8c78d866b949da862ddb29d6a8db6881d00dedb33637529d02d4e3010de0e1ecd15e74f52c011828738ac7d54e5f04425c8ffb43abaf1e77c21d28d874ff711b
+DIST curio-1.6.tar.gz 235660 BLAKE2B 
b09f0c5cf62a99efefd95727f5547cf4f02a8b921b52f21051acb206098886fec63123772b826efa1c2842291cbcf4225324e5d7a85b103caacf94035be741ec
 SHA512 
480824a50055d170cc01e2ab28dc1b276df9ab8dfbd50f3c70fe6e3fe2a745b636a4717f7886463a1ed38d6fc357098239e1718e00c8f983369b72f4e5d20f17

diff --git a/dev-python/curio/curio-1.5.ebuild 
b/dev-python/curio/curio-1.5.ebuild
deleted file mode 100644
index f68f7b80d..0
--- a/dev-python/curio/curio-1.5.ebuild
+++ /dev/null
@@ -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
-}

diff --git a/dev-python/curio/curio-1.6.ebuild 
b/dev-python/curio/curio-1.6.ebuild
new file mode 100644
index 0..8482fd334
--- /dev/null
+++ b/dev-python/curio/curio-1.6.ebuild
@@ -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

diff --git a/dev-python/curio/metadata.xml b/dev-python/curio/metadata.xml
index 6a58b1a32..0814446ba 100644
--- a/dev-python/curio/metadata.xml
+++ b/dev-python/curio/metadata.xml
@@ -1,16 +1,22 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
-
 
-  
-  
+
+
 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.
-  
-  
-dabeaz/curio
-curio
-  
+
+
+
+David Beazley
+d...@dabeaz.com
+
+dabeaz/curio
+curio
+

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2021-05-25 Thread Anna Vyalkova
commit: 983cd311ca7ecd57996f68e5d7f8ba24d68901f1
Author: Anna Vyalkova  sysrq  in>
AuthorDate: Mon May 24 19:29:48 2021 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Tue May 25 08:06:50 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=983cd311

dev-python/curio: drop 1.2-r1, 1.4

Signed-off-by: Anna Vyalkova  sysrq.in>

 dev-python/curio/Manifest|  1 -
 dev-python/curio/curio-1.2-r1.ebuild | 44 ---
 dev-python/curio/curio-1.4.ebuild| 50 
 3 files changed, 95 deletions(-)

diff --git a/dev-python/curio/Manifest b/dev-python/curio/Manifest
index 3cd73a65a..7edce9f79 100644
--- a/dev-python/curio/Manifest
+++ b/dev-python/curio/Manifest
@@ -1,4 +1,3 @@
 DIST curio-0.9.tar.gz 482459 BLAKE2B 
7ef65d22806eb10ee3e757dc0d63a202c13036cdb1995962e193332c50dd73585ab27449614de5995f874c03d8623ea27f967101aa99b15166d19a48f4cdaaea
 SHA512 
a6ae4db76358536e6e299ecfa923fd63746cba4bc5374fbfdeb4127032552c960d1e199fdf17d95b039ca2bd000325c637f663007cd6850313bc00bc9a2a3d68
-DIST curio-1.2.tar.gz 228413 BLAKE2B 
57dd4849a33ce8075b1f5409397abc727bb10b40d185864747d2e208b5d850286f9dc8784451d1ee8af4f28fcdb8b98d5a159a7563ae93fd30419e8938887ca3
 SHA512 
8a155f3d0c5512184ed4019edf5f33bfe7597ffdef1a6b19d82b42fe0317b80006d57658d69b422a320f49f9f1b6294faba6c042b7c4258538f001a9792acb8a
 DIST curio-1.4.tar.gz 230144 BLAKE2B 
befe36251e6e9ef39cc220d383d9195e7ed4126aafe64403598b857551fe54ef6fff293e9ddb802dc155c9c6264d9f7b86e7393786b7bd1da4ca8882716a5d77
 SHA512 
105fe0d3edea0310b98bb93e74ca750516d9f33e4f8c3866be3e92a582485baf885fd58b007fb33c3e24b4a8e73b532f20899ed106c4a6ac23f97b444c4b3ffc
 DIST curio-1.5.tar.gz 234920 BLAKE2B 
26e3c0de872d77478f433990f88f9ac35f9615621aadfcc7b8d766488ffe390fd4698854640792bda4e649fc0d1224fa7cb5bf89777268fee4349500a5365547
 SHA512 
8c78d866b949da862ddb29d6a8db6881d00dedb33637529d02d4e3010de0e1ecd15e74f52c011828738ac7d54e5f04425c8ffb43abaf1e77c21d28d874ff711b

diff --git a/dev-python/curio/curio-1.2-r1.ebuild 
b/dev-python/curio/curio-1.2-r1.ebuild
deleted file mode 100644
index d009e77e7..0
--- a/dev-python/curio/curio-1.2-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-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_test() {
-   pytest -vv \
-   --deselect tests/test_network.py::test_ssl_outgoing \
-   --deselect 
tests/test_queue.py::test_uqueue_asyncio_consumer \
-   --deselect 
tests/test_sync.py::TestUniversalEvent::test_uevent_get_asyncio_set \
-   --deselect 
tests/test_sync.py::TestUniversalEvent::test_uevent_get_asyncio_wait \
-   --deselect tests/test_socket.py::test_tcp_echo \
-   --deselect tests/test_io.py::test_sendall_cancel \
-   || die
-}
-
-python_install_all() {
-   use examples && dodoc -r examples
-
-   distutils-r1_python_install_all
-}

diff --git a/dev-python/curio/curio-1.4.ebuild 
b/dev-python/curio/curio-1.4.ebuild
deleted file mode 100644
index 55819d838..0
--- a/dev-python/curio/curio-1.4.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# 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=rdepend
-
-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:_&:' \
- 

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2021-05-24 Thread Andrew Ammerlaan
commit: b969478dd81266357dcc163c10657f763953a512
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon May 24 09:27:09 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 24 09:59:37 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b969478d

dev-python/curio: 

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/curio/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-python/curio/metadata.xml b/dev-python/curio/metadata.xml
index d32427c1e..6a58b1a32 100644
--- a/dev-python/curio/metadata.xml
+++ b/dev-python/curio/metadata.xml
@@ -2,10 +2,7 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
 
-  
-andrewammerl...@gentoo.org
-Andrew Ammerlaan
-  
+  
   
 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



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2021-03-12 Thread Andrew Ammerlaan
commit: 77a9932348e289b4c98e662f9c9ae568d56d9a84
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Mar 12 12:06:26 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Mar 12 12:06:26 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=77a99323

dev-python/curio: add version 1.5

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/curio/Manifest |  1 +
 dev-python/curio/curio-1.5.ebuild | 50 +++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/curio/Manifest b/dev-python/curio/Manifest
index 22a96141..3cd73a65 100644
--- a/dev-python/curio/Manifest
+++ b/dev-python/curio/Manifest
@@ -1,3 +1,4 @@
 DIST curio-0.9.tar.gz 482459 BLAKE2B 
7ef65d22806eb10ee3e757dc0d63a202c13036cdb1995962e193332c50dd73585ab27449614de5995f874c03d8623ea27f967101aa99b15166d19a48f4cdaaea
 SHA512 
a6ae4db76358536e6e299ecfa923fd63746cba4bc5374fbfdeb4127032552c960d1e199fdf17d95b039ca2bd000325c637f663007cd6850313bc00bc9a2a3d68
 DIST curio-1.2.tar.gz 228413 BLAKE2B 
57dd4849a33ce8075b1f5409397abc727bb10b40d185864747d2e208b5d850286f9dc8784451d1ee8af4f28fcdb8b98d5a159a7563ae93fd30419e8938887ca3
 SHA512 
8a155f3d0c5512184ed4019edf5f33bfe7597ffdef1a6b19d82b42fe0317b80006d57658d69b422a320f49f9f1b6294faba6c042b7c4258538f001a9792acb8a
 DIST curio-1.4.tar.gz 230144 BLAKE2B 
befe36251e6e9ef39cc220d383d9195e7ed4126aafe64403598b857551fe54ef6fff293e9ddb802dc155c9c6264d9f7b86e7393786b7bd1da4ca8882716a5d77
 SHA512 
105fe0d3edea0310b98bb93e74ca750516d9f33e4f8c3866be3e92a582485baf885fd58b007fb33c3e24b4a8e73b532f20899ed106c4a6ac23f97b444c4b3ffc
+DIST curio-1.5.tar.gz 234920 BLAKE2B 
26e3c0de872d77478f433990f88f9ac35f9615621aadfcc7b8d766488ffe390fd4698854640792bda4e649fc0d1224fa7cb5bf89777268fee4349500a5365547
 SHA512 
8c78d866b949da862ddb29d6a8db6881d00dedb33637529d02d4e3010de0e1ecd15e74f52c011828738ac7d54e5f04425c8ffb43abaf1e77c21d28d874ff711b

diff --git a/dev-python/curio/curio-1.5.ebuild 
b/dev-python/curio/curio-1.5.ebuild
new file mode 100644
index ..47c09e07
--- /dev/null
+++ b/dev-python/curio/curio-1.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 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
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2020-12-06 Thread Alessandro Barbieri
commit: 9e2ba732a9a4175b69f8740214d926c041fe030c
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Dec  6 09:34:10 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Dec  6 09:40:08 2020 +
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  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 ..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
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2020-11-28 Thread Andrew Ammerlaan
commit: 6ff88f34a05a164235e940398d7c3e112bdd2e37
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sat Nov 28 13:36:32 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Nov 28 13:36:32 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ff88f34

dev-python/curio: fix missing digest

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/curio/Manifest | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/curio/Manifest b/dev-python/curio/Manifest
index f9b68ba3..22a96141 100644
--- a/dev-python/curio/Manifest
+++ b/dev-python/curio/Manifest
@@ -1,2 +1,3 @@
 DIST curio-0.9.tar.gz 482459 BLAKE2B 
7ef65d22806eb10ee3e757dc0d63a202c13036cdb1995962e193332c50dd73585ab27449614de5995f874c03d8623ea27f967101aa99b15166d19a48f4cdaaea
 SHA512 
a6ae4db76358536e6e299ecfa923fd63746cba4bc5374fbfdeb4127032552c960d1e199fdf17d95b039ca2bd000325c637f663007cd6850313bc00bc9a2a3d68
+DIST curio-1.2.tar.gz 228413 BLAKE2B 
57dd4849a33ce8075b1f5409397abc727bb10b40d185864747d2e208b5d850286f9dc8784451d1ee8af4f28fcdb8b98d5a159a7563ae93fd30419e8938887ca3
 SHA512 
8a155f3d0c5512184ed4019edf5f33bfe7597ffdef1a6b19d82b42fe0317b80006d57658d69b422a320f49f9f1b6294faba6c042b7c4258538f001a9792acb8a
 DIST curio-1.4.tar.gz 230144 BLAKE2B 
befe36251e6e9ef39cc220d383d9195e7ed4126aafe64403598b857551fe54ef6fff293e9ddb802dc155c9c6264d9f7b86e7393786b7bd1da4ca8882716a5d77
 SHA512 
105fe0d3edea0310b98bb93e74ca750516d9f33e4f8c3866be3e92a582485baf885fd58b007fb33c3e24b4a8e73b532f20899ed106c4a6ac23f97b444c4b3ffc



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2020-11-27 Thread Alessandro Barbieri
commit: a61bd46b0448725444d419ba91e93d5d4764a03a
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed May 20 02:15:34 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Nov 27 00:00:22 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a61bd46b

dev-python/curio: disable more tests

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

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

diff --git a/dev-python/curio/curio-1.2-r1.ebuild 
b/dev-python/curio/curio-1.2-r1.ebuild
new file mode 100644
index ..b1c54de9
--- /dev/null
+++ b/dev-python/curio/curio-1.2-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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_test() {
+   pytest -vv \
+   --deselect tests/test_network.py::test_ssl_outgoing \
+   --deselect 
tests/test_queue.py::test_uqueue_asyncio_consumer \
+   --deselect 
tests/test_sync.py::TestUniversalEvent::test_uevent_get_asyncio_set \
+   --deselect 
tests/test_sync.py::TestUniversalEvent::test_uevent_get_asyncio_wait \
+   --deselect tests/test_socket.py::test_tcp_echo \
+   --deselect tests/test_io.py::test_sendall_cancel \
+   || die
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2020-04-12 Thread Andrew Ammerlaan
commit: 749e850061c667ad4cd4cb767817d8bf281e3ed5
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Apr 12 15:41:34 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Apr 12 15:41:34 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=749e8500

dev-python/curio: version bump 1.2

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/curio/Manifest |  1 +
 dev-python/curio/curio-1.2.ebuild | 48 +++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/curio/Manifest b/dev-python/curio/Manifest
index 9d371fd..7f5647a 100644
--- a/dev-python/curio/Manifest
+++ b/dev-python/curio/Manifest
@@ -1 +1,2 @@
 DIST curio-0.9.tar.gz 482459 BLAKE2B 
7ef65d22806eb10ee3e757dc0d63a202c13036cdb1995962e193332c50dd73585ab27449614de5995f874c03d8623ea27f967101aa99b15166d19a48f4cdaaea
 SHA512 
a6ae4db76358536e6e299ecfa923fd63746cba4bc5374fbfdeb4127032552c960d1e199fdf17d95b039ca2bd000325c637f663007cd6850313bc00bc9a2a3d68
+DIST curio-1.2.tar.gz 228413 BLAKE2B 
57dd4849a33ce8075b1f5409397abc727bb10b40d185864747d2e208b5d850286f9dc8784451d1ee8af4f28fcdb8b98d5a159a7563ae93fd30419e8938887ca3
 SHA512 
8a155f3d0c5512184ed4019edf5f33bfe7597ffdef1a6b19d82b42fe0317b80006d57658d69b422a320f49f9f1b6294faba6c042b7c4258538f001a9792acb8a

diff --git a/dev-python/curio/curio-1.2.ebuild 
b/dev-python/curio/curio-1.2.ebuild
new file mode 100644
index 000..51ab363
--- /dev/null
+++ b/dev-python/curio/curio-1.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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:_&:' \
+   tests/test_sync.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2020-03-27 Thread Alessandro Barbieri
commit: 4976fd25f9f5afb0f2944bf8b0e927afb718d032
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Mar 27 17:51:48 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Mar 27 17:51:48 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4976fd25

dev-python/curio: longdescription, remotes

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/curio/curio-0.9.ebuild |  7 +--
 dev-python/curio/metadata.xml | 18 ++
 2 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/dev-python/curio/curio-0.9.ebuild 
b/dev-python/curio/curio-0.9.ebuild
index 52f0e6b..6c83181 100644
--- a/dev-python/curio/curio-0.9.ebuild
+++ b/dev-python/curio/curio-0.9.ebuild
@@ -7,8 +7,11 @@ PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
 
-DESCRIPTION="Concurrent I/O"
-HOMEPAGE="https://github.com/dabeaz/curio;
+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"

diff --git a/dev-python/curio/metadata.xml b/dev-python/curio/metadata.xml
index 628ab20..949f769 100644
--- a/dev-python/curio/metadata.xml
+++ b/dev-python/curio/metadata.xml
@@ -2,8 +2,18 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
 
-
-andrewammerl...@riseup.net
-Andrew Ammerlaan
-
+  
+andrewammerl...@riseup.net
+Andrew Ammerlaan
+  
+  
+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.
+  
+  
+dabeaz/curio
+curio
+  
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/curio/

2020-02-03 Thread Andrew Ammerlaan
commit: 0ad7b4a05dbca80171f3d81646a5859a2c7ed808
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Feb  3 17:43:44 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Feb  3 17:43:44 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0ad7b4a0

dev-python/curio: Concurrent I/O

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/curio/Manifest |  1 +
 dev-python/curio/curio-0.9.ebuild | 36 
 dev-python/curio/metadata.xml |  9 +
 3 files changed, 46 insertions(+)

diff --git a/dev-python/curio/Manifest b/dev-python/curio/Manifest
new file mode 100644
index 000..9d371fd
--- /dev/null
+++ b/dev-python/curio/Manifest
@@ -0,0 +1 @@
+DIST curio-0.9.tar.gz 482459 BLAKE2B 
7ef65d22806eb10ee3e757dc0d63a202c13036cdb1995962e193332c50dd73585ab27449614de5995f874c03d8623ea27f967101aa99b15166d19a48f4cdaaea
 SHA512 
a6ae4db76358536e6e299ecfa923fd63746cba4bc5374fbfdeb4127032552c960d1e199fdf17d95b039ca2bd000325c637f663007cd6850313bc00bc9a2a3d68

diff --git a/dev-python/curio/curio-0.9.ebuild 
b/dev-python/curio/curio-0.9.ebuild
new file mode 100644
index 000..52f0e6b
--- /dev/null
+++ b/dev-python/curio/curio-0.9.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Concurrent I/O"
+HOMEPAGE="https://github.com/dabeaz/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() {
+   # Contains hard coded path, fails in emerge
+   rm -r tests/__pycache__ || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+
+   distutils-r1_python_install_all
+}

diff --git a/dev-python/curio/metadata.xml b/dev-python/curio/metadata.xml
new file mode 100644
index 000..628ab20
--- /dev/null
+++ b/dev-python/curio/metadata.xml
@@ -0,0 +1,9 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+
+andrewammerl...@riseup.net
+Andrew Ammerlaan
+
+