From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/lp_solve: lp_solve-5.5.2.0-r1.ebuild ChangeLog |
Date: | Wed, 27 Feb 2013 19:00:44 |
Message-Id: | 20130227190041.26BB02171D@flycatcher.gentoo.org |
1 | bicatali 13/02/27 19:00:41 |
2 | |
3 | Modified: ChangeLog |
4 | Added: lp_solve-5.5.2.0-r1.ebuild |
5 | Log: |
6 | Switch to python-r1 |
7 | |
8 | (Portage version: 2.2.01.21688-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
9 | |
10 | Revision Changes Path |
11 | 1.4 dev-python/lp_solve/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/ChangeLog?rev=1.4&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/ChangeLog?rev=1.4&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/ChangeLog?r1=1.3&r2=1.4 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/lp_solve/ChangeLog,v |
20 | retrieving revision 1.3 |
21 | retrieving revision 1.4 |
22 | diff -u -r1.3 -r1.4 |
23 | --- ChangeLog 9 Jul 2012 17:20:49 -0000 1.3 |
24 | +++ ChangeLog 27 Feb 2013 19:00:40 -0000 1.4 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-python/lp_solve |
27 | -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/lp_solve/ChangeLog,v 1.3 2012/07/09 17:20:49 bicatali Exp $ |
29 | +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/lp_solve/ChangeLog,v 1.4 2013/02/27 19:00:40 bicatali Exp $ |
31 | + |
32 | +*lp_solve-5.5.2.0-r1 (27 Feb 2013) |
33 | + |
34 | + 27 Feb 2013; Sébastien Fabbro <bicatali@g.o> |
35 | + +lp_solve-5.5.2.0-r1.ebuild: |
36 | + Switch to python-r1 |
37 | |
38 | 09 Jul 2012; Sébastien Fabbro <bicatali@g.o> lp_solve-5.5.2.0.ebuild: |
39 | keyword amd64-linux and x86-linux |
40 | |
41 | |
42 | |
43 | 1.1 dev-python/lp_solve/lp_solve-5.5.2.0-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/lp_solve-5.5.2.0-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/lp_solve-5.5.2.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: lp_solve-5.5.2.0-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2013 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-python/lp_solve/lp_solve-5.5.2.0-r1.ebuild,v 1.1 2013/02/27 19:00:40 bicatali Exp $ |
53 | |
54 | EAPI=5 |
55 | |
56 | PYTHON_COMPAT=( python{2_5,2_6,2_7} ) |
57 | |
58 | inherit distutils-r1 eutils |
59 | |
60 | DESCRIPTION="Python wrappers for lpsolve linear programming library" |
61 | HOMEPAGE="http://lpsolve.sourceforge.net/5.5/Python.htm" |
62 | SRC_URI="mirror://sourceforge/lpsolve/${PN}_${PV}_Python_source.tar.gz" |
63 | |
64 | LICENSE="LGPL-2.1" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
67 | IUSE="doc examples" |
68 | |
69 | RDEPEND=" |
70 | dev-python/numpy[${PYTHON_USEDEP}] |
71 | sci-mathematics/lpsolve" |
72 | DEPEND="${RDEPEND} |
73 | dev-python/setuptools[${PYTHON_USEDEP}]" |
74 | |
75 | S="${WORKDIR}/${PN}_5.5/extra/Python/" |
76 | |
77 | PATCHES=( "${FILESDIR}"/${P}-setup.patch ) |
78 | |
79 | python_test() { |
80 | PYTHONPATH="$(ls -d ${BUILD_DIR}/lib.*)" "${EPYTHON}" lpdemo.py || die |
81 | } |
82 | |
83 | src_install() { |
84 | distutils-r1_src_install |
85 | dodoc changes |
86 | use doc && dohtml Python.htm |
87 | insinto /usr/share/doc/${PF}/examples |
88 | use examples && doins ex*py |
89 | } |