Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/clsync-docs/
Date: Fri, 30 Sep 2016 12:04:01
Message-Id: 1475237030.0b015be7e2b6060477b0edf36ee941fe837f4ef1.bircoph@gentoo
1 commit: 0b015be7e2b6060477b0edf36ee941fe837f4ef1
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 11:16:51 2016 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 12:03:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b015be7
7
8 app-doc/clsync-docs: version bump
9
10 Bump to 0.4.2, update ebuild to EAPI 6.
11
12 Package-Manager: portage-2.3.1
13 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
14
15 app-doc/clsync-docs/Manifest | 1 +
16 app-doc/clsync-docs/clsync-docs-0.4.2.ebuild | 44 ++++++++++++++++++++++++++++
17 2 files changed, 45 insertions(+)
18
19 diff --git a/app-doc/clsync-docs/Manifest b/app-doc/clsync-docs/Manifest
20 index 22e7548..994df4e 100644
21 --- a/app-doc/clsync-docs/Manifest
22 +++ b/app-doc/clsync-docs/Manifest
23 @@ -1 +1,2 @@
24 DIST clsync-0.4.1.tar.gz 253890 SHA256 3f14a72d7c3c1747ea908e373f25bd1918ce00450492fbb7094549db6bf21e27 SHA512 875280f706026d44806b92c22fa58d016136b2792f67a6b7e77f932465081da7a1ebaf22c25e538e4b58bfe04cd1cd5450ecab99c3df53ddd2a0fa966442d444 WHIRLPOOL 10ab11821766f7d16d03993069ac4da5fe362a1e5977ea6721e49ada7044d3659e59b507b03be4de09609b0a0ca9d7878407d7b6e1f40df5dbe1d041dac373cb
25 +DIST clsync-0.4.2.tar.gz 256042 SHA256 1af63b86c1d0bd663311f2129792446dc8fc4def5559f76658b51b69a8d0c3bd SHA512 d14a2efc4bf58d9d5c7a3fe5634cacdd182cd7cd814b0e9ebd99024a7282b056d1f7ceeec6903666391c3572d599a18e205af818b098ed7768d5c0e0f4cd1200 WHIRLPOOL a59446337282cb63455b43bbbf17ad1213e39713d9c267ca5ee8785d863bc90e7b99e5938e4d5be02f3103a98b1bb5d5a628580160952d821e6caaad72fa2679
26
27 diff --git a/app-doc/clsync-docs/clsync-docs-0.4.2.ebuild b/app-doc/clsync-docs/clsync-docs-0.4.2.ebuild
28 new file mode 100644
29 index 00000000..7693440
30 --- /dev/null
31 +++ b/app-doc/clsync-docs/clsync-docs-0.4.2.ebuild
32 @@ -0,0 +1,44 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +
39 +MY_PN="${PN%-docs}"
40 +MY_P="${MY_PN}-${PV}"
41 +
42 +SRC_URI="https://github.com/xaionaro/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
43 +KEYWORDS="~amd64 ~x86"
44 +S="${WORKDIR}/${MY_P}"
45 +
46 +DESCRIPTION="Clsync and libclsync API documentation"
47 +HOMEPAGE="http://ut.mephi.ru/oss/clsync https://github.com/xaionaro/clsync"
48 +LICENSE="GPL-3+"
49 +SLOT="0"
50 +IUSE="api +examples"
51 +
52 +DEPEND="
53 + virtual/pkgconfig
54 + api? ( app-doc/doxygen )
55 +"
56 +
57 +src_configure() {
58 + : # doxygen doesn't depend on configuration
59 +}
60 +
61 +src_compile() {
62 + if use api; then
63 + doxygen .doxygen || die "doxygen failed"
64 + fi
65 +}
66 +
67 +src_install() {
68 + dodoc CONTRIB DEVELOPING NOTES PROTOCOL README.md SHORTHANDS TODO
69 + if use api; then
70 + dodoc -r doc/doxygen/html doc/devel/*
71 + fi
72 + if use examples; then
73 + docinto examples
74 + dodoc -r examples/{production,clsync*}
75 + fi
76 +}