summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Schlarb (moschlar) <mail@moritz-schlarb.de>2012-02-16 19:20:42 +0000
committerMoritz Schlarb (moschlar) <mail@moritz-schlarb.de>2012-02-16 19:20:42 +0000
commitf8a2e0404072df49b9505bdf66e1de524d71ef2d (patch)
tree1270d5cc32bb3decabaa1977ac3021f3dc78bcfc /dev-python
parentapp-text/ unac: Moved to gentoo-x86 (diff)
downloadsunrise-reviewed-f8a2e0404072df49b9505bdf66e1de524d71ef2d.tar.gz
sunrise-reviewed-f8a2e0404072df49b9505bdf66e1de524d71ef2d.tar.bz2
sunrise-reviewed-f8a2e0404072df49b9505bdf66e1de524d71ef2d.zip
dev-python/pygpgme: New ebuild for bug 404145, thanks to hasufell and Tommy[D]
svn path=/sunrise/; revision=12756
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pygpgme/ChangeLog10
-rw-r--r--dev-python/pygpgme/Manifest5
-rw-r--r--dev-python/pygpgme/files/pygpgme-0.2-include-dir.patch15
-rw-r--r--dev-python/pygpgme/metadata.xml13
-rw-r--r--dev-python/pygpgme/pygpgme-0.2.ebuild26
5 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/pygpgme/ChangeLog b/dev-python/pygpgme/ChangeLog
new file mode 100644
index 000000000..20f31cb15
--- /dev/null
+++ b/dev-python/pygpgme/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/pygpgme
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*pygpgme-0.2 (16 Feb 2012)
+
+ 16 Feb 2012; Moritz Schlarb (moschlar) <mail@moritz-schlarb.de>
+ +pygpgme-0.2.ebuild, +files/pygpgme-0.2-include-dir.patch, +metadata.xml:
+ New ebuild for bug 404145, thanks to hasufell and Tommy[D]
+
diff --git a/dev-python/pygpgme/Manifest b/dev-python/pygpgme/Manifest
new file mode 100644
index 000000000..d67295d0c
--- /dev/null
+++ b/dev-python/pygpgme/Manifest
@@ -0,0 +1,5 @@
+AUX pygpgme-0.2-include-dir.patch 292 RMD160 2d55323be3062a5d578b3086552504f3de3f46ef SHA1 ee7bbae5988293302abba88792bb1891b58a43ad SHA256 961f2a6d67f2a19459703ac2b20eb0de6c6a03ef860f19627b456a57474601b3
+DIST pygpgme-0.2.tar.gz 48864 RMD160 eb30f5ccb2627b22dbb6515d4ae5fbe587bd88e7 SHA1 361fdb8eee877f430355551c432f0e93ba54e4a3 SHA256 5c96691cce5d6cafddd07fc1cb2d429448136176587b4c1ce3b743654286dd88
+EBUILD pygpgme-0.2.ebuild 528 RMD160 ed442b21eb0d4b03f35fa3f9835927a7c1cbc497 SHA1 8ed30fa5b6bb6887b8ce126b83f0fc4447c59c48 SHA256 341570762125bd259faf84e07332d4538ca731e01af5d276ab52fbba4c5742c7
+MISC ChangeLog 351 RMD160 6b591f82d707d84322c820ff6b7aa9d6d05ebfa3 SHA1 408cd5c30567cdf6b373459cb031fa85d47b1a3b SHA256 c9d0ece801207c014e532ee14efa607a06546753e5140aa143cfc8502c8981d7
+MISC metadata.xml 441 RMD160 3279d55b2b5ef341c070d286bf74d4de6b876bf5 SHA1 b1e1f7480c0815a3d4d98355256b6f36eb50c01f SHA256 acbcb826181391afdf30713d1a868696e130f0e212a1f82653758a82785f33fd
diff --git a/dev-python/pygpgme/files/pygpgme-0.2-include-dir.patch b/dev-python/pygpgme/files/pygpgme-0.2-include-dir.patch
new file mode 100644
index 000000000..9fa997279
--- /dev/null
+++ b/dev-python/pygpgme/files/pygpgme-0.2-include-dir.patch
@@ -0,0 +1,15 @@
+Change include path to subdirectory set by ebuild app-crypt/gpgme-1.3.0-r1
+
+From: Moritz Schlarb <mail@moritz-schlarb.de>
+
+--- src/pygpgme.h
++++ src/pygpgme.h
+@@ -21,7 +21,7 @@
+ #define PYGPGME_H
+
+ #include <Python.h>
+-#include <gpgme.h>
++#include <gpgme/gpgme.h>
+
+ #include "pycompat.h"
+
diff --git a/dev-python/pygpgme/metadata.xml b/dev-python/pygpgme/metadata.xml
new file mode 100644
index 000000000..c27a8a735
--- /dev/null
+++ b/dev-python/pygpgme/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ PyGPGME is a Python module that lets you sign, verify,
+ encrypt and decrypt messages using the OpenPGP format.
+ It is built on top of the GNU Privacy Guard and the
+ GPGME library.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/pygpgme/pygpgme-0.2.ebuild b/dev-python/pygpgme/pygpgme-0.2.ebuild
new file mode 100644
index 000000000..a67dced31
--- /dev/null
+++ b/dev-python/pygpgme/pygpgme-0.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils distutils python
+
+DESCRIPTION="A Python module for working with OpenPGP messages"
+HOMEPAGE="https://launchpad.net/pygpgme"
+SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-crypt/gpgme"
+RDEPEND="${DEPEND}"
+
+PYTHON_MODNAME="gpgme"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-include-dir.patch"
+ distutils_src_prepare
+}