summaryrefslogtreecommitdiff
path: root/dev-python/pygcrypt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pygcrypt
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pygcrypt')
-rw-r--r--dev-python/pygcrypt/Manifest3
-rw-r--r--dev-python/pygcrypt/metadata.xml14
-rw-r--r--dev-python/pygcrypt/pygcrypt-1.0.0.ebuild26
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/pygcrypt/Manifest b/dev-python/pygcrypt/Manifest
new file mode 100644
index 000000000000..df9cfb1edaea
--- /dev/null
+++ b/dev-python/pygcrypt/Manifest
@@ -0,0 +1,3 @@
+DIST pygcrypt-1.0.0.tar.gz 53619 BLAKE2B b5d18bded0b9bd8f1a1715919b6c88aae2a3ed3332bbedf6ceb70d9836952ffe7c9b8f0ca5f179484b59ae1cb21c6b6ec8f8c05333e927eb98f1c782f539347d SHA512 db0854dcb4bfbdb55674fe83a501eac8ac40c624722972c44c401605820de45f1353cf9b6368ef880a6b3a6f112c4faeccf18246cdc82e88dac797d150f06de3
+EBUILD pygcrypt-1.0.0.ebuild 635 BLAKE2B af430560351c355572426738b67cc69ec14ddef12e66ccbb69afc6f77c2ac11727edebe435d0b2cc06a2b92cc01fac42971a94d9f4f7051e8fd989454dd32635 SHA512 83f4396a32ccdded95ae631b6a7087a1da10ba96eae00634ffa83cbbc5c66513c04012ee75a8a1dbff563f194ad241517c66c2d040549f4f996adc3b91e5b7b6
+MISC metadata.xml 397 BLAKE2B 7618ed12aed270e32135c69c1d4615f1f85ff38ae50f863e962a6899530b21732f0bc2d5f70db97a61570f8789e148de936c9eaf9c7a811c4811fcabab70bf4e SHA512 4146517e9433f37fa96a347e225a2881cd8c43dd1a3e5acf639e7f09427d514bcca4384e2a0c18067dc51ed35fe2ea0707178f4911c88c11d07223b92df2c178
diff --git a/dev-python/pygcrypt/metadata.xml b/dev-python/pygcrypt/metadata.xml
new file mode 100644
index 000000000000..c9b1aa1aec62
--- /dev/null
+++ b/dev-python/pygcrypt/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pygcrypt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pygcrypt/pygcrypt-1.0.0.ebuild b/dev-python/pygcrypt/pygcrypt-1.0.0.ebuild
new file mode 100644
index 000000000000..1dfdb7d44672
--- /dev/null
+++ b/dev-python/pygcrypt/pygcrypt-1.0.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="CFFI interface to dev-libs/libgcrypt"
+HOMEPAGE="https://framagit.org/okhin/pygcrypt/"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-libs/libgcrypt:0=
+ virtual/python-cffi[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+ py.test -v || die "Tests failed against ${EPYTHON}"
+}