dev-php/SabreAMF: Bump for EAPI6 and upstream move to github
authorBrian Evans <grknight@gentoo.org>
Fri, 25 Nov 2016 20:18:10 +0000 (15:18 -0500)
committerBrian Evans <grknight@gentoo.org>
Fri, 25 Nov 2016 20:18:10 +0000 (15:18 -0500)
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
dev-php/SabreAMF/SabreAMF-1.3.234.ebuild [deleted file]
dev-php/SabreAMF/SabreAMF-1.3.234_p0.ebuild [new file with mode: 0644]
dev-php/SabreAMF/metadata.xml

index 044709109b4e7bb5a0253cb5792a2b6542621fa6..620e9cd1aa9dd921e567a700f2380980b1d33cd1 100644 (file)
@@ -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 (file)
index 9ae1e82..0000000
+++ /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 (file)
index 0000000..6bc5770
--- /dev/null
@@ -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
+}
index a5ae4da5b85a3c39aff9113524de2d8776ef1a5f..77ac9767605d70312ed02f29b82e0012d3a39995 100644 (file)
@@ -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>