Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New: sage data packages (combinatorial_designs, conway_polynomials, elliptic_curves, polytopes_db, graphs)
@ 2022-01-18  0:13 tornaria
  2022-01-19 14:47 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 1 reply; 2+ messages in thread
From: tornaria @ 2022-01-18  0:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

There is a new pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages sage-data
https://github.com/void-linux/void-packages/pull/35098

New: sage data packages (combinatorial_designs, conway_polynomials, elliptic_curves, polytopes_db, graphs)
#### Testing the changes
- I tested the changes in this PR: **YES**

These are data packages that are split from sagemath. They are not very large, but they come from a separate source and they barely change so it's convenient to have them as separate, very simple packages.

Cc: @dkwo @leahneukirchen 

A patch file from https://github.com/void-linux/void-packages/pull/35098.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sage-data-35098.patch --]
[-- Type: text/x-diff, Size: 8767 bytes --]

From 1ffcd2ebbfce19b427c62dba595defa91832ea14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 17 Jan 2022 20:02:33 -0300
Subject: [PATCH 1/5] New package: sage-data-combinatorial_designs-20140630

---
 srcpkgs/sage-data-combinatorial_designs/template | 16 ++++++++++++++++
 srcpkgs/sage-data-combinatorial_designs/update   |  1 +
 2 files changed, 17 insertions(+)
 create mode 100644 srcpkgs/sage-data-combinatorial_designs/template
 create mode 100644 srcpkgs/sage-data-combinatorial_designs/update

diff --git a/srcpkgs/sage-data-combinatorial_designs/template b/srcpkgs/sage-data-combinatorial_designs/template
new file mode 100644
index 000000000000..dcec3dbf554b
--- /dev/null
+++ b/srcpkgs/sage-data-combinatorial_designs/template
@@ -0,0 +1,16 @@
+# Template file for 'sage-data-combinatorial_designs'
+pkgname=sage-data-combinatorial_designs
+version=20140630
+revision=1
+wrksrc="combinatorial_designs-$version"
+short_desc="Data for combinatorial designs"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Public Domain"
+homepage="https://mirrors.mit.edu/sage/spkg/upstream/combinatorial_designs/"
+distfiles="https://mirrors.mit.edu/sage/spkg/upstream/combinatorial_designs/combinatorial_designs-$version.tar.bz2"
+checksum=c9486c6d7ec71da338589a6e301723be4e55e02dcfc41f8dba11a682e3b3482e
+
+do_install() {
+	vmkdir usr/share/sagemath/combinatorial_designs
+	vcopy * usr/share/sagemath/combinatorial_designs
+}
diff --git a/srcpkgs/sage-data-combinatorial_designs/update b/srcpkgs/sage-data-combinatorial_designs/update
new file mode 100644
index 000000000000..d66b1a8e41a0
--- /dev/null
+++ b/srcpkgs/sage-data-combinatorial_designs/update
@@ -0,0 +1 @@
+pkgname=combinatorial_designs

From 66ee8e34acd33274e3191336935bb69da32d07df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 17 Jan 2022 20:02:34 -0300
Subject: [PATCH 2/5] New package: sage-data-conway_polynomials-0.5

---
 srcpkgs/sage-data-conway_polynomials/template | 21 +++++++++++++++++++
 srcpkgs/sage-data-conway_polynomials/update   |  1 +
 2 files changed, 22 insertions(+)
 create mode 100644 srcpkgs/sage-data-conway_polynomials/template
 create mode 100644 srcpkgs/sage-data-conway_polynomials/update

diff --git a/srcpkgs/sage-data-conway_polynomials/template b/srcpkgs/sage-data-conway_polynomials/template
new file mode 100644
index 000000000000..57264da84c2f
--- /dev/null
+++ b/srcpkgs/sage-data-conway_polynomials/template
@@ -0,0 +1,21 @@
+# Template file for 'sage-data-conway_polynomials'
+pkgname=sage-data-conway_polynomials
+version=0.5
+revision=1
+wrksrc="conway_polynomials-$version"
+hostmakedepends="python3"
+short_desc="Database of Conway polynomials over finite fields"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Public Domain, GPL-2.0-or-later"
+homepage="https://mirrors.mit.edu/sage/spkg/upstream/conway_polynomials/"
+distfiles="https://mirrors.mit.edu/sage/spkg/upstream/conway_polynomials/conway_polynomials-$version.tar.bz2
+ https://github.com/sagemath/sage/raw/9.4/build/pkgs/conway_polynomials/spkg-install.py"
+checksum="d8f2788a85b1c2482cc4abe1a35d3da777445e21ec49b031d36b899e3c0deb17
+ da85e913282d059ca36e14cefc92f891da469e8d7127f13a1ce96c6fb5c296af"
+skip_extraction=spkg-install.py
+
+do_install() {
+	ln -s . src
+	SAGE_SHARE=${DESTDIR}/usr/share/sagemath PYTHONPATH=${PWD} \
+		python3 ${XBPS_SRCDISTDIR}/${pkgname}-${version}/spkg-install.py
+}
diff --git a/srcpkgs/sage-data-conway_polynomials/update b/srcpkgs/sage-data-conway_polynomials/update
new file mode 100644
index 000000000000..628e2749f014
--- /dev/null
+++ b/srcpkgs/sage-data-conway_polynomials/update
@@ -0,0 +1 @@
+pkgname=conway_polynomials

From 2072397825a1b258202902952792c5f46d691741 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 17 Jan 2022 20:02:34 -0300
Subject: [PATCH 3/5] New package: sage-data-elliptic_curves-0.8.1

---
 srcpkgs/sage-data-elliptic_curves/template | 21 +++++++++++++++++++++
 srcpkgs/sage-data-elliptic_curves/update   |  1 +
 2 files changed, 22 insertions(+)
 create mode 100644 srcpkgs/sage-data-elliptic_curves/template
 create mode 100644 srcpkgs/sage-data-elliptic_curves/update

diff --git a/srcpkgs/sage-data-elliptic_curves/template b/srcpkgs/sage-data-elliptic_curves/template
new file mode 100644
index 000000000000..5103f9b87374
--- /dev/null
+++ b/srcpkgs/sage-data-elliptic_curves/template
@@ -0,0 +1,21 @@
+# Template file for 'sage-data-elliptic_curves'
+pkgname=sage-data-elliptic_curves
+version=0.8.1
+revision=1
+wrksrc="elliptic_curves-$version"
+hostmakedepends="python3"
+short_desc="Database of elliptic curves"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Public Domain, GPL-2.0-or-later"
+homepage="https://mirrors.mit.edu/sage/spkg/upstream/elliptic_curves/"
+distfiles="https://mirrors.mit.edu/sage/spkg/upstream/elliptic_curves/elliptic_curves-$version.tar.bz2
+ https://github.com/sagemath/sage/raw/9.4/build/pkgs/elliptic_curves/spkg-install.py"
+checksum="5fba5470d9d91f06282ed5edfc45bf0ea1c5f7c8d4837c46234b17be1481fd50
+ 856d482872f72db47c7b718761bb1a205947b276df99b55d087a57130932cf84"
+skip_extraction=spkg-install.py
+
+do_install() {
+	ln -s . src
+	SAGE_SHARE=${DESTDIR}/usr/share/sagemath \
+		python3 ${XBPS_SRCDISTDIR}/${pkgname}-${version}/spkg-install.py
+}
diff --git a/srcpkgs/sage-data-elliptic_curves/update b/srcpkgs/sage-data-elliptic_curves/update
new file mode 100644
index 000000000000..8155f52ce93b
--- /dev/null
+++ b/srcpkgs/sage-data-elliptic_curves/update
@@ -0,0 +1 @@
+pkgname=elliptic_curves

From 657322a791f33f710c0b22c57f04c58e450668e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 17 Jan 2022 20:02:35 -0300
Subject: [PATCH 4/5] New package: sage-data-polytopes_db-20170220

---
 srcpkgs/sage-data-polytopes_db/template | 16 ++++++++++++++++
 srcpkgs/sage-data-polytopes_db/update   |  1 +
 2 files changed, 17 insertions(+)
 create mode 100644 srcpkgs/sage-data-polytopes_db/template
 create mode 100644 srcpkgs/sage-data-polytopes_db/update

diff --git a/srcpkgs/sage-data-polytopes_db/template b/srcpkgs/sage-data-polytopes_db/template
new file mode 100644
index 000000000000..d0f9f297d84b
--- /dev/null
+++ b/srcpkgs/sage-data-polytopes_db/template
@@ -0,0 +1,16 @@
+# Template file for 'sage-data-polytopes_db'
+pkgname=sage-data-polytopes_db
+version=20170220
+revision=1
+wrksrc="polytopes_db-$version"
+short_desc="Database of 2 and 3-dimensional reflexive polytopes"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Public Domain"
+homepage="https://mirrors.mit.edu/sage/spkg/upstream/polytopes_db/"
+distfiles="https://mirrors.mit.edu/sage/spkg/upstream/polytopes_db/polytopes_db-$version.tar.bz2"
+checksum=cb788bdfca6e00864ec0bfa67932a68ae68bfeb9c527a91be90ad218026a0ce0
+
+do_install() {
+	vmkdir usr/share/sagemath/reflexive_polytopes
+	vcopy * usr/share/sagemath/reflexive_polytopes
+}
diff --git a/srcpkgs/sage-data-polytopes_db/update b/srcpkgs/sage-data-polytopes_db/update
new file mode 100644
index 000000000000..f51653b547fd
--- /dev/null
+++ b/srcpkgs/sage-data-polytopes_db/update
@@ -0,0 +1 @@
+pkgname=polytopes_db

From 8aaadaaf70d2602bf893604d2c5caad3917acbd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 17 Jan 2022 20:02:35 -0300
Subject: [PATCH 5/5] New package: sage-data-graphs-20210214

---
 srcpkgs/sage-data-graphs/template | 16 ++++++++++++++++
 srcpkgs/sage-data-graphs/update   |  1 +
 2 files changed, 17 insertions(+)
 create mode 100644 srcpkgs/sage-data-graphs/template
 create mode 100644 srcpkgs/sage-data-graphs/update

diff --git a/srcpkgs/sage-data-graphs/template b/srcpkgs/sage-data-graphs/template
new file mode 100644
index 000000000000..9ca16b6cf53a
--- /dev/null
+++ b/srcpkgs/sage-data-graphs/template
@@ -0,0 +1,16 @@
+# Template file for 'sage-data-graphs'
+pkgname=sage-data-graphs
+version=20210214
+revision=1
+wrksrc="graphs-$version"
+short_desc="Database of graphs"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Public Domain"
+homepage="https://mirrors.mit.edu/sage/spkg/upstream/graphs/"
+distfiles="https://mirrors.mit.edu/sage/spkg/upstream/graphs/graphs-$version.tar.bz2"
+checksum=07237c0d9853611505c389fd7bb92500c8743f5631babb4d0f45dfd8332f3741
+
+do_install() {
+	vmkdir usr/share/sagemath/graphs
+	vcopy * usr/share/sagemath/graphs
+}
diff --git a/srcpkgs/sage-data-graphs/update b/srcpkgs/sage-data-graphs/update
new file mode 100644
index 000000000000..c5c7c7dd5253
--- /dev/null
+++ b/srcpkgs/sage-data-graphs/update
@@ -0,0 +1 @@
+pkgname=graphs

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

end of thread, other threads:[~2022-01-19 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18  0:13 [PR PATCH] New: sage data packages (combinatorial_designs, conway_polynomials, elliptic_curves, polytopes_db, graphs) tornaria
2022-01-19 14:47 ` [PR PATCH] [Merged]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).