Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/ddate/, app-misc/ddate/files/
Date: Fri, 05 Oct 2018 21:40:02
Message-Id: 1538775568.e7c5b111a56a7bf4350f3c4f6bb102f1e865031c.asturm@gentoo
1 commit: e7c5b111a56a7bf4350f3c4f6bb102f1e865031c
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Fri Oct 5 15:12:03 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 5 21:39:28 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c5b111
7
8 app-misc/ddate: bump to version 0.2.2
9
10 Closes: https://bugs.gentoo.org/667822
11 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
12 Package-Manager: Portage-2.3.50, Repoman-2.3.11
13 Closes: https://github.com/gentoo/gentoo/pull/10078
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 app-misc/ddate/Manifest | 1 +
17 app-misc/ddate/ddate-0.2.2.ebuild | 20 ++++++++++++++++++++
18 .../files/ddate-0.2.2-dont-compress-manpage.patch | 20 ++++++++++++++++++++
19 app-misc/ddate/metadata.xml | 20 +++++++++++++++++---
20 4 files changed, 58 insertions(+), 3 deletions(-)
21
22 diff --git a/app-misc/ddate/Manifest b/app-misc/ddate/Manifest
23 index 1cfa94ead9d..94f2e192614 100644
24 --- a/app-misc/ddate/Manifest
25 +++ b/app-misc/ddate/Manifest
26 @@ -1 +1,2 @@
27 DIST ddate-0.2.1.tar.gz 7757 BLAKE2B b2899b325d5cb45b2aa2460fa900740c41c7790823958fcd1cf971713d61283e050737b0cecdd1988c60718e2741ba1d3a0a48442b4013d9727db6a3765da882 SHA512 377ae4be0ddd2386de726603116ec64a524f2f4263cb30d2cd8f10024659f5fee552cf13de45cbaad36c93d2dfd16c0667993d67a37ba2276a96ca052265c714
28 +DIST ddate-0.2.2.tar.gz 8049 BLAKE2B 7a987595b2dc399a5fc254891b92af84c9f94830f65c756f75db30c1e4db008ad715608ad37d53f3b73f3f5263023c066c546eb7536dc7439ded3650996be001 SHA512 5d148e030bee392eb93c5ae519061af0736f2f75eaae916e3efaf927d9f4de8cc72afc4a5121b6fbc0264b73e9f580330a38b97bb78837d447d0b4c1fc29ec06
29
30 diff --git a/app-misc/ddate/ddate-0.2.2.ebuild b/app-misc/ddate/ddate-0.2.2.ebuild
31 new file mode 100644
32 index 00000000000..ed2ea3d7453
33 --- /dev/null
34 +++ b/app-misc/ddate/ddate-0.2.2.ebuild
35 @@ -0,0 +1,20 @@
36 +# Copyright 1999-2018 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI="6"
40 +
41 +inherit cmake-utils
42 +
43 +DESCRIPTION="Perpetual date converter from gregorian to poee calendar"
44 +HOMEPAGE="https://github.com/bo0ts/ddate"
45 +SRC_URI="https://github.com/bo0ts/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
48 +LICENSE="public-domain"
49 +SLOT="0"
50 +
51 +RDEPEND="!sys-apps/util-linux[ddate]"
52 +
53 +DOCS=( "README.org" )
54 +
55 +PATCHES=( "${FILESDIR}/${P}-dont-compress-manpage.patch" )
56
57 diff --git a/app-misc/ddate/files/ddate-0.2.2-dont-compress-manpage.patch b/app-misc/ddate/files/ddate-0.2.2-dont-compress-manpage.patch
58 new file mode 100644
59 index 00000000000..1eacf8ae3a1
60 --- /dev/null
61 +++ b/app-misc/ddate/files/ddate-0.2.2-dont-compress-manpage.patch
62 @@ -0,0 +1,20 @@
63 +--- a/CMakeLists.txt 2014-06-20 14:56:55.000000000 +0200
64 ++++ b/CMakeLists.txt 2018-10-05 17:03:43.000000000 +0200
65 +@@ -4,15 +4,9 @@
66 +
67 + add_executable(ddate ddate.c)
68 +
69 +-add_custom_command( OUTPUT ddate.1.gz
70 +- COMMAND gzip -c -9 ${CMAKE_SOURCE_DIR}/ddate.1 >> ${CMAKE_CURRENT_BINARY_DIR}/ddate.1.gz
71 +- DEPENDS ${CMAKE_SOURCE_DIR}/ddate.1
72 +- COMMENT "gzipping manpage"
73 +- )
74 +-
75 + add_custom_target( manpage ALL
76 +- DEPENDS ddate.1.gz
77 ++ DEPENDS ddate.1
78 + )
79 +
80 +-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ddate.1.gz DESTINATION share/man/man1)
81 ++install(FILES ${CMAKE_SOURCE_DIR}/ddate.1 DESTINATION share/man/man1)
82 + install(TARGETS ddate DESTINATION bin)
83
84 diff --git a/app-misc/ddate/metadata.xml b/app-misc/ddate/metadata.xml
85 index 62bf9ab7eeb..5326117a6b3 100644
86 --- a/app-misc/ddate/metadata.xml
87 +++ b/app-misc/ddate/metadata.xml
88 @@ -1,7 +1,21 @@
89 <?xml version="1.0" encoding="UTF-8"?>
90 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
91 <pkgmetadata>
92 - <upstream>
93 - <remote-id type="github">bo0ts/ddate</remote-id>
94 - </upstream>
95 + <maintainer type="person">
96 + <email>ck+gentoo@××××××××.de</email>
97 + <name>Conrad Kostecki</name>
98 + </maintainer>
99 + <maintainer type="project">
100 + <email>proxy-maint@g.o</email>
101 + <name>Proxy Maintainers</name>
102 + </maintainer>
103 + <longdescription>
104 + Converts gregorian dates to discordian dates.
105 + Sacred document of the frogs (old erisian poem):
106 + 73 Days hath chaos, discord, confusion, bureaucracy and aftermath.
107 + </longdescription>
108 + <upstream>
109 + <bugs-to>https://github.com/bo0ts/ddate/issues</bugs-to>
110 + <remote-id type="github">bo0ts/ddate</remote-id>
111 + </upstream>
112 </pkgmetadata>