From 147f4868770f885a85bf4011992e689b0764402d Mon Sep 17 00:00:00 2001 From: meator Date: Sat, 13 Apr 2024 09:06:12 +0200 Subject: [PATCH] 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..a6acbf0ec3bfe6 --- /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" +short_desc="Weechat Matrix protocol script written in python" +maintainer="meator " +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 +}