Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/libchart/
Date: Fri, 25 Nov 2016 20:44:59
Message-Id: 1480106618.0654f4487ee7f614152ddf6a6067cf3c301ec8ef.grknight@gentoo
1 commit: 0654f4487ee7f614152ddf6a6067cf3c301ec8ef
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 25 20:43:38 2016 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 25 20:43:38 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0654f448
7
8 dev-php/libchart: Snapshot bump, convert to EAPI6 and move to github
9
10 Upstream moved to github with the pending googlecode shutdown
11
12 Package-Manager: portage-2.3.2
13
14 dev-php/libchart/Manifest | 1 +
15 dev-php/libchart/libchart-1.3_p21050415.ebuild | 44 ++++++++++++++++++++++++++
16 dev-php/libchart/metadata.xml | 2 +-
17 3 files changed, 46 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-php/libchart/Manifest b/dev-php/libchart/Manifest
20 index 4732d72..34d5476 100644
21 --- a/dev-php/libchart/Manifest
22 +++ b/dev-php/libchart/Manifest
23 @@ -1,2 +1,3 @@
24 DIST libchart-1.2.2.tar.gz 103063 SHA256 3a369f3d0caf18cb2fa25db9744f2d7986c5020a474ca6b42ef807785bd78166 SHA512 6b86be1afdf4492e911c7c4bb08045d4f4f7229204a53c77339a8a7c5aa896c221e7bd9fe6bac2be05f97de653372689e22827ec1c13ee63402e9058818969bf WHIRLPOOL 033297a4d323729579240c17559d2765fb910e951c71f07b6a8f6f19dc98c84e2fd0f6e62489c7fa6f18da1229903bd51889e4c079088d529bea16d36c4797df
25 DIST libchart-1.3.tar.gz 106204 SHA256 ab3bdf1ccdb008a7ca9f7908d7ed8698163ab6679eaaf4bc37d5229471f38ac2 SHA512 5d2a0b014546487029f552f225fa83de856210a997e69bb5b129e99790f5acfdcfff904077126c42f82974d10f81e7e0342991221af5f108902b2792df24d586 WHIRLPOOL e4bb9b86939592a97bec0b00ebc26046a599a9b6d1ed266db9ad7b6b4a653cca21fdb7aa31078ba2d0957ddc0cc0c5741fd1d62a80b229b55f78dda81c2acca9
26 +DIST libchart-1.3_p21050415.tar.gz 365928 SHA256 c39eb5060b37a21883d405064bc49d2b1971208f9634e96cdb2d329d2f07a20d SHA512 14579fb69dd6c2f08725391773268221158d2ba065dd47e116895a543dfb990de3d26757d6f3e17da5ed8a33c5a728efe0ccca079517c8381b37ea6cef083be5 WHIRLPOOL 239cb88c13683182fc9bf2d7a99d91b84a1d0e2c7324357d1838b353ac93327cb1e485ec4a3d5fd906202a5cc51449ded125e963b0d747bf5c769353a2848a2d
27
28 diff --git a/dev-php/libchart/libchart-1.3_p21050415.ebuild b/dev-php/libchart/libchart-1.3_p21050415.ebuild
29 new file mode 100644
30 index 00000000..5347dfd
31 --- /dev/null
32 +++ b/dev-php/libchart/libchart-1.3_p21050415.ebuild
33 @@ -0,0 +1,44 @@
34 +# Copyright 1999-2016 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +# $Id$
37 +
38 +EAPI="6"
39 +
40 +inherit vcs-snapshot
41 +
42 +DESCRIPTION="Libchart is a chart creation PHP library that is easy to use"
43 +HOMEPAGE="http://naku.dohcrew.com/libchart"
44 +SRC_URI="https://github.com/naku/libchart/archive/af1628453cc083ede980c78216da8f2f594da6fa.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="GPL-3 BitstreamVera"
47 +KEYWORDS="~x86 ~amd64"
48 +SLOT=0
49 +IUSE="examples"
50 +
51 +DEPEND=""
52 +RDEPEND="dev-lang/php:*[gd,truetype]"
53 +
54 +DOCS=( ChangeLog README.md )
55 +
56 +src_install() {
57 + #remove extra license files
58 + rm -r "${S}/${PN}/doc" || die
59 + einstalldocs
60 +
61 + if use examples ; then
62 + # no point making users unzip all files individually
63 + docompress -x "/usr/share/doc/${PF}/demo"
64 + dodoc -r demo/
65 + fi
66 +
67 + insinto "/usr/share/php/${PN}"
68 + doins -r ${PN}/*
69 +}
70 +
71 +pkg_postinst() {
72 + elog
73 + elog "This version removes the duplicated /usr/share/php/libchart/libchart"
74 + elog "in favor of /usr/share/php/libchart. Please update any scripts in order"
75 + elog "for the classes to be found."
76 + elog
77 +}
78
79 diff --git a/dev-php/libchart/metadata.xml b/dev-php/libchart/metadata.xml
80 index 5303275..fb6b999 100644
81 --- a/dev-php/libchart/metadata.xml
82 +++ b/dev-php/libchart/metadata.xml
83 @@ -6,6 +6,6 @@
84 <name>PHP</name>
85 </maintainer>
86 <upstream>
87 - <remote-id type="google-code">libchart</remote-id>
88 + <remote-id type="github">naku/libchart</remote-id>
89 </upstream>
90 </pkgmetadata>