diff --git a/app-text/html2text/Manifest b/app-text/html2text/Manifest index 431789b2ca818..59129e50971ba 100644 --- a/app-text/html2text/Manifest +++ b/app-text/html2text/Manifest @@ -1 +1,2 @@ DIST html2text-2.2.3.tar.gz 329841 BLAKE2B 311defd6aa6affc6f1ad59d9971f0315b6f2d748b4ae26e2c5f61cbd090ff76f0f0df7155acb1ec5c0114a6b6253eb27fc73d327162dca2a144afae74cdf4afa SHA512 ff851abdc0f672d6bf8de494d6595362d5b71eeb03f4f761e32afb50bb75fe12c0cede8c7ca4ca7290b1c9e0f08aaff9821946dd272e1a30ce3b585e452cf6ec +DIST html2text-2.3.0.tar.gz 346044 BLAKE2B 70b823cca25fcb1f09474482e6a745048d18f942e6cfb1134e56a14f34886fcf543ead70de3c5aadb7edfa666f7ba73a58f3e06b5bd010b56ae8e09d917e2921 SHA512 f0c2d5877f2840c9f9042e7b26cd060ff190bfced1d31f466f56e75f6f603584e8389361a040b592cab3ce0da1f1756e27822774c558d1d0fd0cf1e6019dc561 diff --git a/app-text/html2text/html2text-2.3.0.ebuild b/app-text/html2text/html2text-2.3.0.ebuild new file mode 100644 index 0000000000000..0c6c1a11dd753 --- /dev/null +++ b/app-text/html2text/html2text-2.3.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/grobian/html2text.git" +else + SRC_URI="https://github.com/grobian/${PN}/releases/download/v${PV}/${P}.tar.gz" + SRC_URI="https://gitlab.com/-/project/48313341/uploads/b7a99615c4419cf9a65dc24f12bae0d4/html2text-2.3.0.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="HTML to text converter, aimed at email for clients like Mutt" +HOMEPAGE="https://gitlab.com/grobian/html2text" + +LICENSE="GPL-2" +SLOT="0" + +DEPEND="virtual/libiconv" +RDEPEND="${DEPEND}" + +src_test() { + emake check +}