summaryrefslogtreecommitdiff
path: root/dev-python/pygcrypt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pygcrypt
reinit the tree, so we can have metadata
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..eca1f95fe4c3
--- /dev/null
+++ b/dev-python/pygcrypt/Manifest
@@ -0,0 +1,3 @@
+DIST pygcrypt-1.0.0.tar.gz 53619 SHA256 9d30a1a0385a71edc7e9af8c3c43c5f252e352538d2c74d521bb6440cd1caad4 SHA512 db0854dcb4bfbdb55674fe83a501eac8ac40c624722972c44c401605820de45f1353cf9b6368ef880a6b3a6f112c4faeccf18246cdc82e88dac797d150f06de3 WHIRLPOOL 560292836bb80ed9525b0fe3903e6dbc4d626a53323fe81a06d274401833bf1f324bd7b181e5011f0a0fd05fe9b28300a6c448008573a16a103e4dd68960f90b
+EBUILD pygcrypt-1.0.0.ebuild 635 SHA256 8406d71d6c65561f7096fab225adc009b8fbeed12a4df3b1977899d8facc86a3 SHA512 83f4396a32ccdded95ae631b6a7087a1da10ba96eae00634ffa83cbbc5c66513c04012ee75a8a1dbff563f194ad241517c66c2d040549f4f996adc3b91e5b7b6 WHIRLPOOL d4bae63a25655134dc0af9e87a08f0943523888379ac85a2db49d0900967b029bbe43934c88c34d6c50cb7b28196c7d6774b9639101cfa648119a91bd82dd328
+MISC metadata.xml 397 SHA256 a94b318bcc04cae028d418b93ab51d3bfc9a7290770683c16089ee009cc6bc1a SHA512 4146517e9433f37fa96a347e225a2881cd8c43dd1a3e5acf639e7f09427d514bcca4384e2a0c18067dc51ed35fe2ea0707178f4911c88c11d07223b92df2c178 WHIRLPOOL aff81e364b5c98b16de5d3634650d033d379b711e8b6f08a40cfea70fd12835ab74c042e94ce21e1dac48fd0cd0843ea76fb36d4d1e948bdaecb97e2948ed7fb
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}"
+}