1 |
commit: 6a198e14ecb955caf89346c567f22a290abe06b2 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 31 23:51:29 2019 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 31 23:52:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a198e14 |
7 |
|
8 |
dev-vcs/python-gitlab: python command line interface to the gitlab API |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.12 |
12 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
13 |
|
14 |
dev-vcs/python-gitlab/Manifest | 1 + |
15 |
dev-vcs/python-gitlab/metadata.xml | 8 +++++ |
16 |
dev-vcs/python-gitlab/python-gitlab-1.7.0.ebuild | 41 ++++++++++++++++++++++++ |
17 |
3 files changed, 50 insertions(+) |
18 |
|
19 |
diff --git a/dev-vcs/python-gitlab/Manifest b/dev-vcs/python-gitlab/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..e05c6e1a3b6 |
22 |
--- /dev/null |
23 |
+++ b/dev-vcs/python-gitlab/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST python-gitlab-1.7.0.tar.gz 110657 BLAKE2B 1003d3373d3ef5474b1d5c10b1c6af57e7467cec432fc1eb75b4e1ba7766361641f25461ac2bf1b7692dab855d4e5cbc204240ede3568e71ed1af75682807fb0 SHA512 ad50d989e27948ff5188f4191ad3b7f1e1b45608627b2042bf02d635b2aa8da0a24f6b0383f483a01df54e4ab14576e7e4252576b9c2bdf67a187ae6aad69d53 |
26 |
|
27 |
diff --git a/dev-vcs/python-gitlab/metadata.xml b/dev-vcs/python-gitlab/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000000..c36c37139fa |
30 |
--- /dev/null |
31 |
+++ b/dev-vcs/python-gitlab/metadata.xml |
32 |
@@ -0,0 +1,8 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>williamh@g.o</email> |
38 |
+ <name>William Hubbs</name> |
39 |
+ </maintainer> |
40 |
+</pkgmetadata> |
41 |
|
42 |
diff --git a/dev-vcs/python-gitlab/python-gitlab-1.7.0.ebuild b/dev-vcs/python-gitlab/python-gitlab-1.7.0.ebuild |
43 |
new file mode 100644 |
44 |
index 00000000000..2ee27c73fd0 |
45 |
--- /dev/null |
46 |
+++ b/dev-vcs/python-gitlab/python-gitlab-1.7.0.ebuild |
47 |
@@ -0,0 +1,41 @@ |
48 |
+# Copyright 1999-2019 Gentoo Authors |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+ |
51 |
+EAPI=7 |
52 |
+PYTHON_COMPAT=( python3_{5,6} ) |
53 |
+ |
54 |
+if [[ ${PV} = *9999* ]]; then |
55 |
+ EGIT_REPO_URI="https://github.com/python-gitlab/python-gitlab" |
56 |
+ inherit git-r3 |
57 |
+else |
58 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
59 |
+ KEYWORDS="~amd64" |
60 |
+fi |
61 |
+ |
62 |
+inherit distutils-r1 |
63 |
+ |
64 |
+DESCRIPTION="Python command line interface to gitlab API" |
65 |
+HOMEPAGE="https://github.com/python-gitlab/python-gitlab/" |
66 |
+ |
67 |
+LICENSE="LGPL-3" |
68 |
+SLOT="0" |
69 |
+IUSE="test" |
70 |
+ |
71 |
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
72 |
+ test? ( |
73 |
+ dev-python/testrepository[${PYTHON_USEDEP}] |
74 |
+ dev-python/hacking[${PYTHON_USEDEP}] |
75 |
+ dev-python/httmock[${PYTHON_USEDEP}] |
76 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
77 |
+ dev-python/mock[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/sphinx-1.3 |
79 |
+ dev-python/sphinx_rtd_theme )" |
80 |
+ |
81 |
+RDEPEND="dev-python/requests[${PYTHON_USEDEP}] |
82 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
83 |
+ dev-python/six[${PYTHON_USEDEP}]" |
84 |
+ |
85 |
+python_install_all() { |
86 |
+ distutils-r1_python_install_all |
87 |
+ dodoc -r *.rst docs |
88 |
+} |