Gentoo Archives: gentoo-commits

From: Viorel Munteanu <ceamac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/curio/
Date: Mon, 30 Jan 2023 10:29:36
Message-Id: 1675020454.7a696ec76166a20ece4ca8a14283b24f2c833624.ceamac@gentoo
1 commit: 7a696ec76166a20ece4ca8a14283b24f2c833624
2 Author: Julien Roy <julien <AT> jroy <DOT> ca>
3 AuthorDate: Sun Jan 29 19:27:34 2023 +0000
4 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 19:27:34 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a696ec7
7
8 dev-python/curio: add 1.6, drop 1.5
9
10 Closes: https://bugs.gentoo.org/848165
11 Signed-off-by: Julien Roy <julien <AT> jroy.ca>
12
13 dev-python/curio/Manifest | 2 +-
14 dev-python/curio/curio-1.5.ebuild | 50 ---------------------------------------
15 dev-python/curio/curio-1.6.ebuild | 27 +++++++++++++++++++++
16 dev-python/curio/metadata.xml | 22 ++++++++++-------
17 4 files changed, 42 insertions(+), 59 deletions(-)
18
19 diff --git a/dev-python/curio/Manifest b/dev-python/curio/Manifest
20 index 6e217e529..69cf93cf6 100644
21 --- a/dev-python/curio/Manifest
22 +++ b/dev-python/curio/Manifest
23 @@ -1 +1 @@
24 -DIST curio-1.5.tar.gz 234920 BLAKE2B 26e3c0de872d77478f433990f88f9ac35f9615621aadfcc7b8d766488ffe390fd4698854640792bda4e649fc0d1224fa7cb5bf89777268fee4349500a5365547 SHA512 8c78d866b949da862ddb29d6a8db6881d00dedb33637529d02d4e3010de0e1ecd15e74f52c011828738ac7d54e5f04425c8ffb43abaf1e77c21d28d874ff711b
25 +DIST curio-1.6.tar.gz 235660 BLAKE2B b09f0c5cf62a99efefd95727f5547cf4f02a8b921b52f21051acb206098886fec63123772b826efa1c2842291cbcf4225324e5d7a85b103caacf94035be741ec SHA512 480824a50055d170cc01e2ab28dc1b276df9ab8dfbd50f3c70fe6e3fe2a745b636a4717f7886463a1ed38d6fc357098239e1718e00c8f983369b72f4e5d20f17
26
27 diff --git a/dev-python/curio/curio-1.5.ebuild b/dev-python/curio/curio-1.5.ebuild
28 deleted file mode 100644
29 index f68f7b80d..000000000
30 --- a/dev-python/curio/curio-1.5.ebuild
31 +++ /dev/null
32 @@ -1,50 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{8,9} )
39 -DISTUTILS_USE_SETUPTOOLS=bdepend
40 -
41 -inherit distutils-r1
42 -
43 -DESCRIPTION="Curio is a coroutine-based library for concurrent systems programming"
44 -HOMEPAGE="
45 - https://github.com/dabeaz/curio
46 - https://pypi.org/project/curio/
47 -"
48 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
49 -
50 -IUSE="examples"
51 -
52 -LICENSE="BSD"
53 -KEYWORDS="~amd64 ~x86"
54 -SLOT="0"
55 -
56 -DEPEND="test? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
57 -
58 -distutils_enable_sphinx docs --no-autodoc
59 -distutils_enable_tests pytest
60 -
61 -python_prepare_all() {
62 - # requires internet connection
63 - sed -i -e 's:test_ssl_outgoing:_&:' \
64 - tests/test_network.py || die
65 -
66 - # AttributeError: module 'asyncio' has no attribute 'run'
67 - sed -i -e 's:test_uqueue_asyncio_consumer:_&:' \
68 - tests/test_queue.py || die
69 - sed -i -e 's:test_uevent_get_asyncio_set:_&:' \
70 - -e 's:test_uevent_get_asyncio_wait:_&:' \
71 - -e 's:test_universal_error:_&:' \
72 - -e 's:test_universal_value:_&:' \
73 - tests/test_sync.py || die
74 -
75 - distutils-r1_python_prepare_all
76 -}
77 -
78 -python_install_all() {
79 - use examples && dodoc -r examples
80 -
81 - distutils-r1_python_install_all
82 -}
83
84 diff --git a/dev-python/curio/curio-1.6.ebuild b/dev-python/curio/curio-1.6.ebuild
85 new file mode 100644
86 index 000000000..8482fd334
87 --- /dev/null
88 +++ b/dev-python/curio/curio-1.6.ebuild
89 @@ -0,0 +1,27 @@
90 +# Copyright 1999-2023 Gentoo Authors
91 +# Distributed under the terms of the GNU General Public License v2
92 +
93 +EAPI=7
94 +
95 +PYTHON_COMPAT=( python3_{9..11} )
96 +DISTUTILS_USE_PEP517=setuptools
97 +
98 +inherit distutils-r1
99 +
100 +DESCRIPTION="Curio is a coroutine-based library for concurrent systems programming"
101 +HOMEPAGE="
102 + https://github.com/dabeaz/curio
103 + https://pypi.org/project/curio/
104 +"
105 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
106 +
107 +IUSE="examples"
108 +
109 +LICENSE="BSD"
110 +KEYWORDS="~amd64 ~x86"
111 +SLOT="0"
112 +
113 +DEPEND="test? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
114 +
115 +distutils_enable_sphinx docs --no-autodoc
116 +distutils_enable_tests pytest
117
118 diff --git a/dev-python/curio/metadata.xml b/dev-python/curio/metadata.xml
119 index 6a58b1a32..0814446ba 100644
120 --- a/dev-python/curio/metadata.xml
121 +++ b/dev-python/curio/metadata.xml
122 @@ -1,16 +1,22 @@
123 <?xml version="1.0" encoding="UTF-8"?>
124 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
125 -
126 <pkgmetadata>
127 - <!-- maintainer-needed -->
128 - <longdescription lang="en">
129 + <!-- maintainer-needed -->
130 + <longdescription lang="en">
131 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
132 Core Features
133
134 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.
135 - </longdescription>
136 - <upstream>
137 - <remote-id type="github">dabeaz/curio</remote-id>
138 - <remote-id type="pypi">curio</remote-id>
139 - </upstream>
140 + </longdescription>
141 + <upstream>
142 + <maintainer>
143 + <name>David Beazley</name>
144 + <email>dave@××××××.com</email>
145 + </maintainer>
146 + <remote-id type="github">dabeaz/curio</remote-id>
147 + <remote-id type="pypi">curio</remote-id>
148 + <bugs-to>https://github.com/dabeaz/curio/issues</bugs-to>
149 + <changelog>https://github.com/dabeaz/curio/blob/master/CHANGES</changelog>
150 + <doc>https://curio.readthedocs.io/</doc>
151 + </upstream>
152 </pkgmetadata>