Version bump from project overlay
authorMarkus Ullmann <jokey@gentoo.org>
Tue, 4 Mar 2008 19:43:06 +0000 (19:43 +0000)
committerMarkus Ullmann <jokey@gentoo.org>
Tue, 4 Mar 2008 19:43:06 +0000 (19:43 +0000)
Package-Manager: portage-2.1.4.4

dev-php5/ZendFramework/ChangeLog
dev-php5/ZendFramework/ZendFramework-1.0.4.ebuild [new file with mode: 0644]
dev-php5/php-gtk/ChangeLog
dev-php5/php-gtk/php-gtk-2.0.0.ebuild [new file with mode: 0644]
dev-php5/phpunit/ChangeLog
dev-php5/phpunit/phpunit-3.2.15.ebuild [new file with mode: 0644]

index f534b3d777138df741c05812513dad76cf4fd7ff..058ebf5c3db00502ef2c1a165eb67f7b47b02639 100644 (file)
@@ -1,6 +1,16 @@
 # ChangeLog for dev-php5/ZendFramework
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ChangeLog,v 1.22 2007/12/24 14:54:13 armin76 Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ChangeLog,v 1.23 2008/03/04 19:35:56 jokey Exp $
+
+*ZendFramework-1.0.4 (04 Mar 2008)
+
+  04 Mar 2008; Markus Ullmann <jokey@gentoo.org>
+  +ZendFramework-1.0.4.ebuild:
+  Version bump from project overlay
+
+  03 Mar 2008; Jakub Moc <jakub@gentoo.org>
+  +ZendFramework-1.0.4.ebuild:
+  Version bump
 
 *ZendFramework-1.0.3 (24 Dec 2007)
 
diff --git a/dev-php5/ZendFramework/ZendFramework-1.0.4.ebuild b/dev-php5/ZendFramework/ZendFramework-1.0.4.ebuild
new file mode 100644 (file)
index 0000000..d58f5c0
--- /dev/null
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ZendFramework-1.0.4.ebuild,v 1.1 2008/03/04 19:35:56 jokey Exp $
+
+PHP_LIB_NAME="Zend"
+
+inherit php-lib-r1
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Zend Framework is a high quality and open source framework for developing Web Applications and Web Services with PHP 5."
+HOMEPAGE="http://framework.zend.com/"
+SRC_URI="http://framework.zend.com/releases/${P}/${P}.tar.gz
+               doc? (
+                       http://framework.zend.com/releases/${P}/${P}-apidoc.tar.gz
+                       http://framework.zend.com/releases/${P}/${P}-manual-en.tar.gz )"
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc examples"
+
+DEPEND=""
+RDEPEND=""
+
+need_php_by_category
+
+src_install() {
+       php-lib-r1_src_install library/Zend `cd library/Zend ; find . -type f -print`
+
+       # Incubator has been removed, keeping in case it comes back
+       #php-lib-r1_src_install incubator/library/Zend `cd incubator/library/Zend ; find . -type f -print`
+
+       if use examples ; then
+               insinto /usr/share/doc/${PF}
+               doins -r demos
+       fi
+
+       if use doc ; then
+               dodoc {NEWS,README,VERSION}.txt
+               dohtml -r documentation/*
+       fi
+}
+
+pkg_postinst() {
+       ewarn "As of version 0.9.3, the Zend.php class has been removed."
+       ewarn "For more info, please take a look at the manual at:"
+       ewarn "http://framework.zend.com/manual"
+       ebeep
+}
index 66a66c54c907fca343396f0c2dd73e0acb965d80..8bd80dc4c31bd6a3e4b06976da0a448a90fbb1e9 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for dev-php5/php-gtk
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-gtk/ChangeLog,v 1.10 2007/12/06 01:23:39 jokey Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-gtk/ChangeLog,v 1.11 2008/03/04 19:39:43 jokey Exp $
+
+*php-gtk-2.0.0 (04 Mar 2008)
+
+  04 Mar 2008; Markus Ullmann <jokey@gentoo.org> +php-gtk-2.0.0.ebuild:
+  Version bump from project overlay
+
+  03 Mar 2008; Jakub Moc <jakub@gentoo.org>
+  +files/php-gtk-2.0.0-no-cli-check.patch, +php-gtk-2.0.0.ebuild:
+  Version bump
 
 *php-gtk-2.0.0_beta-r1 (06 Dec 2007)
 
diff --git a/dev-php5/php-gtk/php-gtk-2.0.0.ebuild b/dev-php5/php-gtk/php-gtk-2.0.0.ebuild
new file mode 100644 (file)
index 0000000..75a7c20
--- /dev/null
@@ -0,0 +1,124 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-gtk/php-gtk-2.0.0.ebuild,v 1.1 2008/03/04 19:39:43 jokey Exp $
+
+EAPI="1"
+
+PHP_EXT_NAME="php_gtk2"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHPSAPILIST="cli"
+DOCS="AUTHORS ChangeLog INSTALL NEWS README README.KNOWN-ISSUES TODO2"
+
+inherit php-ext-source-r1
+
+DESCRIPTION="PHP 5 bindings for the Gtk+ 2 library."
+HOMEPAGE="http://gtk.php.net/"
+SRC_URI="http://gtk.php.net/distributions/${P}.tar.gz"
+IUSE="debug doc examples extra +glade html libsexy mozembed scintilla sourceview spell"
+LICENSE="PHP-2.02 PHP-3 PHP-3.01 LGPL-2.1 public-domain Scintilla"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+MYDOC_PN="php_gtk_manual"
+MYDOC_PV="20071130"
+
+LANGS="bg en ja pt_BR zh_CN"
+for lang in ${LANGS} ; do
+       IUSE="${IUSE} linguas_${lang}"
+       SRC_URI="${SRC_URI}
+               doc? ( linguas_${lang}? ( http://dev.gentooexperimental.org/~jakub/distfiles/${MYDOC_PN}-${MYDOC_PV}_${lang}.tar.bz2
+                                           mirror://gentoo/${MYDOC_PN}-${MYDOC_PV}_${lang}.tar.bz2 ) )"
+done
+
+RDEPEND=">=dev-lang/php-5.1.2
+       >=x11-libs/gtk+-2.6.0
+       >=dev-libs/glib-2.6.0
+       >=x11-libs/pango-1.8.0
+       >=dev-libs/atk-1.9.0
+       extra? ( >=x11-libs/gtk+extra-2.1.1 )
+       glade? ( >=gnome-base/libglade-2.5.0 )
+       html? ( >=gnome-extra/gtkhtml-3.10.0 )
+       libsexy? ( >=x11-libs/libsexy-0.1.10 )
+       mozembed? ( >=www-client/mozilla-firefox-1.5.0 )
+       sourceview? ( >=x11-libs/gtksourceview-1.2.0:1.0 )
+       spell? ( >=app-text/gtkspell-2.0.0 )"
+DEPEND="${RDEPEND}
+       >=dev-util/pkgconfig-0.9"
+
+pkg_setup() {
+       if use debug ; then
+               require_php_with_use cli pcre debug
+       else
+               if has_debug ; then
+                       # PHP has debug enabled, but PHP-GTK doesn't!
+                       eerror "Please enable the 'debug' USE flag in PHP-GTK."
+                       eerror "This is needed to work with the debug version of PHP."
+                       die "Enable 'debug' USE flag for dev-lang/php"
+               fi
+               require_php_with_use cli pcre
+       fi
+}
+
+src_unpack() {
+       unpack ${P}.tar.gz
+
+       cd "${S}"
+       # we already check for CLI and built-in check creates trouble
+       # on suhosin-based installations, so we remove it
+       epatch "${FILESDIR}"/${P}-no-cli-check.patch
+
+       cd "${WORKDIR}"
+       for lang in ${LANGS} ; do
+               if use doc && use linguas_${lang} ; then
+                       mkdir ${lang}
+                       pushd ${lang} >/dev/null
+                       unpack ${MYDOC_PN}-${MYDOC_PV}_${lang}.tar.bz2
+                       popd >/dev/null
+               fi
+       done
+}
+
+src_compile() {
+       local GLCONF
+       use glade || GLCONF=" --without-libglade"
+
+       # php-ext-source-r1_src_compile can't be used
+       has_php
+       addpredict /usr/share/snmp/mibs/.index
+       addpredict /session_mm_cli0.sem
+       ./buildconf
+
+       econf $(use_with extra) \
+               $(use_with html) \
+               $(use_with libsexy) \
+               $(use_with mozembed) \
+               $(use_with sourceview) \
+               $(use_with spell) \
+               $(use_with debug) \
+               $(use_enable scintilla) \
+               ${GLCONF}
+
+       emake || die "make failed!"
+       mv -f "modules/${PHP_EXT_NAME}.so" "${WORKDIR}/${PHP_EXT_NAME}-default.so" || die "Unable to move extension"
+}
+
+src_install() {
+       php-ext-source-r1_src_install
+
+       if use doc; then
+               for lang in ${LANGS} ; do
+                       if use linguas_${lang} ; then
+                               ebegin "Installing ${lang} manual, will take a while"
+                               insinto /usr/share/doc/${CATEGORY}/${PF}/manual-${lang}
+                               doins -r "${WORKDIR}"/${lang}/html/*
+                               eend $?
+                       fi
+               done
+       fi
+
+       if use examples ; then
+               insinto /usr/share/doc/${CATEGORY}/${PF}/examples
+               doins -r "${S}"/demos/*
+       fi
+}
index 4a3aa1b19f7c5e1044863784b0d51e0c57f3d3f4..2263dd1938f429b16ab0add2621cef2e0b398609 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for dev-php5/phpunit
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/phpunit/ChangeLog,v 1.15 2008/02/26 16:38:21 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/phpunit/ChangeLog,v 1.16 2008/03/04 19:43:06 jokey Exp $
+
+*phpunit-3.2.15 (04 Mar 2008)
+
+  04 Mar 2008; Markus Ullmann <jokey@gentoo.org> +phpunit-3.2.15.ebuild:
+  Version bump from project overlay
+
+  03 Mar 2008; Jakub Moc <jakub@gentoo.org>
+  +phpunit-3.2.15.ebuild:
+  Version bump
 
 *phpunit-3.2.13 (26 Feb 2008)
 
diff --git a/dev-php5/phpunit/phpunit-3.2.15.ebuild b/dev-php5/phpunit/phpunit-3.2.15.ebuild
new file mode 100644 (file)
index 0000000..75b4103
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/phpunit/phpunit-3.2.15.ebuild,v 1.1 2008/03/04 19:43:06 jokey Exp $
+
+inherit php-pear-lib-r1
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~sparc ~x86"
+
+DESCRIPTION="Unit Testing framework for PHP 5."
+HOMEPAGE="http://www.phpunit.de/"
+SRC_URI="http://pear.phpunit.de/get/PHPUnit-${PV}.tgz"
+LICENSE="BSD"
+SLOT="0"
+IUSE="minimal"
+
+DEPEND="!dev-php4/phpunit"
+RDEPEND="${DEPEND}
+       !minimal? ( >=dev-php5/xdebug-2.0.0
+                   >=dev-php/PEAR-Image_GraphViz-1.2.1
+                   >=dev-php/PEAR-Log-1.8.7-r1
+                   >=dev-php/PEAR-Testing_Selenium-0.2.0 )"
+
+S="${WORKDIR}/PHPUnit-${PV}"
+
+need_php_by_category
+
+pkg_setup() {
+       require_php_with_use pcre reflection spl xml tokenizer
+}
+
+pkg_postinst() {
+       has_php
+       elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features."
+       elog "If you want those, emerge ${PHP_PKG} with USE=\"json pdo sqlite mysql\"."
+}