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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jun 27 19:45:01 2007 UTC (7 years, 3 months ago) by hawking
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
drop old, removed unneeded empty lines
(Portage version: 2.1.3_rc5)

1 # Copyright 1999-2006 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.7.0.ebuild,v 1.2 2006/04/01 18:45:38 agriffis Exp $
4
5 inherit distutils
6
7 DESCRIPTION="GPGME Interface for Python"
8 SRC_URI="mirror://sourceforge/pyme/${P}.tar.gz"
9 HOMEPAGE="http://pyme.sourceforge.net"
10 DEPEND=">=app-crypt/gpgme-0.9.0"
11 SLOT="0"
12 KEYWORDS="~ia64 ~ppc ~sparc ~x86"
13 LICENSE="|| ( GPL-2 LGPL-2.1 )"
14 IUSE=""
15
16 src_unpack() {
17 unpack ${A}
18 cd ${S}
19 sed -i -e 's:include/:include/gpgme/:;s:$(PYTHON):/usr/bin/python:' Makefile
20 }
21
22 src_compile() {
23 PYTHON="/usr/bin/python"
24 emake swig
25 distutils_src_compile
26 }
27
28 src_install() {
29 mydoc="examples/*"
30 distutils_src_install
31 dohtml -r doc/*
32 }
33
34 src_test() {
35 cd ${S}
36 env PYTHONPATH=$(echo build/lib.*) \
37 ${python} examples/genkey.py || die "genkey test failed"
38 }

  ViewVC Help
Powered by ViewVC 1.1.20