Github messages for voidlinux
 help / color / mirror / Atom feed
From: linkmauve <linkmauve@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: lua54-luasocket-3.1.0
Date: Thu, 12 Jan 2023 21:30:25 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41608@inbox.vuxu.org> (raw)

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

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

https://github.com/linkmauve/void-packages lua54-luasocket
https://github.com/void-linux/void-packages/pull/41608

New package: lua54-luasocket-3.1.0
This is derived from lua51-luasocket but without the transitional package luasocket, and from the new upstream (hence the different version).

This version is required to update the prosody package to use lua54 instead of the now-deprecated lua51.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - ppc

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

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

From e3d52be323550a42ff73bff6b878dbb0934a748f Mon Sep 17 00:00:00 2001
From: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Date: Thu, 12 Jan 2023 20:25:49 +0100
Subject: [PATCH] New package: lua54-luasocket-3.1.0

This is derived from lua51-luasocket but without the transitional
package luasocket, and from the new upstream (hence the different
version).

This version is required to update the prosody package to use lua54
instead of the now-deprecated lua51.
---
 srcpkgs/lua54-luasocket/template | 25 +++++++++++++++++++++++++
 srcpkgs/lua54-luasocket/update   |  3 +++
 2 files changed, 28 insertions(+)
 create mode 100644 srcpkgs/lua54-luasocket/template
 create mode 100644 srcpkgs/lua54-luasocket/update

diff --git a/srcpkgs/lua54-luasocket/template b/srcpkgs/lua54-luasocket/template
new file mode 100644
index 000000000000..57193948c4e4
--- /dev/null
+++ b/srcpkgs/lua54-luasocket/template
@@ -0,0 +1,25 @@
+# Template file for 'lua54-luasocket'
+pkgname=lua54-luasocket
+version=3.1.0
+revision=1
+build_style=gnu-makefile
+makedepends="lua54-devel"
+depends="lua54"
+short_desc="Network support for the Lua language"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://lunarmodules.github.io/luasocket/"
+distfiles="https://github.com/lunarmodules/luasocket/archive/v${version}/luasocket-${version}.tar.gz"
+checksum=bf033aeb9e62bcaa8d007df68c119c966418e8c9ef7e4f2d7e96bddeca9cca6e
+
+do_build() {
+	make CC=$CC LD=$CC LUAV=5.4 LUAINC=${XBPS_CROSS_BASE}/usr/include/lua5.4/ ${makejobs}
+}
+
+do_install() {
+	make LUAV=5.4 prefix=/usr DESTDIR=${DESTDIR} ${makejobs} install
+}
+
+post_install() {
+	vlicense LICENSE
+}
diff --git a/srcpkgs/lua54-luasocket/update b/srcpkgs/lua54-luasocket/update
new file mode 100644
index 000000000000..51dbff23e507
--- /dev/null
+++ b/srcpkgs/lua54-luasocket/update
@@ -0,0 +1,3 @@
+site="https://github.com/diegonehab/luasocket/tags"
+pattern='archive/v\K[\d\w-.]+(?=\.tar\.gz)'
+ignore="*rc*"

             reply	other threads:[~2023-01-12 20:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-12 20:30 linkmauve [this message]
2023-04-14  1:50 ` github-actions
2023-04-28  1:53 ` [PR PATCH] [Closed]: " github-actions

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41608@inbox.vuxu.org \
    --to=linkmauve@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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).