1 |
commit: a562070b92ebe7a297623983cd7c7c8103199f1e |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jun 29 03:08:41 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Jun 29 03:25:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a562070b |
7 |
|
8 |
dev-python/bson: initial import |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/bson/Manifest | 1 + |
13 |
dev-python/bson/bson-0.5.8.ebuild | 29 +++++++++++++++++++++++++++++ |
14 |
dev-python/bson/metadata.xml | 14 ++++++++++++++ |
15 |
3 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/bson/Manifest b/dev-python/bson/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..b9926ce14 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/bson/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST bson-0.5.8.tar.gz 24114 BLAKE2B e35055dcd3c8b1cf77ec9d9496d32d4bca4e9ab31ecf79399a8449c459d1b5e67375bd88743175f1450311519b55cbca8c11a8da736ba87907e1497b5a94b363 SHA512 68bd69d1f5d0d11014d51c0901e7f44b7a3d9f7ad013af4137b7ac48bc42f81bd1423115b67939beedf6e7336794e7ffd4d0d539222d4eaa50845ae25622f21a |
24 |
|
25 |
diff --git a/dev-python/bson/bson-0.5.8.ebuild b/dev-python/bson/bson-0.5.8.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..f3a396140 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/bson/bson-0.5.8.ebuild |
30 |
@@ -0,0 +1,29 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Independent BSON codec for Python that doesn’t depend on MongoDB" |
41 |
+HOMEPAGE="https://github.com/py-bson/bson" |
42 |
+SRC_URI="https://github.com/py-bson/bson/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64" |
47 |
+ |
48 |
+IUSE="test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ >=dev-python/python-dateutil-2.4.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+RDEPEND="${DEPEND}" |
56 |
+ |
57 |
+python_test() { |
58 |
+ "${EPYTHON}" test.py || die |
59 |
+} |
60 |
|
61 |
diff --git a/dev-python/bson/metadata.xml b/dev-python/bson/metadata.xml |
62 |
new file mode 100644 |
63 |
index 000000000..6798dda1a |
64 |
--- /dev/null |
65 |
+++ b/dev-python/bson/metadata.xml |
66 |
@@ -0,0 +1,14 @@ |
67 |
+<?xml version="1.0" encoding="UTF-8"?> |
68 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
69 |
+<pkgmetadata> |
70 |
+ <maintainer type="person"> |
71 |
+ <description>co-maintainers welcome</description> |
72 |
+ <email>lssndrbarbieri@×××××.com</email> |
73 |
+ <name>Alessandro Barbieri</name> |
74 |
+ </maintainer> |
75 |
+ <upstream> |
76 |
+ <bugs-to>https://github.com/py-bson/bson/issues</bugs-to> |
77 |
+ <remote-id type="github">py-bson/bson</remote-id> |
78 |
+ <remote-id type="pypi">bson</remote-id> |
79 |
+ </upstream> |
80 |
+</pkgmetadata> |