Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] java-commons-io: fix distfiles
@ 2020-12-17 15:39 sgn
  2020-12-17 15:46 ` [PR PATCH] [Updated] " sgn
  2020-12-17 15:50 ` [PR PATCH] [Merged]: " sgn
  0 siblings, 2 replies; 3+ messages in thread
From: sgn @ 2020-12-17 15:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sgn/void-packages fix-java-commons-io
https://github.com/void-linux/void-packages/pull/27232

java-commons-io: fix distfiles


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix-java-commons-io-27232.patch --]
[-- Type: text/x-diff, Size: 1488 bytes --]

From 88399976e7504b9fb44c9a4926810dd716d8613f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Thu, 17 Dec 2020 22:38:38 +0700
Subject: [PATCH] java-commons-io: fix distfiles

---
 srcpkgs/java-commons-io/template | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/java-commons-io/template b/srcpkgs/java-commons-io/template
index 8ad9f47d38a..6ef5218547a 100644
--- a/srcpkgs/java-commons-io/template
+++ b/srcpkgs/java-commons-io/template
@@ -10,9 +10,8 @@ short_desc="IO related classes for Java"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="http://commons.apache.org/io"
-distfiles="https://downloads.apache.org//commons/io/source/${_origname}-${version}-src.tar.gz"
+distfiles="http://archive.apache.org/dist/commons/io/source/${_origname}-${version}-src.tar.gz"
 checksum=f68167938ab15ced969747bc6b4d91c4f923a34ad4fdb2e8c8c3029adaa47e0c
-broken="https://api.travis-ci.org/v3/job/732821420/log.txt"
 
 case "$XBPS_MACHINE" in
 	ppc64*) ;;
@@ -20,12 +19,11 @@ case "$XBPS_MACHINE" in
 esac
 
 do_build() {
-	cd ${wrksrc}
 	source /etc/profile.d/10_openjdk8.sh
-	source /etc/profile.d/apache-maven.sh
 	mvn package
 }
 
 do_install() {
-	vinstall ${wrksrc}/target/${_origname}-${version}.jar 755 /usr/share/java/${_origname} ${_origname}.jar
+	vinstall target/${_origname}-${version}.jar 755 \
+		usr/share/java/${_origname} ${_origname}.jar
 }

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

* Re: [PR PATCH] [Updated] java-commons-io: fix distfiles
  2020-12-17 15:39 [PR PATCH] java-commons-io: fix distfiles sgn
@ 2020-12-17 15:46 ` sgn
  2020-12-17 15:50 ` [PR PATCH] [Merged]: " sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2020-12-17 15:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sgn/void-packages fix-java-commons-io
https://github.com/void-linux/void-packages/pull/27232

java-commons-io: fix distfiles


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fix-java-commons-io-27232.patch --]
[-- Type: text/x-diff, Size: 1528 bytes --]

From 7527c4f1659d9355f14f2ed922e38cf7ff74c6cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Thu, 17 Dec 2020 22:38:38 +0700
Subject: [PATCH] java-commons-io: fix distfiles

---
 srcpkgs/java-commons-io/template | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/java-commons-io/template b/srcpkgs/java-commons-io/template
index 8ad9f47d38a..e91dcc87b8b 100644
--- a/srcpkgs/java-commons-io/template
+++ b/srcpkgs/java-commons-io/template
@@ -10,9 +10,8 @@ short_desc="IO related classes for Java"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="http://commons.apache.org/io"
-distfiles="https://downloads.apache.org//commons/io/source/${_origname}-${version}-src.tar.gz"
+distfiles="http://archive.apache.org/dist/commons/io/source/${_origname}-${version}-src.tar.gz"
 checksum=f68167938ab15ced969747bc6b4d91c4f923a34ad4fdb2e8c8c3029adaa47e0c
-broken="https://api.travis-ci.org/v3/job/732821420/log.txt"
 
 case "$XBPS_MACHINE" in
 	ppc64*) ;;
@@ -20,12 +19,11 @@ case "$XBPS_MACHINE" in
 esac
 
 do_build() {
-	cd ${wrksrc}
 	source /etc/profile.d/10_openjdk8.sh
-	source /etc/profile.d/apache-maven.sh
-	mvn package
+	mvn package -Dmaven.test.skip=true
 }
 
 do_install() {
-	vinstall ${wrksrc}/target/${_origname}-${version}.jar 755 /usr/share/java/${_origname} ${_origname}.jar
+	vinstall target/${_origname}-${version}.jar 755 \
+		usr/share/java/${_origname} ${_origname}.jar
 }

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

* Re: [PR PATCH] [Merged]: java-commons-io: fix distfiles
  2020-12-17 15:39 [PR PATCH] java-commons-io: fix distfiles sgn
  2020-12-17 15:46 ` [PR PATCH] [Updated] " sgn
@ 2020-12-17 15:50 ` sgn
  1 sibling, 0 replies; 3+ messages in thread
From: sgn @ 2020-12-17 15:50 UTC (permalink / raw)
  To: ml

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

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

java-commons-io: fix distfiles
https://github.com/void-linux/void-packages/pull/27232

Description:


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

end of thread, other threads:[~2020-12-17 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 15:39 [PR PATCH] java-commons-io: fix distfiles sgn
2020-12-17 15:46 ` [PR PATCH] [Updated] " sgn
2020-12-17 15:50 ` [PR PATCH] [Merged]: " sgn

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