Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/adodb/
Date: Sun, 25 Apr 2021 15:36:25
Message-Id: 1619364958.37b44db02fb579121b90a9f6696643c0ff42579b.whissi@gentoo
1 commit: 37b44db02fb579121b90a9f6696643c0ff42579b
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 25 15:32:31 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 25 15:35:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37b44db0
7
8 dev-php/adodb: bump to v5.21.0
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-php/adodb/Manifest | 1 +
14 dev-php/adodb/adodb-5.21.0.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/dev-php/adodb/Manifest b/dev-php/adodb/Manifest
18 index 0c9bcc03f07..c55bc9321fb 100644
19 --- a/dev-php/adodb/Manifest
20 +++ b/dev-php/adodb/Manifest
21 @@ -1,3 +1,4 @@
22 DIST adodb-5.20.14.tar.gz 465896 BLAKE2B acd8494141584b0c02c2e30aa59b3916ae811b8095ca724d22f44ed2cb1456b8e8afc7ff9af41e7476f4a93809e762c44a175fd3775b69654107813342b3a47a SHA512 fa9b764742f3edf15e79da7a34ca52b19f51454fa20bc963cce963cdd40f7e78671e993cd672a21e9917aa2440c63601fbf768b5259dccb64b458a5be6f4b0eb
23 DIST adodb-5.20.18.tar.gz 467003 BLAKE2B ea0b007359a4fdada0fface3d5af82c335f2e7efeacdbb66be37914d76bff2783b58b2318531c527d13c3c358800803385c660c8f9372cf4a49269ed7e0c7d51 SHA512 09b04987e20a674a202be3889523b3bada578ea01f07830fed15afafb046687004b4e305a6abf2af795a7b0e3563f6e8afec5b0189f21e5c74b5e84bfbee1cd9
24 DIST adodb-5.20.20.tar.gz 469337 BLAKE2B cffe367e498978b095e28bab565c8af7e02769e4c76977fae7d807c6326d9b4679e319fa84debc9b250d0548e7dcac2e078b4968160490831e2390ce86fbe229 SHA512 2578a594bf9f1b33b5a78bd3e52b9fb73d0457b021a2bca6b5f8d311c0ecb347968a928a1dabd2c8806972dda6ec535fec94d6f792b6f5398aeff587321e5113
25 +DIST adodb-5.21.0.tar.gz 437724 BLAKE2B addd14c45ec3e1a3fcda63065ccbf06a6627fcf498a3aecc609c7763627915904c241bcb2db1c3aa31ba228b35d788885fd09311e2353f7490e31cee070f607e SHA512 305b5395e4d47d86bbb689818fee44a2b970d081e9ab527f7d0b010b5ae1159eac32c125d5b303569afa2a4360e160c37e17ff7c5adb7566175f9f131393643c
26
27 diff --git a/dev-php/adodb/adodb-5.21.0.ebuild b/dev-php/adodb/adodb-5.21.0.ebuild
28 new file mode 100644
29 index 00000000000..b7a894acbd3
30 --- /dev/null
31 +++ b/dev-php/adodb/adodb-5.21.0.ebuild
32 @@ -0,0 +1,40 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +MY_PN="ADOdb"
39 +DESCRIPTION="Database abstraction layer for PHP"
40 +HOMEPAGE="https://adodb.org/ https://github.com/ADOdb/ADOdb"
41 +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD LGPL-2.1+"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE=""
47 +
48 +# If you want to be picky, we should require that PHP be built with at
49 +# least one database driver enabled; otherwise adodb isn't going to be
50 +# able to do anything. But, the database USE flags for dev-lang/php are
51 +# a mess. What we would *like* to do is have a set of USE flags for
52 +# adodb that then propagate to PHP itself... for example, adodb[mysql]
53 +# could require php[mysql]. To do that would require that we duplicate
54 +# the database USE flag mess for adodb -- not desirable. Instead we punt
55 +# and let the user install adodb unconditionally. If he doesn't have
56 +# database support in PHP, it just won't work.
57 +RDEPEND="dev-lang/php:*"
58 +
59 +S="${WORKDIR}/${MY_PN}-${PV}"
60 +
61 +src_install() {
62 + DOCS="README.md docs/changelog*.md xmlschema*.dtd session/*.sql"
63 + DOCS+=" session/*.txt session/*.xml pear/auth_adodb_example.php"
64 + DOCS+=" pear/readme.Auth.txt"
65 +
66 + dodoc $DOCS
67 + rm -f $DOCS || die "failed to remove docs before installation"
68 +
69 + insinto "/usr/share/php/${PN}"
70 + doins *.php
71 + doins -r datadict drivers lang pear perf session xsl
72 +}