public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/an/
Date: Sun,  5 Jan 2020 16:28:59 +0000 (UTC)	[thread overview]
Message-ID: <1578241737.0c1941d435f9c8c189f881fcccd1fc14cb8cfac8.jer@gentoo> (raw)

commit:     0c1941d435f9c8c189f881fcccd1fc14cb8cfac8
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 16:26:10 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 16:28:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c1941d4

app-text/an: Version 1.2_p6

- Apply Debian patch (set)
- DEPEND on virtual/pkgconfig (see Debian patch)
- EAPI=7
- Remove redundant sed scripts

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 app-text/an/Manifest         |  1 +
 app-text/an/an-1.2_p6.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/app-text/an/Manifest b/app-text/an/Manifest
index 33eb47696d0..5f54ec32485 100644
--- a/app-text/an/Manifest
+++ b/app-text/an/Manifest
@@ -1 +1,2 @@
+DIST an_1.2-6.debian.tar.xz 4432 BLAKE2B efec93daf46b30369aa5d6a6bc57b9e79db7aabea5d8cb7ec9305775bf05c693c3b2ea428c09b99b2350f8a168e2b7e810538d78c321b11a64e6ca804f56feb8 SHA512 33cd93ddf1dea5f1a8d94695dbf6fcfbdf58830c11be1d6c83e516f6dc6d11adbe0cb196c98ec094887021575adc68aaa667222d3b10ed40e87e55a5422deaf2
 DIST an_1.2.orig.tar.xz 13196 BLAKE2B bbb19eb16e558f8fc3d331e5ad308611b13a7a88a65fb310b678bd21d46c39761747fb6f60a7eba99a1c2e756a8c9467543d26e97bbf7f9c93d17f66a4d7698c SHA512 919c525aa1215e3c1b2200c6820a357c6406c19b7447147cc4243d339c554b9892bea11797769df0bf96dd72c89f61bf3d977769faf9bc7f9edf609a7daeac3d

diff --git a/app-text/an/an-1.2_p6.ebuild b/app-text/an/an-1.2_p6.ebuild
new file mode 100644
index 00000000000..fd837055287
--- /dev/null
+++ b/app-text/an/an-1.2_p6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Very fast anagram generator with dictionary lookup"
+HOMEPAGE="https://packages.debian.org/unstable/games/an"
+SRC_URI="
+	mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.xz
+	mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+
+RDEPEND="
+	dev-libs/icu:=
+	sys-apps/miscfiles[-minimal]
+"
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+"
+S=${WORKDIR}/${P/_p*}
+
+src_prepare() {
+	default
+
+	eapply $(
+		for patch in $(cat "${WORKDIR}"/debian/patches/series)
+		do
+			echo "${WORKDIR}"/debian/patches/$patch
+		done
+	)
+
+	sed -i \
+		-e '/^CC/s|:=|?=|' \
+		Makefile || die
+	tc-export CC
+}
+
+src_install() {
+	dobin ${PN}
+	newman ${PN}.6 ${PN}.1
+	dodoc ALGORITHM
+}


             reply	other threads:[~2020-01-05 16:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 16:28 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-23 22:57 [gentoo-commits] repo/gentoo:master commit in: app-text/an/ Sam James
2020-12-21  9:36 Sergei Trofimovich
2020-11-27 16:10 Agostino Sarubbo
2020-11-27 16:04 Agostino Sarubbo
2020-11-27  8:41 Agostino Sarubbo
2020-11-26 23:31 Thomas Deutschmann
2017-06-10 10:06 Jeroen Roovers

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=1578241737.0c1941d435f9c8c189f881fcccd1fc14cb8cfac8.jer@gentoo \
    --to=jer@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