Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: nauty-2.7r3
@ 2021-11-21 23:15 tornaria
  2021-11-22 12:23 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 1 reply; 2+ messages in thread
From: tornaria @ 2021-11-21 23:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tornaria/void-packages nauty
https://github.com/void-linux/void-packages/pull/34189

New package: nauty-2.7r3
Dependency of sagemath

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

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

From 2e02bc8ea804d7c9d8c55fd174ed50392fb0edc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sun, 21 Nov 2021 20:15:25 -0300
Subject: [PATCH] New package: nauty-2.7r3

---
 srcpkgs/nauty-devel                           |  1 +
 .../nauty/patches/cross-disable-popcnt.patch  | 20 ++++++++++++++++
 srcpkgs/nauty/template                        | 24 +++++++++++++++++++
 srcpkgs/nauty/update                          |  1 +
 4 files changed, 46 insertions(+)
 create mode 120000 srcpkgs/nauty-devel
 create mode 100644 srcpkgs/nauty/patches/cross-disable-popcnt.patch
 create mode 100644 srcpkgs/nauty/template
 create mode 100644 srcpkgs/nauty/update

diff --git a/srcpkgs/nauty-devel b/srcpkgs/nauty-devel
new file mode 120000
index 000000000000..332f81a9affc
--- /dev/null
+++ b/srcpkgs/nauty-devel
@@ -0,0 +1 @@
+nauty
\ No newline at end of file
diff --git a/srcpkgs/nauty/patches/cross-disable-popcnt.patch b/srcpkgs/nauty/patches/cross-disable-popcnt.patch
new file mode 100644
index 000000000000..a5b7d59ff4e7
--- /dev/null
+++ b/srcpkgs/nauty/patches/cross-disable-popcnt.patch
@@ -0,0 +1,20 @@
+Disable popcnt in cross-builds, as we can't run programs to check.
+Note that using `configure --disable-popcnt` is broken.
+
+--- a/configure	2021-11-21 20:00:41.599629153 -0300
++++ b/configure	2021-11-21 20:00:45.891579837 -0300
+@@ -5766,10 +5766,10 @@
+ printf %s "checking if popcnt instruction is available and requested... " >&6; }
+ if test "$cross_compiling" = yes
+ then :
+-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+-as_fn_error $? "cannot run test program while cross compiling
+-See \`config.log' for more details" "$LINENO" 5; }
++allow_popcnt=0  # { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
++# printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
++# as_fn_error $? "cannot run test program while cross compiling
++# See \`config.log' for more details" "$LINENO" 5; }
+ else $as_nop
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
diff --git a/srcpkgs/nauty/template b/srcpkgs/nauty/template
new file mode 100644
index 000000000000..57025e400999
--- /dev/null
+++ b/srcpkgs/nauty/template
@@ -0,0 +1,24 @@
+# Template file for 'nauty'
+pkgname=nauty
+version=2.7r3
+revision=1
+wrksrc=${pkgname}${version/./}
+build_style=gnu-configure
+make_install_args="includedir=/usr/include/nauty
+ pkgconfigexecdir=/usr/lib/pkgconfig"
+short_desc="Compute the automorphism groups of graphs and digraphs"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="Apache-2.0"
+homepage="https://pallini.di.uniroma1.it/"
+distfiles="https://pallini.di.uniroma1.it/nauty${version/./}.tar.gz"
+checksum=4f0665b716a53f7a14ea2ae30059f23d064ce3fe4c12c013404ef6e1ee0b88c2
+
+nauty-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove usr/lib/pkgconfig
+	}
+}
diff --git a/srcpkgs/nauty/update b/srcpkgs/nauty/update
new file mode 100644
index 000000000000..6607167f897d
--- /dev/null
+++ b/srcpkgs/nauty/update
@@ -0,0 +1 @@
+version=${version/./}

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

* Re: [PR PATCH] [Merged]: New package: nauty-2.7r3
  2021-11-21 23:15 [PR PATCH] New package: nauty-2.7r3 tornaria
@ 2021-11-22 12:23 ` leahneukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2021-11-22 12:23 UTC (permalink / raw)
  To: ml

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

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

New package: nauty-2.7r3
https://github.com/void-linux/void-packages/pull/34189

Description:
Dependency of sagemath

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

end of thread, other threads:[~2021-11-22 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-21 23:15 [PR PATCH] New package: nauty-2.7r3 tornaria
2021-11-22 12:23 ` [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).