diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pyminuit | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pyminuit')
-rw-r--r-- | dev-python/pyminuit/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pyminuit/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild | 37 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/pyminuit/Manifest b/dev-python/pyminuit/Manifest new file mode 100644 index 000000000000..43aa087a0948 --- /dev/null +++ b/dev-python/pyminuit/Manifest @@ -0,0 +1,4 @@ +DIST Minuit-1_7_9-patch1.tar.gz 430753 BLAKE2B 19c19177a19aa4af27e3feac9df7c526e6536a7e4fad45c94b83b5080e2286e26949bdd5055da298156c3468aced288b5e38d989d00cf93a07d7ad15f111da65 SHA512 741ded2e6e999e8edf1e067ce9c2583784f6c1a7e34709430074d1f312de3a5815249466fe0a1c5be0a2f77932f34cbdb4bd1eb9de1b3528223711f26cbc65b9 +DIST pyminuit-1.2.1.tgz 17099 BLAKE2B 9cefc9e59896d82cb7efd39085ab117a57b874bdae9ecc43fa2011b3148538fc3eeca0f086fae0d7b00cc654ff14edd9d63649ea71be35a795236bbe96c0e2a1 SHA512 b5bd954288d57a6c043e336ddb62a42cd4e6cc340847fbd700573db288c4404ef80a86a76b3c4e458913cd73b08ea97b20a4e411043a6ce826d9d88ee54fbe1f +EBUILD pyminuit-1.2.1-r1.ebuild 819 BLAKE2B 110e766c104af155b36a3ed6bb4bb3618cb267d56d678b5f981680b100067f77a5fbff7c9947e16e279b490586234e630a8db92c2da9456559234ee1bd79d402 SHA512 f49ca7f46912e39b3054049e53b306f2dc9775f7cfee7a4498a7b46de8630b1e670db065d440df0d1ef3bcf01dd146eaee0fdb08cecd81cbafc533259667a079 +MISC metadata.xml 333 BLAKE2B fc246f42c3d2c2579bf2f1680c6189e76073224392758419b47399bcf44a12770203750edfebc77ee6ed45f3b76b6842a65aa59df0f2e610d9f8380db7c1206d SHA512 46169e56ebe63dbd8f7234dd06f9bd7b36f2325ca5c145207b638fde9805bb2d9361f070599aaabe69ed127df3ac419fefd6b10a98e9efe03afcd72aba2eab2d 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..50e33a28b55f --- /dev/null +++ b/dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +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 +} |