aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-06-29 19:24:03 +0200
committerJustin Lecher <jlec@gentoo.org>2010-06-29 20:08:23 +0200
commit8abb495cebb91bb2961fc66982393f9dfd93d806 (patch)
treecc1566c3f6a5856f5b6019df2829bd21f93cec87 /sci-libs/lwpr
parentFix for Python ABIs (diff)
downloadsci-8abb495cebb91bb2961fc66982393f9dfd93d806.tar.gz
sci-8abb495cebb91bb2961fc66982393f9dfd93d806.tar.bz2
sci-8abb495cebb91bb2961fc66982393f9dfd93d806.zip
Fix for Python ABIs
(Portage version: 2.2_rc67/git/Linux x86_64) (Signed Manifest commit)
Diffstat (limited to 'sci-libs/lwpr')
-rw-r--r--sci-libs/lwpr/ChangeLog5
-rw-r--r--sci-libs/lwpr/Manifest14
-rw-r--r--sci-libs/lwpr/lwpr-1.2.2.ebuild20
3 files changed, 30 insertions, 9 deletions
diff --git a/sci-libs/lwpr/ChangeLog b/sci-libs/lwpr/ChangeLog
index 482884f03..a0cb73731 100644
--- a/sci-libs/lwpr/ChangeLog
+++ b/sci-libs/lwpr/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for sci-libs/lwpr
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 29 Jun 2010; Justin Lecher <jlec@gentoo.org> lwpr-1.2.2.ebuild:
+ Python ABI fixes
+
*lwpr-1.2.2 (09 Oct 2009)
09 Oct 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> +lwpr-1.2.2.ebuild,
diff --git a/sci-libs/lwpr/Manifest b/sci-libs/lwpr/Manifest
index 78c168892..4f7657258 100644
--- a/sci-libs/lwpr/Manifest
+++ b/sci-libs/lwpr/Manifest
@@ -1,5 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX lwpr-1.2.2-setup.py.patch 517 RMD160 8c7e6bd38cff80d779b04d6147943bb960ba8c90 SHA1 591763838ec6359704e2d7ef18fb99131c345b48 SHA256 5b77f2f9a17b7759948c04c903ea12ada65cc3904f87d7ca0015edeb8d3260c2
DIST lwpr-1.2.2.tar.gz 723920 RMD160 055f6c437e7e310b6f2ae77946443ee280c1334d SHA1 9e60bae960831f669701e106c276a3a4bea81b27 SHA256 a55d0ca8b66d4b62d07767ade714f545cf24d933b37d58613d8a79882afcf918
-EBUILD lwpr-1.2.2.ebuild 1687 RMD160 b9477ab966c593446092e578bf59cc9d3db5339b SHA1 f01e738c82f3247626195be1d88367012ec69cc3 SHA256 810a58edbc2e3cfbd11cd01e414938e7c5ba1add5632d1a103a24be6a0973a01
-MISC ChangeLog 358 RMD160 4b5b12ed86ac9fad77040e4e52424906b9b31cae SHA1 a1f62fb9c48ae2987272671fa4c9a82efc897d74 SHA256 7e122a6a311f4569158be0b1f3a93e038e80174208e4cc85f134005694c03d33
+EBUILD lwpr-1.2.2.ebuild 1839 RMD160 478dab93e2958ab1c0bb2f9dbb86dd19d584466b SHA1 0e13ac512fa85b99f48ea4b1ac4519eb3699eefb SHA256 7d52896e3630748d74aa2ed0354f469f178fae740ca62d917e0e224356faa175
+MISC ChangeLog 444 RMD160 b6f193b46d7c8cbfce378cd57c5ef59e1333a308 SHA1 601553f5b3ee1fcbe34e20e308a5b33ed0440d7f SHA256 f863125cbd1d473fefbf9e979149af511466e3830e32e7992f06f04aaf0d0e36
MISC metadata.xml 731 RMD160 6398d7c8274b3b5086055ec1d934c88a73419127 SHA1 b1d63222eceb214ca91c49547ee3b59c6feadf15 SHA256 9c6fbc1c2093d759fd0d0564d6d037249f7902ba7451a1278099e05f43889596
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkwqLDMACgkQgAnW8HDreRasZgCgvxzsmvJAPIFvj4KkDb+z90Z4
+wJ8AoJ79nGkr/X0euXJ1d49nsAts+ezJ
+=kJIj
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/lwpr/lwpr-1.2.2.ebuild b/sci-libs/lwpr/lwpr-1.2.2.ebuild
index 12686852c..ba4014b16 100644
--- a/sci-libs/lwpr/lwpr-1.2.2.ebuild
+++ b/sci-libs/lwpr/lwpr-1.2.2.ebuild
@@ -1,9 +1,14 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=2
-inherit eutils distutils
+EAPI="3"
+
+PYTHON_DEPEND="python? 2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils eutils
DESCRIPTION="The Locally Weighted Projection Regression Library"
HOMEPAGE="http://www.ipab.inf.ed.ac.uk/slmc/software/lwpr/"
@@ -20,7 +25,10 @@ DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_prepare() {
- epatch "${FILESDIR}"/${P}-setup.py.patch
+ if use python; then
+ epatch "${FILESDIR}"/${P}-setup.py.patch
+ use python && distutils_src_prepare
+ fi
}
src_configure() {
@@ -46,7 +54,7 @@ src_test() {
cd python
LD_LIBRARY_PATH=../src/.libs \
PYTHONPATH=$(dir -d build/lib*) \
- "${python}" test.py || die "python test failed"
+ "$(PYTHON)" test.py || die "python test failed"
fi
}
@@ -54,7 +62,7 @@ src_install() {
emake DESTDIR="${D}" \
mexflags="-DMATLAB -I../include -L./.libs -llwproctave" \
install || die "emake install failed"
- dodoc README.TXT
+ dodoc README.TXT || die
if use doc; then
insinto /usr/share/doc/${PF}
doins doc/lwpr_doc.pdf