public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/
Date: Fri,  4 Oct 2024 19:25:46 +0000 (UTC)	[thread overview]
Message-ID: <1728069938.7e130591369be0ceaceea8b0621143c63af82555.chutzpah@gentoo> (raw)

commit:     7e130591369be0ceaceea8b0621143c63af82555
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  4 19:25:21 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Oct  4 19:25:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e130591

app-text/lowdown: add 1.1.2

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 app-text/lowdown/Manifest             |  1 +
 app-text/lowdown/lowdown-1.1.2.ebuild | 67 +++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
index ab6da42a7555..3faec9c7de85 100644
--- a/app-text/lowdown/Manifest
+++ b/app-text/lowdown/Manifest
@@ -1,2 +1,3 @@
 DIST lowdown-1.1.0.tar.gz 599219 BLAKE2B f623399cb41c5eaf180550283c5b2738993563ff30be4cfa1a471df036ed4289057d3f886a7727d85283896fbfe1316e9cc86d32c629cea1fd775af16cf58839 SHA512 b7b788694abf6760ca4abbd8d5d2c226d5406067ebf9b55307f136e1ab373e517fb20187659c09029463872310a5b39a0129842d1bc6b7bd64f2d440390e2676
 DIST lowdown-1.1.1.tar.gz 600635 BLAKE2B 39c0a2472ff6b9b3fa2b6d72c1f2d482592976f7b50c1bbaf1965bfbb6d28f22e0a7498bb54087bb83070bd74ea673409be97815f51a0a5a67e980bbfc4e01b2 SHA512 2a69da945a83696480651e8221d73bcb18bac9bc38bb88126ddf73520d2a4ff396dde08a7abf6f550669ec9ba34abdaa186b0980f312fa157371ee754576bb6a
+DIST lowdown-1.1.2.tar.gz 603453 BLAKE2B 02c549ad803d3e7a0bfc7fb05094452d57dbfd2ada9f5211571a3df45bef7fdca0b1cbd54a28cb86e6bec6b6be2d914ace05c728a3c0263bafe00f47eb52b7c2 SHA512 b8a649814bda946740695b5fe1120ad8653fe058acf37cc3c033fa78a0d49b0036eb2f4ada9b4aeda5d2c85ede7195d681c2605c6113f3c6a1113f760a7f2e49

diff --git a/app-text/lowdown/lowdown-1.1.2.ebuild b/app-text/lowdown/lowdown-1.1.2.ebuild
new file mode 100644
index 000000000000..a008b37b88a4
--- /dev/null
+++ b/app-text/lowdown/lowdown-1.1.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs flag-o-matic
+
+MY_PV="VERSION_${PV//./_}"
+DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
+HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
+SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="ISC"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND="
+	virtual/libcrypt:=
+"
+RDEPEND="
+	${DEPEND}
+"
+
+# configure tests for a bunch of BSD functions on Linux
+QA_CONFIG_IMPL_DECL_SKIP=(
+	crypt_newhash
+	crypt_checkpass
+	warnc
+	errc
+	getexecname
+	getprogname
+	memset_s
+	pledge
+	recallocarray
+	strlcat
+	strlcpy
+	strtonum
+	TAILQ_FOREACH_SAFE
+	unveil
+)
+
+PATCHES=(
+	"${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
+	"${FILESDIR}/lowdown-1.1.0-shared-linking.patch"
+)
+
+src_configure() {
+	append-flags -fPIC
+	tc-export CC AR
+
+	./configure \
+		PREFIX="/usr" \
+		MANDIR="/usr/share/man" \
+		LDFLAGS="${LDFLAGS}" \
+		CPPFLAGS="${CPPFLAGS}" \
+		LIBDIR="/usr/$(get_libdir)" \
+		|| die "./configure failed"
+}
+
+src_compile() {
+	emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
+}
+
+src_test() {
+	LD_LIBRARY_PATH="${S}" emake regress
+}


             reply	other threads:[~2024-10-04 19:25 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-04 19:25 Patrick McLean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-20 18:41 [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/ Patrick McLean
2025-02-01  9:22 Florian Schmaus
2025-02-01  9:22 Florian Schmaus
2025-01-29 18:23 Sam James
2025-01-06 18:41 Patrick McLean
2025-01-06 18:41 Patrick McLean
2025-01-05 12:15 WANG Xuerui
2024-12-10 18:10 Patrick McLean
2024-12-06 17:16 Patrick McLean
2024-12-06 17:15 Patrick McLean
2024-11-10 18:38 James Le Cuirot
2024-11-10  0:43 Jakov Smolić
2024-11-09  9:02 Arthur Zamarin
2024-11-09  9:02 Arthur Zamarin
2024-11-05 20:43 Sam James
2024-11-05 20:43 Sam James
2024-11-01 21:40 Patrick McLean
2024-11-01 21:40 Patrick McLean
2024-10-25 22:21 Sam James
2024-09-24 23:00 Patrick McLean
2023-12-15 18:53 Patrick McLean
2023-04-21 17:22 Patrick McLean
2023-03-08 23:21 Patrick McLean
2023-03-08 23:21 Patrick McLean
2023-02-06  3:58 Patrick McLean
2022-10-30 22:30 Sam James
2022-05-20 18:47 Jakov Smolić
2022-04-02  5:25 Patrick McLean
2021-06-20 23:40 Sam James
2021-04-17 22:39 Patrick McLean

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=1728069938.7e130591369be0ceaceea8b0621143c63af82555.chutzpah@gentoo \
    --to=chutzpah@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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