summaryrefslogtreecommitdiff
path: root/dev-python/pyminuit
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyminuit')
-rw-r--r--dev-python/pyminuit/Manifest6
-rw-r--r--dev-python/pyminuit/metadata.xml11
-rw-r--r--dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild37
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/pyminuit/Manifest b/dev-python/pyminuit/Manifest
new file mode 100644
index 000000000000..fca236441feb
--- /dev/null
+++ b/dev-python/pyminuit/Manifest
@@ -0,0 +1,6 @@
+DIST Minuit-1_7_9-patch1.tar.gz 430753 SHA256 3c223b0d145484bd8bff202f6c18efb974218130fa1ca49389db512d02bd58e4 SHA512 741ded2e6e999e8edf1e067ce9c2583784f6c1a7e34709430074d1f312de3a5815249466fe0a1c5be0a2f77932f34cbdb4bd1eb9de1b3528223711f26cbc65b9 WHIRLPOOL a6103d209cb8b97202346acd7ef0fdb37a0eb3a94658e6130ff8013448c5d56730ee3d8985c59f406cbd18e0fbb4586b443fe93a4b3c95bc0e0c9621cd5a09ee
+DIST pyminuit-1.2.1.tgz 17099 SHA256 d065f7f57a524ec322cb95252a6ed6e8056148f0d34fd90ae2bfc1259ac4d4ea SHA512 b5bd954288d57a6c043e336ddb62a42cd4e6cc340847fbd700573db288c4404ef80a86a76b3c4e458913cd73b08ea97b20a4e411043a6ce826d9d88ee54fbe1f WHIRLPOOL 28e84ddd1125e76365cb204079281f184e89ed8033b8535c399ac422c5f02a4c7dc2ac34c488fa8a86557d3bab44b3d4ca72c00890c89fc91adb2f5275c0e6a7
+EBUILD pyminuit-1.2.1-r1.ebuild 817 SHA256 82acccdb58ea48ff98396d1a9f38905f4ea986ba2abb79ff37d53803adb9007e SHA512 826502cbe28d107bbe5dda5fb1dd2bd57732e9144a9f6de608483e6b758258be7084e4acaa66b34b16c36e48cb66183c76e98d38dd76a967641b08742869a649 WHIRLPOOL fa243b8c0228667d2bf07ae106b0baa0e021faba270e11f33908b1d260102ee44078c5d79bdec22fc23fa6646491f10960c535c80bf3d3dc212265852cd23980
+MISC ChangeLog 3207 SHA256 725485942812a93c288c7c4713d0044794b339c913baba175e5410da54188233 SHA512 bfd1e782050f3307b97b6617d51e08b2febdfaf787701fcb6f7f152b8c67f958fdd93f9b9738a0559a9618ad906ab85d1ef53b9c9010473dae2d18da518e55cc WHIRLPOOL 9c2add5189b10ebe6c15bbc3425240ab4ec5d3f0f1f7e7d5f8221af857bd819f5656ab95db49060dc231e1e22758f886f60de7a7de4a486152b78dadf9a9c7b7
+MISC ChangeLog-2015 479 SHA256 35c148d41e2dfe5cb5b386f4317e1f0be5e16c130c4c037e8bc1b8093c35051d SHA512 743256d03e2521c845a0f8b1b9198d9bfab62cd35855fb446fef6346ad5a84ed815ac317499e3f48f0eec7a912e8eeb64f17e1fc67af39f7b168c3735ee16d6f WHIRLPOOL 9dc397e4baf4088d587df5f8fc0bc3a549190c5dca64b91a1da7bccb2dba929b5b2f3fc361a22227da28723212c2459323e3438081d0a48aa1ca12a301a31e3d
+MISC metadata.xml 333 SHA256 9fedefa3da18d5c3b42183eaa46b689751c967ccec8deff13971d56eae4b32d3 SHA512 46169e56ebe63dbd8f7234dd06f9bd7b36f2325ca5c145207b638fde9805bb2d9361f070599aaabe69ed127df3ac419fefd6b10a98e9efe03afcd72aba2eab2d WHIRLPOOL a1dd5ba566a5df86388b39fd91a6593f6394b196d9ba6f0bf18668300bf9fb94bec9a3562d786496b05ec9867d36d9d1f6b83a32fe93346bca51463de60a3e95
diff --git a/dev-python/pyminuit/metadata.xml b/dev-python/pyminuit/metadata.xml
new file mode 100644
index 000000000000..ab211f004c18
--- /dev/null
+++ b/dev-python/pyminuit/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jpivarski/pyminuit</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild b/dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild
new file mode 100644
index 000000000000..fe299de2db48
--- /dev/null
+++ b/dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Minuit numerical function minimization in Python"
+HOMEPAGE="https://github.com/jpivarski/pyminuit"
+SRC_URI="
+ https://pyminuit.googlecode.com/files/${P}.tgz
+ https://pyminuit.googlecode.com/files/Minuit-1_7_9-patch1.tar.gz
+ "
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${WORKDIR}"/${PN}
+
+src_configure() {
+ cd "${WORKDIR}"/Minuit-1_7_9 && econf --disable-static || die
+}
+src_compile() {
+ cd "${WORKDIR}"/Minuit-1_7_9 && emake
+ cd "${S}"
+ distutils-r1_src_compile
+}
+
+python_install_all() {
+ cd "${WORKDIR}"/Minuit-1_7_9 || die
+ default
+ distutils-r1_python_install_all
+}