Gentoo Archives: gentoo-commits

From: Viorel Munteanu <ceamac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/md4c/
Date: Mon, 30 Jan 2023 10:29:38
Message-Id: 1675013287.b4265a1c06d775fb5329c1c457607890bdbd7297.ceamac@gentoo
1 commit: b4265a1c06d775fb5329c1c457607890bdbd7297
2 Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
3 AuthorDate: Sun Jan 29 17:23:51 2023 +0000
4 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 17:28:07 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b4265a1c
7
8 app-text/md4c: add snapshot, drop 9999, tidy up
9
10 upstream seems to be somewhat inactive - so it will take a while before
11 a new version is released i'd assume. i don't remember exactly what it
12 was, but there was some bug in the stable version which is why i added
13 9999 instead (and why i'm doing a snapshot right now).
14
15 also fixes the copyright year, i'm quite sure md4c didn't even exist
16 back in 1999 :)
17
18 Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org>
19
20 app-text/md4c/Manifest | 1 +
21 .../md4c/{md4c-9999.ebuild => md4c-0.4.8_p20220115.ebuild} | 10 +++++++---
22 2 files changed, 8 insertions(+), 3 deletions(-)
23
24 diff --git a/app-text/md4c/Manifest b/app-text/md4c/Manifest
25 new file mode 100644
26 index 000000000..0614a29be
27 --- /dev/null
28 +++ b/app-text/md4c/Manifest
29 @@ -0,0 +1 @@
30 +DIST md4c-0.4.8_p20220115.tar.gz 230786 BLAKE2B a2820563bd2f8094d9b57d1ee4bba629229b789b74b34860b1dfcbd45fffea4a477226ad5e8d9eace52b527c08698223ab9343729e4af605d8f9639166aea106 SHA512 1249e8d9c8aef1d305301c4d71f3d438cb81f0e754d9e3ca15c11bf384be67a112086332f41cfddfa2b89790748da0e7db7e62126dc0d9729846268e0dbee651
31
32 diff --git a/app-text/md4c/md4c-9999.ebuild b/app-text/md4c/md4c-0.4.8_p20220115.ebuild
33 similarity index 70%
34 rename from app-text/md4c/md4c-9999.ebuild
35 rename to app-text/md4c/md4c-0.4.8_p20220115.ebuild
36 index caf6b2562..d0bcf814d 100644
37 --- a/app-text/md4c/md4c-9999.ebuild
38 +++ b/app-text/md4c/md4c-0.4.8_p20220115.ebuild
39 @@ -1,18 +1,22 @@
40 -# Copyright 1999-2022 Gentoo Authors
41 +# Copyright 2022-2023 Gentoo Authors
42 # Distributed under the terms of the GNU General Public License v2
43
44 EAPI=8
45
46 inherit cmake
47
48 -# TODO: enable tests, add stable version and useflag for static lib
49 +# TODO(NRK):
50 +# - enable tests
51 +# - useflag for static lib (?)
52
53 if [[ ${PV} == 9999 ]]; then
54 inherit git-r3
55 EGIT_REPO_URI="https://github.com/mity/md4c.git"
56 else
57 - SRC_URI="https://github.com/mity/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
58 + COMMIT="e9ff661ff818ee94a4a231958d9b6768dc6882c9"
59 + SRC_URI="https://github.com/mity/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
60 KEYWORDS="~amd64"
61 + S="${WORKDIR}/${PN}-${COMMIT}"
62 fi
63
64 DESCRIPTION="C Markdown parser. Fast, SAX-like interface, CommonMark Compliant."