blob: 8ad8a83280cf42f6fdc0c89b34a0f28e80e46392 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
|
# Maintainer: devome <evinedeng@hotmail.com>
pkgbase=opentelemetry-python-contrib
pkgver=0.49b1
pkgrel=1
arch=("any")
_url="https://github.com/open-telemetry/${pkgbase}"
license=("Apache-2.0")
makedepends=('python-build' 'python-hatchling' 'python-installer' 'python-setuptools' 'python-wheel')
source=("${pkgbase}-${pkgver}.tar.gz::${_url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('c8a07007d845f9ad05d20acc981a0f3c0c13a83c99863baf04d1c08ede3dbbe2')
# run './geninfo.sh' to generate following variables
pkgname=(
"python-opentelemetry-contrib-instrumentations"
"python-opentelemetry-distro"
"python-opentelemetry-exporter-prometheus-remote-write"
"python-opentelemetry-exporter-richconsole"
"python-opentelemetry-instrumentation"
"python-opentelemetry-instrumentation-aio-pika"
"python-opentelemetry-instrumentation-aiohttp-client"
"python-opentelemetry-instrumentation-aiohttp-server"
"python-opentelemetry-instrumentation-aiokafka"
"python-opentelemetry-instrumentation-aiopg"
"python-opentelemetry-instrumentation-asgi"
"python-opentelemetry-instrumentation-asyncio"
"python-opentelemetry-instrumentation-asyncpg"
"python-opentelemetry-instrumentation-aws-lambda"
"python-opentelemetry-instrumentation-boto"
"python-opentelemetry-instrumentation-boto3sqs"
"python-opentelemetry-instrumentation-botocore"
"python-opentelemetry-instrumentation-cassandra"
"python-opentelemetry-instrumentation-celery"
"python-opentelemetry-instrumentation-confluent-kafka"
"python-opentelemetry-instrumentation-dbapi"
"python-opentelemetry-instrumentation-django"
"python-opentelemetry-instrumentation-elasticsearch"
"python-opentelemetry-instrumentation-falcon"
"python-opentelemetry-instrumentation-fastapi"
"python-opentelemetry-instrumentation-flask"
"python-opentelemetry-instrumentation-grpc"
"python-opentelemetry-instrumentation-httpx"
"python-opentelemetry-instrumentation-jinja2"
"python-opentelemetry-instrumentation-kafka-python"
"python-opentelemetry-instrumentation-logging"
"python-opentelemetry-instrumentation-mysql"
"python-opentelemetry-instrumentation-mysqlclient"
"python-opentelemetry-instrumentation-openai-v2"
"python-opentelemetry-instrumentation-pika"
"python-opentelemetry-instrumentation-psycopg"
"python-opentelemetry-instrumentation-psycopg2"
"python-opentelemetry-instrumentation-pymemcache"
"python-opentelemetry-instrumentation-pymongo"
"python-opentelemetry-instrumentation-pymysql"
"python-opentelemetry-instrumentation-pyramid"
"python-opentelemetry-instrumentation-redis"
"python-opentelemetry-instrumentation-remoulade"
"python-opentelemetry-instrumentation-requests"
"python-opentelemetry-instrumentation-sqlalchemy"
"python-opentelemetry-instrumentation-sqlite3"
"python-opentelemetry-instrumentation-starlette"
"python-opentelemetry-instrumentation-system-metrics"
"python-opentelemetry-instrumentation-threading"
"python-opentelemetry-instrumentation-tornado"
"python-opentelemetry-instrumentation-tortoiseorm"
"python-opentelemetry-instrumentation-urllib"
"python-opentelemetry-instrumentation-urllib3"
"python-opentelemetry-instrumentation-wsgi"
"python-opentelemetry-processor-baggage"
"python-opentelemetry-propagator-aws-xray"
"python-opentelemetry-propagator-ot-trace"
"python-opentelemetry-resource-detector-azure"
"python-opentelemetry-resource-detector-container"
"python-opentelemetry-sdk-extension-aws"
"python-opentelemetry-util-http"
)
_pkgdescs=(
"OpenTelemetry Contrib Instrumentation Packages"
"OpenTelemetry Python Distro"
"Prometheus Remote Write Metrics Exporter for OpenTelemetry"
"Rich Console Exporter for OpenTelemetry"
"Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python"
"OpenTelemetry Aio-pika instrumentation"
"OpenTelemetry aiohttp client instrumentation"
"Aiohttp server instrumentation for OpenTelemetry"
"OpenTelemetry aiokafka instrumentation"
"OpenTelemetry aiopg instrumentation"
"ASGI instrumentation for OpenTelemetry"
"OpenTelemetry instrumentation for asyncio"
"OpenTelemetry instrumentation for AsyncPG"
"OpenTelemetry AWS Lambda instrumentation"
"OpenTelemetry Boto instrumentation"
"Boto3 SQS service tracing for OpenTelemetry"
"OpenTelemetry Botocore instrumentation"
"OpenTelemetry Cassandra instrumentation"
"OpenTelemetry Celery Instrumentation"
"OpenTelemetry Confluent Kafka instrumentation"
"OpenTelemetry Database API instrumentation"
"OpenTelemetry Instrumentation for Django"
"OpenTelemetry elasticsearch instrumentation"
"Falcon instrumentation for OpenTelemetry"
"OpenTelemetry FastAPI Instrumentation"
"Flask instrumentation for OpenTelemetry"
"OpenTelemetry gRPC instrumentation"
"OpenTelemetry HTTPX Instrumentation"
"OpenTelemetry jinja2 instrumentation"
"OpenTelemetry Kafka-Python instrumentation"
"OpenTelemetry Logging instrumentation"
"OpenTelemetry MySQL instrumentation"
"OpenTelemetry mysqlclient instrumentation"
"OpenTelemetry Official OpenAI instrumentation"
"OpenTelemetry pika instrumentation"
"OpenTelemetry psycopg instrumentation"
"OpenTelemetry psycopg2 instrumentation"
"OpenTelemetry pymemcache instrumentation"
"OpenTelemetry pymongo instrumentation"
"OpenTelemetry PyMySQL instrumentation"
"OpenTelemetry Pyramid instrumentation"
"OpenTelemetry Redis instrumentation"
"OpenTelemetry Remoulade instrumentation"
"OpenTelemetry requests instrumentation"
"OpenTelemetry SQLAlchemy instrumentation"
"OpenTelemetry SQLite3 instrumentation"
"OpenTelemetry Starlette Instrumentation"
"OpenTelemetry System Metrics Instrumentation"
"Thread context propagation support for OpenTelemetry"
"Tornado instrumentation for OpenTelemetry"
"OpenTelemetry Instrumentation for Tortoise ORM"
"OpenTelemetry urllib instrumentation"
"OpenTelemetry urllib3 instrumentation"
"WSGI Middleware for OpenTelemetry"
"OpenTelemetry Baggage Span Processor"
"AWS X-Ray Propagator for OpenTelemetry"
"OT Trace Propagator for OpenTelemetry"
"Azure Resource Detector for OpenTelemetry"
"Container Resource Detector for OpenTelemetry"
"AWS SDK extension for OpenTelemetry"
"Web util for OpenTelemetry"
)
_urls=(
"${_url}/tree/main/opentelemetry-contrib-instrumentations"
"${_url}/tree/main/opentelemetry-distro"
"${_url}/tree/main/exporter/opentelemetry-exporter-prometheus-remote-write"
"${_url}/tree/main/exporter/opentelemetry-exporter-richconsole"
"${_url}/tree/main/opentelemetry-instrumentation"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-aio-pika"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-aiohttp-client"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-aiohttp-server"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-aiokafka"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-aiopg"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-asgi"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-asyncio"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-asyncpg"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-aws-lambda"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-boto"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-boto3sqs"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-botocore"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-cassandra"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-celery"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-confluent-kafka"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-dbapi"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-django"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-elasticsearch"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-falcon"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-fastapi"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-flask"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-grpc"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-httpx"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-jinja2"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-kafka-python"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-logging"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-mysql"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-mysqlclient"
"${_url}/tree/main/instrumentation-genai/opentelemetry-instrumentation-openai-v2"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-pika"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-psycopg"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-psycopg2"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-pymemcache"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-pymongo"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-pymysql"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-pyramid"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-redis"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-remoulade"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-requests"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-sqlalchemy"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-sqlite3"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-starlette"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-system-metrics"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-threading"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-tornado"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-tortoiseorm"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-urllib"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-urllib3"
"${_url}/tree/main/instrumentation/opentelemetry-instrumentation-wsgi"
"${_url}/tree/main/processor/opentelemetry-processor-baggage"
"${_url}/tree/main/propagator/opentelemetry-propagator-aws-xray"
"${_url}/tree/main/propagator/opentelemetry-propagator-ot-trace"
"${_url}/tree/main/resource/opentelemetry-resource-detector-azure"
"${_url}/tree/main/resource/opentelemetry-resource-detector-container"
"${_url}/tree/main/sdk-extension/opentelemetry-sdk-extension-aws"
"${_url}/tree/main/util/opentelemetry-util-http"
)
_depends=(
"python-opentelemetry-instrumentation-aio-pika python-opentelemetry-instrumentation-aiohttp-client python-opentelemetry-instrumentation-aiohttp-server python-opentelemetry-instrumentation-aiokafka python-opentelemetry-instrumentation-aiopg python-opentelemetry-instrumentation-asgi python-opentelemetry-instrumentation-asyncio python-opentelemetry-instrumentation-asyncpg python-opentelemetry-instrumentation-aws-lambda python-opentelemetry-instrumentation-boto python-opentelemetry-instrumentation-boto3sqs python-opentelemetry-instrumentation-botocore python-opentelemetry-instrumentation-cassandra python-opentelemetry-instrumentation-celery python-opentelemetry-instrumentation-confluent-kafka python-opentelemetry-instrumentation-dbapi python-opentelemetry-instrumentation-django python-opentelemetry-instrumentation-elasticsearch python-opentelemetry-instrumentation-falcon python-opentelemetry-instrumentation-fastapi python-opentelemetry-instrumentation-flask python-opentelemetry-instrumentation-grpc python-opentelemetry-instrumentation-httpx python-opentelemetry-instrumentation-jinja2 python-opentelemetry-instrumentation-kafka-python python-opentelemetry-instrumentation-logging python-opentelemetry-instrumentation-mysql python-opentelemetry-instrumentation-mysqlclient python-opentelemetry-instrumentation-pika python-opentelemetry-instrumentation-psycopg python-opentelemetry-instrumentation-psycopg2 python-opentelemetry-instrumentation-pymemcache python-opentelemetry-instrumentation-pymongo python-opentelemetry-instrumentation-pymysql python-opentelemetry-instrumentation-pyramid python-opentelemetry-instrumentation-redis python-opentelemetry-instrumentation-remoulade python-opentelemetry-instrumentation-requests python-opentelemetry-instrumentation-sqlalchemy python-opentelemetry-instrumentation-sqlite3 python-opentelemetry-instrumentation-starlette python-opentelemetry-instrumentation-system-metrics python-opentelemetry-instrumentation-threading python-opentelemetry-instrumentation-tornado python-opentelemetry-instrumentation-tortoiseorm python-opentelemetry-instrumentation-urllib python-opentelemetry-instrumentation-urllib3 python-opentelemetry-instrumentation-wsgi"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-sdk"
"python-opentelemetry-api python-opentelemetry-sdk python-protobuf python-requests python-snappy"
"python-opentelemetry-api python-opentelemetry-sdk python-opentelemetry-semantic-conventions python-rich"
"python-opentelemetry-api python-opentelemetry-semantic-conventions python-packaging python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-opentelemetry-util-http python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-opentelemetry-util-http python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-dbapi python-wrapt"
"python-asgiref python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-opentelemetry-util-http"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions"
"python-opentelemetry-instrumentation python-opentelemetry-propagator-aws-xray python-opentelemetry-semantic-conventions"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-propagator-aws-xray python-opentelemetry-semantic-conventions"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions"
"python-opentelemetry-api python-opentelemetry-instrumentation python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-wsgi python-opentelemetry-semantic-conventions python-opentelemetry-util-http"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-wsgi python-opentelemetry-semantic-conventions python-opentelemetry-util-http python-packaging"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-asgi python-opentelemetry-semantic-conventions python-opentelemetry-util-http"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-wsgi python-opentelemetry-semantic-conventions python-opentelemetry-util-http python-packaging"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-opentelemetry-util-http python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions"
"python-opentelemetry-api python-opentelemetry-instrumentation"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-dbapi"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-dbapi"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions"
"python-opentelemetry-api python-opentelemetry-instrumentation python-packaging python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-dbapi"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-dbapi"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-dbapi"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-wsgi python-opentelemetry-semantic-conventions python-opentelemetry-util-http python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-opentelemetry-util-http"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-packaging python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-dbapi"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-instrumentation-asgi python-opentelemetry-semantic-conventions python-opentelemetry-util-http"
"python-opentelemetry-api python-opentelemetry-instrumentation python-psutil"
"python-opentelemetry-api python-opentelemetry-instrumentation python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-opentelemetry-util-http"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-opentelemetry-util-http"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-opentelemetry-util-http python-wrapt"
"python-opentelemetry-api python-opentelemetry-instrumentation python-opentelemetry-semantic-conventions python-opentelemetry-util-http"
"python-opentelemetry-api python-opentelemetry-sdk python-wrapt"
"python-opentelemetry-api"
"python-opentelemetry-api python-opentelemetry-sdk"
"python-opentelemetry-instrumentation python-opentelemetry-sdk"
"python-opentelemetry-sdk"
"python-opentelemetry-sdk"
""
)
_optdepends=(
""
"python-opentelemetry-exporter-otlp"
""
""
""
"python-aio-pika"
"python-aiohttp"
"python-aiohttp"
"python-aiokafka"
"python-aiopg"
"python-asgiref"
""
"python-asyncpg"
""
"python-boto"
"python-boto3"
"python-botocore"
"python-cassandra-driver python-scylla-driver"
"python-celery"
"python-confluent-kafka"
""
"python-django python-opentelemetry-instrumentation-asgi"
"python-elasticsearch"
"python-falcon"
"python-fastapi"
"python-flask"
"python-grpcio"
"python-httpx"
"python-jinja2"
"python-kafka python-kafka-ng"
""
"python-mysql-connector"
"python-mysqlclient"
"python-openai"
"python-pika"
"python-psycopg"
"python-psycopg2"
"python-pymemcache"
"python-pymongo"
"python-pymysql"
"python-pyramid"
"python-redis"
"python-remoulade"
"python-requests"
"python-sqlalchemy"
""
"python-starlette"
"python-psutil"
""
"python-tornado"
"python-pydantic python-tortoise-orm"
""
"python-urllib3"
""
""
""
""
""
""
""
""
)
_get_dirname() {
case $1 in
opentelemetry-exporter-*) echo "exporter/";;
opentelemetry-instrumentation-openai-*) echo "instrumentation-genai/";;
opentelemetry-instrumentation-*) echo "instrumentation/";;
opentelemetry-processor-*) echo "processor/";;
opentelemetry-propagator-*) echo "propagator/";;
opentelemetry-resource-*) echo "resource/";;
opentelemetry-sdk-extension-*) echo "sdk-extension/";;
opentelemetry-util-*) echo "util/";;
*) ;;
esac
}
build() {
for ((i=0; i<${#pkgname[@]}; i++)); do
_pkgname="${pkgname[i]#*-}"
_dirname=$(_get_dirname "${_pkgname}")
python -m build --wheel --no-isolation "${pkgbase}-${pkgver}/${_dirname}${_pkgname}"
done
}
main() {
for ((i=0; i<${#pkgname[@]}; i++)); do
_pkgname="${pkgname[i]#*-}"
_dirname=$(_get_dirname ${_pkgname})
eval "package_python-${_pkgname}() {
pkgdesc=\"${_pkgdescs[i]}\"
url=\"${_urls[i]}\"
depends=(${_depends[i]})
optdepends=(${_optdepends[i]})
cd \"${pkgbase}-${pkgver}/${_dirname}${_pkgname}\"
python -m installer --destdir=\"\${pkgdir}\" dist/*.whl
}"
done
}
main
|