Github messages for voidlinux
 help / color / mirror / Atom feed
From: meator <meator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: weechat-matrix-0.3.0
Date: Sat, 13 Apr 2024 10:18:07 +0200	[thread overview]
Message-ID: <20240413081807.7D66122227@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49818@inbox.vuxu.org>

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

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

https://github.com/meator/void-packages weechat-matrix
https://github.com/void-linux/void-packages/pull/49818

New package: weechat-matrix-0.3.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

#### TODO
- [ ] Figure out all of `depends`
- [ ] Test it with weechat

The AUR seems to be doing some extra patching and build system modification. I'll have to see if it'll also be necessary here.

<!-- 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 586a56323a6efc2882f285dbbf0b8f8da39c5c9b Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sat, 13 Apr 2024 10:16:11 +0200
Subject: [PATCH 1/2] New package: python3-webcolors-1.13

---
 srcpkgs/python3-webcolors/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-webcolors/template

diff --git a/srcpkgs/python3-webcolors/template b/srcpkgs/python3-webcolors/template
new file mode 100644
index 00000000000000..8da3f7a932282e
--- /dev/null
+++ b/srcpkgs/python3-webcolors/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-webcolors'
+pkgname=python3-webcolors
+version=1.13
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+checkdepends="python3-pytest"
+depends="python3"
+short_desc="Library for working with HTML/CSS color formats in Python"
+maintainer="meator <meator.dev@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/ubernostrum/webcolors"
+distfiles="https://github.com/ubernostrum/webcolors/archive/refs/tags/${version}.tar.gz"
+checksum=51b5367692d5de19b8422ff5b07d4a2892fe868652d4e131e80250ecf100713a
+
+post_install() {
+	vlicense LICENSE
+}

From 5a23c615db4c5750f033bdee0b450c6d57154a49 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sat, 13 Apr 2024 09:06:12 +0200
Subject: [PATCH 2/2] UNFINISHED: New package: weechat-matrix-0.3.0

---
 srcpkgs/weechat-matrix/patches/fix-poetry.diff | 14 ++++++++++++++
 srcpkgs/weechat-matrix/template                | 17 +++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/weechat-matrix/patches/fix-poetry.diff
 create mode 100644 srcpkgs/weechat-matrix/template

diff --git a/srcpkgs/weechat-matrix/patches/fix-poetry.diff b/srcpkgs/weechat-matrix/patches/fix-poetry.diff
new file mode 100644
index 00000000000000..0c0d3480c80099
--- /dev/null
+++ b/srcpkgs/weechat-matrix/patches/fix-poetry.diff
@@ -0,0 +1,14 @@
+Taken from https://github.com/poljar/weechat-matrix/pull/340
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 709adf1..d3292af 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -31,5 +31,5 @@ matrix_sso_helper = ["aiohttp"]
+ matrix_upload = ["python-magic", "requests"]
+ 
+ [build-system]
+-requires = ["poetry>=0.12"]
+-build-backend = "poetry.masonry.api"
++requires = ["poetry-core>=1.0.0"]
++build-backend = "poetry.core.masonry.api"
diff --git a/srcpkgs/weechat-matrix/template b/srcpkgs/weechat-matrix/template
new file mode 100644
index 00000000000000..6f4caf474a1e71
--- /dev/null
+++ b/srcpkgs/weechat-matrix/template
@@ -0,0 +1,17 @@
+# Template file for 'weechat-matrix'
+pkgname=weechat-matrix
+version=0.3.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-webcolors"
+short_desc="Weechat Matrix protocol script written in python"
+maintainer="meator <meator.dev@gmail.com>"
+license="ISC"
+homepage="https://github.com/poljar/weechat-matrix"
+distfiles="https://github.com/poljar/weechat-matrix/archive/refs/tags/${version}.tar.gz"
+checksum=4a7942ec976dc6081ebb689cb0dc0f02f8ab9d24121f98c6dcb7f39478251329
+
+post_install() {
+	vlicense LICENSE
+}

  reply	other threads:[~2024-04-13  8:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-13  7:10 [PR PATCH] " meator
2024-04-13  8:18 ` meator [this message]
2024-04-13  8:25 ` [PR PATCH] [Updated] " meator
2024-04-13  8:30 ` meator
2024-04-13  8:52 ` lemmi
2024-04-13  9:04 ` CrashingVostok
2024-04-22 13:17 ` [PR PATCH] [Updated] " meator
2024-04-22 13:21 ` [PR PATCH] [Closed]: " meator
2024-04-22 13:21 ` meator

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=20240413081807.7D66122227@inbox.vuxu.org \
    --to=meator@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).