1 |
commit: 9693bd3886aebe34b394b7b2ae6b4bf7aeea2847 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Fri Nov 4 05:09:17 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 4 06:33:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9693bd38 |
7 |
|
8 |
dev-python/azure-core: new package, add 1.26.1 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-python/azure-core/Manifest | 1 + |
13 |
dev-python/azure-core/azure-core-1.26.1.ebuild | 47 ++++++++++++++++++++++++++ |
14 |
dev-python/azure-core/metadata.xml | 11 ++++++ |
15 |
3 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/azure-core/Manifest b/dev-python/azure-core/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..5bcbdfcfb |
20 |
--- /dev/null |
21 |
+++ b/dev-python/azure-core/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST azure-core-1.26.1.zip 366521 BLAKE2B 538aa1699bc708744800f98391d4913f3bed561718f9143394d4f6b7cbe18097054e941882f6237e9c8fef2d218c955f3b0a8c2cb23e51121c05cb5437afd4f9 SHA512 dcddf28bdbac913e66640adb7c511c74e4597756c444d2ef43fb82d5348eae391544715cbe95600d8caec9afcfe8ab5d20b9b33c49b8fd026b8f0f7657cae931 |
24 |
|
25 |
diff --git a/dev-python/azure-core/azure-core-1.26.1.ebuild b/dev-python/azure-core/azure-core-1.26.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..b2487e710 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/azure-core/azure-core-1.26.1.ebuild |
30 |
@@ -0,0 +1,47 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+inherit distutils-r1 optfeature |
39 |
+ |
40 |
+DESCRIPTION="Microsoft Azure Core Library for Python" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/azure-core/ |
43 |
+ https://github.com/Azure/azure-sdk-for-python |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/requests[${PYTHON_USEDEP}] |
54 |
+ dev-python/six[${PYTHON_USEDEP}] |
55 |
+ dev-python/typing-extensions[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+BDEPEND="app-arch/unzip" |
58 |
+# TODO: package azure-sdk-tools |
59 |
+#BDEPEND=" |
60 |
+# app-arch/unzip |
61 |
+# test? ( |
62 |
+# dev-python/aiohttp[${PYTHON_USEDEP}] |
63 |
+# dev-python/azure-sdk-tools[${PYTHON_USEDEP}] |
64 |
+# dev-python/flask[${PYTHON_USEDEP}] |
65 |
+# dev-python/msrest[${PYTHON_USEDEP}] |
66 |
+# dev-python/pytest-trio[${PYTHON_USEDEP}] |
67 |
+# dev-python/requests[${PYTHON_USEDEP}] |
68 |
+# ) |
69 |
+#" |
70 |
+ |
71 |
+DOCS=( {CHANGELOG,CLIENT_LIBRARY_DEVELOPER,README}.md ) |
72 |
+ |
73 |
+distutils_enable_tests pytest |
74 |
+ |
75 |
+pkg_postinst() { |
76 |
+ optfeature "aio support" dev-python/aiohttp |
77 |
+} |
78 |
|
79 |
diff --git a/dev-python/azure-core/metadata.xml b/dev-python/azure-core/metadata.xml |
80 |
new file mode 100644 |
81 |
index 000000000..2d0b0b281 |
82 |
--- /dev/null |
83 |
+++ b/dev-python/azure-core/metadata.xml |
84 |
@@ -0,0 +1,11 @@ |
85 |
+<?xml version="1.0" encoding="UTF-8"?> |
86 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
87 |
+<pkgmetadata> |
88 |
+ <maintainer type="person"> |
89 |
+ <email>cyber+gentoo@×××××.in</email> |
90 |
+ <name>Anna</name> |
91 |
+ </maintainer> |
92 |
+ <upstream> |
93 |
+ <remote-id type="pypi">azure-core</remote-id> |
94 |
+ </upstream> |
95 |
+</pkgmetadata> |