Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: golang-migrate-4.17.1
@ 2024-06-26 12:26 lpww
  2024-06-29 11:23 ` [PR REVIEW] " Bnyro
  0 siblings, 1 reply; 2+ messages in thread
From: lpww @ 2024-06-26 12:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/lpww/void-packages golang-migrate
https://github.com/void-linux/void-packages/pull/51014

New package: golang-migrate-4.17.1
### Description
This pr adds a new package, `golang-migrate v4.17.1`. It builds upon a [previous pull request](https://github.com/void-linux/void-packages/pull/30634) that works but was never merged. I just updated the version, checksum, and maintainer.

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, **x86_64-glibc**


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

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

From 3ebd5fc4275538d2ef48e80066d6d3cd70d5d0fc Mon Sep 17 00:00:00 2001
From: thomas <thomas.treffry@nearform.com>
Date: Wed, 26 Jun 2024 13:18:18 +0100
Subject: [PATCH] New package: golang-migrate-4.17.1

---
 srcpkgs/golang-migrate/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/golang-migrate/template

diff --git a/srcpkgs/golang-migrate/template b/srcpkgs/golang-migrate/template
new file mode 100644
index 00000000000000..0ebaa01285e22b
--- /dev/null
+++ b/srcpkgs/golang-migrate/template
@@ -0,0 +1,22 @@
+# Template file for 'golang-migrate'
+pkgname=golang-migrate
+version=4.17.1
+revision=1
+wrksrc="migrate-${version}"
+build_style=go
+go_import_path="github.com/golang-migrate/migrate/v4"
+short_desc="Database migrations CLI written in Golang"
+maintainer="Thomas Treffry <t.treffry@gmail.com>"
+license="MIT"
+homepage="https://github.com/golang-migrate/migrate"
+distfiles="https://github.com/golang-migrate/migrate/archive/refs/tags/v${version}.tar.gz"
+checksum="59a92e27d58f22ce3270086d385b3548a2a44e09f91b0eda3e245f94bcf8f081"
+
+do_build() {
+	VERSION="$version" make build
+}
+
+do_install() {
+	vbin migrate
+	vlicense LICENSE
+}

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

* Re: [PR REVIEW] New package: golang-migrate-4.17.1
  2024-06-26 12:26 [PR PATCH] New package: golang-migrate-4.17.1 lpww
@ 2024-06-29 11:23 ` Bnyro
  0 siblings, 0 replies; 2+ messages in thread
From: Bnyro @ 2024-06-29 11:23 UTC (permalink / raw)
  To: ml

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

New review comment by Bnyro on void-packages repository

https://github.com/void-linux/void-packages/pull/51014#discussion_r1659767703

Comment:
It does build as intended without that line as well, so it should be dropped.

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

end of thread, other threads:[~2024-06-29 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-26 12:26 [PR PATCH] New package: golang-migrate-4.17.1 lpww
2024-06-29 11:23 ` [PR REVIEW] " Bnyro

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