Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] isl, isl15: update homepage and distfile url
Date: Fri, 08 Oct 2021 14:08:43 +0200	[thread overview]
Message-ID: <20211008120843.hu4eIicqDeyhqgDGKX_nImmOhhEYJadrYv1-Lt__M84@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33332@inbox.vuxu.org>

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

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

https://github.com/tornaria/void-packages isl
https://github.com/void-linux/void-packages/pull/33332

isl, isl15: update homepage and distfile url
It seems gforge.inria.fr is down.

Per README, the project repo is on repo.or.cz, but the original tarballs
are not available. The available tarballs need autotools to build.

Also removed 'bootstrap=yes'.

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

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

From a5f5e8bd115272dae5e8d0d4d1661d11b8b76944 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 7 Oct 2021 10:17:35 -0300
Subject: [PATCH 1/3] isl: update homepage and distfile url

It seems gforge.inria.fr is down.

Per README, the project repo is on repo.or.cz, but the original tarballs
are not available. The available tarballs need autotools to build.

Also removed 'bootstrap=yes'.
---
 srcpkgs/isl/template | 20 ++++++++++++--------
 srcpkgs/isl/update   |  2 ++
 2 files changed, 14 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/isl/update

diff --git a/srcpkgs/isl/template b/srcpkgs/isl/template
index 397221fbaa41..5f34bbc79972 100644
--- a/srcpkgs/isl/template
+++ b/srcpkgs/isl/template
@@ -2,20 +2,24 @@
 pkgname=isl
 version=0.24
 revision=1
-bootstrap=yes
 build_style=gnu-configure
+hostmakedepends="autoconf automake libtool"
 makedepends="gmp-devel"
 short_desc="Integer Set Library"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
-homepage="http://isl.gforge.inria.fr"
-distfiles="http://isl.gforge.inria.fr/isl-${version}.tar.bz2"
-checksum=fcf78dd9656c10eb8cf9fbd5f59a0b6b01386205fe1934b3b287a0a1898145c0
+homepage="https://repo.or.cz/isl.git"
+distfiles="https://repo.or.cz/isl.git/snapshot/isl-${version}.tar.gz"
+checksum=7f6708cdc4fd64817c1a6902e51927eb9d7e4e87d97e2adbad053c138aa634db
 
-if [ -z "$CHROOT_READY" ]; then
-	CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
-	LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
-fi
+post_extract() {
+	# snapshot dir includes the tag hash, move to $wrksrc
+	mv -T $XBPS_BUILDDIR/isl-isl-${version}-* $wrksrc
+}
+
+pre_configure() {
+	autoreconf -fi
+}
 
 post_install() {
 	vlicense LICENSE
diff --git a/srcpkgs/isl/update b/srcpkgs/isl/update
new file mode 100644
index 000000000000..92718ab2022b
--- /dev/null
+++ b/srcpkgs/isl/update
@@ -0,0 +1,2 @@
+site="https://repo.or.cz/isl.git/refs/"
+pattern="tags/isl-\K[\d\.rc-]+"

From ad0a9b92867077343e21464e2463153fc96ef3a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 7 Oct 2021 10:18:09 -0300
Subject: [PATCH 2/3] isl15: update homepage and distfile url

It seems gforge.inria.fr is down.

Per README, the project repo is on repo.or.cz, but the original tarballs
are not available. The available tarballs need autotools to build.

Also removed 'bootstrap=yes'.
---
 srcpkgs/isl15/template | 20 ++++++++++++++------
 srcpkgs/isl15/update   |  4 ++++
 2 files changed, 18 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/isl15/update

diff --git a/srcpkgs/isl15/template b/srcpkgs/isl15/template
index 9d327a3a53dd..3424e2172c87 100644
--- a/srcpkgs/isl15/template
+++ b/srcpkgs/isl15/template
@@ -2,21 +2,29 @@
 pkgname=isl15
 version=0.19
 revision=2
-wrksrc="isl-${version}"
-bootstrap=yes
 build_style=gnu-configure
+hostmakedepends="autoconf automake libtool"
 makedepends="gmp-devel"
 short_desc="Integer Set Library"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
-homepage="http://freecode.com/projects/isl"
-distfiles="http://isl.gforge.inria.fr/isl-${version}.tar.bz2"
-checksum=d59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8
+homepage="https://repo.or.cz/isl.git"
+distfiles="https://repo.or.cz/isl.git/snapshot/isl-${version}.tar.gz"
+checksum=2f2e7915a7276c3bc3c37643fa093ba774ad7b52556df29cd024939a99698c2e
+
+post_extract() {
+	# snapshot dir includes the tag hash, move to $wrksrc
+	mv -T $XBPS_BUILDDIR/isl-isl-${version}-* $wrksrc
+}
+
+pre_configure() {
+	autoreconf -fi
+}
 
 post_install() {
+	vlicense LICENSE
 	# Remove gdb python files.
 	rm -f ${DESTDIR}/usr/lib/*.py
-	vlicense LICENSE
 }
 
 isl15-devel_package() {
diff --git a/srcpkgs/isl15/update b/srcpkgs/isl15/update
new file mode 100644
index 000000000000..f82e86d92d79
--- /dev/null
+++ b/srcpkgs/isl15/update
@@ -0,0 +1,4 @@
+site="https://repo.or.cz/isl.git/refs/"
+pattern="tags/isl-\K[\d\.rc-]+"
+# ad-hoc updates so ignore everything
+ignore=*

From ff17a4ab8017614aa8768ff9b7da22927926dec7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 8 Oct 2021 09:08:10 -0300
Subject: [PATCH 3/3] cloog: remove bootstrap=yes.

---
 srcpkgs/cloog/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/cloog/template b/srcpkgs/cloog/template
index 18a84032fdd4..c7b19891f15b 100644
--- a/srcpkgs/cloog/template
+++ b/srcpkgs/cloog/template
@@ -2,7 +2,6 @@
 pkgname=cloog
 version=0.20.0
 revision=1
-bootstrap=yes
 build_style=gnu-configure
 configure_args="--with-isl=system --with-gmp=system --with-gmp-exec-prefix=${XBPS_CROSS_BASE}"
 makedepends="isl-devel"

  parent reply	other threads:[~2021-10-08 12:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05  2:49 [PR PATCH] " tornaria
2021-10-05  7:27 ` dkwo
2021-10-05 10:36 ` tornaria
2021-10-07  2:32 ` ericonr
2021-10-07 13:22 ` [PR PATCH] [Updated] " tornaria
2021-10-07 13:32 ` tornaria
2021-10-07 19:35 ` Chocimier
2021-10-08 12:08 ` tornaria [this message]
2021-10-08 21:33 ` [PR PATCH] [Updated] " tornaria
2021-10-08 21:35 ` isl, isl15, cloog: remove bootstrap=yes tornaria
2021-10-09  1:27 ` [PR REVIEW] " ericonr
2021-10-10 14:38 ` tornaria
2021-10-12 19:05 ` ericonr
2021-10-29 13:57 ` [PR PATCH] [Merged]: " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211008120843.hu4eIicqDeyhqgDGKX_nImmOhhEYJadrYv1-Lt__M84@z \
    --to=tornaria@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).