Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] add haiti and its dependencies
@ 2022-07-02 17:30 noraj
  2022-07-03  9:53 ` New package: haiti-1.3.0 sgn
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: noraj @ 2022-07-02 17:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/noraj/void-packages haiti
https://github.com/void-linux/void-packages/pull/37804

add haiti and its dependencies
#### Testing the changes

- I tested the changes in this PR: **YES**
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

#### Local build testing

- I built this PR locally for my native architecture, (x86_64)

#### Note

I don't know if haiti package could be called `haiti` instead of `ruby-haiti-hash`? Is `ruby-<gem_name>` for ruby dependencies and end-user software can be named without this prefix? If so is there a way to do something like

```shell
pkgname=haiti
_gemname=haiti-hash
version=0.6.1
build_style=gem
...

do_fetch() {
    gem install ${_gemname}
}

# or

distfiles="https://rubygems.org/downloads/${_gemname}-${version}.gem"
```

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

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

From 533152dd527c89073a405e962b59ce189689ecea Mon Sep 17 00:00:00 2001
From: Alexandre ZANNI <16578570+noraj@users.noreply.github.com>
Date: Sat, 2 Jul 2022 19:19:31 +0200
Subject: [PATCH] add haiti and its dependencies

---
 srcpkgs/ruby-docopt/template     | 14 ++++++++++++++
 srcpkgs/ruby-haiti-hash/template | 16 ++++++++++++++++
 srcpkgs/ruby-paint/template      | 14 ++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100644 srcpkgs/ruby-docopt/template
 create mode 100644 srcpkgs/ruby-haiti-hash/template
 create mode 100644 srcpkgs/ruby-paint/template

diff --git a/srcpkgs/ruby-docopt/template b/srcpkgs/ruby-docopt/template
new file mode 100644
index 000000000000..e0011879522f
--- /dev/null
+++ b/srcpkgs/ruby-docopt/template
@@ -0,0 +1,14 @@
+# Template file for 'ruby-docopt'
+pkgname=ruby-docopt
+version=0.6.1
+revision=1
+build_style=gem
+short_desc="Command line option parser, that will make you smile"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://rubygems.org/gems/docopt"
+checksum=73f837ed376d015971712c17f7aafa021998b964b77d52997dcaff79d6727467
+
+post_install() {
+	vlicense LICENSE
+}
diff --git a/srcpkgs/ruby-haiti-hash/template b/srcpkgs/ruby-haiti-hash/template
new file mode 100644
index 000000000000..f3d84b0ccb03
--- /dev/null
+++ b/srcpkgs/ruby-haiti-hash/template
@@ -0,0 +1,16 @@
+# Template file for 'ruby-haiti-hash'
+pkgname=ruby-haiti-hash
+version=1.3.0
+revision=1
+build_style=gem
+depends="ruby-docopt ruby-paint"
+short_desc="Hash type identifier (CLI & lib)"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://noraj.github.io/haiti/"
+changelog="https://github.com/noraj/haiti/blob/master/docs/CHANGELOG.md"
+checksum=d2a2808cc1626bc5bb24c34a211645c2b3749af6f7d595a9a2d65d1be0d72a9f
+
+post_install() {
+	vlicense LICENSE.txt
+}
diff --git a/srcpkgs/ruby-paint/template b/srcpkgs/ruby-paint/template
new file mode 100644
index 000000000000..015c9e89a9e2
--- /dev/null
+++ b/srcpkgs/ruby-paint/template
@@ -0,0 +1,14 @@
+# Template file for 'ruby-paint'
+pkgname=ruby-paint
+version=2.2.1
+revision=1
+build_style=gem
+short_desc="Ruby paint manages terminal colors and effects"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://github.com/janlelis/paint"
+checksum=fd2c46f7fd1a1389d447e20f0ba2e8624792a7b64f827c146ef459ac5adfd005
+
+post_install() {
+	vlicense MIT-LICENSE.txt
+}

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

end of thread, other threads:[~2022-07-05 10:27 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-02 17:30 [PR PATCH] add haiti and its dependencies noraj
2022-07-03  9:53 ` New package: haiti-1.3.0 sgn
2022-07-03 15:48 ` noraj
2022-07-03 18:11 ` noraj
2022-07-03 18:19 ` [PR PATCH] [Updated] " noraj
2022-07-03 22:55 ` sgn
2022-07-03 22:55 ` [PR PATCH] [Closed]: " sgn
2022-07-04 11:01 ` noraj
2022-07-05  2:52 ` sgn
2022-07-05  2:53 ` sgn
2022-07-05  2:53 ` sgn
2022-07-05  2:57 ` sgn
2022-07-05  7:51 ` noraj
2022-07-05 10:13 ` sgn
2022-07-05 10:27 ` noraj

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