Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] opencl2-headers: bump version to agree with upstream numbering
@ 2020-04-27 14:21 ahesford
  2020-04-27 14:44 ` [PR PATCH] [Updated] " ahesford
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ahesford @ 2020-04-27 14:21 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ahesford/void-packages opencl
https://github.com/void-linux/void-packages/pull/21393

opencl2-headers: bump version to agree with upstream numbering
This does not change the package content, but it realigns package versioning to be compatible with upstream and prevents false detection of package updates.

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

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

From 0eb81d82e0e34a729dffeac0a5d68f718206a193 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Mon, 27 Apr 2020 10:19:53 -0400
Subject: [PATCH] opencl2-headers: bump version to agree with upstream
 numbering

---
 srcpkgs/opencl2-headers/template | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/opencl2-headers/template b/srcpkgs/opencl2-headers/template
index e345e9862f0..d605a610b80 100644
--- a/srcpkgs/opencl2-headers/template
+++ b/srcpkgs/opencl2-headers/template
@@ -1,16 +1,14 @@
 # Template file for 'opencl2-headers'
 pkgname=opencl2-headers
-_openclver=2.2
-_distver=2020.03.13
-version="${_openclver}.20200313"
+version="2020.03.13"
 revision=1
 archs=noarch
-wrksrc="OpenCL-Headers-${_distver}"
+wrksrc="OpenCL-Headers-${version}"
 short_desc="OpenCL 2.2 (Open Computing Language) header files"
 maintainer="Andrew J. Hesford <ajh@sideband.org>"
 license="Apache-2.0"
 homepage="https://github.com/KhronosGroup/OpenCL-Headers"
-distfiles="${homepage}/archive/v${_distver}.tar.gz"
+distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=664bbe587e5a0a00aac267f645b7c413586e7bc56dca9ff3b00037050d06f476
 provides="opencl-headers-${version}_${revision}"
 replaces="opencl-headers>=0"

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

end of thread, other threads:[~2020-04-27 19:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-27 14:21 [PR PATCH] opencl2-headers: bump version to agree with upstream numbering ahesford
2020-04-27 14:44 ` [PR PATCH] [Updated] " ahesford
2020-04-27 19:33 ` Chocimier
2020-04-27 19:33 ` [PR PATCH] [Merged]: " Chocimier

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