Github messages for voidlinux
 help / color / mirror / Atom feed
From: Felecarpp <Felecarpp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: offpunk-1.5
Date: Sun, 28 Aug 2022 15:27:48 +0200	[thread overview]
Message-ID: <20220828132748.3h5TclvpBxTpj0rkLGqtgfoFO2J4HLk3j_uQtnbQz1U@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38960@inbox.vuxu.org>

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

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

https://github.com/Felecarpp/void-packages master
https://github.com/void-linux/void-packages/pull/38960

New package: offpunk-1.5
<!-- 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.
-->



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

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

From c29bf6c465e0daf13b0553e4d0a98d7f2adaefbb Mon Sep 17 00:00:00 2001
From: Felecarp <felecarp@tuta.io>
Date: Fri, 5 Aug 2022 12:45:36 +0200
Subject: [PATCH 1/4] New package: offpunk-1.5

---
 srcpkgs/offpunk/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/offpunk/template

diff --git a/srcpkgs/offpunk/template b/srcpkgs/offpunk/template
new file mode 100644
index 000000000000..09e6e5b630ad
--- /dev/null
+++ b/srcpkgs/offpunk/template
@@ -0,0 +1,14 @@
+# Template file for 'offpunk'
+pkgname=offpunk
+version=1.5
+revision=1
+wrksrc=${pkgname}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="less file xdg-utils python3-cryptography"
+short_desc="Command line gemini client"
+maintainer="Felecarp <felecarp@tuta.io>"
+license="BSD-2-Clause"
+homepage="https://notabug.org/ploum/offpunk"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=2d775af28397c6987d5c84b2f529b69f3c332dc46f2f4992620d86d80377392b

From 01af654cd69f1385fd1e519059e5d54706ae3f56 Mon Sep 17 00:00:00 2001
From: Felecarp <felecarp@tuta.io>
Date: Sun, 28 Aug 2022 14:15:26 +0200
Subject: [PATCH 2/4] New package: offpunk-full-1.5

---
 srcpkgs/offpunk-full/template | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 srcpkgs/offpunk-full/template

diff --git a/srcpkgs/offpunk-full/template b/srcpkgs/offpunk-full/template
new file mode 100644
index 000000000000..68eb82336dd2
--- /dev/null
+++ b/srcpkgs/offpunk-full/template
@@ -0,0 +1,10 @@
+# Template file for 'offpunk-full'
+pkgname=offpunk-full
+version=1.5
+revision=1
+build_style=meta
+depends="offpunk offpunk-web xsel python3-setproctitle"
+short_desc="Offpunk optional dependencies meta-package"
+maintainer="Felecarp <felecarp@tuta.io>"
+license="Public Domain"
+homepage="https://notabug.org/ploum/offpunk"

From 61cf7401c8598f5e35d98a83838b9d013141a606 Mon Sep 17 00:00:00 2001
From: Felecarp <felecarp@tuta.io>
Date: Sun, 28 Aug 2022 14:15:09 +0200
Subject: [PATCH 3/4] New package: offpunk-web-1.5

---
 srcpkgs/offpunk-web/template | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 srcpkgs/offpunk-web/template

diff --git a/srcpkgs/offpunk-web/template b/srcpkgs/offpunk-web/template
new file mode 100644
index 000000000000..bcd8972d8f95
--- /dev/null
+++ b/srcpkgs/offpunk-web/template
@@ -0,0 +1,10 @@
+# Template file for 'offpunk-web'
+pkgname=offpunk-web
+version=1.5
+revision=1
+build_style=meta
+depends="offpunk python3-requests python3-readability-lxml python3-feedparser chafa timg"
+short_desc="Offpunk web browsing meta-package"
+maintainer="Felecarp <felecarp@tuta.io>"
+license="Public Domain"
+homepage="https://notabug.org/ploum/offpunk"

From 9d81f271c8a8df272e4f1ece8e10a20dbe0f2ad4 Mon Sep 17 00:00:00 2001
From: Felecarp <felecarp@tuta.io>
Date: Sun, 28 Aug 2022 15:25:57 +0200
Subject: [PATCH 4/4] offpunk: use subpackages

---
 srcpkgs/offpunk-full          |  1 +
 srcpkgs/offpunk-full/template | 10 ----------
 srcpkgs/offpunk-web           |  1 +
 srcpkgs/offpunk-web/template  | 10 ----------
 srcpkgs/offpunk/template      | 12 ++++++++++++
 5 files changed, 14 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/offpunk-full
 delete mode 100644 srcpkgs/offpunk-full/template
 create mode 120000 srcpkgs/offpunk-web
 delete mode 100644 srcpkgs/offpunk-web/template

diff --git a/srcpkgs/offpunk-full b/srcpkgs/offpunk-full
new file mode 120000
index 000000000000..53a047af6c36
--- /dev/null
+++ b/srcpkgs/offpunk-full
@@ -0,0 +1 @@
+offpunk
\ No newline at end of file
diff --git a/srcpkgs/offpunk-full/template b/srcpkgs/offpunk-full/template
deleted file mode 100644
index 68eb82336dd2..000000000000
--- a/srcpkgs/offpunk-full/template
+++ /dev/null
@@ -1,10 +0,0 @@
-# Template file for 'offpunk-full'
-pkgname=offpunk-full
-version=1.5
-revision=1
-build_style=meta
-depends="offpunk offpunk-web xsel python3-setproctitle"
-short_desc="Offpunk optional dependencies meta-package"
-maintainer="Felecarp <felecarp@tuta.io>"
-license="Public Domain"
-homepage="https://notabug.org/ploum/offpunk"
diff --git a/srcpkgs/offpunk-web b/srcpkgs/offpunk-web
new file mode 120000
index 000000000000..53a047af6c36
--- /dev/null
+++ b/srcpkgs/offpunk-web
@@ -0,0 +1 @@
+offpunk
\ No newline at end of file
diff --git a/srcpkgs/offpunk-web/template b/srcpkgs/offpunk-web/template
deleted file mode 100644
index bcd8972d8f95..000000000000
--- a/srcpkgs/offpunk-web/template
+++ /dev/null
@@ -1,10 +0,0 @@
-# Template file for 'offpunk-web'
-pkgname=offpunk-web
-version=1.5
-revision=1
-build_style=meta
-depends="offpunk python3-requests python3-readability-lxml python3-feedparser chafa timg"
-short_desc="Offpunk web browsing meta-package"
-maintainer="Felecarp <felecarp@tuta.io>"
-license="Public Domain"
-homepage="https://notabug.org/ploum/offpunk"
diff --git a/srcpkgs/offpunk/template b/srcpkgs/offpunk/template
index 09e6e5b630ad..f9cb034cf75f 100644
--- a/srcpkgs/offpunk/template
+++ b/srcpkgs/offpunk/template
@@ -12,3 +12,15 @@ license="BSD-2-Clause"
 homepage="https://notabug.org/ploum/offpunk"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=2d775af28397c6987d5c84b2f529b69f3c332dc46f2f4992620d86d80377392b
+
+offpunk-web_package() {
+	short_desc+ " - web browsing enabled"
+	build_style=meta
+	depends="less file xdg-utils python3-cryptography python3-requests python3-readability-lxml python3-feedparser chafa timg"
+}
+
+offpunk-full_package() {
+	short_desc+=" - all optional dependencies included"
+	build_style=meta
+	depends="less file xdg-utils python3-cryptography python3-requests python3-readability-lxml python3-feedparser chafa timg xsel python3-setproctitle"
+}

  parent reply	other threads:[~2022-08-28 13:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-28 12:52 [PR PATCH] " Felecarpp
2022-08-28 12:56 ` classabbyamp
2022-08-28 13:01 ` Felecarpp
2022-08-28 13:27 ` Felecarpp [this message]
2022-09-06 14:47 ` [PR PATCH] [Updated] " Felecarpp
2022-09-06 14:49 ` [PR PATCH] [Closed]: " Felecarpp
2022-09-06 15:26 ` Felecarpp
2022-09-06 15:56 ` classabbyamp
2022-09-06 15:40 [PR PATCH] " Felecarpp
2022-09-06 17:34 ` [PR PATCH] [Updated] " Felecarpp
2022-09-06 17:38 ` Felecarpp
2022-09-06 18:38 ` Felecarpp
2022-09-06 18:50 ` Felecarpp

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=20220828132748.3h5TclvpBxTpj0rkLGqtgfoFO2J4HLk3j_uQtnbQz1U@z \
    --to=felecarpp@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).