/[gentoo-x86]/sci-chemistry/PyMca/PyMca-4.4.1_p1.ebuild
Gentoo

Contents of /sci-chemistry/PyMca/PyMca-4.4.1_p1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Oct 28 21:37:00 2012 UTC (2 years, 1 month ago) by jlec
Branch: MAIN
Changes since 1.3: +3 -3 lines
sci-chemistry/PyMca: Version Bump, restrict pypy

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/PyMca/PyMca-4.4.1_p1.ebuild,v 1.3 2010/12/26 17:40:29 jlec Exp $
4
5 EAPI=3
6
7 PYTHON_DEPEND="2"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="3.* *-pypy-*"
10
11 inherit distutils eutils
12
13 MY_PV="${PV/_}"
14
15 DESCRIPTION="X-ray Fluorescence Toolkit"
16 HOMEPAGE="http://pymca.sourceforge.net/"
17 SRC_URI="mirror://sourceforge/project/pymca/pymca/${PN}${PV/_p1}/pymca${MY_PV}-src.tgz"
18
19 LICENSE="GPL-2"
20 SLOT="0"
21 KEYWORDS="~x86 ~amd64"
22 IUSE="X hdf5 matplotlib"
23
24 DEPEND="
25 dev-python/numpy
26 dev-python/sip
27 virtual/opengl
28 dev-python/pyopengl
29 X? (
30 dev-python/PyQt4
31 dev-python/pyqwt
32 )
33 hdf5? ( dev-python/h5py )
34 matplotlib? ( dev-python/matplotlib )"
35 RDEPEND="${DEPEND}"
36
37 S="${WORKDIR}/${PN}${MY_PV}"
38
39 src_prepare() {
40 epatch \
41 "${FILESDIR}"/${PV}-gentoo.patch \
42 "${FILESDIR}"/${PV}-impl-dec.patch
43 export SPECFILE_USE_GNU_SOURCE=1
44 distutils_src_prepare
45 }

  ViewVC Help
Powered by ViewVC 1.1.20