Skip to content

Commit

Permalink
dev-php/PEAR-Mail_mimeDecode: Version bump
Browse files Browse the repository at this point in the history
Includes fixes for preg_match /e deprecation in PHP 7

Package-Manager: portage-2.3.1
  • Loading branch information
Brian Evans committed Oct 5, 2016
1 parent a821e51 commit c066699
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-php/PEAR-Mail_mimeDecode/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST Mail_mimeDecode-1.5.5.tgz 11554 SHA256 e58d162b326ce7687f0e23790124511d56b521a2b465d5481385a5a857c16188 SHA512 3b000517891258c848024617cb9e811f4d39d829739b6f026e3476895b62430c86b274e0deda49532fee280b51deb02614f8b68724c80b54e4a51d04786ef43d WHIRLPOOL 6906dcc9609402785e711efdcddb9306683e33b901432a07936671bbf7d153ec41b9b6a182118db965ee50fc5e2f8b9bcaef45deebc39660d1eab58281457a44
DIST Mail_mimeDecode-1.5.6.tgz 13258 SHA256 8323344fb2e3266339675adee6b373dcb9a41c730f34f4141ffe891f2c9818f7 SHA512 fe46ff2542acd3b180981c7dae41a1979b2edb3bfa5ad716a1ff39a255c2c04d92a7d770ae6531e38f3b869173f576fba44410c8e03269510d71dce5fa345bd1 WHIRLPOOL 4fb80ab222886441f891bf68e6e46eb6a25a4092b694f95776b8e26f0db5f9be497373e064732f014deae094c3185e3faf0eb084e85918c4358552af64934732
32 changes: 32 additions & 0 deletions dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

MY_PN="${PN#PEAR-}"
DESCRIPTION="Provides a class to decode mime messages (split from PEAR-Mail_Mime)"
HOMEPAGE="http://pear.php.net/package/Mail_mimeDecode"
SRC_URI="http://pear.php.net/get/${MY_PN}-${PV}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""

DEPEND="dev-lang/php:* >=dev-php/pear-1.8.1 >=dev-php/PEAR-Mail_Mime-1.5.2"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_PN}-${PV}"

src_install() {
insinto /usr/share/php
doins -r Mail
}

pkg_postinst() {
peardev install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null
}

pkg_postrm() {
peardev uninstall -nrO --force pear.php.net/${MY_PN}
}

0 comments on commit c066699

Please sign in to comment.