1 |
commit: c65e34e766679f824caf87ca20c4250f06a353ea |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Dec 2 01:22:30 2020 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Dec 2 01:44:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c65e34e7 |
7 |
|
8 |
dev-python/oscrypto: |
9 |
|
10 |
Package-Manager: Portage-3.0.10, Repoman-3.0.2 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
dev-python/oscrypto/Manifest | 1 + |
14 |
dev-python/oscrypto/metadata.xml | 8 ++++++++ |
15 |
dev-python/oscrypto/oscrypto-1.2.1.ebuild | 34 +++++++++++++++++++++++++++++++ |
16 |
3 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/oscrypto/Manifest b/dev-python/oscrypto/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000..91f0a66c |
21 |
--- /dev/null |
22 |
+++ b/dev-python/oscrypto/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST oscrypto-1.2.1.tar.gz 305629 BLAKE2B 55f035ca021971c0fa541edcdf73367e2524793ad908cec3073867ea8a90d939649b9c7242f5030a2db7057b8142cb3ce450fbc98b5803a069a196a55f0fa1d1 SHA512 bf858f59bf6e54d1ac962df4b90eb674844e50f47b217d73d94b05e27280b78671dc04f4211276c04e71b48f92b446bc11f964b7223def24f5d0d878166547f3 |
25 |
|
26 |
diff --git a/dev-python/oscrypto/metadata.xml b/dev-python/oscrypto/metadata.xml |
27 |
new file mode 100644 |
28 |
index 00000000..6c0bdfd6 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/oscrypto/metadata.xml |
31 |
@@ -0,0 +1,8 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <maintainer type="person"> |
36 |
+ <email>lssndrbarbieri@×××××.com</email> |
37 |
+ <name>Alessandro Barbieri</name> |
38 |
+ </maintainer> |
39 |
+</pkgmetadata> |
40 |
|
41 |
diff --git a/dev-python/oscrypto/oscrypto-1.2.1.ebuild b/dev-python/oscrypto/oscrypto-1.2.1.ebuild |
42 |
new file mode 100644 |
43 |
index 00000000..4ca0ab5c |
44 |
--- /dev/null |
45 |
+++ b/dev-python/oscrypto/oscrypto-1.2.1.ebuild |
46 |
@@ -0,0 +1,34 @@ |
47 |
+# Copyright 1999-2020 Gentoo Authors |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI="7" |
51 |
+ |
52 |
+PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) |
53 |
+ |
54 |
+inherit distutils-r1 |
55 |
+ |
56 |
+DESCRIPTION="TLS sockets, key generation, encryption, decryption, signing, verification" |
57 |
+HOMEPAGE=" |
58 |
+ https://github.com/wbond/oscrypto |
59 |
+ https://pypi.org/project/oscrypto/ |
60 |
+" |
61 |
+SRC_URI="https://github.com/wbond/oscrypto/archive/${PV}.tar.gz -> ${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="MIT" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64 ~x86" |
66 |
+IUSE="test" |
67 |
+#tests requires network |
68 |
+RESTRICT="test" |
69 |
+ |
70 |
+RDEPEND=">=dev-python/asn1crypto-1.0.0[${PYTHON_USEDEP}]" |
71 |
+DEPEND="${RDEPEND}" |
72 |
+ |
73 |
+python_test() { |
74 |
+ "${EPYTHON}" run.py tests || die |
75 |
+} |
76 |
+ |
77 |
+python_install_all() { |
78 |
+ distutils-r1_python_install_all |
79 |
+ dodoc -r docs/* |
80 |
+} |