Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/postgresql-docs: postgresql-docs-9.4_beta1.ebuild ChangeLog
Date: Thu, 26 Jun 2014 07:19:48
Message-Id: 20140626071944.99DF12004E@flycatcher.gentoo.org
1 patrick 14/06/26 07:19:44
2
3 Modified: ChangeLog
4 Added: postgresql-docs-9.4_beta1.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.237 dev-db/postgresql-docs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-docs/ChangeLog?rev=1.237&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-docs/ChangeLog?rev=1.237&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-docs/ChangeLog?r1=1.236&r2=1.237
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v
20 retrieving revision 1.236
21 retrieving revision 1.237
22 diff -u -r1.236 -r1.237
23 --- ChangeLog 20 Mar 2014 22:03:48 -0000 1.236
24 +++ ChangeLog 26 Jun 2014 07:19:44 -0000 1.237
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-db/postgresql-docs
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.236 2014/03/20 22:03:48 titanofold Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/ChangeLog,v 1.237 2014/06/26 07:19:44 patrick Exp $
30 +
31 +*postgresql-docs-9.4_beta1 (26 Jun 2014)
32 +
33 + 26 Jun 2014; Patrick Lauer <patrick@g.o>
34 + +postgresql-docs-9.4_beta1.ebuild:
35 + Bump
36
37 *postgresql-docs-9.3.4 (20 Mar 2014)
38 *postgresql-docs-9.2.8 (20 Mar 2014)
39
40
41
42 1.1 dev-db/postgresql-docs/postgresql-docs-9.4_beta1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.4_beta1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.4_beta1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: postgresql-docs-9.4_beta1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-docs/postgresql-docs-9.4_beta1.ebuild,v 1.1 2014/06/26 07:19:44 patrick Exp $
52
53 EAPI="4"
54
55 inherit versionator
56
57 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
58
59 RESTRICT="test"
60
61 DESCRIPTION="PostgreSQL documentation"
62 HOMEPAGE="http://www.postgresql.org/"
63 LICENSE="POSTGRESQL"
64
65 SLOT="$(get_version_component_range 1-2)"
66
67 # Comment the following four lines when not a beta or rc.
68 MY_PV="${PV//_}"
69 #MY_FILE_PV="${SLOT}$(get_version_component_range 4)"
70 S="${WORKDIR}/postgresql-${MY_PV}"
71 SRC_URI="mirror://postgresql/source/v${MY_PV}/postgresql-${MY_PV}.tar.bz2"
72
73 # Comment the following two lines when a beta or rc.
74 #S="${WORKDIR}/postgresql-${PV}"
75 #SRC_URI="mirror://postgresql/source/v${PV}/postgresql-${PV}.tar.bz2"
76
77 IUSE=""
78
79 DEPEND=""
80 RDEPEND=""
81
82 src_unpack() {
83 tar xjf "${DISTDIR}/${A}" -C "${WORKDIR}" "${A%.tar.bz2}/doc"
84 }
85
86 src_install() {
87 # Don't use ${PF} here as three packages
88 # (dev-db/postgresql-{docs,base,server}) have the same set of docs.
89 local mypath=/usr/share/doc/postgresql-${SLOT}
90
91 cd "${S}/doc"
92
93 insinto ${mypath}/html
94 doins src/sgml/html/*
95
96 insinto ${mypath}/sgml
97 doins src/sgml/*.{sgml,dsl}
98
99 insinto ${mypath}/sgml/ref
100 doins src/sgml/ref/*.sgml
101
102 fowners root:0 -R ${mypath}
103
104 dodir /etc/eselect/postgresql/slots/${SLOT}
105 echo "postgres_ebuilds=\"\${postgres_ebuilds} ${PF}\"" > \
106 "${ED}/etc/eselect/postgresql/slots/${SLOT}/docs"
107 }