Gentoo Archives: gentoo-commits

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