1 |
commit: 4b6aede9bf1bd193903c5ad357587224c50560e6 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 8 23:59:01 2020 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 9 00:50:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b6aede9 |
7 |
|
8 |
dev-python/cbor2: New pkg, new dep of dev-python/autobahn-20.4.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org> |
12 |
|
13 |
dev-python/cbor2/Manifest | 1 + |
14 |
dev-python/cbor2/cbor2-5.1.0.ebuild | 30 ++++++++++++++++++++++++++++++ |
15 |
dev-python/cbor2/metadata.xml | 23 +++++++++++++++++++++++ |
16 |
3 files changed, 54 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..bb524addff1 |
21 |
--- /dev/null |
22 |
+++ b/dev-python/cbor2/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST cbor2-5.1.0.tar.gz 72328 BLAKE2B 22737f1ce152eb356fc937199ba83e9558b68900f8183ee8acca52312fa56499812d6b26aaaa629b6e2cfacbdfbb72f65cb7fcbe93a010320aff94aec8dc3978 SHA512 0df4f0c5609ae8d73627a64ee1544af88461b2bf829538f23d912138cf47ae8d03193644c7315e2a77318e58fd2bd61c4cb103d94ed0710db0ae5c2cf4df60b7 |
25 |
|
26 |
diff --git a/dev-python/cbor2/cbor2-5.1.0.ebuild b/dev-python/cbor2/cbor2-5.1.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..0a40842019e |
29 |
--- /dev/null |
30 |
+++ b/dev-python/cbor2/cbor2-5.1.0.ebuild |
31 |
@@ -0,0 +1,30 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Pure Python CBOR (de)serializer with extensive tag support" |
41 |
+HOMEPAGE="https://github.com/agronholm/cbor2 https://pypi.org/project/cbor2/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+IUSE="test" |
45 |
+RESTRICT="!test? ( test )" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
50 |
+ |
51 |
+DEPENDS=" |
52 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
53 |
+ test? ( |
54 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
55 |
+ dev-python/pytest-cov[${PYTHON_USEDEP}] |
56 |
+ ) |
57 |
+" |
58 |
+ |
59 |
+RDEPEND="${DEPEND}" |
60 |
+ |
61 |
+distutils_enable_tests pytest |
62 |
|
63 |
diff --git a/dev-python/cbor2/metadata.xml b/dev-python/cbor2/metadata.xml |
64 |
new file mode 100644 |
65 |
index 00000000000..77d7b556b44 |
66 |
--- /dev/null |
67 |
+++ b/dev-python/cbor2/metadata.xml |
68 |
@@ -0,0 +1,23 @@ |
69 |
+<?xml version="1.0" encoding="UTF-8"?> |
70 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
71 |
+<pkgmetadata> |
72 |
+ <maintainer type="person"> |
73 |
+ <email>dolsen@g.o</email> |
74 |
+ <name>Brian Dolbec</name> |
75 |
+ </maintainer> |
76 |
+ <upstream> |
77 |
+ <maintainer> |
78 |
+ <email>bolson@××××××.org</email> |
79 |
+ <name>Brian Olson</name> |
80 |
+ </maintainer> |
81 |
+ <remote-id type="pypi">cbor</remote-id> |
82 |
+ <remote-id type="bitbucket">bodhisnarkva/cbor</remote-id> |
83 |
+ </upstream> |
84 |
+ <longdescription>This library provides encoding and decoding for the |
85 |
+Concise Binary Object Representation (CBOR) (RFC 7049) serialization format. |
86 |
+It is implemented in pure python with an optional C backend and is compatible |
87 |
+with versions 2.7 through to 3.8. On cPython>=3.3 cbor2 can use a built in C |
88 |
+module for performance similar to how pickle wraps the _pickle C module in the |
89 |
+Python Standard Library. |
90 |
+ </longdescription> |
91 |
+</pkgmetadata> |