From 44765ce71aca44b4a41d57fc94b7fa08d8313550 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 13 Apr 2017 14:33:28 +0200 Subject: dev-python/pygcrypt: New package, Python bindings for libgcrypt --- dev-python/pygcrypt/Manifest | 1 + dev-python/pygcrypt/metadata.xml | 11 +++++++++++ dev-python/pygcrypt/pygcrypt-1.0.0.ebuild | 26 ++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 dev-python/pygcrypt/Manifest create mode 100644 dev-python/pygcrypt/metadata.xml create mode 100644 dev-python/pygcrypt/pygcrypt-1.0.0.ebuild (limited to 'dev-python/pygcrypt') diff --git a/dev-python/pygcrypt/Manifest b/dev-python/pygcrypt/Manifest new file mode 100644 index 000000000000..895cf2414cba --- /dev/null +++ b/dev-python/pygcrypt/Manifest @@ -0,0 +1 @@ +DIST pygcrypt-1.0.0.tar.gz 53619 SHA256 9d30a1a0385a71edc7e9af8c3c43c5f252e352538d2c74d521bb6440cd1caad4 SHA512 db0854dcb4bfbdb55674fe83a501eac8ac40c624722972c44c401605820de45f1353cf9b6368ef880a6b3a6f112c4faeccf18246cdc82e88dac797d150f06de3 WHIRLPOOL 560292836bb80ed9525b0fe3903e6dbc4d626a53323fe81a06d274401833bf1f324bd7b181e5011f0a0fd05fe9b28300a6c448008573a16a103e4dd68960f90b diff --git a/dev-python/pygcrypt/metadata.xml b/dev-python/pygcrypt/metadata.xml new file mode 100644 index 000000000000..22e0d6d87f61 --- /dev/null +++ b/dev-python/pygcrypt/metadata.xml @@ -0,0 +1,11 @@ + + + + + mgorny@gentoo.org + Michał Górny + + + python@gentoo.org + + 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}" +} -- cgit v1.2.3-65-gdbad