Gentoo Archives: gentoo-commits

From: Tim Cera <timcera@×××××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/pulp/
Date: Sat, 03 Dec 2011 02:01:11
Message-Id: c9423f63377f198f3e1f809a1a4d8e33b13ee6f5.timcera@gentoo
1 commit: c9423f63377f198f3e1f809a1a4d8e33b13ee6f5
2 Author: timcera <tim <AT> cerazone <DOT> net>
3 AuthorDate: Fri Dec 2 23:00:12 2011 +0000
4 Commit: Tim Cera <timcera <AT> earthlink <DOT> net>
5 CommitDate: Fri Dec 2 23:00:12 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c9423f63
7
8 sci-mathematics/pulp: Initial ebuild.
9
10 ---
11 sci-mathematics/pulp/ChangeLog | 9 +++++++
12 sci-mathematics/pulp/metadata.xml | 6 ++++
13 sci-mathematics/pulp/pulp-1.4.9.ebuild | 41 ++++++++++++++++++++++++++++++++
14 3 files changed, 56 insertions(+), 0 deletions(-)
15
16 diff --git a/sci-mathematics/pulp/ChangeLog b/sci-mathematics/pulp/ChangeLog
17 new file mode 100644
18 index 0000000..306cf7d
19 --- /dev/null
20 +++ b/sci-mathematics/pulp/ChangeLog
21 @@ -0,0 +1,9 @@
22 +# ChangeLog for sci-mathematics/pulp
23 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
24 +# $Header: $
25 +
26 +*pulp-1.4.9 (02 Dec 2011)
27 +
28 + 02 Dec 2011; Tim Cera <tim@××××××××.net> +pulp-1.4.9.ebuild, +metadata.xml:
29 + Initial ebuild.
30 +
31
32 diff --git a/sci-mathematics/pulp/metadata.xml b/sci-mathematics/pulp/metadata.xml
33 new file mode 100644
34 index 0000000..0923903
35 --- /dev/null
36 +++ b/sci-mathematics/pulp/metadata.xml
37 @@ -0,0 +1,6 @@
38 +<?xml version="1.0" encoding="UTF-8"?>
39 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
40 +<pkgmetadata>
41 + <herd>no-herd</herd>
42 + <longdescription></longdescription>
43 +</pkgmetadata>
44
45 diff --git a/sci-mathematics/pulp/pulp-1.4.9.ebuild b/sci-mathematics/pulp/pulp-1.4.9.ebuild
46 new file mode 100644
47 index 0000000..1d21097
48 --- /dev/null
49 +++ b/sci-mathematics/pulp/pulp-1.4.9.ebuild
50 @@ -0,0 +1,41 @@
51 +# Copyright 1999-2011 Gentoo Foundation
52 +# Distributed under the terms of the GNU General Public License v2
53 +# $Header: $
54 +# Ebuild generated by g-pypi 0.1
55 +
56 +EAPI="3"
57 +PYTHON_DEPEND="2:2.5"
58 +SUPPORT_PYTHON_ABIS="1"
59 +
60 +inherit distutils
61 +
62 +MY_PN="PuLP"
63 +MY_P="${MY_PN}-${PV}"
64 +
65 +DESCRIPTION="A Python linear programming wrapper that creates MPS/LP files,
66 +calls solvers, and presents results."
67 +
68 +HOMEPAGE="http://pulp-or.googlecode.com/"
69 +SRC_URI="mirror://pypi/packages/source/P/PuLP/${MY_P}.tar.gz"
70 +
71 +LICENSE="BSD-2"
72 +KEYWORDS="~amd64"
73 +SLOT="0"
74 +IUSE="examples"
75 +
76 +DEPEND="dev-python/setuptools"
77 +RDEPEND=">=dev-python/pyparsing-1.5.2
78 + >=sci-mathematics/glpk-4.35
79 + dev-python/setuptools"
80 +
81 +RESTRICT_PYTHON_ABIS="2.4 3.*"
82 +
83 +S="${WORKDIR}/${MY_P}"
84 +
85 +src_install() {
86 + distutils_src_install
87 + if use examples; then
88 + insinto /usr/share/doc/"${PF}"/
89 + doins -r examples
90 + fi
91 +}