Github messages for voidlinux
 help / color / mirror / Atom feed
From: grim-cypher <grim-cypher@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Update template
Date: Thu, 29 Apr 2021 02:25:22 +0200
Message-ID: <20210429002522.0n9KNYWlY2StpZo5IiX0eoxmJ-ZLOl5xTS9mtk-xnGk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30568@inbox.vuxu.org>

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

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

https://github.com/grim-cypher/void-packages patch-1
https://github.com/void-linux/void-packages/pull/30568

Update template
updating to the new version of gradle 7.0



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

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

From dbf3c614c83def74df767701734676427412b82d Mon Sep 17 00:00:00 2001
From: grim-cypher <80390283+grim-cypher@users.noreply.github.com>
Date: Wed, 28 Apr 2021 21:44:36 +0530
Subject: [PATCH 1/3] Update template

updating to the new version of gradle 7.0
---
 srcpkgs/gradle/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/gradle/template b/srcpkgs/gradle/template
index 8e9f08a9910b..88dab9e9d732 100644
--- a/srcpkgs/gradle/template
+++ b/srcpkgs/gradle/template
@@ -1,6 +1,6 @@
 # Template file for 'gradle'
 pkgname=gradle
-version=6.8.1
+version=7.0
 revision=1
 depends="virtual?java-environment"
 short_desc="Build system for Java/C/C++ software"
@@ -9,7 +9,7 @@ license="Apache-2.0"
 homepage="https://gradle.org/"
 changelog="https://docs.gradle.org/${version}/release-notes.html"
 distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip"
-checksum=fd591a34af7385730970399f473afabdb8b28d57fd97d6625c388d090039d6fd
+checksum=eb8b89184261025b0430f5b2233701ff1377f96da1ef5e278af6ae8bac5cc305
 
 do_install() {
 	vmkdir "usr/lib/gradle"

From 395d272d0e486e771fd3a9c9f2c22b90977d7bb6 Mon Sep 17 00:00:00 2001
From: grim-cypher <80390283+grim-cypher@users.noreply.github.com>
Date: Thu, 29 Apr 2021 04:38:23 +0530
Subject: [PATCH 2/3] Update template

---
 srcpkgs/gradle/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/gradle/template b/srcpkgs/gradle/template
index 88dab9e9d732..ca05694dac2f 100644
--- a/srcpkgs/gradle/template
+++ b/srcpkgs/gradle/template
@@ -9,12 +9,12 @@ license="Apache-2.0"
 homepage="https://gradle.org/"
 changelog="https://docs.gradle.org/${version}/release-notes.html"
 distfiles="https://services.gradle.org/distributions/gradle-${version}-bin.zip"
-checksum=eb8b89184261025b0430f5b2233701ff1377f96da1ef5e278af6ae8bac5cc305
+checksum="https://services.gradle.org/distributions/gradle-${version}-bin.zip.sha256"
+
 
 do_install() {
-	vmkdir "usr/lib/gradle"
-	sed ${FILESDIR}/gradle -e "s;@VERSION@;${version};" > gradle
-	vbin gradle
-	vdoc README
-	mv lib ${DESTDIR}/usr/lib/gradle/
+	wget ${distfiles}
+	mkdir /opt/gradle
+	unzip -d /opt/gradle gradle-${version}-bin.zip
+	export PATH=$PATH:/opt/gradle/gradle-${version}/bin
 }

From ea2e01deab46a64663efb2e4ae657eff70742634 Mon Sep 17 00:00:00 2001
From: grim-cypher <80390283+grim-cypher@users.noreply.github.com>
Date: Thu, 29 Apr 2021 05:55:20 +0530
Subject: [PATCH 3/3] Update template

---
 srcpkgs/gradle/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gradle/template b/srcpkgs/gradle/template
index ca05694dac2f..d43fa54eeccd 100644
--- a/srcpkgs/gradle/template
+++ b/srcpkgs/gradle/template
@@ -16,5 +16,6 @@ do_install() {
 	wget ${distfiles}
 	mkdir /opt/gradle
 	unzip -d /opt/gradle gradle-${version}-bin.zip
-	export PATH=$PATH:/opt/gradle/gradle-${version}/bin
+	ln /opt/gradle/gradle-${version}/bin/gradle /usr/bin/gradle
 }
+do_install

  parent reply	other threads:[~2021-04-29  0:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 22:08 [PR PATCH] " grim-cypher
2021-04-28 22:52 ` ericonr
2021-04-28 23:08 ` [PR PATCH] [Updated] " grim-cypher
2021-04-29  0:25 ` grim-cypher [this message]
2021-04-29  0:40 ` FollieHiyuki
2021-04-29 14:46 ` ericonr
2021-05-17  3:57 ` [PR PATCH] [Closed]: " ericonr
2021-05-17  3:57 ` ericonr
2021-05-04 19:00 [PR PATCH] " asymmetros
2021-05-04 19:18 ` [PR PATCH] [Updated] " asymmetros

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=20210429002522.0n9KNYWlY2StpZo5IiX0eoxmJ-ZLOl5xTS9mtk-xnGk@z \
    --to=grim-cypher@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

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git