commit:     35289379cb754224953495e8ba89a5eb9b08a4b2
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 20:18:10 2016 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 20:18:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35289379

dev-php/SabreAMF: Bump for EAPI6 and upstream move to github

A revision bump might not have worked as the tarball changed
significatly.  Adding a _p0 will forcefully avoid Manifest errors.

Package-Manager: portage-2.3.2

 dev-php/SabreAMF/Manifest                   |  2 +-
 dev-php/SabreAMF/SabreAMF-1.3.234.ebuild    | 17 ----------------
 dev-php/SabreAMF/SabreAMF-1.3.234_p0.ebuild | 30 +++++++++++++++++++++++++++++
 dev-php/SabreAMF/metadata.xml               |  2 +-
 4 files changed, 32 insertions(+), 19 deletions(-)

diff --git a/dev-php/SabreAMF/Manifest b/dev-php/SabreAMF/Manifest
index 0447091..620e9cd 100644
--- a/dev-php/SabreAMF/Manifest
+++ b/dev-php/SabreAMF/Manifest
@@ -1 +1 @@
-DIST SabreAMF-1.3.234.tgz 22427 SHA256 
80d53a4275631c99ea27cac1418070205616980beb6a44c6241f9dda8027da34 SHA512 
617276f574f525c724ca64da908bdf35d809c2f70eaae6071ec18abb627321abe297cb8ab769059a894294523d62343bb1cd4d596517bca1ed17a2b7677a8064
 WHIRLPOOL 
a8543a3bac4060665153543e4c03101357b3538599154c9f1e78e51e600a7e12ab9192d01e4cda9a1b08a50616e8fa3eb738839ab3b196a0412bb9d6faa48ba5
+DIST SabreAMF-1.3.234_p0.tar.gz 82526 SHA256 
e34482ae575d7da4ba82025211eca8f65b1bca01694234be781809246379e42d SHA512 
4aef460300d6af925b228ec9fbde635851ec42ac3c9920165df4175b7e7de2d0bc9225bda869c095b8751d7e7f39ecb20866e8a9190df4c728c37f7de60ec4cc
 WHIRLPOOL 
cadc3ecae5a3d9d08d246a0d7e66d60885ab30e77c880c7a6a1b92e01e0277905bcb5d25cd8f3e0e5e687e539b4071ea62fc3db59a61dc6b14f77bb8e945a8c6

diff --git a/dev-php/SabreAMF/SabreAMF-1.3.234.ebuild 
b/dev-php/SabreAMF/SabreAMF-1.3.234.ebuild
deleted file mode 100644
index 9ae1e82..00000000
--- a/dev-php/SabreAMF/SabreAMF-1.3.234.ebuild
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit php-pear-r1
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="SabreAMF is a Flash Remoting server and client for PHP"
-HOMEPAGE="http://osflash.org/sabreamf";
-SRC_URI="https://sabreamf.googlecode.com/files/${P}.tgz";
-
-LICENSE="BSD"
-SLOT="0"
-IUSE=""

diff --git a/dev-php/SabreAMF/SabreAMF-1.3.234_p0.ebuild 
b/dev-php/SabreAMF/SabreAMF-1.3.234_p0.ebuild
new file mode 100644
index 00000000..6bc5770
--- /dev/null
+++ b/dev-php/SabreAMF/SabreAMF-1.3.234_p0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit vcs-snapshot
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="SabreAMF is a Flash Remoting server and client for PHP"
+HOMEPAGE="https://github.com/evert/${PN}";
+SRC_URI="https://github.com/evert/${PN}/archive/e5521c27e9309404d7505e1e16db843fcb2202ec.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="examples"
+
+DOCS=( README ChangeLog )
+
+src_install() {
+       insinto /usr/share/php/${PN}
+       doins -r ${PN}/*
+       einstalldocs
+       if use examples ; then
+               insinto /usr/share/doc/${P}/examples
+               docompress -x /usr/share/doc/${P}/examples
+               doins examples/*
+       fi
+}

diff --git a/dev-php/SabreAMF/metadata.xml b/dev-php/SabreAMF/metadata.xml
index a5ae4da..77ac976 100644
--- a/dev-php/SabreAMF/metadata.xml
+++ b/dev-php/SabreAMF/metadata.xml
@@ -6,6 +6,6 @@
                <name>PHP</name>
        </maintainer>
        <upstream>
-               <remote-id type="google-code">sabreamf</remote-id>
+               <remote-id type="github">evert/SabreAMF</remote-id>
        </upstream>
 </pkgmetadata>

Reply via email to