public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/lowdown/
Date: Sun, 21 Mar 2021 20:46:36 +0000 (UTC)	[thread overview]
Message-ID: <1616357851.ec651080b5707f8581ec59c92b3ad7d298bb7679.andrewammerlaan@gentoo> (raw)

commit:     ec651080b5707f8581ec59c92b3ad7d298bb7679
Author:     Anna Vyalkova <CyberTailor <AT> gmail <DOT> com>
AuthorDate: Sun Mar 21 20:17:31 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 21 20:17:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec651080

app-text/lowdown: add package

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Anna Vyalkova <cybertailor <AT> gmail.com>

 app-text/lowdown/Manifest             |  1 +
 app-text/lowdown/lowdown-0.8.3.ebuild | 50 +++++++++++++++++++++++++++++++++++
 app-text/lowdown/lowdown-9999.ebuild  | 50 +++++++++++++++++++++++++++++++++++
 app-text/lowdown/metadata.xml         | 17 ++++++++++++
 4 files changed, 118 insertions(+)

diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
new file mode 100644
index 00000000..67bc61f4
--- /dev/null
+++ b/app-text/lowdown/Manifest
@@ -0,0 +1 @@
+DIST lowdown-0.8.3.tar.gz 201286 BLAKE2B 7bbebfa625e98e4a23fde37e67c7a02c4113242ddd7cee249393f3f74db52a799085bb812d323e42092c823be122fac0513e9d50b69b28c02a443b7cfd7706a0 SHA512 6c1a8fe7fc9ee0a34d0be35aefbcf597e0335b31cdfc3201e5e5db58f9bc79b26ddd2495b74ce0b8e89b486df300a2ea338c18bc991c61527a2360dca2c9804f

diff --git a/app-text/lowdown/lowdown-0.8.3.ebuild b/app-text/lowdown/lowdown-0.8.3.ebuild
new file mode 100644
index 00000000..8f104fb8
--- /dev/null
+++ b/app-text/lowdown/lowdown-0.8.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="simple markdown translator"
+HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/kristapsdz/${PN}.git"
+	KEYWORDS=""
+else
+	SRC_URI="https://kristaps.bsd.lv/${PN}/snapshots/${P}.tar.gz"
+	KEYWORDS="~*"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+	default
+
+	# note: not an autoconf configure script (oconfigure)
+	cat <<-EOF > "configure.local"
+		PREFIX="${EPREFIX}/usr"
+		BINDIR="${EPREFIX}/usr/bin"
+		SBINDIR="${EPREFIX}/usr/sbin"
+		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+		MANDIR="${EPREFIX}/usr/share/man"
+		INCLUDEDIR="${EPREFIX}/usr/include"
+
+		CFLAGS="${CFLAGS} ${CPPFLAGS}"
+		LDFLAGS="${LDFLAGS}"
+		CC="$(tc-getCC)"
+
+		# fix utf-8 locale on musl
+		$(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
+	EOF
+}
+
+src_configure() {
+	./configure
+}

diff --git a/app-text/lowdown/lowdown-9999.ebuild b/app-text/lowdown/lowdown-9999.ebuild
new file mode 100644
index 00000000..8f104fb8
--- /dev/null
+++ b/app-text/lowdown/lowdown-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="simple markdown translator"
+HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
+
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/kristapsdz/${PN}.git"
+	KEYWORDS=""
+else
+	SRC_URI="https://kristaps.bsd.lv/${PN}/snapshots/${P}.tar.gz"
+	KEYWORDS="~*"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+	default
+
+	# note: not an autoconf configure script (oconfigure)
+	cat <<-EOF > "configure.local"
+		PREFIX="${EPREFIX}/usr"
+		BINDIR="${EPREFIX}/usr/bin"
+		SBINDIR="${EPREFIX}/usr/sbin"
+		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+		MANDIR="${EPREFIX}/usr/share/man"
+		INCLUDEDIR="${EPREFIX}/usr/include"
+
+		CFLAGS="${CFLAGS} ${CPPFLAGS}"
+		LDFLAGS="${LDFLAGS}"
+		CC="$(tc-getCC)"
+
+		# fix utf-8 locale on musl
+		$(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
+	EOF
+}
+
+src_configure() {
+	./configure
+}

diff --git a/app-text/lowdown/metadata.xml b/app-text/lowdown/metadata.xml
new file mode 100644
index 00000000..d3650e99
--- /dev/null
+++ b/app-text/lowdown/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream>
+		<maintainer>
+			<name>kristapsdz</name>
+			<email>kristaps@bsd.lv</email>
+		</maintainer>
+		<changelog>https://kristaps.bsd.lv/lowdown/archive.html</changelog>
+		<bugs-to>https://github.com/kristapsdz/lowdown/issues</bugs-to>
+		<remote-id type="github">kristapsdz/lowdown</remote-id>
+	</upstream>
+	<maintainer type="person">
+		<email>cybertailor@gmail.com</email>
+		<name>Anna</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2021-03-21 20:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-21 20:46 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-17 20:00 [gentoo-commits] repo/proj/guru:master commit in: app-text/lowdown/ Andrew Ammerlaan
2021-04-08 10:12 Andrew Ammerlaan
2021-03-21 20:46 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-03-21 20:46 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan

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=1616357851.ec651080b5707f8581ec59c92b3ad7d298bb7679.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --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