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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download)
Mon May 12 07:57:42 2008 UTC (6 years, 3 months ago) by hawking
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +1 -1 lines
FILE REMOVED
Drop old. Swig isn't a runtime dep but gpgme is, bug 221477.
Use distutils_src_unpack.
(Portage version: 2.1.5_rc10)

1 # Copyright 1999-2008 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.16 2008/02/13 20:13:52 coldwind Exp $
4
5 inherit distutils
6
7 MY_P=${P/-/_}
8 DESCRIPTION="GPGME Interface for Python"
9 SRC_URI="http://quux.org/devel/pyme/${MY_P}.tar.gz"
10 HOMEPAGE="http://pyme.sf.net/"
11 SLOT="0"
12 KEYWORDS="x86 ~sparc ppc"
13 LICENSE="GPL-2"
14 IUSE=""
15 DEPEND="~app-crypt/gpgme-0.3.14
16 >=sys-apps/sed-4"
17 RDEPEND="~app-crypt/gpgme-0.3.14
18 dev-lang/swig"
19
20 src_unpack() {
21 unpack ${A}
22 cd ${S}
23 sed -i -e "s:gpgme-config:gpgme3-config:" \
24 Makefile setup.py
25 }
26
27 src_test() {
28 cd ${S}
29 env PYTHONPATH=$(echo build/lib.*) \
30 ${python} examples/genkey.py || die "genkey test failed"
31 }
32
33 src_install() {
34 DOCS="examples/*"
35 distutils_src_install
36 dohtml -r doc/*
37 }

  ViewVC Help
Powered by ViewVC 1.1.20