summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2019-02-02 21:52:11 -0500
committerBrian Evans <grknight@gentoo.org>2019-02-02 21:52:11 -0500
commit078ca5a6280608bca3be11606ffbd198ff763feb (patch)
treec43e9f231268d651813138e5462121d30f67b6d4 /app-doc/php-docs
parentmedia-video/gaupol: bump to 1.5, make pytest verbose (diff)
downloadgentoo-078ca5a6280608bca3be11606ffbd198ff763feb.tar.gz
gentoo-078ca5a6280608bca3be11606ffbd198ff763feb.tar.bz2
gentoo-078ca5a6280608bca3be11606ffbd198ff763feb.zip
app-doc/php-docs: Refresh to current docs
Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'app-doc/php-docs')
-rw-r--r--app-doc/php-docs/Manifest9
-rw-r--r--app-doc/php-docs/php-docs-20190203.ebuild62
2 files changed, 71 insertions, 0 deletions
diff --git a/app-doc/php-docs/Manifest b/app-doc/php-docs/Manifest
index e1f568d51ae2..4b3406156f0a 100644
--- a/app-doc/php-docs/Manifest
+++ b/app-doc/php-docs/Manifest
@@ -1,10 +1,19 @@
DIST php_manual_de-20101029.tar.gz 6041947 BLAKE2B 9ae8dcc78048854ba75362bc6df7c728b6ae3d373e71e679e4993e38b74ae3b23dcb572196de6fa159305803ddef316f279c89fa49954391f4f9c83c23ed805a SHA512 8952ea2d9abce15b23a9e045003caf4101b991439e088d3fb8cc7318e5a46d85d0e76be944d3e73124ff759f9b69fe52ea6f7b566eafbce16b0ca400968a95bf
+DIST php_manual_de-20190203.tar.gz 13299458 BLAKE2B e652510e09d0c19e42aa4726099ef6e7c2abd49f12224599ca0e03727ee85f83bb8dfd51228c594de53a36fdf205074165325502f429d79c02f122744e034960 SHA512 ad41113cdd2bd81f3646b6ba66eaf2b7453ab4adda69c981e12e24f35cb06fefb6654e393e243c752e93fb7000704514fb7c2091220de2137c6beeaa16701157
DIST php_manual_en-20101029.tar.gz 5973968 BLAKE2B b522a91f11e063062d0f286864fe6fc29d01b251a1f5fb10ceb59e9de22fa50a3ef7ccf26083ccc5afdb9caacfdf7c201ab05dcd13ab1a3f262125d588b28fb1 SHA512 548e279a1da43d9560f207aa5dfa756e304f1ce03da867c017e3cd20b6af7706cdea7d1337450294d14b676ce6d8adf84e1fbbf41c60e936d1b95c2d8a4d43db
+DIST php_manual_en-20190203.tar.gz 12680692 BLAKE2B f0257b0abf587384be484a51a8c2963aa6ee8dd9a6c4ebcdb01a601b962a85bee3305f4880a2ce3e42d3ed75a50d85e8cd1e3363eb1d5a8888737e1fe56810cc SHA512 cbb57dd10362739a5677540d7a92c4c7210abb90a8356a52d2080100beceb2fdcaadd554e2aa7b71be17221f9a40d0881db2308900b05542578d540ff6933fad
DIST php_manual_es-20101029.tar.gz 6205922 BLAKE2B bc553e853d5e71a1dd2630d49c9c7e1c652b6d39a4cde597090693cea8c8b44e19a020282d03cd1c1cd416feb52f29ad9b790845e5ad6df9259bfe695e9c13a6 SHA512 5af13dad3b3a9a42404227e04b1912276b68c3021b20f0efe3b4ef16d06f1b669b0c392e3ce697b7796a54bca94b2a6ea73872751bb540c5be722faa1ba19c6f
+DIST php_manual_es-20190203.tar.gz 13014398 BLAKE2B 61c66758b1a67e2edc6ba1b8485ebd273c5dcc3739b2e1536f695ec062f50faa7e2c82a1f033af8e39853f398a03ead0c8982493d2647c9c101bba2b2a439594 SHA512 55e7866ca091c1413a1da70e8a089e850821c9965d4be25311e17aa5ba66bd7df49f73f9ce7c0cf470344e5065525e18a5e89968256c6cecd60c53d952570eb4
DIST php_manual_fa-20101029.tar.gz 6074998 BLAKE2B de3c8a2dd220d52399e96e626e25b4d111e42598f8dc813970dbbc2e4b28d05de7134f97d4a2e67064461df378d7c14ff9ef7b901c4939e8c61eb2bcf05d8ed3 SHA512 68b39bdccf7d8ef852022a1985a66ca50585299bed0278fd4156ec06000ce3035324b533f1ca7d8fe7936893359895b3faf422c5c53c9f91a062fc541c88abf9
DIST php_manual_fr-20101029.tar.gz 6020868 BLAKE2B e4c8604f246c1b2e7526012ecfaa0d6e35b5770308ac2a02b2523cf04afae0ff87d62f6bd8abcd97f3e1194a56eaaed33f0b26f33a97ba87b68226d430c27114 SHA512 fea86a4694145d1740e9b0a49cc0b68e845f6c7bb261a3a9b9a92e088fce6d1c05dbab89381865b54af899122463052c83afc906db639c0cfd10b9640a3f58cd
+DIST php_manual_fr-20190203.tar.gz 13342232 BLAKE2B cda7de6c46ae6cc91d18237f75c5a27aa314f2b22deca23a31d60bae4b2cb1ab33dc64a9ac79e40d530ca3ae138c79c94e4504b0cb42579b79817280695fd1a9 SHA512 53f4efa55760cebf667e1349f5ee36133e0fbb10408478b2b5c2e7bdd06a922e5cc82d4fac5664c76967060be1b9b26d595a0377e7bc63dd44558972c9a70e8d
DIST php_manual_ja-20101029.tar.gz 6363287 BLAKE2B 2d2f63635d53784101ca11769bb17c05af3e07ca0e51db4dca706af8d0c31ad553124f79ce889066ba06711e2e90a87307934a90f91fe4329ad555a988da6577 SHA512 7ed2f6096db23392ffae2ea050d9f6770174c733631c5c684a0f2199f40984a7f7333ee74295fbfebee2202666cf2a017a8a1ed89201245b3cef4edcb468097f
+DIST php_manual_ja-20190203.tar.gz 13651500 BLAKE2B 1bdc64ed3ddb28d26d8b6bdfc4fcfe422fd093ccf430fdee9cd30fd12d686b20c52c6ae59b7c3ad9cf55615d7f19b107422b1ba5d8204dd3225660cca740be91 SHA512 7b5b2e639d735edd090540bceb515997924a632b5e499787d340931d972b960495c3f501550e26f5746dc378424369dd5e8b6bef24bd0198e1aefaecd695cb21
DIST php_manual_pl-20101029.tar.gz 6049947 BLAKE2B f037e98866e770f6843c018a14b8a46e61d3142580838621ab1b621c39b1262482f494c35fb4559222559bc2f1b2232c3d9e1ecbbae19cba20e3df45f83e6d1a SHA512 093c3e5707ae9ce6afc06f40b753d012d74640f76d85b1f3c24009b423f5a29a3a67d62cfd7cb1af1389f002d71312f1f735cdd31792074b673989b0efdd6b1f
+DIST php_manual_pl-20190203.tar.gz 7753987 BLAKE2B e3cb6c4e47a7a9a48de802db7dbba078853c66fa479ae439de2691580968cf9b5f5ab2f53847b405c41ded1f28cc2ede018fffeaa77f4b58a9a0a3a20723b16a SHA512 211c41be210437215337592fecefa18e63fae4f97dc5fd3276bb76c0314a7f3a6d536283d4bbe3ce22d62c12c9476eec7b13fbec739dc2fbe5e43834f8a1a5b3
DIST php_manual_pt_BR-20101029.tar.gz 5460583 BLAKE2B 8424deb291898420cb6616caeed530e4c326a00bda1f205267ddb11db7adf2e5d2bf2d0f2f81110f18ff6bcecb2ddde2a11fee25e248a25c9d028e7f9de350df SHA512 c31c3b2f67865cb23bf4364a48c23c19ef82a6bd96d65b8fa0b718bc9e0e13e8b8444d5ff9b0d74a92d0be97b58f5757a7a4127b979f194849eb6ff31624ad51
+DIST php_manual_pt_BR-20190203.tar.gz 12165474 BLAKE2B 33216276fb42933fab079d08038465d00efce47f1018ab355fac8f7be95dbc190ce31bfb6d7c0c0edf0b06f067df54dbe213f4413bbdb4786e31bc2984c94f9e SHA512 00d1182362259ef1e0656ad7e8c042d63660237d6fee7381f73a359b7d92d7f7d5bbdd64fddb2a4b4d586d9f8ab29b5bd98acbade6bec27bdbd7a018c30d0174
DIST php_manual_ro-20101029.tar.gz 6073830 BLAKE2B afb5996faa33106b626e1926a3f1b4c4981af80f97ca4ae30f4feb5ead2d19980e1e2c6d5cfd5779fa3bec1b2956e9bdf8c385c04bed4a6a08feb6124837674d SHA512 5ad32026dd2369479dcb324e4fc02da9199b2d977f4fde22ffbb08830cc7f91066fd45d7fbdfbf2df758e07c838aad4f6c9cf7193474a613e6461b30290e75af
+DIST php_manual_ro-20190203.tar.gz 12964568 BLAKE2B 3426d209332eb3d37084c86b0c5e94b78e2866c01d3a4c8567df47d00881184f60a93c2d96779fe814e8ddda0657f67c57b14e14a064ef81d1597ac40a35880c SHA512 3a55136311184c74f001f85bff7a79d8e268dc851d86ad07ddda9c83d8c9de5c3470feccde6a0d2cd4141f11902e68c80c3164ff96a18316d3a3ddcc983b0d50
DIST php_manual_tr-20101029.tar.gz 6089215 BLAKE2B 0d162bf3213caa82be98e812bb7487ca1121aa33a94c4bb0131e7ed462f3b2032ff6415e9df90f2716dd6326bdb8a405e556186b296de897d316cf8417131cf5 SHA512 181f8f79be6a1e9d510b935b27f8ed88f410044ddfd7ac80e1ff69bc48f79c3b4d78457e5bf009962f9e68e38605a614a161ae3c46c836ef6aa360cefc08626a
+DIST php_manual_tr-20190203.tar.gz 12617835 BLAKE2B 413586ed07b331251106f75773cc75be5eda338d436d87254d0e373bd708620bd78280b8f97ca56784805385d2eddf85ccfc6c67a14eec336873c76bdb072986 SHA512 02d045a59cd426d963668841660c9a5a08814cb8c72dc3a39be2add9da6107bab9897c968520f6dad036ec78d8b0e3f85b9df1f2cdc5a1cafc223c9fdd717551
diff --git a/app-doc/php-docs/php-docs-20190203.ebuild b/app-doc/php-docs/php-docs-20190203.ebuild
new file mode 100644
index 000000000000..77a98e5bb059
--- /dev/null
+++ b/app-doc/php-docs/php-docs-20190203.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="HTML documentation for PHP"
+HOMEPAGE="https://secure.php.net/download-docs.php"
+
+MY_PN="php_manual"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+RESTRICT="strip binchecks"
+
+LANGS="en de es fr ja pl pt-BR ro tr"
+for lang in ${LANGS} ; do
+ IUSE+=" l10n_${lang}"
+ SRC_URI+=" l10n_${lang}? ( https://dev.gentoo.org/~grknight/distfiles/${MY_PN}_${lang/-/_}-${PV}.tar.gz )"
+done
+
+REQUIRED_USE="|| ( ${IUSE} )"
+
+# Set English to default
+IUSE="${IUSE/l10n_en/+l10n_en}"
+
+S=${WORKDIR}
+
+src_unpack() {
+ for lang in ${LANGS} ; do
+ if use l10n_${lang} ; then
+ mkdir ${lang/-/_}
+ pushd ${lang/-/_} >/dev/null
+ unpack ${MY_PN}_${lang/-/_}-${PV}.tar.gz \
+ || die "unpack failed on ${lang}"
+ popd >/dev/null
+ fi
+ done
+}
+
+pkg_preinst() {
+ # remove broken/stale symlink created by previous ebuilds
+ [[ -L ${EROOT}/usr/share/php-docs ]] && rm -f "${EROOT}"/usr/share/php-docs
+}
+
+src_install() {
+ dodir /usr/share/doc/${PF}
+
+ for lang in ${LANGS} ; do
+ if use l10n_${lang} ; then
+ ebegin "Installing ${lang} manual, will take a while"
+ cp -R "${WORKDIR}"/${lang/-/_} "${ED}"/usr/share/doc/${PF} \
+ || die "cp failed on ${lang}"
+ eend $?
+ fi
+ done
+
+ einfo "Creating symlink to PHP manual at /usr/share/php-docs"
+ dosym doc/${PF} /usr/share/php-docs
+}