/[gentoo-x86]/dev-python/pyme/pyme-0.6.0.ebuild
Gentoo

Contents of /dev-python/pyme/pyme-0.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Sep 7 22:04:29 2004 UTC (9 years, 10 months ago) by pythonhead
Branch: MAIN
Version bump. Fixed 0.5.1 to compile against gpgme-0.9.0-r1. Added src_test(). Thanks Daniel Black <dragonheart@gentoo.org> Closes bug #59702.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.5.1.ebuild,v 1.7 2004/06/25 01:40:59 agriffis Exp $
4
5 IUSE=""
6
7 DESCRIPTION="GPGME Interface for Python"
8 SRC_URI="mirror://sourceforge/pyme/${P}.tar.gz"
9 HOMEPAGE="http://pyme.sourceforge.net"
10
11 DEPEND=">=app-crypt/gpgme-0.9.0"
12
13 SLOT="0"
14 KEYWORDS="~x86"
15 LICENSE="GPL-2"
16
17 inherit distutils
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22 sed -i -e 's:include/:include/gpgme/:' Makefile
23 }
24
25 src_compile() {
26 emake swig
27 distutils_src_compile
28 }
29
30 src_install() {
31 mydoc="examples/*"
32 distutils_src_install
33 dohtml -r doc/*
34 }
35
36 src_test() {
37 cd ${S}
38 env PYTHONPATH=$(echo build/lib.*) \
39 ${python} examples/genkey.py || die "genkey test failed"
40 }

  ViewVC Help
Powered by ViewVC 1.1.20