1 |
commit: e8c80965b6007cab60cbe2dbfb386699fef9de15 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Thu Jul 1 18:41:55 2021 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 1 18:42:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c80965 |
7 |
|
8 |
dev-python/happybase: new package |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/happybase/Manifest | 1 + |
15 |
.../happybase/happybase-0.9_p20210701.ebuild | 33 ++++++++++++++++++++++ |
16 |
dev-python/happybase/metadata.xml | 8 ++++++ |
17 |
3 files changed, 42 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/happybase/Manifest b/dev-python/happybase/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..6c1b0e3212c |
22 |
--- /dev/null |
23 |
+++ b/dev-python/happybase/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST happybase-0.9_p20210701.tar.gz 106551 BLAKE2B 66e39d8db10b8b7adbab5b77462560d50a2a494e1cd9b0411abd1c928cb4b630e42ca0cc6740c35cc9a3b65dab8e637df6ae6d4105665fa21fa7668324c82ec5 SHA512 b55028e6fe8b1087e835b01d373af6357ecc495e82badda6bd1641d1d7ef79d5ec72d3336ca7112b5b6886d28b4a6296336c96b83ce58740ea5802c4f11ab12e |
26 |
|
27 |
diff --git a/dev-python/happybase/happybase-0.9_p20210701.ebuild b/dev-python/happybase/happybase-0.9_p20210701.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0490d7a3842 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/happybase/happybase-0.9_p20210701.ebuild |
32 |
@@ -0,0 +1,33 @@ |
33 |
+# Copyright 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 |
+inherit distutils-r1 |
40 |
+ |
41 |
+COMMIT_HASH="f5b6d104140c2be93e4175c0c844aaf094eb43da" |
42 |
+ |
43 |
+DESCRIPTION="A developer-friendly Python library to interact with Apache HBase" |
44 |
+HOMEPAGE="https://github.com/python-happybase/happybase https://happybase.readthedocs.io/" |
45 |
+SRC_URI="https://github.com/python-happybase/happybase/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz" |
46 |
+S="${WORKDIR}/${PN}-${COMMIT_HASH}" |
47 |
+ |
48 |
+LICENSE="MIT Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/six[${PYTHON_USEDEP}] |
54 |
+ dev-python/thriftpy2[${PYTHON_USEDEP}] |
55 |
+" |
56 |
+ |
57 |
+# tests require a running thrift server |
58 |
+RESTRICT="test" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+python_prepare_all() { |
63 |
+ rm pytest.ini || die |
64 |
+ distutils-r1_python_prepare_all |
65 |
+} |
66 |
|
67 |
diff --git a/dev-python/happybase/metadata.xml b/dev-python/happybase/metadata.xml |
68 |
new file mode 100644 |
69 |
index 00000000000..cee379b1540 |
70 |
--- /dev/null |
71 |
+++ b/dev-python/happybase/metadata.xml |
72 |
@@ -0,0 +1,8 @@ |
73 |
+<?xml version="1.0" encoding="UTF-8"?> |
74 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
75 |
+<pkgmetadata> |
76 |
+ <maintainer type="person"> |
77 |
+ <email>chutzpah@g.o</email> |
78 |
+ <name>Patrick McLean</name> |
79 |
+ </maintainer> |
80 |
+</pkgmetadata> |