* [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/mathlib-tools/
@ 2021-10-20 21:35 Maciej Barć
0 siblings, 0 replies; 4+ messages in thread
From: Maciej Barć @ 2021-10-20 21:35 UTC (permalink / raw
To: gentoo-commits
commit: 186ac057cc23363f7d000b252894af4225ae08f1
Author: Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Wed Oct 20 21:18:44 2021 +0000
Commit: Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Wed Oct 20 21:35:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=186ac057
sci-mathematics/mathlib-tools: add version 1.1.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
sci-mathematics/mathlib-tools/Manifest | 1 +
.../mathlib-tools/mathlib-tools-1.1.0.ebuild | 43 ++++++++++++++++++++++
sci-mathematics/mathlib-tools/metadata.xml | 19 ++++++++++
3 files changed, 63 insertions(+)
diff --git a/sci-mathematics/mathlib-tools/Manifest b/sci-mathematics/mathlib-tools/Manifest
new file mode 100644
index 000000000..4ab66c9a9
--- /dev/null
+++ b/sci-mathematics/mathlib-tools/Manifest
@@ -0,0 +1 @@
+DIST mathlib-tools-1.1.0.tar.gz 32374 BLAKE2B f470927cae1dc66478efd44de6a5fd7c8df9656351ee342d14a1e75e8774383616cedf01b21ef1b92220fb03b1f1ccb326e3363dd0fec4fb5876f43c5ddb4010 SHA512 bc59d2e41c42ecc22c5768ac3adb209f0b170e2e97fe68483d8518b78a6b4fa163c1d46e4e3996c6f3e0aaa329c642fd111b3e16d850f40b6edc81c81215d03f
diff --git a/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
new file mode 100644
index 000000000..f17034030
--- /dev/null
+++ b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Tests fail with 3.9
+PYTHON_COMPAT=(python3_8)
+
+inherit distutils-r1
+
+DESCRIPTION="Development tools for Lean's mathlib"
+HOMEPAGE="https://github.com/leanprover-community/mathlib-tools"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/leanprover-community/${PN}.git"
+else
+ SRC_URI="https://github.com/leanprover-community/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND="
+ >=dev-python/GitPython-2.1.11[${PYTHON_USEDEP}]
+ >=dev-python/toml-0.10.0[${PYTHON_USEDEP}]
+ dev-python/PyGithub[${PYTHON_USEDEP}]
+ dev-python/atomicwrites[${PYTHON_USEDEP}]
+ dev-python/certifi[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/networkx[${PYTHON_USEDEP}]
+ dev-python/pydot[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/tqdm[${PYTHON_USEDEP}]
+"
+RDEPEND="
+ ${DEPEND}
+ dev-lang/lean
+"
+
+distutils_enable_tests pytest
diff --git a/sci-mathematics/mathlib-tools/metadata.xml b/sci-mathematics/mathlib-tools/metadata.xml
new file mode 100644
index 000000000..2bb1a9a5b
--- /dev/null
+++ b/sci-mathematics/mathlib-tools/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgqt@riseup.net</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <longdescription lang="en">
+ This package contains leanproject, a supporting tool for Lean mathlib.
+ More info:
+ - https://leanprover-community.github.io/toolchain.html#handling-dependencies
+ - https://leanprover-community.github.io/leanproject.html
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/leanprover-community/mathlib-tools/issues</bugs-to>
+ <remote-id type="github">leanprover-community/mathlib-tools</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/mathlib-tools/
@ 2021-10-20 22:06 Maciej Barć
0 siblings, 0 replies; 4+ messages in thread
From: Maciej Barć @ 2021-10-20 22:06 UTC (permalink / raw
To: gentoo-commits
commit: 832d2b5f5d6cfd9f8e81461cc0d6f51b2d474cde
Author: Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Wed Oct 20 22:06:08 2021 +0000
Commit: Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Wed Oct 20 22:06:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=832d2b5f
sci-mathematics/mathlib-tools: add lean slot
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
index f17034030..b1522ec7b 100644
--- a/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
+++ b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
@@ -37,7 +37,7 @@ DEPEND="
"
RDEPEND="
${DEPEND}
- dev-lang/lean
+ dev-lang/lean:0/3
"
distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/mathlib-tools/
@ 2021-10-25 14:51 Maciej Barć
0 siblings, 0 replies; 4+ messages in thread
From: Maciej Barć @ 2021-10-25 14:51 UTC (permalink / raw
To: gentoo-commits
commit: e5eaf98459a132a79c92d9da0948efa2e56d4162
Author: Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Mon Oct 25 14:51:19 2021 +0000
Commit: Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Mon Oct 25 14:51:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5eaf984
sci-mathematics/mathlib-tools: remove problematic tests
Closes: https://bugs.gentoo.org/820218
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
index b1522ec7b..675a19481 100644
--- a/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
+++ b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
@@ -3,8 +3,7 @@
EAPI=8
-# Tests fail with 3.9
-PYTHON_COMPAT=(python3_8)
+PYTHON_COMPAT=(python3_{8,9})
inherit distutils-r1
@@ -40,4 +39,11 @@ RDEPEND="
dev-lang/lean:0/3
"
+src_prepare() {
+ # Remove problematic tests (mainly issues with network)
+ rm ./tests/test_functional.py || die
+
+ distutils-r1_python_prepare_all
+}
+
distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/mathlib-tools/
@ 2021-11-26 13:08 Maciej Barć
0 siblings, 0 replies; 4+ messages in thread
From: Maciej Barć @ 2021-11-26 13:08 UTC (permalink / raw
To: gentoo-commits
commit: 71f026045d6c515c31387fc306a76a8fa9c84e4b
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 12:10:26 2021 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 13:08:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71f02604
sci-mathematics: move mathlib-tools to ::gentoo
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-mathematics/mathlib-tools/Manifest | 1 -
.../mathlib-tools/mathlib-tools-1.1.0.ebuild | 49 ----------------------
sci-mathematics/mathlib-tools/metadata.xml | 19 ---------
3 files changed, 69 deletions(-)
diff --git a/sci-mathematics/mathlib-tools/Manifest b/sci-mathematics/mathlib-tools/Manifest
deleted file mode 100644
index 4ab66c9a9..000000000
--- a/sci-mathematics/mathlib-tools/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mathlib-tools-1.1.0.tar.gz 32374 BLAKE2B f470927cae1dc66478efd44de6a5fd7c8df9656351ee342d14a1e75e8774383616cedf01b21ef1b92220fb03b1f1ccb326e3363dd0fec4fb5876f43c5ddb4010 SHA512 bc59d2e41c42ecc22c5768ac3adb209f0b170e2e97fe68483d8518b78a6b4fa163c1d46e4e3996c6f3e0aaa329c642fd111b3e16d850f40b6edc81c81215d03f
diff --git a/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
deleted file mode 100644
index 675a19481..000000000
--- a/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=(python3_{8,9})
-
-inherit distutils-r1
-
-DESCRIPTION="Development tools for Lean's mathlib"
-HOMEPAGE="https://github.com/leanprover-community/mathlib-tools"
-
-if [[ "${PV}" == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/leanprover-community/${PN}.git"
-else
- SRC_URI="https://github.com/leanprover-community/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0"
-
-DEPEND="
- >=dev-python/GitPython-2.1.11[${PYTHON_USEDEP}]
- >=dev-python/toml-0.10.0[${PYTHON_USEDEP}]
- dev-python/PyGithub[${PYTHON_USEDEP}]
- dev-python/atomicwrites[${PYTHON_USEDEP}]
- dev-python/certifi[${PYTHON_USEDEP}]
- dev-python/click[${PYTHON_USEDEP}]
- dev-python/networkx[${PYTHON_USEDEP}]
- dev-python/pydot[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/tqdm[${PYTHON_USEDEP}]
-"
-RDEPEND="
- ${DEPEND}
- dev-lang/lean:0/3
-"
-
-src_prepare() {
- # Remove problematic tests (mainly issues with network)
- rm ./tests/test_functional.py || die
-
- distutils-r1_python_prepare_all
-}
-
-distutils_enable_tests pytest
diff --git a/sci-mathematics/mathlib-tools/metadata.xml b/sci-mathematics/mathlib-tools/metadata.xml
deleted file mode 100644
index 2bb1a9a5b..000000000
--- a/sci-mathematics/mathlib-tools/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-
-<pkgmetadata>
- <maintainer type="person">
- <email>xgqt@riseup.net</email>
- <name>Maciej Barć</name>
- </maintainer>
- <longdescription lang="en">
- This package contains leanproject, a supporting tool for Lean mathlib.
- More info:
- - https://leanprover-community.github.io/toolchain.html#handling-dependencies
- - https://leanprover-community.github.io/leanproject.html
- </longdescription>
- <upstream>
- <bugs-to>https://github.com/leanprover-community/mathlib-tools/issues</bugs-to>
- <remote-id type="github">leanprover-community/mathlib-tools</remote-id>
- </upstream>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-26 13:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-26 13:08 [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/mathlib-tools/ Maciej Barć
-- strict thread matches above, loose matches on Subject: below --
2021-10-25 14:51 Maciej Barć
2021-10-20 22:06 Maciej Barć
2021-10-20 21:35 Maciej Barć
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox