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: Tue, 29 Nov 2022 20:44:29
Message-Id: 1669754663.a8c215033b6e22bb7bf151f1d1026071459a4c35.xgqt@gentoo
1 commit: a8c215033b6e22bb7bf151f1d1026071459a4c35
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 29 20:29:47 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 20:44:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8c21503
7
8 sci-mathematics/mathlib-tools: bump to 1.3.1
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.3.1.ebuild | 53 ++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/sci-mathematics/mathlib-tools/Manifest b/sci-mathematics/mathlib-tools/Manifest
17 index 19758219dc4b..0311ca178453 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.2.0.tar.gz 33995 BLAKE2B ce1125fa786daa6292556e35dd596dfc819eab739f1dac65de4eb966873d86ab779e61372694da281123d64c36b1978afa359e2bb154cbf39cfa0f1677b5f0f6 SHA512 3691ef89ec0325d223ab56f6b09d0fd729d006a3ce6aa338e814b1cb3d014e670da6c16a52233ceb1c1dbd6f027c769f1adedfe53cbccc4be73803abf4475ae0
22 DIST mathlib-tools-1.3.0.tar.gz 34918 BLAKE2B 4d54922cfe5de3d6671161081c49fe82568ad90795ece8ad43e9f62c75415204e62ff1822be213ab259371e82ea869ff63195056cc415a1f376fa0a4a438fb4f SHA512 250390e55170e5a7520f34dee27c9846351a64c4157e9f4a0ec1d0d9bf6b075b09187476375a90e7df2fdab6ce7b7b51ff03f1bf28007915242811f377ce3150
23 +DIST mathlib-tools-1.3.1.tar.gz 34918 BLAKE2B 4d54922cfe5de3d6671161081c49fe82568ad90795ece8ad43e9f62c75415204e62ff1822be213ab259371e82ea869ff63195056cc415a1f376fa0a4a438fb4f SHA512 250390e55170e5a7520f34dee27c9846351a64c4157e9f4a0ec1d0d9bf6b075b09187476375a90e7df2fdab6ce7b7b51ff03f1bf28007915242811f377ce3150
24
25 diff --git a/sci-mathematics/mathlib-tools/mathlib-tools-1.3.1.ebuild b/sci-mathematics/mathlib-tools/mathlib-tools-1.3.1.ebuild
26 new file mode 100644
27 index 000000000000..b9439cb1bcca
28 --- /dev/null
29 +++ b/sci-mathematics/mathlib-tools/mathlib-tools-1.3.1.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Development tools for Lean's mathlib"
42 +HOMEPAGE="https://github.com/leanprover-community/mathlib-tools"
43 +
44 +if [[ ${PV} == *9999* ]] ; then
45 + inherit git-r3
46 + EGIT_REPO_URI="https://github.com/leanprover-community/${PN}.git"
47 +else
48 + H=1ce2e7143b2456867f4a671a078a4e9af3c73c11
49 + SRC_URI="https://github.com/leanprover-community/${PN}/archive/${H}.tar.gz
50 + -> ${P}.tar.gz"
51 + S="${WORKDIR}"/${PN}-${H}
52 + KEYWORDS="~amd64 ~x86"
53 +fi
54 +
55 +LICENSE="Apache-2.0"
56 +SLOT="0"
57 +
58 +BDEPEND="
59 + >=dev-python/GitPython-2.1.11[${PYTHON_USEDEP}]
60 + >=dev-python/toml-0.10.0[${PYTHON_USEDEP}]
61 + dev-python/PyGithub[${PYTHON_USEDEP}]
62 + dev-python/atomicwrites[${PYTHON_USEDEP}]
63 + dev-python/certifi[${PYTHON_USEDEP}]
64 + dev-python/click[${PYTHON_USEDEP}]
65 + dev-python/networkx[${PYTHON_USEDEP}]
66 + dev-python/pydot[${PYTHON_USEDEP}]
67 + dev-python/pyyaml[${PYTHON_USEDEP}]
68 + dev-python/requests[${PYTHON_USEDEP}]
69 + dev-python/tqdm[${PYTHON_USEDEP}]
70 +"
71 +RDEPEND="
72 + ${BDEPEND}
73 + sci-mathematics/lean:0/3
74 +"
75 +
76 +distutils_enable_tests pytest
77 +
78 +src_prepare() {
79 + # Remove problematic tests (mainly issues with network)
80 + rm ./tests/test_functional.py || die
81 +
82 + distutils-r1_python_prepare_all
83 +}