dev-php/PEAR-VersionControl_SVN: Revbump for EAPI and eclass change
authorBrian Evans <grknight@gentoo.org>
Wed, 14 Feb 2018 16:26:49 +0000 (11:26 -0500)
committerBrian Evans <grknight@gentoo.org>
Wed, 14 Feb 2018 16:27:42 +0000 (11:27 -0500)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2-r1.ebuild [new file with mode: 0644]

diff --git a/dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2-r1.ebuild b/dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2-r1.ebuild
new file mode 100644 (file)
index 0000000..7fea891
--- /dev/null
@@ -0,0 +1,20 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit php-pear-r2
+
+DESCRIPTION="Simple OO wrapper interface for the Subversion command-line client"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+RDEPEND=""
+
+src_prepare() {
+       einfo "Patching SVN.php and SVN/Command.php to use proper paths by default"
+       sed -i -e 's:/usr/local:/usr:g' VersionControl/SVN.php || die "sed failed"
+       sed -i -e 's:/usr/local:/usr:g' VersionControl/SVN/Command.php || die "sed failed"
+       default
+}