Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/
Date: Sat, 02 Apr 2022 05:25:42
Message-Id: 1648877005.fa00c71578e9cbaee502c0589f41891a99b8536b.chutzpah@gentoo
1 commit: fa00c71578e9cbaee502c0589f41891a99b8536b
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 05:23:25 2022 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 05:23:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa00c715
7
8 app-text/lowdown: add 0.11.2
9
10 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
11
12 app-text/lowdown/Manifest | 1 +
13 app-text/lowdown/lowdown-0.11.2.ebuild | 45 ++++++++++++++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
17 index 0a116aa9f30c..126601d3a982 100644
18 --- a/app-text/lowdown/Manifest
19 +++ b/app-text/lowdown/Manifest
20 @@ -1,3 +1,4 @@
21 DIST lowdown-0.10.0.tar.gz 547397 BLAKE2B 93d87e3aca2466398a625750b928062fbafd26311899e52ddd8264218675e78d30714c920f3331619fcd510a92cc6046401c946f5bd1465d6fd46f26937318ac SHA512 7454e618607628ec0a1649f44f5ec64f8778ecaa151f6aad4984935e297abfe8e84ffc321d3c93cec5d336ff14b6bf9a0ff9054e7363cc58ba708a5b60db9048
22 DIST lowdown-0.11.1.tar.gz 571320 BLAKE2B 28fe8cb4f164618be602770c602f3ce51c0f0e765fb9869b82cb29c50bdbe0fd92c09c10074d8968108eca59096d7e176531eb56cb2b40f1d9c00a3f944e3b8c SHA512 5a8ca9d731171b97daed7a9095bc4206d2bed9095fa267eb9270782770247743f1a096c5235fd301320418c37a478fbc71552ade105eba0e756ff687835d4efb
23 +DIST lowdown-0.11.2.tar.gz 576599 BLAKE2B 579a5257a0c37882c1b5269d8196a974b3ac73be146ba424a129c9421091c462769f065350ede1b8437371141c17c24fa5ac4bdc65f393a92835d6e981c5b181 SHA512 f49ba1358a6de9ab792cf1fb7586e0e326b8ba9a153c234079825534cbdc2d10b6af32d5612b11490b97dbd6c0bea10a79752bf1ad7e7d8af871aa20332fed9e
24 DIST lowdown-0.8.4.tar.gz 520735 BLAKE2B dc66b92f285b186ca83b9fad1cccfef9b395233ef56756e9ea9071b5502cd81dc6ce2d67d7ef265dab8953010af0907cd76125cd4442cfbfc2bcf8c63e097809 SHA512 cd46ead69ed038bf3ccf848b784327d66c78dd8adbc9ae4bfee660b9b1e52844ac8c7ad0377f8f38a3fee0d2e523f979a22d6b547c7964304accef0951cfca34
25
26 diff --git a/app-text/lowdown/lowdown-0.11.2.ebuild b/app-text/lowdown/lowdown-0.11.2.ebuild
27 new file mode 100644
28 index 000000000000..203b145ffc66
29 --- /dev/null
30 +++ b/app-text/lowdown/lowdown-0.11.2.ebuild
31 @@ -0,0 +1,45 @@
32 +# Copyright 2021-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit toolchain-funcs flag-o-matic
38 +
39 +MY_PV="VERSION_${PV//./_}"
40 +DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
41 +HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
42 +SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
43 +S="${WORKDIR}/${PN}-${MY_PV}"
44 +
45 +LICENSE="ISC"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +
49 +DEPEND="virtual/libcrypt:="
50 +RDEPEND="${DEPEND}"
51 +
52 +PATCHES=(
53 + "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
54 + "${FILESDIR}/lowdown-0.11.1-linking.patch"
55 +)
56 +
57 +src_configure() {
58 + append-flags -fPIC
59 + tc-export CC AR
60 +
61 + ./configure \
62 + PREFIX="/usr" \
63 + MANDIR="/usr/share/man" \
64 + LDFLAGS="${LDFLAGS}" \
65 + CPPFLAGS="${CPPFLAGS}" \
66 + LIBDIR="/usr/$(get_libdir)" \
67 + || die "./configure failed"
68 +}
69 +
70 +src_compile() {
71 + emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
72 +}
73 +
74 +src_test() {
75 + emake regress
76 +}