Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyminuit/
Date: Fri, 04 Mar 2016 13:33:23
Message-Id: 1457097765.e72e58844eaf93dc8228ecade8695dfd7c033680.grozin@gentoo
1 commit: e72e58844eaf93dc8228ecade8695dfd7c033680
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 4 13:21:52 2016 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 4 13:22:45 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e72e5884
7
8 dev-python/pyminuit: added python3_5
9
10 Package-Manager: portage-2.2.27
11
12 dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild | 38 ++++++++++++++++++++++++++++
13 1 file changed, 38 insertions(+)
14
15 diff --git a/dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild b/dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild
16 new file mode 100644
17 index 0000000..2aadc71
18 --- /dev/null
19 +++ b/dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild
20 @@ -0,0 +1,38 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +
27 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
28 +
29 +inherit distutils-r1 flag-o-matic
30 +
31 +DESCRIPTION="Minuit numerical function minimization in Python"
32 +HOMEPAGE="https://github.com/jpivarski/pyminuit"
33 +SRC_URI="
34 + https://pyminuit.googlecode.com/files/${P}.tgz
35 + https://pyminuit.googlecode.com/files/Minuit-1_7_9-patch1.tar.gz
36 + "
37 +
38 +SLOT="0"
39 +LICENSE="GPL-2"
40 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
41 +IUSE=""
42 +
43 +S="${WORKDIR}"/${PN}
44 +
45 +src_configure() {
46 + cd "${WORKDIR}"/Minuit-1_7_9 && econf --disable-static || die
47 +}
48 +src_compile() {
49 + cd "${WORKDIR}"/Minuit-1_7_9 && emake
50 + cd "${S}"
51 + distutils-r1_src_compile
52 +}
53 +
54 +python_install_all() {
55 + cd "${WORKDIR}"/Minuit-1_7_9 || die
56 + default
57 + distutils-r1_python_install_all
58 +}