Github messages for voidlinux
 help / color / mirror / Atom feed
From: lilmike <lilmike@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: perl-txt2html-2.5201
Date: Thu, 04 Feb 2021 12:52:30 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28471@inbox.vuxu.org> (raw)

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

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

https://github.com/lilmike/void-packages perl-txt2html
https://github.com/void-linux/void-packages/pull/28471

New package: perl-txt2html-2.5201
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-musl)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl
-->


I use this package for transforming mail using a mix of mutt and w3m and it has worked fine for about 2 weeks now.

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

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

From 0b5b1b23e67cbd0ff368e6dfa329e9631bde4195 Mon Sep 17 00:00:00 2001
From: Michael Taboada <michael@michaels.world>
Date: Thu, 4 Feb 2021 03:43:16 -0800
Subject: [PATCH] New package: perl-txt2html-2.5201

---
 srcpkgs/perl-Getopt-ArgvFile/template         | 15 ++++++++++++++
 .../patches/0001-fix-build.patch              |  5 +++++
 .../patches/0002-fix-build.patch              |  4 ++++
 srcpkgs/perl-txt2html/template                | 20 +++++++++++++++++++
 4 files changed, 44 insertions(+)
 create mode 100644 srcpkgs/perl-Getopt-ArgvFile/template
 create mode 100644 srcpkgs/perl-txt2html/patches/0001-fix-build.patch
 create mode 100644 srcpkgs/perl-txt2html/patches/0002-fix-build.patch
 create mode 100644 srcpkgs/perl-txt2html/template

diff --git a/srcpkgs/perl-Getopt-ArgvFile/template b/srcpkgs/perl-Getopt-ArgvFile/template
new file mode 100644
index 00000000000..8013597397a
--- /dev/null
+++ b/srcpkgs/perl-Getopt-ArgvFile/template
@@ -0,0 +1,15 @@
+# Template file for 'perl-Getopt-ArgvFile'
+pkgname=perl-Getopt-ArgvFile
+version=1.11
+revision=1
+wrksrc="${pkgname/perl-/}-${version}"
+build_style=perl-module
+hostmakedepends="perl"
+makedepends="${hostmakedepends}"
+depends="${makedepends}"
+short_desc="Take options from files"
+maintainer="Michael Taboada <michael@2mb.solutions>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="https://search.cpan.org/~JSTENZEL/Getopt-ArgvFile"
+distfiles="https://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-${version}.tar.gz"
+checksum=3709aa513ce6fd71d1a55a02e34d2f090017d5350a9bd447005653c9b0835b22
diff --git a/srcpkgs/perl-txt2html/patches/0001-fix-build.patch b/srcpkgs/perl-txt2html/patches/0001-fix-build.patch
new file mode 100644
index 00000000000..57f29feb08d
--- /dev/null
+++ b/srcpkgs/perl-txt2html/patches/0001-fix-build.patch
@@ -0,0 +1,5 @@
+--- ./lib/HTML/TextToHTML.pm.orig	2013-05-20 23:38:49.000000000 -0700
++++ ./lib/HTML/TextToHTML.pm	2021-01-17 11:42:14.569976817 -0800
+@@ -637 +637 @@ our $DictDebug = 0;
+-use YAML::Syck;
++#use YAML::Syck;
diff --git a/srcpkgs/perl-txt2html/patches/0002-fix-build.patch b/srcpkgs/perl-txt2html/patches/0002-fix-build.patch
new file mode 100644
index 00000000000..478d69b0e86
--- /dev/null
+++ b/srcpkgs/perl-txt2html/patches/0002-fix-build.patch
@@ -0,0 +1,4 @@
+--- ./scripts/txt2html.orig	2013-05-20 23:38:49.000000000 -0700
++++ ./scripts/txt2html	2021-01-17 11:42:14.260979866 -0800
+@@ -3,0 +4 @@ use strict;
++our $VERSION;
diff --git a/srcpkgs/perl-txt2html/template b/srcpkgs/perl-txt2html/template
new file mode 100644
index 00000000000..374883b04c5
--- /dev/null
+++ b/srcpkgs/perl-txt2html/template
@@ -0,0 +1,20 @@
+# Template file for 'perl-txt2html'
+pkgname=perl-txt2html
+version=2.5201
+revision=1
+wrksrc="txt2html-${version}"
+build_style=perl-ModuleBuild
+hostmakedepends="perl perl-Getopt-ArgvFile perl-Module-Build perl-YAML"
+makedepends="perl perl-Getopt-ArgvFile perl-Module-Build perl-YAML"
+depends="perl perl-Getopt-ArgvFile"
+short_desc="Convert text to html"
+maintainer="Michael Taboada <michael@2mb.solutions>"
+license="Artistic-1.0-Perl, GPL-1.0-or-later"
+homepage="http://txt2html.sourceforge.net/"
+distfiles="http://www.cpan.org/authors/id/R/RU/RUBYKAT/txt2html-${version}.tar.gz"
+checksum=8162bd4ff5de1022d69435b86ec8dc77f9379bc509388513a535722aec918203
+
+#do_install() {
+#	vman blib/man1/rename.1p perl-rename.1p
+#	vbin bin/rename perl-rename
+#}

             reply	other threads:[~2021-02-04 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-04 11:52 lilmike [this message]
2021-02-16  6:44 ` [PR REVIEW] " ericonr
2021-07-20 20:58 ` ericonr
2021-07-20 20:58 ` [PR PATCH] [Closed]: " ericonr

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-28471@inbox.vuxu.org \
    --to=lilmike@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).