summaryrefslogtreecommitdiff
path: root/app-text/html2text
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-30 22:42:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-30 22:42:58 +0100
commit3b4199328e240d392ef1f03900219cb88bdafcff (patch)
tree06007a008d485a5e0a169f2807b68f456e9df1b3 /app-text/html2text
parentaca0af8133e724b7edf0b5c6efe12c39077a3dc9 (diff)
gentoo auto-resync : 30:07:2023 - 22:42:58
Diffstat (limited to 'app-text/html2text')
-rw-r--r--app-text/html2text/Manifest11
-rw-r--r--app-text/html2text/files/html2text-1.3.2a-compiler.patch13
-rw-r--r--app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch11
-rw-r--r--app-text/html2text/html2text-1.3.2a-r2.ebuild40
-rw-r--r--app-text/html2text/html2text-2.0.1.ebuild38
-rw-r--r--app-text/html2text/html2text-2.2.2.ebuild27
-rw-r--r--app-text/html2text/html2text-9999.ebuild38
7 files changed, 29 insertions, 149 deletions
diff --git a/app-text/html2text/Manifest b/app-text/html2text/Manifest
index ebf04319d0ac..b96d372b4bfb 100644
--- a/app-text/html2text/Manifest
+++ b/app-text/html2text/Manifest
@@ -1,12 +1,5 @@
-AUX html2text-1.3.2a-compiler.patch 247 BLAKE2B 83c719d6dbbc18e347ca45e6e0df8958a615fb2c1d1f27119978d6efd15aeec6a32fa83e0d9524e4b5863dfec88787427e7c5f2757f8c5eafb0ee4d88fb96860 SHA512 f7c2192e65fe6976ac9d21d45fcb3eb9cd460314945fd9e8f62ada1189935c3799aea43b6ebb15a86b6f313fb95e4115d6aa67a148f11d1b8774d9ca115b538e
-AUX html2text-1.3.2a-urlistream-get.patch 186 BLAKE2B 600aac564090a318cd600858360b16e4cedc0005981d8c392ca450b7182fd0497cdbed6388d9429406756734ba2a204baaf314b73a2f69978574698e631289c2 SHA512 388c30725c72e3d7b372544b4a4fec871d3069fe050aec3212b047d8bdb0c31575e2703e46374b3b7d0422ca8cf2ce2f2d3960d56c32977d85a93d4d94b41659
-DIST html2text-1.3.2a.tar.gz 130088 BLAKE2B 97ca951ae7c501cefca78378683de7fb3c329905298de9e9675303485f3f4a83c5de39c90c8f9c0fe20b73d1e2b70897ee47cdabade9b3791a46f02625bbef05 SHA512 8ec2c17849615b8b78b6f7e9066e5bcfb419b293ffe98323ed0942e891993e205ef37ddfd2839eb12b6bad561989027aea0ba2d57eb7193d424715f93ded90e5
-DIST html2text-2.0.1.tar.gz 187962 BLAKE2B 326e3e190e1f062c9fa2057e5774c62366ef40beb1bb6aa586e58f0a46c97c8a505087287b2afffb5847d6a967307413b98228ce97bb9e286c0ad962b6fb331d SHA512 b9116a93d82d28853acdd534320ca4bc27fd4b0d6b07c8513324bdf736d15e5322e8f06f5c640030e4f8fda2d87c643e80bbc2f7b3f0f6a600ea9531891054fb
DIST html2text-2.1.1.tar.gz 172655 BLAKE2B ab112e41b9cb08664ae9cba2b137b59e67769b2c8cd758022e9b650a2cbd1788064ada1949e9efddc591c819b0c86890e22504bebde68c2973c353b6fa85da33 SHA512 e7fbd795b06895d866e3379c343860dc8816d5069b476cd13abeb066ba1ad222050863c1d52c6b2c05d426a17af7b427913341c8205964b21f18a3d26c3528c4
-DIST patch-amd64-html2text-1.3.2a.diff 2230 BLAKE2B 332adeeceed512a2c5bfc01985efbaa4db5ea64b3e4ef8be8b880754524771de2e11b3a2efc55bce154bedc9e598231a1b5bcfe10e915b833d6dbcbcd9e46dc9 SHA512 2a421a20aec8a547bbdf54b81e30a6a1d4cf093e7ad67b27158f0c7248ca0abadd8d96ce0a27adcdd375012db6fd21f61f42a8343bfd910cd8a9720c0a043be1
-DIST patch-utf8-html2text-1.3.2a.diff 29499 BLAKE2B ffc0ea8d89d9e9c9dfa89c2369016685a6af1403a6e71787df2724b72c74c8f774d8d92278a1aaeb90f47d34c8de4c889a7bf4edc02a00e3c97955ea624cfa71 SHA512 be31251471b221a38d291420d5f23e01d5017c20d953064c33ca3dd148543ae877ab584c16fcb01df1341abdb02494b05d08fdcf94bf70bad6b510ee8fac3376
-EBUILD html2text-1.3.2a-r2.ebuild 958 BLAKE2B 8ec2e489b36030befdc0c0eba73feb43d0a723ffebabe9222666edfe9592152992a4b25385566326cde8fec7270c80bb8526125f4c13c9d4e1bb2c092932f157 SHA512 16881d04627f3d372edf2dae0640e1c7fc41a68b4f68934728d1030683cd3358243c88e2ef0309770cd1646d8bb0bb57e4c7228502c7a78f51b229eefe8d4275
-EBUILD html2text-2.0.1.ebuild 880 BLAKE2B b5fad737cafad68bbe7871369f46ac417c1757f81eb50b2fc2579f720d38aabc4c25504fcfbe9930cf24af08d6baf339a6d6a12d885f19995ce4e715223bed1b SHA512 2155faf706f604adc17c7e088ba48e374ae83adaed64ff2f0cc7d03e3d120c2662affc9987031ddb5e8868d6db2b6a36b30999661d34ffb345e650e86cf01116
+DIST html2text-2.2.2.tar.gz 328927 BLAKE2B 5b52d555bbeebfb89b1f1e8000328f7a386458aa4f65f77fadd5c36582ee90a2e16fc0e0c862f58bf99b9c69e97761d4338f23558264673081c6fef4b7c522e6 SHA512 e4c03a1d15e9f2cda63b28bba4b1927c920047eac2f9bc4b8b8b78148fbdc59f1df8d7f187df439523b922dd163f199d39a4b0c9b2fd92b72f821b2648283031
EBUILD html2text-2.1.1.ebuild 889 BLAKE2B 2cfb411255c612699631c5e25d62055f8cd67bf0d69ec3b17380d173311338ff8b07edc894d65ac23998d89041c0f91d550206839b42574b7ea709a0f6dd8732 SHA512 b3859f9758680fd85934b17e3fdccd45589ab5bcc574dd4cbfa327269bd92d6ec173b02d61908b579c4273fd98561e98a2f054adb28329f05c83c1cc0d98489a
-EBUILD html2text-9999.ebuild 869 BLAKE2B 676857d89cd04f14113a5a43b765dc114860979e70299e7d402200c186caf41608676587d2841567cdecaec709cb3a465fc78a4f1341a4ff1dcaa870b1c1df3c SHA512 0f42c3923257b261fbd9d96194b7f8d1550af7d3d90abfd85f8de69d9a961927e5d063e76cc75ff5270c763d87239130437ec1aba84449d648e5145f2c076ee9
+EBUILD html2text-2.2.2.ebuild 667 BLAKE2B a2042fcfc0d95631896629db64f44eeccef1375c372551d95d0ad0ebdf77adc29ef628b7f12b483a1165ee57bac6c70757cce110d107ed9b0d25b8415b7fda2e SHA512 077bad82be394f4302dcdd2ad04ac2d2106f187817f03fc3f0d52e804836742883855a5843a468010c82470826fb608ed7cd5e87922427b3d02bb65ff4dc9f58
MISC metadata.xml 331 BLAKE2B 43e61ec021521aaae0dcdbbcef0a40be6da311dd188cf64c66a8dc5c4191befa9955c669cec80d1d9dd0ed584f35e8f3076a0a1d9986e9453c3d96a0cc3ae921 SHA512 dd843839ec2124a68865214d5d2b71d5af631c26bf86fd37f48af940ccd9aa5f1543c9e6232b44119edd7ca429ea869df2acdbf9faafd1454936e23a52d721cf
diff --git a/app-text/html2text/files/html2text-1.3.2a-compiler.patch b/app-text/html2text/files/html2text-1.3.2a-compiler.patch
deleted file mode 100644
index 19a1341209d4..000000000000
--- a/app-text/html2text/files/html2text-1.3.2a-compiler.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/configure
-+++ b/configure
-@@ -38,8 +38,8 @@
- return 0;
- }
- EOF
--CXX=unknown;
--for i in "CC" "g++" "cc" "$CC"; do
-+CXX=${CXX-unknown}
-+for i in "$CXX" "CC" "g++" "cc"; do
- if $i -c $tmp_file.C 2>/dev/null; then
- CXX="$i";
- break;
diff --git a/app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch b/app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch
deleted file mode 100644
index 949d8958a449..000000000000
--- a/app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/urlistream.C
-+++ b/urlistream.C
-@@ -362,7 +362,7 @@
- int
- urlistream::get()
- {
-- char ch;
-+ unsigned char ch;
- int ret = ::read(fd_, &ch, 1);
- return (ret > 0 ? ch : -1);
- }
diff --git a/app-text/html2text/html2text-1.3.2a-r2.ebuild b/app-text/html2text/html2text-1.3.2a-r2.ebuild
deleted file mode 100644
index 16360f5083c1..000000000000
--- a/app-text/html2text/html2text-1.3.2a-r2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="HTML to text converter"
-HOMEPAGE="http://www.mbayer.de/html2text/"
-SRC_URI="http://www.mbayer.de/html2text/downloads/${P}.tar.gz
- http://www.mbayer.de/html2text/downloads/patch-utf8-${P}.diff
- http://www.mbayer.de/html2text/downloads/patch-amd64-${P}.diff
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-
-PATCHES=(
- "${FILESDIR}/${P}-compiler.patch"
- "${FILESDIR}/${P}-urlistream-get.patch"
- "${DISTDIR}/patch-utf8-${P}.diff"
- "${DISTDIR}/patch-amd64-${P}.diff"
-)
-
-src_prepare() {
- default
- gunzip html2text.1.gz html2textrc.5.gz || die
- tc-export CXX
-}
-
-src_compile() {
- emake LDFLAGS="${LDFLAGS}" DEBUG="${CXXFLAGS}"
-}
-
-src_install() {
- dobin html2text
- doman html2text.1 html2textrc.5
- dodoc CHANGES CREDITS KNOWN_BUGS README TODO
-}
diff --git a/app-text/html2text/html2text-2.0.1.ebuild b/app-text/html2text/html2text-2.0.1.ebuild
deleted file mode 100644
index 4da9acfef72e..000000000000
--- a/app-text/html2text/html2text-2.0.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/grobian/html2text.git"
-else
- SRC_URI="https://github.com/grobian/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-DESCRIPTION="HTML to text converter"
-HOMEPAGE="https://github.com/grobian/html2text"
-
-LICENSE="GPL-2"
-SLOT="0"
-
-src_configure() {
- # non-autoconf configure
- tc-export CXX
- ./configure || die
-}
-
-src_compile() {
- emake LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
- MANDIR="${EPREFIX}/usr/share/man" \
- DOCDIR="${EPREFIX}/usr/share/doc/${P}" \
- install
-}
diff --git a/app-text/html2text/html2text-2.2.2.ebuild b/app-text/html2text/html2text-2.2.2.ebuild
new file mode 100644
index 000000000000..990f9f594abc
--- /dev/null
+++ b/app-text/html2text/html2text-2.2.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/grobian/html2text.git"
+else
+ SRC_URI="https://github.com/grobian/${PN}/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+fi
+
+DESCRIPTION="HTML to text converter"
+HOMEPAGE="https://github.com/grobian/html2text"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="virtual/libiconv"
+RDEPEND="${DEPEND}"
+
+src_test() {
+ emake check
+}
diff --git a/app-text/html2text/html2text-9999.ebuild b/app-text/html2text/html2text-9999.ebuild
deleted file mode 100644
index 6344e6a73487..000000000000
--- a/app-text/html2text/html2text-9999.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-if [[ ${PV} == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/grobian/html2text.git"
-else
- SRC_URI="https://github.com/grobian/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-fi
-
-DESCRIPTION="HTML to text converter"
-HOMEPAGE="https://github.com/grobian/html2text"
-
-LICENSE="GPL-2"
-SLOT="0"
-
-src_configure() {
- # non-autoconf configure
- tc-export CXX
- default
-}
-
-src_compile() {
- emake LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
- MANDIR="${EPREFIX}/usr/share/man" \
- DOCDIR="${EPREFIX}/usr/share/doc/${P}" \
- install
-}