Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: frobby-0.9.5
@ 2023-04-14 13:04 Eloitor
  2023-04-14 13:09 ` [PR PATCH] [Updated] " Eloitor
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eloitor @ 2023-04-14 13:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages frobby
https://github.com/void-linux/void-packages/pull/43440

New package: frobby-0.9.5
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)

This package can be used by sagemath and Macaulay2 #35873


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

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

From 6f46ea86e241d5994ff83688e511f2d1648f8553 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 14 Apr 2023 00:03:13 +0200
Subject: [PATCH] New package: frobby-0.9.5

---
 srcpkgs/frobby-devel                  |  1 +
 srcpkgs/frobby/patches/Makefile.patch | 35 +++++++++++++++++++++++++++
 srcpkgs/frobby/template               | 29 ++++++++++++++++++++++
 3 files changed, 65 insertions(+)
 create mode 120000 srcpkgs/frobby-devel
 create mode 100644 srcpkgs/frobby/patches/Makefile.patch
 create mode 100644 srcpkgs/frobby/template

diff --git a/srcpkgs/frobby-devel b/srcpkgs/frobby-devel
new file mode 120000
index 000000000000..5a25e67f7b46
--- /dev/null
+++ b/srcpkgs/frobby-devel
@@ -0,0 +1 @@
+frobby
\ No newline at end of file
diff --git a/srcpkgs/frobby/patches/Makefile.patch b/srcpkgs/frobby/patches/Makefile.patch
new file mode 100644
index 000000000000..2269f8bfde61
--- /dev/null
+++ b/srcpkgs/frobby/patches/Makefile.patch
@@ -0,0 +1,35 @@
+diff --git a/Makefile b/Makefile
+index 36a3778..2529515 100644
+--- a/Makefile
++++ b/Makefile
+@@ -6,10 +6,8 @@
+ # ========================
+ # For GMP set **both**  GMP_INC_DIR  **and**  ldflags_for_gmp
+ # If you have a system installation of GMP with C++ support use next 2 lines:
+-# GMP_INC_DIR=
+-# ldflags_for_gmp=-lgmpxx -lgmp
+-GMP_INC_DIR=/usr/local/include
+-ldflags_for_gmp=-L/usr/local/lib -lgmpxx -lgmp
++GMP_INC_DIR=
++ldflags_for_gmp=-lgmpxx -lgmp
+ 
+ 
+ 
+@@ -80,7 +78,7 @@ ifndef CXX
+ endif
+ 
+ ifndef BIN_INSTALL_DIR
+-  BIN_INSTALL_DIR = "/usr/local/bin/"
++  BIN_INSTALL_DIR = "/usr/bin/"
+ endif
+ 
+ cxxflags = $(CXXFLAGS) $(CPPFLAGS) -I $(GMP_INC_DIR) -Wno-uninitialized -Wno-unused-parameter
+@@ -252,7 +250,7 @@ endif
+ 
+ -include $(objs:.o=.d)
+ 
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ MAN1DIR ?= $(PREFIX)/share/man/man1
+ 
+ # Installation.
diff --git a/srcpkgs/frobby/template b/srcpkgs/frobby/template
new file mode 100644
index 000000000000..4e659dc6de4f
--- /dev/null
+++ b/srcpkgs/frobby/template
@@ -0,0 +1,29 @@
+# Template file for 'frobby'
+pkgname=frobby
+version=0.9.5
+revision=1
+build_style=gnu-makefile
+makedepends="gmp-devel gmpxx-devel"
+short_desc="Computations with monomial ideals"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-2.0-only"
+homepage="https://github.com/Macaulay2/frobby"
+changelog="https://raw.githubusercontent.com/Macaulay2/frobby/master/changelog.txt"
+distfiles="https://github.com/Macaulay2/frobby/archive/refs/tags/v${version}.tar.gz"
+checksum=714c33c4f68e86d82062d7a42ad42c581d4b4c60d6a73ee1836ba1be7f985eb3
+
+post_build() {
+	RANLIB=/usr/bin/ranlib make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" library
+}
+
+frobby-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmkdir usr/include
+		vcopy src/frobby.h usr/include
+		vcopy src/stdinc.h usr/include
+		vcopy bin/libfrobby.a usr/lib
+		vbin bin/frobby
+	}
+}

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

* Re: [PR PATCH] [Updated] New package: frobby-0.9.5
  2023-04-14 13:04 [PR PATCH] New package: frobby-0.9.5 Eloitor
@ 2023-04-14 13:09 ` Eloitor
  2023-04-14 13:12 ` Eloitor
  2023-06-25 17:50 ` [PR PATCH] [Merged]: " Duncaen
  2 siblings, 0 replies; 4+ messages in thread
From: Eloitor @ 2023-04-14 13:09 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Eloitor against master on the void-packages repository

https://github.com/Eloitor/void-packages frobby
https://github.com/void-linux/void-packages/pull/43440

New package: frobby-0.9.5
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)

This package can be used by sagemath and Macaulay2 #35873


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

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

From 559aa5a980e6146033f625c182cd38a8c90e81bc Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 14 Apr 2023 00:03:13 +0200
Subject: [PATCH] New package: frobby-0.9.5

---
 srcpkgs/frobby-devel                  |  1 +
 srcpkgs/frobby/patches/Makefile.patch | 35 +++++++++++++++++++++++++++
 srcpkgs/frobby/template               | 28 +++++++++++++++++++++
 3 files changed, 64 insertions(+)
 create mode 120000 srcpkgs/frobby-devel
 create mode 100644 srcpkgs/frobby/patches/Makefile.patch
 create mode 100644 srcpkgs/frobby/template

diff --git a/srcpkgs/frobby-devel b/srcpkgs/frobby-devel
new file mode 120000
index 000000000000..5a25e67f7b46
--- /dev/null
+++ b/srcpkgs/frobby-devel
@@ -0,0 +1 @@
+frobby
\ No newline at end of file
diff --git a/srcpkgs/frobby/patches/Makefile.patch b/srcpkgs/frobby/patches/Makefile.patch
new file mode 100644
index 000000000000..2269f8bfde61
--- /dev/null
+++ b/srcpkgs/frobby/patches/Makefile.patch
@@ -0,0 +1,35 @@
+diff --git a/Makefile b/Makefile
+index 36a3778..2529515 100644
+--- a/Makefile
++++ b/Makefile
+@@ -6,10 +6,8 @@
+ # ========================
+ # For GMP set **both**  GMP_INC_DIR  **and**  ldflags_for_gmp
+ # If you have a system installation of GMP with C++ support use next 2 lines:
+-# GMP_INC_DIR=
+-# ldflags_for_gmp=-lgmpxx -lgmp
+-GMP_INC_DIR=/usr/local/include
+-ldflags_for_gmp=-L/usr/local/lib -lgmpxx -lgmp
++GMP_INC_DIR=
++ldflags_for_gmp=-lgmpxx -lgmp
+ 
+ 
+ 
+@@ -80,7 +78,7 @@ ifndef CXX
+ endif
+ 
+ ifndef BIN_INSTALL_DIR
+-  BIN_INSTALL_DIR = "/usr/local/bin/"
++  BIN_INSTALL_DIR = "/usr/bin/"
+ endif
+ 
+ cxxflags = $(CXXFLAGS) $(CPPFLAGS) -I $(GMP_INC_DIR) -Wno-uninitialized -Wno-unused-parameter
+@@ -252,7 +250,7 @@ endif
+ 
+ -include $(objs:.o=.d)
+ 
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ MAN1DIR ?= $(PREFIX)/share/man/man1
+ 
+ # Installation.
diff --git a/srcpkgs/frobby/template b/srcpkgs/frobby/template
new file mode 100644
index 000000000000..99ead8fe3ef2
--- /dev/null
+++ b/srcpkgs/frobby/template
@@ -0,0 +1,28 @@
+# Template file for 'frobby'
+pkgname=frobby
+version=0.9.5
+revision=1
+build_style=gnu-makefile
+makedepends="gmp-devel gmpxx-devel"
+short_desc="Computations with monomial ideals"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-2.0-only"
+homepage="https://github.com/Macaulay2/frobby"
+changelog="https://raw.githubusercontent.com/Macaulay2/frobby/master/changelog.txt"
+distfiles="https://github.com/Macaulay2/frobby/archive/refs/tags/v${version}.tar.gz"
+checksum=714c33c4f68e86d82062d7a42ad42c581d4b4c60d6a73ee1836ba1be7f985eb3
+
+post_build() {
+	RANLIB=/usr/bin/ranlib make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" library
+}
+
+frobby-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmkdir usr/include
+		vcopy src/frobby.h usr/include
+		vcopy src/stdinc.h usr/include
+		vcopy bin/libfrobby.a usr/lib
+	}
+}

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

* Re: New package: frobby-0.9.5
  2023-04-14 13:04 [PR PATCH] New package: frobby-0.9.5 Eloitor
  2023-04-14 13:09 ` [PR PATCH] [Updated] " Eloitor
@ 2023-04-14 13:12 ` Eloitor
  2023-06-25 17:50 ` [PR PATCH] [Merged]: " Duncaen
  2 siblings, 0 replies; 4+ messages in thread
From: Eloitor @ 2023-04-14 13:12 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/43440#issuecomment-1508486866

Comment:
I ran this tests:

```
$ sage -t --optional frobby /usr/lib/python3.11/site-packages/sage/interfaces/frobby.py
too few successful tests, not using stored timings
Running doctests with ID 2023-04-14-15-22-46-643f19d8.
Running with SAGE_LOCAL='/usr' and SAGE_VENV='/usr'
Using --optional=frobby
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_jones_numfield,database_knotinfo,dvipng,gfan,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,msolve,nauty,palp,pandoc,pdf2svg,pdftocairo,phitigra,plantri,polytopes_db,polytopes_db_4d,pynormaliz,python_igraph,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.misc.cython,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib
Doctesting 1 file.
sage -t --random-seed=89694698709126861442508448434422927038 /usr/lib/python3.11/site-packages/sage/interfaces/frobby.py
    [51 tests, 0.15 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 0.2 seconds
    cpu time: 0.1 seconds
    cumulative wall time: 0.2 seconds
Features detected for doctesting:
```

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

* Re: [PR PATCH] [Merged]: New package: frobby-0.9.5
  2023-04-14 13:04 [PR PATCH] New package: frobby-0.9.5 Eloitor
  2023-04-14 13:09 ` [PR PATCH] [Updated] " Eloitor
  2023-04-14 13:12 ` Eloitor
@ 2023-06-25 17:50 ` Duncaen
  2 siblings, 0 replies; 4+ messages in thread
From: Duncaen @ 2023-06-25 17:50 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: frobby-0.9.5
https://github.com/void-linux/void-packages/pull/43440

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)

This package can be used by sagemath and Macaulay2 #35873


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

end of thread, other threads:[~2023-06-25 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 13:04 [PR PATCH] New package: frobby-0.9.5 Eloitor
2023-04-14 13:09 ` [PR PATCH] [Updated] " Eloitor
2023-04-14 13:12 ` Eloitor
2023-06-25 17:50 ` [PR PATCH] [Merged]: " Duncaen

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).