1 |
commit: 3c6d9a8d67b5077c6aa7c406bf224583db3e625d |
2 |
Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 24 17:57:35 2021 +0000 |
4 |
Commit: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Dec 24 18:02:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3c6d9a8d |
7 |
|
8 |
dev-python/stone: add new v3.2.1 |
9 |
|
10 |
depedency of net-misc/maestral |
11 |
|
12 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
13 |
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com> |
14 |
|
15 |
dev-python/stone/Manifest | 1 + |
16 |
dev-python/stone/metadata.xml | 12 ++++++++++++ |
17 |
dev-python/stone/stone-3.2.1.ebuild | 34 ++++++++++++++++++++++++++++++++++ |
18 |
3 files changed, 47 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/stone/Manifest b/dev-python/stone/Manifest |
21 |
new file mode 100644 |
22 |
index 000000000..34da4bbdb |
23 |
--- /dev/null |
24 |
+++ b/dev-python/stone/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST stone-3.2.1.tar.gz 280856 BLAKE2B 496d235c9afa4723d2e705425c243ffcae1550cf1b9cb1950a72401b61b064fa0922e0a3fa4c3ff0bdbcb483872054024b1ceb8ea4d8ff320309d2d7f05b4f81 SHA512 446ad0aefd839795b66d65e18c54d79e91f3927558167631f26a35d749ccb433c587e33a15c1dca4dbfe4320c062fc4e09d5cd3c5d4a60465b208ed553649b74 |
27 |
|
28 |
diff --git a/dev-python/stone/metadata.xml b/dev-python/stone/metadata.xml |
29 |
new file mode 100644 |
30 |
index 000000000..e15fed67c |
31 |
--- /dev/null |
32 |
+++ b/dev-python/stone/metadata.xml |
33 |
@@ -0,0 +1,12 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+<maintainer type="person"> |
38 |
+ <email>ceamac.paragon@×××××.com</email> |
39 |
+ <description>Primary maintainer</description> |
40 |
+</maintainer> |
41 |
+<upstream> |
42 |
+ <remote-id type="github">dropbox/stone</remote-id> |
43 |
+ <remote-id type="pypi">stone</remote-id> |
44 |
+</upstream> |
45 |
+</pkgmetadata> |
46 |
|
47 |
diff --git a/dev-python/stone/stone-3.2.1.ebuild b/dev-python/stone/stone-3.2.1.ebuild |
48 |
new file mode 100644 |
49 |
index 000000000..fc13779a7 |
50 |
--- /dev/null |
51 |
+++ b/dev-python/stone/stone-3.2.1.ebuild |
52 |
@@ -0,0 +1,34 @@ |
53 |
+# Copyright 2021 Gentoo Authors |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=8 |
57 |
+ |
58 |
+PYTHON_COMPAT=( python3_{8..10} ) |
59 |
+ |
60 |
+inherit distutils-r1 |
61 |
+ |
62 |
+DESCRIPTION="The Official Api Spec Language for Dropbox" |
63 |
+HOMEPAGE="https://www.dropbox.com/developers" |
64 |
+SRC_URI="https://github.com/dropbox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
65 |
+ |
66 |
+LICENSE="MIT" |
67 |
+SLOT="0" |
68 |
+KEYWORDS="~amd64" |
69 |
+ |
70 |
+DEPEND=" |
71 |
+ >=dev-python/ply-3.4[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/six-1.3.0[${PYTHON_USEDEP}] |
73 |
+" |
74 |
+RDEPEND="${DEPEND}" |
75 |
+BDEPEND=" |
76 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
77 |
+" |
78 |
+ |
79 |
+distutils_enable_tests pytest |
80 |
+ |
81 |
+python_prepare_all() { |
82 |
+ # Don't run tests via setup.py pytest |
83 |
+ sed -i "s/'pytest-runner',//" setup.py || die |
84 |
+ |
85 |
+ distutils-r1_python_prepare_all |
86 |
+} |