From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/lp_solve: metadata.xml ChangeLog lp_solve-5.5.2.0.ebuild Manifest |
Date: | Sat, 07 Jan 2012 20:36:41 |
Message-Id: | 20120107203632.7FC5B2004B@flycatcher.gentoo.org |
1 | bicatali 12/01/07 20:36:32 |
2 | |
3 | Added: metadata.xml ChangeLog lp_solve-5.5.2.0.ebuild |
4 | Manifest |
5 | Log: |
6 | Initial import to the main tree |
7 | |
8 | (Portage version: 2.1.10.41/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.1 dev-python/lp_solve/metadata.xml |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/metadata.xml?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/metadata.xml?rev=1.1&content-type=text/plain |
15 | |
16 | Index: metadata.xml |
17 | =================================================================== |
18 | <?xml version="1.0" encoding="UTF-8"?> |
19 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 | <pkgmetadata> |
21 | <herd>sci-mathematics</herd> |
22 | <longdescription lang='en'> |
23 | Python wrapper modules for the linear programming library lpsolve. |
24 | </longdescription> |
25 | </pkgmetadata> |
26 | |
27 | |
28 | |
29 | 1.1 dev-python/lp_solve/ChangeLog |
30 | |
31 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/ChangeLog?rev=1.1&view=markup |
32 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/ChangeLog?rev=1.1&content-type=text/plain |
33 | |
34 | Index: ChangeLog |
35 | =================================================================== |
36 | # ChangeLog for dev-python/lp_solve |
37 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
38 | # $Header: /var/cvsroot/gentoo-x86/dev-python/lp_solve/ChangeLog,v 1.1 2012/01/07 20:36:32 bicatali Exp $ |
39 | |
40 | *lp_solve-5.5.2.0 (07 Jan 2012) |
41 | |
42 | 07 Jan 2012; Sébastien Fabbro <bicatali@g.o> |
43 | +lp_solve-5.5.2.0.ebuild, +files/lp_solve-5.5.2.0-setup.patch, +metadata.xml: |
44 | Initial import to the main tree |
45 | |
46 | |
47 | |
48 | |
49 | 1.1 dev-python/lp_solve/lp_solve-5.5.2.0.ebuild |
50 | |
51 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/lp_solve-5.5.2.0.ebuild?rev=1.1&view=markup |
52 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/lp_solve-5.5.2.0.ebuild?rev=1.1&content-type=text/plain |
53 | |
54 | Index: lp_solve-5.5.2.0.ebuild |
55 | =================================================================== |
56 | # Copyright 1999-2012 Gentoo Foundation |
57 | # Distributed under the terms of the GNU General Public License v2 |
58 | # $Header: /var/cvsroot/gentoo-x86/dev-python/lp_solve/lp_solve-5.5.2.0.ebuild,v 1.1 2012/01/07 20:36:32 bicatali Exp $ |
59 | |
60 | EAPI=4 |
61 | |
62 | SUPPORT_PYTHON_ABIS=1 |
63 | RESTRICT_PYTHON_ABIS="2.4 3*" |
64 | |
65 | inherit distutils eutils |
66 | |
67 | DESCRIPTION="Python wrappers for lpsolve" |
68 | HOMEPAGE="http://lpsolve.sourceforge.net/5.5/Python.htm" |
69 | SRC_URI="mirror://sourceforge/lpsolve/${PN}_${PV}_Python_source.tar.gz" |
70 | |
71 | LICENSE="LGPL-2.1" |
72 | SLOT="0" |
73 | KEYWORDS="~amd64 ~x86" |
74 | IUSE="doc examples" |
75 | |
76 | RDEPEND="dev-python/numpy |
77 | sci-mathematics/lpsolve" |
78 | DEPEND="${RDEPEND} |
79 | dev-python/setuptools" |
80 | |
81 | S="${WORKDIR}/${PN}_5.5/extra/Python/" |
82 | |
83 | src_prepare(){ |
84 | epatch "${FILESDIR}"/${P}-setup.patch |
85 | } |
86 | |
87 | src_test() { |
88 | testing() { |
89 | PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" \ |
90 | "$(PYTHON)" lpdemo.py |
91 | } |
92 | python_execute_function testing |
93 | } |
94 | |
95 | src_install() { |
96 | distutils_src_install |
97 | dodoc changes |
98 | use doc && dohtml Python.htm |
99 | insinto /usr/share/doc/${PF}/examples |
100 | use examples && doins ex*py |
101 | } |
102 | |
103 | |
104 | |
105 | 1.1 dev-python/lp_solve/Manifest |
106 | |
107 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/Manifest?rev=1.1&view=markup |
108 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lp_solve/Manifest?rev=1.1&content-type=text/plain |
109 | |
110 | Index: Manifest |
111 | =================================================================== |
112 | AUX lp_solve-5.5.2.0-setup.patch 1637 RMD160 7b84663c24feee88d5a798dd16da557850076431 SHA1 e86f72793bd896e5651da3de80df91ac49614053 SHA256 d2e0e070a2e0adc2703870f677c9177a6db8f7c3d749e43d47526377480b9a44 |
113 | DIST lp_solve_5.5.2.0_Python_source.tar.gz 58017 RMD160 c3d5b387ed85a222b17f33f1987d25da80182afd SHA1 058cced6b6a27cc160c9c5054c6b94b0eae6d989 SHA256 79683bc262e9da5b2fa7338ba190a9cd10559b9f2dbcb8f3bf07e2a81083ac51 |
114 | EBUILD lp_solve-5.5.2.0.ebuild 940 RMD160 1d5f9f56499bfa7f986c8c703c10c286b91a47af SHA1 a9050dd4c74501493651dce8014695e951dbaacf SHA256 065db88cc0c0c36fbcf0ff57339f5009168ad38bb0a820fd5dca16cc583045a1 |
115 | MISC ChangeLog 323 RMD160 79e0cfc1e373f5bb444c8ba502329fd50caba9f7 SHA1 47607cf807dcbc790c3052026da6f1c1df3a2771 SHA256 a2389dc7747e43e06870a82a79a3f5d8ee1b907277563efc060e173b1605e38e |
116 | MISC metadata.xml 284 RMD160 dd92877d4154d75095e0deb691e80a524cfaba44 SHA1 c96d31d1e40aba23462d587eb4570ed25693f949 SHA256 855182f93d92424de2d13c07d48f0f7f369c84c86b1bc36142764d2761d9f45a |