From 3b4199328e240d392ef1f03900219cb88bdafcff Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 30 Jul 2023 22:42:58 +0100 Subject: gentoo auto-resync : 30:07:2023 - 22:42:58 --- app-text/Manifest.gz | Bin 48396 -> 48394 bytes app-text/html2text/Manifest | 11 +----- .../files/html2text-1.3.2a-compiler.patch | 13 ------- .../files/html2text-1.3.2a-urlistream-get.patch | 11 ------ app-text/html2text/html2text-1.3.2a-r2.ebuild | 40 -------------------- app-text/html2text/html2text-2.0.1.ebuild | 38 ------------------- app-text/html2text/html2text-2.2.2.ebuild | 27 ++++++++++++++ app-text/html2text/html2text-9999.ebuild | 38 ------------------- app-text/kramdown-rfc/Manifest | 6 +-- app-text/kramdown-rfc/kramdown-rfc-1.6.27.ebuild | 41 --------------------- app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild | 2 +- app-text/kramdown-rfc/kramdown-rfc-1.6.39.ebuild | 41 +++++++++++++++++++++ 12 files changed, 74 insertions(+), 194 deletions(-) delete mode 100644 app-text/html2text/files/html2text-1.3.2a-compiler.patch delete mode 100644 app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch delete mode 100644 app-text/html2text/html2text-1.3.2a-r2.ebuild delete mode 100644 app-text/html2text/html2text-2.0.1.ebuild create mode 100644 app-text/html2text/html2text-2.2.2.ebuild delete mode 100644 app-text/html2text/html2text-9999.ebuild delete mode 100644 app-text/kramdown-rfc/kramdown-rfc-1.6.27.ebuild create mode 100644 app-text/kramdown-rfc/kramdown-rfc-1.6.39.ebuild (limited to 'app-text') diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz index 5e4ea8953909..53cf92a7b7ce 100644 Binary files a/app-text/Manifest.gz and b/app-text/Manifest.gz differ 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 -} diff --git a/app-text/kramdown-rfc/Manifest b/app-text/kramdown-rfc/Manifest index 22bc54037157..0c1644eaa784 100644 --- a/app-text/kramdown-rfc/Manifest +++ b/app-text/kramdown-rfc/Manifest @@ -1,8 +1,8 @@ AUX kramdown-rfc-1.6.27-Drop-dependency-on-certified.patch 1181 BLAKE2B 88aca52367e43430d32cd9fec446d058336df581e6f1826c21b2ce0a0b56146e5e823c64c67a93c475d434be8f11dccf06087e8482ca5a58f3e756692bd20e95 SHA512 9ad85ee55c73fa1c5aef81fd9453f339730e2f96ab36b4888d425e6a3898aaac9fdba7ff09744ddab77a46ba5de5f609a1fdd3731e51fbaaba25c8885c138562 AUX kramdown-rfc-1.6.27-Remove-bin-echars.patch 1709 BLAKE2B 204a01a8115e87c14e4afd2d13e6c9901e00e57b8f41e278bc1f9a8893bd434a4fde25f91a59cfd62df46d6439b44e033066f092c353b4a73f187b8a337f3202 SHA512 f5469729f74187dc10120f5c8bd3ba9fa7d9d4437bc13ea341671a937e65398d923d1c0ae17ae383c39fda1b5be8fd94d45b63a17fa22d1ed347f023eb380c4d AUX kramdown-rfc-1.6.35-Remove-bin-echars.patch 1838 BLAKE2B f069feb771975e6db63c433662416e31434c4b72d1ab6142afde73ca1e16fb7435aafcdf7a82650cfebe1edfbb851e2017b3d723694a24527065edffb5921e08 SHA512 9cbbc54067278196c1e8044f839536307e268272d855b787f82b0af585ad327975013671ea67cb6ce6882cdaeeb13499fa965a30608a3c9634a285d554fdf097 -DIST kramdown-rfc2629-1.6.27.gem 57344 BLAKE2B e43d46a02e804268ebf5697fde7948c1c1e90f2cb33f0aa66c93c629e6f68f7932ecf02cd7169c93d06f21ee77e9c98b2717c6c18629fc78d2532098ef4e4f5f SHA512 7ad473bf9221f8369afaa6374751d77931f12e7af3500576da7567cc4e36844349de412626e735432dea098d71d155cb1fd1d87f9e3ea053bebd3be84da81c17 DIST kramdown-rfc2629-1.6.36.gem 60928 BLAKE2B e1f5a3299ddca462b7ab3935019b95f58aebfc5de52271142b41cbf03102a574181b0d29d5701e0f6b710eb7c8b85dda0f9700b8e47698b6d079cd8c07d720b0 SHA512 d3c32bd0e692ebf5dfb428617ce6ae37ac91ff99021a59e11df205e88c76699c8fabd8dd7922f6e9a5653b12e3c113eeedbb38b6edd656d67cd16b5f03a3136e -EBUILD kramdown-rfc-1.6.27.ebuild 1123 BLAKE2B 9e5db4ebaa8998a55191cc9277810833386e5abbe917c677cfe917a85bea18b622566b918e5a460d67c913e82bd2f61801e7ea58d2ac3c374e9d7aa790a07cee SHA512 e4cad1711739db2485daa6f634474bbaf25ce0d4fee8c70dcc3e0e3ef7036af17bcb67b4c0ec65ea5042134599e0be7ca6210316c3d891b2a1907703966a365c -EBUILD kramdown-rfc-1.6.36.ebuild 1124 BLAKE2B 5f766d0bc384d55e6d6c9e92d44c206d2bc4c72d5f1a5f9d3cb612f1aaa5f2205e493e59b6c0d60ef506267f21eed5b52a22de99c6ddaf793e15d14f9a2ced1c SHA512 a363354ca02e9ed9d64fa6bb4a81847b18b60c3e8faba8860f5c4780bc6506a0a4cbe94be5b1b449c2fbaa5e1e97a4473a7b5905282d42b1ac65870a03627d7c +DIST kramdown-rfc2629-1.6.39.gem 62464 BLAKE2B 4063bab5ef8081c5a2aba3d881990d9ea4e6dd5ce01bf85e0ce6bc63b0fc6c1e8e9be413b00588c5e6e473ee26dfb6060aa8767ce6b4053c1b8750f79182e540 SHA512 bdfc611895f734a28e65b8d6b750fec387bb504d35feb8c6bbf4dbaf83b19b65fb61187e9b5e58ec64dbe72cbc9cc6efa78a349752340634ef2dc565bb096589 +EBUILD kramdown-rfc-1.6.36.ebuild 1123 BLAKE2B ddf621bc9496dc4628adf5736f377e5348695e49442c0f6562d1aa0929254383541e70d5f86d1561ac24a7df2b00028151c81402a43d2ecc87fe5237add56f6e SHA512 59eeff2a8bff387cfb3c8fb7c24cafe7edf92dca02c53ed005e9dfad618fd9a7ab092bd31e9a9d4434c2daf04665cf1eeeaba55ce53679b31ddf689251710334 +EBUILD kramdown-rfc-1.6.39.ebuild 1124 BLAKE2B 5f766d0bc384d55e6d6c9e92d44c206d2bc4c72d5f1a5f9d3cb612f1aaa5f2205e493e59b6c0d60ef506267f21eed5b52a22de99c6ddaf793e15d14f9a2ced1c SHA512 a363354ca02e9ed9d64fa6bb4a81847b18b60c3e8faba8860f5c4780bc6506a0a4cbe94be5b1b449c2fbaa5e1e97a4473a7b5905282d42b1ac65870a03627d7c MISC metadata.xml 329 BLAKE2B 9185c25e51c2e8b627f4b429b3b9de5c751e05fe6d78831704f32811ec9962e7f05f057c6c8e68bbcf58b95b7f791357cc3ae4598f49e3e073063994bcd30e95 SHA512 8638caf7ae842a1cffccea4795d4769ec20a56107721b5a401bf430151c682332adee04fb1bc551d1ce4de875572a356b1f4bce0dad435c4c7bc4f91c686b9ff diff --git a/app-text/kramdown-rfc/kramdown-rfc-1.6.27.ebuild b/app-text/kramdown-rfc/kramdown-rfc-1.6.27.ebuild deleted file mode 100644 index f6da029218d3..000000000000 --- a/app-text/kramdown-rfc/kramdown-rfc-1.6.27.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby30" - -# The software got renamed from kramdown-rfc2629 to kramdown-rfc, -# however the gem coordinate is still kramdown-rfc2629. -RUBY_FAKEGEM_NAME="${PN}2629" -RUBY_FAKEGEM_RECIPE_TEST="none" -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_EXTRAINSTALL="data" -# Explicitly use the gemspec file over the metadata file of the gem, as -# the latter contains dependencies that we patched out. -RUBY_FAKEGEM_GEMSPEC="${RUBY_FAKEGEM_NAME}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="An XML2RFC (RFC799x) backend for Thomas Leitner's kramdown markdown parser" -HOMEPAGE="https://github.com/cabo/kramdown-rfc" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" - -PATCHES=( - "${FILESDIR}"/${PN}-1.6.27-Drop-dependency-on-certified.patch - "${FILESDIR}"/${PN}-1.6.27-Remove-bin-echars.patch -) - -ruby_add_rdepend " - >=dev-ruby/json-2.0.0 - >=dev-ruby/kramdown-2.4.0 - >=dev-ruby/kramdown-parser-gfm-1.1.0 - >=dev-ruby/net-http-persistent-4.0 -" - -all_ruby_prepare() { - sed -i 's/json_pure/json/' "${RUBY_FAKEGEM_GEMSPEC}" || die -} diff --git a/app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild b/app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild index ff1033582610..eca764b9c1dd 100644 --- a/app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild +++ b/app-text/kramdown-rfc/kramdown-rfc-1.6.36.ebuild @@ -22,7 +22,7 @@ HOMEPAGE="https://github.com/cabo/kramdown-rfc" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" PATCHES=( "${FILESDIR}"/${PN}-1.6.27-Drop-dependency-on-certified.patch diff --git a/app-text/kramdown-rfc/kramdown-rfc-1.6.39.ebuild b/app-text/kramdown-rfc/kramdown-rfc-1.6.39.ebuild new file mode 100644 index 000000000000..ff1033582610 --- /dev/null +++ b/app-text/kramdown-rfc/kramdown-rfc-1.6.39.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31" + +# The software got renamed from kramdown-rfc2629 to kramdown-rfc, +# however the gem coordinate is still kramdown-rfc2629. +RUBY_FAKEGEM_NAME="${PN}2629" +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_EXTRAINSTALL="data" +# Explicitly use the gemspec file over the metadata file of the gem, as +# the latter contains dependencies that we patched out. +RUBY_FAKEGEM_GEMSPEC="${RUBY_FAKEGEM_NAME}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An XML2RFC (RFC799x) backend for Thomas Leitner's kramdown markdown parser" +HOMEPAGE="https://github.com/cabo/kramdown-rfc" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.27-Drop-dependency-on-certified.patch + "${FILESDIR}"/${PN}-1.6.35-Remove-bin-echars.patch +) + +ruby_add_rdepend " + >=dev-ruby/json-2.0.0 + >=dev-ruby/kramdown-2.4.0 + >=dev-ruby/kramdown-parser-gfm-1.1.0 + >=dev-ruby/net-http-persistent-4.0 +" + +all_ruby_prepare() { + sed -i 's/json_pure/json/' "${RUBY_FAKEGEM_GEMSPEC}" || die +} -- cgit v1.2.3