1 |
commit: 44765ce71aca44b4a41d57fc94b7fa08d8313550 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 13 12:33:28 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 13 12:45:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44765ce7 |
7 |
|
8 |
dev-python/pygcrypt: New package, Python bindings for libgcrypt |
9 |
|
10 |
dev-python/pygcrypt/Manifest | 1 + |
11 |
dev-python/pygcrypt/metadata.xml | 11 +++++++++++ |
12 |
dev-python/pygcrypt/pygcrypt-1.0.0.ebuild | 26 ++++++++++++++++++++++++++ |
13 |
3 files changed, 38 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/pygcrypt/Manifest b/dev-python/pygcrypt/Manifest |
16 |
new file mode 100644 |
17 |
index 00000000000..895cf2414cb |
18 |
--- /dev/null |
19 |
+++ b/dev-python/pygcrypt/Manifest |
20 |
@@ -0,0 +1 @@ |
21 |
+DIST pygcrypt-1.0.0.tar.gz 53619 SHA256 9d30a1a0385a71edc7e9af8c3c43c5f252e352538d2c74d521bb6440cd1caad4 SHA512 db0854dcb4bfbdb55674fe83a501eac8ac40c624722972c44c401605820de45f1353cf9b6368ef880a6b3a6f112c4faeccf18246cdc82e88dac797d150f06de3 WHIRLPOOL 560292836bb80ed9525b0fe3903e6dbc4d626a53323fe81a06d274401833bf1f324bd7b181e5011f0a0fd05fe9b28300a6c448008573a16a103e4dd68960f90b |
22 |
|
23 |
diff --git a/dev-python/pygcrypt/metadata.xml b/dev-python/pygcrypt/metadata.xml |
24 |
new file mode 100644 |
25 |
index 00000000000..22e0d6d87f6 |
26 |
--- /dev/null |
27 |
+++ b/dev-python/pygcrypt/metadata.xml |
28 |
@@ -0,0 +1,11 @@ |
29 |
+<?xml version="1.0" encoding="UTF-8"?> |
30 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
31 |
+<pkgmetadata> |
32 |
+ <maintainer type="person"> |
33 |
+ <email>mgorny@g.o</email> |
34 |
+ <name>Michał Górny</name> |
35 |
+ </maintainer> |
36 |
+ <maintainer type="project"> |
37 |
+ <email>python@g.o</email> |
38 |
+ </maintainer> |
39 |
+</pkgmetadata> |
40 |
|
41 |
diff --git a/dev-python/pygcrypt/pygcrypt-1.0.0.ebuild b/dev-python/pygcrypt/pygcrypt-1.0.0.ebuild |
42 |
new file mode 100644 |
43 |
index 00000000000..1dfdb7d4467 |
44 |
--- /dev/null |
45 |
+++ b/dev-python/pygcrypt/pygcrypt-1.0.0.ebuild |
46 |
@@ -0,0 +1,26 @@ |
47 |
+# Copyright 1999-2017 Gentoo Foundation |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI=6 |
51 |
+ |
52 |
+PYTHON_COMPAT=( python{3_5,3_6} ) |
53 |
+inherit distutils-r1 |
54 |
+ |
55 |
+DESCRIPTION="CFFI interface to dev-libs/libgcrypt" |
56 |
+HOMEPAGE="https://framagit.org/okhin/pygcrypt/" |
57 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
58 |
+ |
59 |
+LICENSE="GPL-3" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~amd64 ~x86" |
62 |
+IUSE="test" |
63 |
+ |
64 |
+RDEPEND="dev-libs/libgcrypt:0= |
65 |
+ virtual/python-cffi[${PYTHON_USEDEP}]" |
66 |
+DEPEND="${RDEPEND} |
67 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
68 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
69 |
+ |
70 |
+python_test() { |
71 |
+ py.test -v || die "Tests failed against ${EPYTHON}" |
72 |
+} |