public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/metamath-databases/
@ 2022-03-03  4:56 Maciej Barć
  0 siblings, 0 replies; 2+ messages in thread
From: Maciej Barć @ 2022-03-03  4:56 UTC (permalink / raw
  To: gentoo-commits

commit:     5d8de28b5685e7d68e5c5b6110f4389aa54a38f5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  3 04:42:32 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Mar  3 04:55:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d8de28b

sci-mathematics/metamath-databases: new package; add 20220303 (2022.03.03 snapshot)

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 sci-mathematics/metamath-databases/Manifest        |  1 +
 sci-mathematics/metamath-databases/metadata.xml    | 18 +++++++++
 .../metamath-databases-20220303.ebuild             | 45 ++++++++++++++++++++++
 3 files changed, 64 insertions(+)

diff --git a/sci-mathematics/metamath-databases/Manifest b/sci-mathematics/metamath-databases/Manifest
new file mode 100644
index 000000000000..f12d5f0932b2
--- /dev/null
+++ b/sci-mathematics/metamath-databases/Manifest
@@ -0,0 +1 @@
+DIST metamath-databases-20220303.tar.gz 20538855 BLAKE2B 8aa3c505a16d1fac08de5d447eb55e4bc64f5fa53905c1147a17b6e65c87403f2baea9d30699da71f16cc34373f2d9c56c02f3b85327aa9db42af7c5c63db8df SHA512 5f2ca7e299ec3e8dda7739de057c69dcbdd4e23d5853826ac9d6ccabcaa0abf292990eb1925762ff2a5611b32628ed508b6fa4949121e090feaa0c986f3f67ac

diff --git a/sci-mathematics/metamath-databases/metadata.xml b/sci-mathematics/metamath-databases/metadata.xml
new file mode 100644
index 000000000000..aeb2ac517a10
--- /dev/null
+++ b/sci-mathematics/metamath-databases/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>sci-mathematics@gentoo.org</email>
+    <name>Gentoo Mathematics Project</name>
+  </maintainer>
+  <longdescription>
+    This is a collection of rigorously verified Metamath databases that
+    specify mathematical axioms and formal proofs of theorems derived from
+    those axioms.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/metamath/set.mm/issues/</bugs-to>
+    <remote-id type="github">metamath/set.mm</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild b/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild
new file mode 100644
index 000000000000..32304b03acd4
--- /dev/null
+++ b/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=99d707bc3c600a9d6052a46a7c85f05b74c589a2
+
+DESCRIPTION="Sample databases for Metamath"
+HOMEPAGE="http://us.metamath.org/mpeuni/mmset.html"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/metamath/set.mm.git"
+else
+	SRC_URI="https://github.com/metamath/set.mm/archive/${H}.tar.gz
+				-> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}"/set.mm-${H}
+fi
+
+LICENSE="CC0-1.0"
+SLOT="0"
+IUSE="doc"
+
+RDEPEND="sci-mathematics/metamath"
+
+DOCS=(
+	CONTRIBUTING.md README.md
+	discouraged iset-discouraged
+	mmnotes.txt
+	other-databases.md verifiers.md
+)
+
+src_install() {
+	insinto /usr/share/metamath
+	doins *.mm *.mmts
+
+	einstalldocs
+
+	if use doc ; then
+		docinto html
+		dodoc -r people
+		dodoc *.html *.svg
+	fi
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/metamath-databases/
@ 2023-03-04 16:32 Maciej Barć
  0 siblings, 0 replies; 2+ messages in thread
From: Maciej Barć @ 2023-03-04 16:32 UTC (permalink / raw
  To: gentoo-commits

commit:     5c69e44b38a73f7123a59cd42316f0f0d29172ad
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  4 16:04:03 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 16:32:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c69e44b

sci-mathematics/metamath-databases: H -> COMMIT

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../metamath-databases/metamath-databases-20220303.ebuild | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild b/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild
index 32304b03acd4..cb277918c6f8 100644
--- a/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild
+++ b/sci-mathematics/metamath-databases/metamath-databases-20220303.ebuild
@@ -1,21 +1,22 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-H=99d707bc3c600a9d6052a46a7c85f05b74c589a2
+[[ ${PV} == 20220303 ]] && COMMIT=99d707bc3c600a9d6052a46a7c85f05b74c589a2
 
 DESCRIPTION="Sample databases for Metamath"
-HOMEPAGE="http://us.metamath.org/mpeuni/mmset.html"
+HOMEPAGE="http://us.metamath.org/mpeuni/mmset.html
+	https://github.com/metamath/set.mm/"
 
-if [[ "${PV}" == *9999* ]] ; then
+if [[ ${PV} == *9999* ]] ; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/metamath/set.mm.git"
 else
-	SRC_URI="https://github.com/metamath/set.mm/archive/${H}.tar.gz
-				-> ${P}.tar.gz"
+	SRC_URI="https://github.com/metamath/set.mm/archive/${COMMIT}.tar.gz
+		-> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
-	S="${WORKDIR}"/set.mm-${H}
+	S="${WORKDIR}"/set.mm-${COMMIT}
 fi
 
 LICENSE="CC0-1.0"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-04 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-03  4:56 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/metamath-databases/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2023-03-04 16:32 Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox