Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/mathlib-tools/
Date: Fri, 26 Aug 2022 00:32:12
Message-Id: 1661473925.048b5cc13c0a62e9104d769b51157c5cf771acf6.xgqt@gentoo
1 commit: 048b5cc13c0a62e9104d769b51157c5cf771acf6
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 26 00:15:42 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 26 00:32:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=048b5cc1
7
8 sci-mathematics/mathlib-tools: bump to 1.1.2
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 sci-mathematics/mathlib-tools/Manifest | 1 +
13 .../mathlib-tools/mathlib-tools-1.1.2.ebuild | 50 ++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/sci-mathematics/mathlib-tools/Manifest b/sci-mathematics/mathlib-tools/Manifest
17 index ae52335bd324..6eb9b1e10ad5 100644
18 --- a/sci-mathematics/mathlib-tools/Manifest
19 +++ b/sci-mathematics/mathlib-tools/Manifest
20 @@ -1,2 +1,3 @@
21 DIST mathlib-tools-1.1.0.tar.gz 32374 BLAKE2B f470927cae1dc66478efd44de6a5fd7c8df9656351ee342d14a1e75e8774383616cedf01b21ef1b92220fb03b1f1ccb326e3363dd0fec4fb5876f43c5ddb4010 SHA512 bc59d2e41c42ecc22c5768ac3adb209f0b170e2e97fe68483d8518b78a6b4fa163c1d46e4e3996c6f3e0aaa329c642fd111b3e16d850f40b6edc81c81215d03f
22 DIST mathlib-tools-1.1.1.tar.gz 32456 BLAKE2B 2cb81a6072aecc8a9c298c8bd0ac2edc7f44fecd290add5254a0c35b5e16fca4cfef32727acff883366d99101f7e62ad12709e59b317e34547fa49c404600366 SHA512 17e6105d48071ab41aaa436d3fd35774227b242e6026b30ac82fd0b4f7ea8310a9bc0abe6abe5eca3e77ec62d6a48e7584222381dc7071803215cc3189ce973b
23 +DIST mathlib-tools-1.1.2.tar.gz 32477 BLAKE2B d49d8b05974b70db52e55dea7fdd91f82b05266a6ab2db50e12963b1d9991500088d4aa897a65c391b82e0996d57f5cad5ade8cc85ae85fccb0a03ed63a2f2c8 SHA512 2c0d4faa7a7610f16eca539f1ee369a18ffb6b947bd0ac55983dee8b651c258b9d1819d066dafcfdaf23e612c6e9fb7a3239ccb0b6ca5e51dabcc761bf9b815a
24
25 diff --git a/sci-mathematics/mathlib-tools/mathlib-tools-1.1.2.ebuild b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.2.ebuild
26 new file mode 100644
27 index 000000000000..bc7818d3db62
28 --- /dev/null
29 +++ b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.2.ebuild
30 @@ -0,0 +1,50 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Development tools for Lean's mathlib"
41 +HOMEPAGE="https://github.com/leanprover-community/mathlib-tools"
42 +
43 +if [[ ${PV} == *9999* ]] ; then
44 + inherit git-r3
45 + EGIT_REPO_URI="https://github.com/leanprover-community/${PN}.git"
46 +else
47 + SRC_URI="https://github.com/leanprover-community/${PN}/archive/v${PV}.tar.gz
48 + -> ${P}.tar.gz"
49 + KEYWORDS="~amd64 ~x86"
50 +fi
51 +
52 +LICENSE="Apache-2.0"
53 +SLOT="0"
54 +
55 +BDEPEND="
56 + >=dev-python/GitPython-2.1.11[${PYTHON_USEDEP}]
57 + >=dev-python/toml-0.10.0[${PYTHON_USEDEP}]
58 + dev-python/PyGithub[${PYTHON_USEDEP}]
59 + dev-python/atomicwrites[${PYTHON_USEDEP}]
60 + dev-python/certifi[${PYTHON_USEDEP}]
61 + dev-python/click[${PYTHON_USEDEP}]
62 + dev-python/networkx[${PYTHON_USEDEP}]
63 + dev-python/pydot[${PYTHON_USEDEP}]
64 + dev-python/pyyaml[${PYTHON_USEDEP}]
65 + dev-python/requests[${PYTHON_USEDEP}]
66 + dev-python/tqdm[${PYTHON_USEDEP}]
67 +"
68 +RDEPEND="
69 + ${BDEPEND}
70 + sci-mathematics/lean:0/3
71 +"
72 +
73 +distutils_enable_tests pytest
74 +
75 +src_prepare() {
76 + # Remove problematic tests (mainly issues with network)
77 + rm ./tests/test_functional.py || die
78 +
79 + distutils-r1_python_prepare_all
80 +}