Sync with portage [Tue Dec 27 22:59:48 MSK 2011].

mhiretskiy
root 13 years ago
parent 212a398d08
commit 7cccc76d35

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.2-r1.ebuild,v 1.1 2011/12/26 21:39:56 eras Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.2-r1.ebuild,v 1.3 2011/12/27 12:01:30 eras Exp $
EAPI=4
@ -14,10 +14,12 @@ SRC_URI="http://web.mit.edu/kerberos/dist/krb5-appl/${MAJOR_MINOR}/${MY_P}-signe
LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
RDEPEND=">=app-crypt/mit-krb5-1.8.0"
RDEPEND=">=app-crypt/mit-krb5-1.8.0
sys-libs/e2fsprogs-libs
sys-libs/ncurses"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}

@ -1 +1,2 @@
DIST emacs-21.4a.tar.gz 20403483 RMD160 c312e739935b56d08783bbfe97992297a363cb8a SHA1 cdb33731180fe4a912838af805dd35e3f55394d4 SHA256 1d50ddae117c48d689a3d772e390569edccfdc22168be0112d2093bd2d7c3216
DIST cookie-1.15-pkg.tar.gz 35035 RMD160 2854a70a6ca08582e39488d757af685aa807c4c4 SHA1 64a95a834bb6d3f6c5743fd7407555c347458b62 SHA256 351e8957b59c057842cf591e683ba8ef58ed8f678bfc2e42aeb5ec0c0f8ab59b
DIST yow-1.15-21.4_p20020329.patch.gz 1930 RMD160 e7e98da69f75071c1eefdbab0f79c835a5cc3cbb SHA1 347f1c56ad74ba2b7cde955500500edc17bd0a29 SHA256 540400c5a4f674137356f36d63c525489f8977b4e2353c3f6fc838d2e2d509dc

@ -1,33 +1,33 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/yow/yow-21.4_p20020329.ebuild,v 1.8 2011/09/10 10:48:17 ulm Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/yow/yow-21.4_p20020329.ebuild,v 1.9 2011/12/27 13:38:35 ulm Exp $
EAPI=4
inherit elisp
MY_P="emacs-${PV%_p*}"
XE_PV="1.15"
DESCRIPTION="Zippy the pinhead data base"
HOMEPAGE="http://www.gnu.org/software/emacs/"
SRC_URI="mirror://gnu/emacs/${MY_P}a.tar.gz"
# We used to take the file from the GNU Emacs 21.4 tarball, but 20 MB for one
# 53 kB file is wasteful. So we take it from app-xemacs/cookie and patch it.
SRC_URI="http://ftp.xemacs.org/pub/xemacs/packages/cookie-${XE_PV}-pkg.tar.gz
mirror://gentoo/${PN}-${XE_PV}-${PV}.patch.gz"
# A slightly different version of yow.lines is also included with
# app-xemacs/cookie, and also with games-misc/fortune-mod which is
# under a BSD licence.
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
S="${WORKDIR}/${MY_P}/etc"
ELISP_PATCHES="${PN}-fix-misspellings.patch"
S="${WORKDIR}"
ELISP_PATCHES="${PN}-${XE_PV}-${PV}.patch"
SITEFILE="50${PN}-gentoo.el"
src_compile() { :; }
src_install() {
insinto "${SITEETC}/${PN}"
doins yow.lines
doins etc/yow.lines
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
}

@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/ronn/ronn-0.7.3.ebuild,v 1.5 2011/08/07 19:00:11 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/ronn/ronn-0.7.3.ebuild,v 1.6 2011/12/27 12:39:41 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ree18"
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="AUTHORS CHANGES README.md"
@ -24,6 +24,11 @@ ruby_add_rdepend "
>=dev-ruby/mustache-0.7.0
>=dev-ruby/rdiscount-1.5.8"
each_ruby_prepare() {
# Make sure that we always use the right interpreter during tests.
sed -i -e "/output/ s:ronn:${RUBY} bin/ronn:" test/test_ronn.rb
}
all_ruby_compile() {
PATH="${S}/bin:${PATH}" rake man || die
}

@ -21,6 +21,7 @@ dev-db/mysql-cluster (upcoming)
<flag name='pbxt'>Add experimental support for PBXT storage engine</flag>
<flag name='profiling'>Add support for statement profiling (requires USE=community).</flag>
<flag name='raid'>Deprecated option, removed in the 5.0 series</flag>
<flag name="systemtap">Build support for profiling and tracing using <pkg>dev-util/systemtap</pkg></flag>
<flag name='test'>Install upstream testsuites for end use.</flag>
<flag name='xtradb'>Add experimental support for Percona's InnoDB replacement: XtraDB</flag>
</use>

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.2.23.ebuild,v 1.1 2011/12/08 02:08:33 titanofold Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.2.23.ebuild,v 1.2 2011/12/27 13:58:25 titanofold Exp $
EAPI="4"
@ -54,7 +54,7 @@ RDEPEND=">=app-admin/eselect-postgresql-1.0.10
zlib? ( >=sys-libs/zlib-1.1.3 )"
DEPEND="${RDEPEND}
>=sys-apps/sandbox-2.0
!!<sys-apps/sandbox-2.0
>=sys-devel/bison-1.875
sys-devel/flex
nls? ( sys-devel/gettext )"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.17.ebuild,v 1.1 2011/12/08 02:08:33 titanofold Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.3.17.ebuild,v 1.2 2011/12/27 13:58:25 titanofold Exp $
EAPI="4"
@ -54,7 +54,7 @@ RDEPEND=">=app-admin/eselect-postgresql-1.0.10
zlib? ( >=sys-libs/zlib-1.1.3 )"
DEPEND="${RDEPEND}
>=sys-apps/sandbox-2.0
!!<sys-apps/sandbox-2.0
>=sys-devel/bison-1.875
sys-devel/flex
nls? ( sys-devel/gettext )"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.10.ebuild,v 1.1 2011/12/08 02:08:33 titanofold Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-8.4.10.ebuild,v 1.2 2011/12/27 13:58:25 titanofold Exp $
EAPI="4"
@ -54,7 +54,7 @@ RDEPEND=">=app-admin/eselect-postgresql-1.0.7
zlib? ( >=sys-libs/zlib-1.1.3 )"
DEPEND="${RDEPEND}
>=sys-apps/sandbox-2.0
!!<sys-apps/sandbox-2.0
>=sys-devel/bison-1.875
sys-devel/flex
nls? ( sys-devel/gettext )"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.6.ebuild,v 1.1 2011/12/08 02:08:33 titanofold Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.0.6.ebuild,v 1.2 2011/12/27 13:58:25 titanofold Exp $
EAPI="4"
@ -56,7 +56,7 @@ RDEPEND=">=app-admin/eselect-postgresql-1.0.7
DEPEND="${RDEPEND}
sys-devel/bison
sys-devel/flex
>=sys-apps/sandbox-2.0
!!<sys-apps/sandbox-2.0
nls? ( sys-devel/gettext )"
PDEPEND="doc? ( ~dev-db/postgresql-docs-${PV} )"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.2.ebuild,v 1.1 2011/12/08 02:08:33 titanofold Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-base/postgresql-base-9.1.2.ebuild,v 1.2 2011/12/27 13:58:25 titanofold Exp $
EAPI="4"
@ -54,7 +54,7 @@ RDEPEND="!!dev-db/libpq
"
DEPEND="${RDEPEND}
>=sys-apps/sandbox-2.0
!!<sys-apps/sandbox-2.0
sys-devel/bison
sys-devel/flex
nls? ( sys-devel/gettext )

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sat4j-pseudo/sat4j-pseudo-2.3.1.ebuild,v 1.1 2011/12/25 22:23:30 fordfrog Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/sat4j-pseudo/sat4j-pseudo-2.3.1.ebuild,v 1.2 2011/12/27 10:33:38 fordfrog Exp $
EAPI="2"
@ -16,7 +16,7 @@ HOMEPAGE="http://www.sat4j.org/"
SRC_URI="http://download.forge.objectweb.org/sat4j/sat4j-pb-v${MY_PV}.zip
http://download.forge.objectweb.org/sat4j/build-${BUILD_PV}.xml -> ${P}-build.xml"
LICENSE="LGPL-2.1"
SLOT="2"
SLOT="2.3"
KEYWORDS="~amd64 ~x86"
IUSE=""
@ -59,7 +59,7 @@ java_prepare() {
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_BUILD_TARGET="pseudo"
EANT_GENTOO_CLASSPATH="sat4j-core-2"
EANT_GENTOO_CLASSPATH="sat4j-core-2.3"
EANT_DOC_TARGET="javadoc -Dmodule=pb -Dlib=pb/lib"
src_install() {

@ -1,2 +1 @@
DIST gdl-0.9.1.tar.gz 1528008 RMD160 9ce6dce6f32d0fbf3140b26699c8eca436907b00 SHA1 97c71a70672ae82f052ffa5906fc2415f4cf7b9d SHA256 873e235a4ec7c16ecec05b42f3e3e2cc9fedbd6ccb9e13d167336fdaec3ca197
DIST gdl-0.9.tar.gz 1454786 RMD160 5d25e1b899a072fcd23aadd7fd1b701a26c4ba0f SHA1 93a71bad8ad0c16a6e79edaae0489c372f442bcf SHA256 def5bc2887d506d3f7b14c47bb6ccbd59532e535ab333b38456955b00a3f5da6
DIST gdl-0.9.2.tar.gz 2436946 RMD160 6913b358de01550256ad38c920cc461e8ef94512 SHA1 0d6fe86e2971637310c6298379616b02f773e956 SHA256 59907d941877327e9653a9cda5d801ea0b45f67af4c7da22acfcdd7cad291acf

@ -0,0 +1,76 @@
diff -Nur gdl-0.9.2.orig/CMakeLists.txt gdl-0.9.2/CMakeLists.txt
--- gdl-0.9.2.orig/CMakeLists.txt 2011-12-22 20:18:17.000000000 +0000
+++ gdl-0.9.2/CMakeLists.txt 2011-12-22 20:32:20.000000000 +0000
@@ -94,6 +94,8 @@
set(GDL_DATA_DIR "/share/gnudatalanguage" CACHE PATH "Choose data install directory relative to CMAKE_INSTALL_PREFIX")
+set(BUNDLED_ANTLR OFF CACHE BOOL "Use bundled ANTLR grammar ?")
+set(ANTLRDIR "" CACHE PATH "Specify the system ANTLR directory tree")
# check for 64-bit OS
if(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
@@ -143,9 +145,15 @@
# mpi
check_include_file(mpi.h HAVE_MPI_H)
-# SA: whithout it compilation of antlr fails if there's a conflicting
-# version of antlr in system-wide directories
-include_directories(src)
+if(BUNDLED_ANTLR)
+ # SA: whithout it compilation of antlr fails if there's a conflicting
+ # version of antlr in system-wide directories
+ include_directories(src)
+else(BUNDLED_ANTLR)
+ find_package(ANTLR QUIET)
+ set(LIBRARIES ${LIBRARIES} ${ANTLR_LIBRARIES})
+ include_directories(${ANTLR_INCLUDE_DIR})
+endif(BUNDLED_ANTLR)
# Ncurses MANDATORY
# -DNCURSESDIR=DIR
diff -Nur gdl-0.9.2.orig/CMakeModules/FindANTLR.cmake gdl-0.9.2/CMakeModules/FindANTLR.cmake
--- gdl-0.9.2.orig/CMakeModules/FindANTLR.cmake 1970-01-01 01:00:00.000000000 +0100
+++ gdl-0.9.2/CMakeModules/FindANTLR.cmake 2011-12-22 21:03:34.000000000 +0000
@@ -0,0 +1,11 @@
+
+
+find_library(ANTLR_LIBRARIES NAMES antlr)
+find_path(ANTLR_INCLUDE_DIR NAMES antlr/ANTLRUtil.hpp)
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(ANTLR DEFAULT_MSG ANTLR_LIBRARIES ANTLR_INCLUDE_DIR)
+
+mark_as_advanced(
+ANTLR_LIBRARIES
+ANTLR_INCLUDE_DIR
+)
diff -Nur gdl-0.9.2.orig/src/CMakeLists.txt gdl-0.9.2/src/CMakeLists.txt
--- gdl-0.9.2.orig/src/CMakeLists.txt 2011-12-22 20:18:17.000000000 +0000
+++ gdl-0.9.2/src/CMakeLists.txt 2011-12-22 20:31:27.000000000 +0000
@@ -224,9 +224,8 @@
widget.cpp
)
-add_subdirectory(antlr)
-include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/antlr ${CMAKE_BINARY_DIR})
+include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_BINARY_DIR})
link_directories(${LINK_DIRECTORIES})
if(PYTHON_MODULE) #libgdl
@@ -237,8 +236,13 @@
add_executable(gdl ${SOURCES})
endif(PYTHON_MODULE)
-add_dependencies(gdl antlr) # be sure that antlr is built before gdl
-target_link_libraries(gdl antlr) # link antlr against gdl
+if(BUNDLED_ANTLR)
+ add_subdirectory(antlr)
+ include_directories(${CMAKE_SOURCE_DIR}/src/antlr)
+ add_dependencies(gdl antlr) # be sure that antlr is built before gdl
+ target_link_libraries(gdl antlr) # link antlr against gdl
+endif(BUNDLED_ANTLR)
+
target_link_libraries(gdl ${LIBRARIES})
add_definitions(-DHAVE_CONFIG_H)

@ -0,0 +1,9 @@
--- gdl-0.9.2.orig/src/CFMTLexer.cpp 2011-12-22 20:18:17.000000000 +0000
+++ gdl-0.9.2/src/CFMTLexer.cpp 2011-12-24 06:35:24.000000000 +0000
@@ -1,5 +1,6 @@
/* $ANTLR 2.7.7 (20091222): "cformat.g" -> "CFMTLexer.cpp"$ */
+#include <cstdlib>
#include "includefirst.hpp"
#include "CFMTLexer.hpp"

@ -0,0 +1,11 @@
--- gdl-0.9.2.orig/CMakeLists.txt 2011-12-22 20:18:17.000000000 +0000
+++ gdl-0.9.2/CMakeLists.txt 2011-12-24 05:39:10.000000000 +0000
@@ -476,7 +484,7 @@
"${PYTHONMSG} ${PYTHON_MODULEMSG}")
endif(NOT PYTHON_NUMPY_FOUND)
set(LIBRARIES ${LIBRARIES} ${PYTHON_LIBRARIES})
- include_directories(${PYTHON_INCLUDE_DIRS})
+ include_directories(${PYTHON_INCLUDE_DIRS} ${PYTHON_NUMPY_INCLUDE_DIR})
else(PYTHONLIBS_FOUND)
message(FATAL_ERROR "Python is required but was not found.\n"
"Use -DPYTHONDIR=DIR to specify the Python directory tree.\n"

@ -0,0 +1,27 @@
--- gdl-0.9.2.orig/CMakeLists.txt 2011-12-22 20:18:17.000000000 +0000
+++ gdl-0.9.2/CMakeLists.txt 2011-12-24 06:12:08.000000000 +0000
@@ -412,17 +420,17 @@
find_package(Libproj4 QUIET)
if(LIBPROJ4_FOUND)
set(CMAKE_REQUIRED_LIBRARIES ${LIBPROJ4_LIBRARIES} ${GSL_LIBRARIES} m)
- check_library_exists("${LIBPROJ4_LIBRARIES}" proj_init "" USE_LIBPROJ4_NEW)
- if(USE_LIBPROJ4_NEW)
+ check_library_exists("${LIBPROJ4_LIBRARIES}" proj_init "" USE_LIBPROJ4)
+ if(USE_LIBPROJ4)
set(USE_LIBPROJ4 1)
- else(USE_LIBPROJ4_NEW)
- check_library_exists("${LIBPROJ4_LIBRARIES}" pj_init "" USE_LIBPROJ4)
- if(NOT USE_LIBPROJ4)
+ else(USE_LIBPROJ4)
+ check_library_exists("${LIBPROJ4_LIBRARIES}" pj_init "" USE_LIBPROJ4_NEW)
+ if(NOT USE_LIBPROJ4_NEW)
message(FATAL_ERROR "Libproj4 is required but was not found.\n"
"Use -DLIBPROJ4DIR=DIR to specify the Libproj4 directory tree.\n"
"Use -DLIBPRJ4=OFF to not use it.")
- endif(NOT USE_LIBPROJ4)
- endif(USE_LIBPROJ4_NEW)
+ endif(NOT USE_LIBPROJ4_NEW)
+ endif(USE_LIBPROJ4)
include_directories(${LIBPROJ4_INCLUDE_DIR})
set(LIBRARIES ${LIBRARIES} ${LIBPROJ4_LIBRARIES})
set(CMAKE_REQUIRED_LIBRARIES)

@ -0,0 +1,136 @@
diff -Nur gdl-0.9.2.orig/testsuite/CMakeLists.txt gdl-0.9.2/testsuite/CMakeLists.txt
--- gdl-0.9.2.orig/testsuite/CMakeLists.txt 2011-12-22 20:18:17.000000000 +0000
+++ gdl-0.9.2/testsuite/CMakeLists.txt 2011-12-25 00:40:51.000000000 +0000
@@ -13,6 +13,7 @@
*(p-4)=0;
setenv(\"LC_COLLATE\",\"C\",1);
setenv(\"GDL_PATH\",\"+${BASE_SOURCE}/testsuite/:+${BASE_SOURCE}/src/pro/\",1);
+setenv(\"LD_LIBRARY_PATH\",\"+${BASE_BINARY}/testsuite\",1);
execl(\"${BASE_BINARY}/src/gdl\",\"-quiet\",\"-e\",v[1],(char*)0);
}
")
@@ -21,10 +22,117 @@
add_library(test_ce SHARED EXCLUDE_FROM_ALL libtest_ce.cpp)
add_custom_target(check COMMAND ${CMAKE_BUILD_TOOL} test DEPENDS launchtest test_ce)
get_target_property(LAUNCHTESTLOCATION launchtest LOCATION)
-execute_process(
- COMMAND "fgrep" ".pro" "${BASE_SOURCE}/testsuite/Makefile.am"
- COMMAND "awk" "{printf(\"%s;\",$1)}"
- OUTPUT_VARIABLE TESTS)
-foreach(TEST ${TESTS})
- add_test(${TEST} ${LAUNCHTESTLOCATION} ${TEST})
-endforeach(TEST TESTS)
+
+add_test(test_angles.pro ${LAUNCHTESTLOCATION} test_angles.pro)
+add_test(test_base64.pro ${LAUNCHTESTLOCATION} test_base64.pro)
+add_test(test_binfmt.pro ${LAUNCHTESTLOCATION} test_binfmt.pro)
+add_test(test_bug_1779553.pro ${LAUNCHTESTLOCATION} test_bug_1779553.pro)
+add_test(test_bug_2555865.pro ${LAUNCHTESTLOCATION} test_bug_2555865.pro)
+add_test(test_bug_2610174.pro ${LAUNCHTESTLOCATION} test_bug_2610174.pro)
+add_test(test_bug_2846561.pro ${LAUNCHTESTLOCATION} test_bug_2846561.pro)
+add_test(test_bug_2876150.pro ${LAUNCHTESTLOCATION} test_bug_2876150.pro)
+add_test(test_bug_2876161.pro ${LAUNCHTESTLOCATION} test_bug_2876161.pro)
+# these two need display
+if(X11)
+ add_test(test_bug_2974380.pro ${LAUNCHTESTLOCATION} test_bug_2974380.pro)
+ add_test(test_bug_3275334.pro ${LAUNCHTESTLOCATION} test_bug_3275334.pro)
+ add_test(test_get_screen_size.pro ${LAUNCHTESTLOCATION} test_get_screen_size.pro)
+endif(X11)
+add_test(test_bug_3033108.pro ${LAUNCHTESTLOCATION} test_bug_3033108.pro)
+add_test(test_bug_3054361.pro ${LAUNCHTESTLOCATION} test_bug_3054361.pro)
+add_test(test_bug_3055720.pro ${LAUNCHTESTLOCATION} test_bug_3055720.pro)
+add_test(test_bug_3057511.pro ${LAUNCHTESTLOCATION} test_bug_3057511.pro)
+add_test(test_bug_3057520.pro ${LAUNCHTESTLOCATION} test_bug_3057520.pro)
+add_test(test_bug_3061072.pro ${LAUNCHTESTLOCATION} test_bug_3061072.pro)
+add_test(test_bug_3081887.pro ${LAUNCHTESTLOCATION} test_bug_3081887.pro)
+add_test(test_bug_3085858.pro ${LAUNCHTESTLOCATION} test_bug_3085858.pro)
+add_test(test_bug_3086851.pro ${LAUNCHTESTLOCATION} test_bug_3086851.pro)
+add_test(test_bug_3091599.pro ${LAUNCHTESTLOCATION} test_bug_3091599.pro)
+add_test(test_bug_3091610.pro ${LAUNCHTESTLOCATION} test_bug_3091610.pro)
+add_test(test_bug_3100945.pro ${LAUNCHTESTLOCATION} test_bug_3100945.pro)
+add_test(test_bug_3104209.pro ${LAUNCHTESTLOCATION} test_bug_3104209.pro)
+add_test(test_bug_3104214.pro ${LAUNCHTESTLOCATION} test_bug_3104214.pro)
+add_test(test_bug_3104326.pro ${LAUNCHTESTLOCATION} test_bug_3104326.pro)
+add_test(test_bug_3104349.pro ${LAUNCHTESTLOCATION} test_bug_3104349.pro)
+add_test(test_bug_3147181.pro ${LAUNCHTESTLOCATION} test_bug_3147181.pro)
+add_test(test_bug_3147733.pro ${LAUNCHTESTLOCATION} test_bug_3147733.pro)
+add_test(test_bug_3151760.pro ${LAUNCHTESTLOCATION} test_bug_3151760.pro)
+add_test(test_bug_3152899.pro ${LAUNCHTESTLOCATION} test_bug_3152899.pro)
+add_test(test_bug_3189072.pro ${LAUNCHTESTLOCATION} test_bug_3189072.pro)
+add_test(test_bug_3199465.pro ${LAUNCHTESTLOCATION} test_bug_3199465.pro)
+add_test(test_bug_3244840.pro ${LAUNCHTESTLOCATION} test_bug_3244840.pro)
+add_test(test_bug_3286031.pro ${LAUNCHTESTLOCATION} test_bug_3286031.pro)
+add_test(test_bug_3288652.pro ${LAUNCHTESTLOCATION} test_bug_3288652.pro)
+add_test(test_bug_3290532.pro ${LAUNCHTESTLOCATION} test_bug_3290532.pro)
+add_test(test_bug_3296360.pro ${LAUNCHTESTLOCATION} test_bug_3296360.pro)
+add_test(test_bug_3298378.pro ${LAUNCHTESTLOCATION} test_bug_3298378.pro)
+add_test(test_bug_3300626.pro ${LAUNCHTESTLOCATION} test_bug_3300626.pro)
+add_test(test_bug_3313522.pro ${LAUNCHTESTLOCATION} test_bug_3313522.pro)
+add_test(test_bug_3376577.pro ${LAUNCHTESTLOCATION} test_bug_3376577.pro)
+add_test(test_ce.pro ${LAUNCHTESTLOCATION} test_ce.pro)
+add_test(test_clip.pro ${LAUNCHTESTLOCATION} test_clip.pro)
+add_test(test_common.pro ${LAUNCHTESTLOCATION} test_common.pro)
+add_test(test_constants.pro ${LAUNCHTESTLOCATION} test_constants.pro)
+add_test(test_correlate.pro ${LAUNCHTESTLOCATION} test_correlate.pro)
+add_test(test_deriv.pro ${LAUNCHTESTLOCATION} test_deriv.pro)
+add_test(test_device.pro ${LAUNCHTESTLOCATION} test_device.pro)
+add_test(test_dicom.pro ${LAUNCHTESTLOCATION} test_dicom.pro)
+add_test(test_erfinv.pro ${LAUNCHTESTLOCATION} test_erfinv.pro)
+add_test(test_execute.pro ${LAUNCHTESTLOCATION} test_execute.pro)
+add_test(test_fft.pro ${LAUNCHTESTLOCATION} test_fft.pro)
+add_test(test_file_basename.pro ${LAUNCHTESTLOCATION} test_file_basename.pro)
+add_test(test_file_copy.pro ${LAUNCHTESTLOCATION} test_file_copy.pro)
+add_test(test_file_delete.pro ${LAUNCHTESTLOCATION} test_file_delete.pro)
+add_test(test_file_dirname.pro ${LAUNCHTESTLOCATION} test_file_dirname.pro)
+add_test(test_file_search.pro ${LAUNCHTESTLOCATION} test_file_search.pro)
+add_test(test_file_which.pro ${LAUNCHTESTLOCATION} test_file_which.pro)
+add_test(test_fix.pro ${LAUNCHTESTLOCATION} test_fix.pro)
+add_test(test_fixprint.pro ${LAUNCHTESTLOCATION} test_fixprint.pro)
+add_test(test_gc.pro ${LAUNCHTESTLOCATION} test_gc.pro)
+if(GRIB)
+ add_test(test_grib.pro ${LAUNCHTESTLOCATION} test_grib.pro)
+endif(GRIB)
+add_test(test_hist_2d.pro ${LAUNCHTESTLOCATION} test_hist_2d.pro)
+add_test(test_idl8.pro ${LAUNCHTESTLOCATION} test_idl8.pro)
+add_test(test_idl_validname.pro ${LAUNCHTESTLOCATION} test_idl_validname.pro)
+add_test(test_interpol.pro ${LAUNCHTESTLOCATION} test_interpol.pro)
+add_test(test_interpolate_missing.pro ${LAUNCHTESTLOCATION} test_interpolate_missing.pro)
+# Needs MEMORY(), not working on Linux
+# add_test(test_memory.pro ${LAUNCHTESTLOCATION} test_memory.pro)
+# add_test(test_fft_leak.pro ${LAUNCHTESTLOCATION} test_fft_leak.pro)
+add_test(test_moment.pro ${LAUNCHTESTLOCATION} test_moment.pro)
+# mpfit disabled because needs external non required library
+# add_test(test_mpfit.pro ${LAUNCHTESTLOCATION} test_mpfit.pro)
+add_test(test_multiroots.pro ${LAUNCHTESTLOCATION} test_multiroots.pro)
+add_test(test_nestedloop.pro ${LAUNCHTESTLOCATION} test_nestedloop.pro)
+add_test(test_plotting_ranges.pro ${LAUNCHTESTLOCATION} test_plotting_ranges.pro)
+add_test(test_pmulti.pro ${LAUNCHTESTLOCATION} test_pmulti.pro)
+add_test(test_product.pro ${LAUNCHTESTLOCATION} test_product.pro)
+add_test(test_ps_decomposed.pro ${LAUNCHTESTLOCATION} test_ps_decomposed.pro)
+if(PYTHON)
+ add_test(test_python.pro ${LAUNCHTESTLOCATION} test_python.pro)
+endif(PYTHON)
+if(PYTHON_MODULE)
+ add_test(test_python_module_0.pro ${LAUNCHTESTLOCATION} test_python_module_0.pro)
+ add_test(test_python_module_1.pro ${LAUNCHTESTLOCATION} test_python_module_1.pro)
+ add_test(test_python_module_2.pro ${LAUNCHTESTLOCATION} test_python_module_2.pro)
+endif(PYTHON_MODULE)
+add_test(test_readf.pro ${LAUNCHTESTLOCATION} test_readf.pro)
+add_test(test_rebin.pro ${LAUNCHTESTLOCATION} test_rebin.pro)
+add_test(test_rk4.pro ${LAUNCHTESTLOCATION} test_rk4.pro)
+add_test(test_scope_varfetch.pro ${LAUNCHTESTLOCATION} test_scope_varfetch.pro)
+add_test(test_sem.pro ${LAUNCHTESTLOCATION} test_sem.pro)
+add_test(test_spawn_unit.pro ${LAUNCHTESTLOCATION} test_spawn_unit.pro)
+add_test(test_spher_harm.pro ${LAUNCHTESTLOCATION} test_spher_harm.pro)
+add_test(test_spl_init.pro ${LAUNCHTESTLOCATION} test_spl_init.pro)
+add_test(test_step.pro ${LAUNCHTESTLOCATION} test_step.pro)
+add_test(test_str_functions.pro ${LAUNCHTESTLOCATION} test_str_functions.pro)
+add_test(test_str_sep.pro ${LAUNCHTESTLOCATION} test_str_sep.pro)
+add_test(test_stregex.pro ${LAUNCHTESTLOCATION} test_stregex.pro)
+add_test(test_strsplit.pro ${LAUNCHTESTLOCATION} test_strsplit.pro)
+add_test(test_suite.pro ${LAUNCHTESTLOCATION} test_suite.pro)
+add_test(test_systime.pro ${LAUNCHTESTLOCATION} test_systime.pro)
+add_test(test_url.pro ${LAUNCHTESTLOCATION} test_url.pro)
+add_test(test_wavelet.pro ${LAUNCHTESTLOCATION} test_wavelet.pro)
+add_test(test_zeropoly.pro ${LAUNCHTESTLOCATION} test_zeropoly.pro)
+add_test(test_zip.pro ${LAUNCHTESTLOCATION} test_zip.pro)

@ -1,49 +0,0 @@
diff -Nu gdl-0.9.orig/configure.in gdl-0.9/configure.in
--- gdl-0.9.orig/configure.in 2010-10-05 17:45:00.000000000 +0100
+++ gdl-0.9/configure.in 2010-12-21 18:17:14.000000000 +0000
@@ -693,7 +693,7 @@
[with_python="$withval" ])
if test "x$with_python" != "xno"; then
-
+ AM_PATH_PYTHON
dnl PYTHON_VERSION="2.3"
AC_ARG_ENABLE(python_version,
[ --enable-python_version set explicit python version to use (eg. 2.4)],
@@ -724,7 +724,6 @@
dnl LIBS="$LIBS -lpython2.3"
PYTHON_INCLUDES="/usr/include/python$PYTHON_VERSION"
fi
- INCLUDES="$INCLUDES -I$PYTHON_INCLUDES"
AC_CHECK_LIB(python$PYTHON_VERSION, Py_Initialize,
[AC_DEFINE([USE_PYTHON],[1],[Define if you want to use python])],
@@ -752,17 +751,21 @@
exit -1
])
- OLDCXXFLAGS=$CXXFLAGS
- CXXFLAGS="$CXXFLAGS -I$PYTHON_INCLUDES"
- AC_CHECK_HEADER($PYTHON_INCLUDES/numarray/libnumarray.h, [], [
+ OLDCPPFLAGS=$CPPFLAGS
+ AC_MSG_CHECKING([for Numpy include directory])
+ pinc=`echo "import numpy; print numpy.get_include()" | $PYTHON - 2>/dev/null`
+ AC_MSG_RESULT([${pinc:-unknown}])
+ test -n "$pinc" && PYTHON_INCLUDES="-I$PYTHON_INCLUDES -I$pinc"
+ CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
+ AC_CHECK_HEADER([numpy/arrayobject.h], [], [
echo ""
- echo "Error! Python numarray package was not found"
+ echo "Error! Python numpy package was not found"
echo " Use --with-python=no to disable Python support"
exit -1
], [#include <Python.h>])
- CXXFLAGS=$OLDCXXFLAGS
- unset OLDCXXFLAGS
-
+ CPPFLAGS=$OLDCPPFLAGS
+ unset OLDCPPFLAGS
+ INCLUDES="$INCLUDES $PYTHON_INCLUDES"
fi
dnl == UDUNITS-2 ===========================================

@ -1,219 +0,0 @@
diff -up gdl-0.9.orig/src/basic_fun.cpp gdl-0.9/src/basic_fun.cpp
--- gdl-0.9.orig/src/basic_fun.cpp 2010-08-23 15:47:44.771403710 -0600
+++ gdl-0.9/src/basic_fun.cpp 2010-08-23 16:25:25.183341935 -0600
@@ -6165,6 +6165,7 @@ BaseGDL* transpose( EnvT* e)
#endif
}
+#ifndef PYTHON_MODULE
// SA: relies on the contents of the lib::command_line_args vector
// defined and filled with data (pointers) in gdl.cpp
BaseGDL* command_line_args_fun(EnvT* e)
@@ -6189,6 +6190,7 @@ BaseGDL* transpose( EnvT* e)
return ret;
}
}
+#endif
// SA: relies in the uname() from libc (must be there if POSIX)
BaseGDL* get_login_info( EnvT* e)
diff -up gdl-0.9.orig/src/datatypes.cpp gdl-0.9/src/datatypes.cpp
--- gdl-0.9.orig/src/datatypes.cpp 2010-08-23 15:47:44.801403511 -0600
+++ gdl-0.9/src/datatypes.cpp 2010-08-23 15:47:45.211342292 -0600
@@ -18,11 +18,7 @@
#include "includefirst.hpp"
#if defined(USE_PYTHON) || defined(PYTHON_MODULE)
-#if defined(USE_NUMPY)
-#include <numpy/libnumarray.h>
-#else
-#include <numarray/libnumarray.h>
-#endif
+#include <numpy/arrayobject.h>
#endif
#include <iomanip>
diff -up gdl-0.9.orig/src/gdlpython.cpp gdl-0.9/src/gdlpython.cpp
--- gdl-0.9.orig/src/gdlpython.cpp 2010-08-23 15:47:44.937406250 -0600
+++ gdl-0.9/src/gdlpython.cpp 2010-08-23 15:47:45.214343155 -0600
@@ -43,8 +43,6 @@ void PythonInit()
static char* arg0 = "./py/python.exe";
static char* argv[] = {arg0};
PySys_SetArgv(argc, argv);
-
- import_libnumarray();
}
// don't use, as numarray cannot be restarted
@@ -60,7 +58,7 @@ T* NewFromPyArrayObject( const dimension
T* res = new T( dim, BaseGDL::NOZERO);
SizeT nEl = res->N_Elements();
typename T::Ty* dPtr =
- reinterpret_cast<typename T::Ty*>( NA_OFFSETDATA(array));
+ reinterpret_cast<typename T::Ty*>( PyArray_DATA(array));
for( SizeT i=0; i<nEl; ++i) (*res)[i] = dPtr[i];
Py_DECREF(array); // must be decremented
return res;
@@ -68,8 +66,7 @@ T* NewFromPyArrayObject( const dimension
BaseGDL* FromPython( PyObject* pyObj)
{
- int isArray = NA_NumArrayCheck( pyObj);
- if( !isArray)
+ if( !PyArray_Check( pyObj))
{
if( PyString_Check( pyObj))
{
@@ -97,11 +94,9 @@ BaseGDL* FromPython( PyObject* pyObj)
throw GDLException( "Cannot convert python scalar.") ;
}
- PyArrayObject* array = reinterpret_cast< PyArrayObject*>( pyObj);
- NumarrayType item_type = static_cast< NumarrayType>( array->descr->type_num);
-
// make array contiguous
- array = NA_InputArray( pyObj, item_type, C_ARRAY);
+ PyArrayObject* array = PyArray_GETCONTIGUOUS( reinterpret_cast< PyArrayObject *>( pyObj));
+
if( array == NULL)
throw GDLException( "Error getting python array.") ;
@@ -125,35 +120,26 @@ BaseGDL* FromPython( PyObject* pyObj)
}
dimension dim( dimArr, nDim);
- switch( item_type)
+ switch( array->descr->type_num)
{
- // case tAny: //UNDEF***
- case tUInt8: //BYTE
+ case NPY_UINT8: //BYTE
return NewFromPyArrayObject< DByteGDL>( dim, array);
- case tInt16: //INT
+ case NPY_INT16: //INT
return NewFromPyArrayObject< DIntGDL>( dim, array);
- case tInt32: //LONG
+ case NPY_INT32: //LONG
return NewFromPyArrayObject< DLongGDL>( dim, array);
- case tFloat32: //FLOAT
+ case NPY_FLOAT32: //FLOAT
return NewFromPyArrayObject< DFloatGDL>( dim, array);
- case tFloat64: //DOUBLE
+ case NPY_FLOAT64: //DOUBLE
return NewFromPyArrayObject< DDoubleGDL>( dim, array);
- case tComplex32: //COMPLEX
+ case NPY_COMPLEX64: //COMPLEX
return NewFromPyArrayObject< DComplexGDL>( dim, array);
- // case tAny: //STRING***
- // case tAny: //STRUCT***
- case tComplex64: //COMPLEXDBL
+ case NPY_COMPLEX128: //COMPLEXDBL
return NewFromPyArrayObject< DComplexDblGDL>( dim, array);
- // case tAny: //PTR***
- // case tAny: //OBJECT***
- case tUInt16: //UINT*
+ case NPY_UINT16: //UINT*
return NewFromPyArrayObject< DUIntGDL>( dim, array);
- case tUInt32: //ULONG*
+ case NPY_UINT32: //ULONG*
return NewFromPyArrayObject< DULongGDL>( dim, array);
-// case tLong64: //LONG64*
-// return NewFromPyArrayObject< DLong64GDL>( dim, array);
-// case tULong64: //ULONG64*
-// return NewFromPyArrayObject< DULong64GDL>( dim, array);
default:
Py_DECREF(array); // must be decremented
throw GDLException( "FromPython: Unknown array type.") ;
diff -up gdl-0.9.orig/src/libinit.cpp gdl-0.9/src/libinit.cpp
--- gdl-0.9.orig/src/libinit.cpp 2010-08-23 15:47:45.008404687 -0600
+++ gdl-0.9/src/libinit.cpp 2010-08-23 16:25:06.318403703 -0600
@@ -761,8 +761,10 @@ void LibInit()
const string ll_arc_distanceKey[] = {"DEGREES", KLISTEND };
new DLibFun(lib::ll_arc_distance, string("LL_ARC_DISTANCE"), 3, ll_arc_distanceKey);
+#ifndef PYTHON_MODULE
const string command_line_argsKey[] = {"COUNT", KLISTEND };
new DLibFun(lib::command_line_args_fun, string("COMMAND_LINE_ARGS"), 0, command_line_argsKey);
+#endif
const string pmKey[] = {"FORMAT", "TITLE", KLISTEND };
new DLibPro(lib::pm, string("PM"), -1, pmKey);
diff -up gdl-0.9.orig/src/pythongdl.cpp gdl-0.9/src/pythongdl.cpp
--- gdl-0.9.orig/src/pythongdl.cpp 2010-08-23 15:47:45.105342921 -0600
+++ gdl-0.9/src/pythongdl.cpp 2010-08-23 15:47:45.215342738 -0600
@@ -537,8 +537,6 @@ extern "C" {
Py_INCREF(gdlError);
PyModule_AddObject(m, "error", gdlError);
- import_libnumarray(); // obligatory with GDL
-
// GDL event handling
oldInputHook = PyOS_InputHook;
PyOS_InputHook = GDLEventHandlerPy;
diff -up gdl-0.9.orig/src/topython.cpp gdl-0.9/src/topython.cpp
--- gdl-0.9.orig/src/topython.cpp 2010-02-02 11:13:51.000000000 -0700
+++ gdl-0.9/src/topython.cpp 2010-08-23 15:47:45.217342044 -0600
@@ -58,23 +58,23 @@ using namespace std;
// char * wptr; /* working pointer for getitem/setitem MACROS */
// };
-const NumarrayType pyType[] = {
- tAny, //UNDEF***
- tUInt8, //BYTE
- tInt16, //INT
- tInt32, //LONG,
- tFloat32, //FLOAT,
- tFloat64, //DOUBLE,
- tComplex32, //COMPLEX,
- tAny, //STRING***
- tAny, //STRUCT***
- tComplex64, //COMPLEXDBL,
- tAny, //PTR***
- tAny, //OBJECT***
- tUInt16, //UINT*
- tUInt32, //ULONG*
- tInt64, //LONG64*
- tUInt64 //ULONG64*
+const int pyType[] = {
+ NPY_NOTYPE, //UNDEF***
+ NPY_UINT8, //BYTE
+ NPY_INT16, //INT
+ NPY_INT32, //LONG,
+ NPY_FLOAT32, //FLOAT,
+ NPY_FLOAT64, //DOUBLE,
+ NPY_COMPLEX64, //COMPLEX,
+ NPY_NOTYPE, //STRING***
+ NPY_NOTYPE, //STRUCT***
+ NPY_COMPLEX128, //COMPLEXDBL,
+ NPY_NOTYPE, //PTR***
+ NPY_NOTYPE, //OBJECT***
+ NPY_UINT32, //UINT*
+ NPY_UINT32, //ULONG*
+ NPY_INT64, //LONG64*
+ NPY_UINT64 //ULONG64*
};
template < typename Sp>
@@ -87,16 +87,17 @@ PyObject* Data_<Sp>::ToPython()
return ToPythonScalar();
}
- const NumarrayType item_type = pyType[ Sp::t];
- if( item_type == tAny)
+ const int item_type = pyType[ Sp::t];
+ if( item_type == NPY_NOTYPE)
throw GDLException("Cannot convert "+this->TypeStr()+" array to python.");
int n_dim = this->Rank();
- maybelong dimArr[ MAXRANK];
+ npy_intp dimArr[MAXRANK];
for( int i=0; i<n_dim; ++i) dimArr[i]=this->dim[i];
- return reinterpret_cast< PyObject*>
- (NA_vNewArray( DataAddr(), item_type, n_dim, dimArr));
+ return
+//reinterpret_cast< PyObject*>
+ (PyArray_SimpleNewFromData( n_dim, dimArr, item_type, DataAddr()));
}
template < typename Sp>

@ -1,38 +0,0 @@
--- gnudatalanguage-0.9.1.orig/src/Makefile.am
+++ gnudatalanguage-0.9.1/src/Makefile.am
@@ -1,6 +1,6 @@
# set the include path found by configure
INCLUDES = $(EXT_INCLUDES) $(all_includes)
-SUBDIRS = antlr pro
+SUBDIRS = pro
noinst_HEADERS = gdlwidget.hpp prognode.hpp prognodeexpr.hpp
cpp_hpp_files = accessdesc.hpp arrayindex.hpp assocdata.cpp assocdata.hpp \
@@ -57,7 +57,7 @@ gdl_SOURCES = $(cpp_hpp_files) gdl.cpp l
gdl_CXXFLAGS = $(AM_CXXFLAGS)
# the library search path.
gdl_LDFLAGS = $(all_libraries)
-gdl_LDADD = $(top_builddir)/src/antlr/libantlr.a -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11
+gdl_LDADD = -lantlr -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11
endif
# build as library (for python module)
@@ -73,6 +73,6 @@ else
libgdl_la_LDFLAGS = $(all_libraries) -Wl,-z,muldefs
endif
-libgdl_la_LIBADD = $(top_builddir)/src/antlr/libantlr.la -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11
+libgdl_la_LIBADD = -lantlr -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lX11
endif
--- gnudatalanguage-0.9.orig/configure.in
+++ gnudatalanguage-0.9/configure.in
@@ -1074,7 +1074,7 @@ dnl AC_CHECK_FUNCS(strdup strtod strtol
dnl perform program name transformation
dnl AC_ARG_PROGRAM
-AC_CONFIG_FILES(Makefile src/Makefile src/antlr/Makefile src/pro/Makefile src/pro/dicom/Makefile testsuite/Makefile doc/Makefile)
+AC_CONFIG_FILES(Makefile src/Makefile src/pro/Makefile src/pro/dicom/Makefile testsuite/Makefile doc/Makefile)
AC_OUTPUT
dnl == summary table =======================================

@ -1,12 +0,0 @@
diff -Naur gdl-0.9rc2/src/envt.hpp gdl-0.9rc2.new/src/envt.hpp
--- gdl-0.9rc2/src/envt.hpp 2009-01-20 14:33:56.000000000 -0500
+++ gdl-0.9rc2.new/src/envt.hpp 2009-08-25 22:18:44.000000000 -0400
@@ -508,6 +508,8 @@
void AssureStringScalarPar( SizeT ix, DString& scalar);
// to be extended on demand for other data types
+
+ friend class DInterpreter;
};

@ -1,11 +0,0 @@
--- gdl-0.9rc4.orig/src/CFMTLexer.cpp 2010-02-02 18:13:51.000000000 +0000
+++ gdl-0.9rc4/src/CFMTLexer.cpp 2010-02-22 19:38:12.118389285 +0000
@@ -11,6 +11,8 @@
#include <antlr/CharStreamIOException.hpp>
#include <antlr/NoViableAltForCharException.hpp>
+#include <cstdlib>
+
CFMTLexer::CFMTLexer(std::istream& in)
: antlr::CharScanner(new antlr::CharBuffer(in),true)
{

@ -1,24 +0,0 @@
Fix build with GCC-4.5
http://gnudatalanguage.cvs.sourceforge.net/viewvc/gnudatalanguage/gdl/src/math_utl.hpp?r1=1.4&r2=1.5&view=patch
http://bugs.gentoo.org/show_bug.cgi?id=334415
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564994
--- src/math_utl.hpp
+++ src/math_utl.hpp
@@ -22,11 +22,12 @@
//#define ABS(xxx) (( xxx > -xxx)?(xxx):(-xxx))
-template< typename T>
-inline T abs( T a) { return (a>=T(0))?a:-a;}
-
namespace lib {
+ // SA: needs to be inside a namespace for GCC 4.5
+ template< typename T>
+ inline T abs( T a) { return (a>=T(0))?a:-a;}
+
// int trans513(char *, int, int, int, DType);
// int transpose(char *, SizeT, SizeT [], SizeT, DType);
// int transpose_perm(char *, SizeT, SizeT [], SizeT, DType, long []);

@ -1,105 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9-r1.ebuild,v 1.2 2011/04/08 21:37:21 bicatali Exp $
EAPI=3
WX_GTK_VER="2.8"
PYTHON_DEPEND="python? 2"
SUPPORT_PYTHON_ABIS="1"
inherit autotools eutils wxwidgets python
RESTRICT_PYTHON_ABIS="3.*"
DESCRIPTION="An Interactive Data Language compatible incremental compiler"
HOMEPAGE="http://gnudatalanguage.sourceforge.net/"
SRC_URI="mirror://sourceforge/gnudatalanguage/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="fftw grib hdf hdf5 imagemagick netcdf openmp python udunits wxwidgets X"
RDEPEND="sys-libs/readline
sys-libs/ncurses
sci-libs/gsl
sci-libs/plplot
fftw? ( >=sci-libs/fftw-3 )
grib? ( sci-libs/grib_api )
hdf? ( sci-libs/hdf )
hdf5? ( sci-libs/hdf5 )
imagemagick? ( media-gfx/imagemagick )
netcdf? ( sci-libs/netcdf )
python? ( dev-python/matplotlib )
udunits? ( >=sci-libs/udunits-2 )
wxwidgets? ( x11-libs/wxGTK:2.8[X] )"
DEPEND="${RDEPEND}
dev-java/antlr:0"
pkg_setup() {
use wxwidgets && wxwidgets_pkg_setup
}
src_prepare() {
use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx
epatch \
"${FILESDIR}"/${PN}-0.9_rc2-gcc4.4.patch \
"${FILESDIR}"/${PN}-0.9_rc4-gcc4.3.patch \
"${FILESDIR}"/${PN}-0.9-numpy.patch \
"${FILESDIR}"/${PN}-0.9-configure.patch
# adjust the *.pro file install path
sed -i \
-e "s:datasubdir=.*$:datasubdir=\"${PN}\":" \
configure.in || die "Failed to fix *.pro install patch."
eautoreconf
use python && python_copy_sources
}
src_configure() {
configuration() {
econf \
$(use_with X x) \
$(use_with fftw) \
$(use_with grib) \
$(use_with hdf) \
$(use_with hdf5) \
$(use_with netcdf) \
$(use_with imagemagick Magick) \
$(use_with openmp) \
$(use_with udunits) \
$(use_with wxwidgets wxWidgets) \
$@
}
configuration --disable-python_module
if use python; then
python_execute_function -s configuration --enable-python_module
fi
}
src_compile() {
default
if use python; then
python_src_compile
fi
}
src_test() {
cd "${S}"/testsuite
echo ".r test_suite" | ../src/gdl
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
if use python; then
installation() {
exeinto $(python_get_sitedir)
newexe src/.libs/libgdl.so.0.0.0 GDL.so || die
}
python_execute_function -s installation
fi
dodoc README PYTHON.txt AUTHORS ChangeLog NEWS TODO HACKING
}

@ -1,103 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9.1.ebuild,v 1.1 2011/04/08 21:37:21 bicatali Exp $
EAPI=3
WX_GTK_VER="2.8"
PYTHON_DEPEND="python? 2"
SUPPORT_PYTHON_ABIS="1"
inherit autotools eutils wxwidgets python
RESTRICT_PYTHON_ABIS="3.*"
DESCRIPTION="An Interactive Data Language compatible incremental compiler"
HOMEPAGE="http://gnudatalanguage.sourceforge.net/"
SRC_URI="mirror://sourceforge/gnudatalanguage/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="fftw grib hdf hdf5 imagemagick netcdf openmp python udunits wxwidgets X"
RDEPEND="sys-libs/readline
sys-libs/ncurses
sci-libs/gsl
sci-libs/plplot
fftw? ( >=sci-libs/fftw-3 )
grib? ( sci-libs/grib_api )
hdf? ( sci-libs/hdf )
hdf5? ( sci-libs/hdf5 )
imagemagick? ( media-gfx/imagemagick )
netcdf? ( sci-libs/netcdf )
python? ( dev-python/matplotlib )
udunits? ( >=sci-libs/udunits-2 )
wxwidgets? ( x11-libs/wxGTK:2.8[X] )"
DEPEND="${RDEPEND}
>=dev-java/antlr-2.7.7-r2:0[cxx]"
pkg_setup() {
use wxwidgets && wxwidgets_pkg_setup
}
src_prepare() {
use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx
epatch \
"${FILESDIR}"/${PN}-0.9_rc2-gcc4.4.patch \
"${FILESDIR}"/${PN}-0.9_rc4-gcc4.3.patch \
"${FILESDIR}"/${PN}-0.9.1-antlr.patch
rm -rf src/antlr
# adjust the *.pro file install path
sed -i \
-e "s:datasubdir=.*$:datasubdir=\"${PN}\":" \
configure.in || die "Failed to fix *.pro install patch."
eautoreconf
use python && python_copy_sources
}
src_configure() {
configuration() {
econf \
$(use_with X x) \
$(use_with fftw) \
$(use_with grib) \
$(use_with hdf) \
$(use_with hdf5) \
$(use_with netcdf) \
$(use_with imagemagick Magick) \
$(use_with openmp) \
$(use_with udunits) \
$(use_with wxwidgets wxWidgets) \
$@
}
configuration --disable-python_module
use python && \
python_execute_function -s configuration --enable-python_module
}
src_compile() {
default
use python && python_src_compile
}
src_test() {
cd "${S}"/testsuite
echo ".r test_suite" | ../src/gdl
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
if use python; then
installation() {
exeinto $(python_get_sitedir)
newexe src/.libs/libgdl.so.0.0.0 GDL.so
}
python_execute_function -s installation
dodoc PYTHON.txt
fi
dodoc README AUTHORS ChangeLog NEWS TODO HACKING
}

@ -0,0 +1,129 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9.2.ebuild,v 1.1 2011/12/27 08:01:38 bicatali Exp $
EAPI=4
WX_GTK_VER="2.8"
PYTHON_DEPEND="python? 2"
SUPPORT_PYTHON_ABIS="1"
inherit cmake-utils eutils wxwidgets python virtualx
RESTRICT_PYTHON_ABIS="3.*"
DESCRIPTION="Interactive Data Language compatible incremental compiler"
HOMEPAGE="http://gnudatalanguage.sourceforge.net/"
SRC_URI="mirror://sourceforge/gnudatalanguage/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="fftw grib gshhs hdf hdf5 imagemagick netcdf openmp proj ps python
static-libs udunits wxwidgets X"
RDEPEND="sci-libs/gsl
sci-libs/plplot
sys-libs/ncurses
sys-libs/readline
sys-libs/zlib
fftw? ( >=sci-libs/fftw-3 )
grib? ( sci-libs/grib_api )
gshhs? ( sci-geosciences/gshhs-data sci-geosciences/gshhs )
hdf? ( sci-libs/hdf )
hdf5? ( sci-libs/hdf5 )
imagemagick? ( media-gfx/imagemagick )
netcdf? ( sci-libs/netcdf )
proj? ( sci-libs/proj )
ps? ( dev-libs/pslib )
python? ( dev-python/numpy )
udunits? ( sci-libs/udunits )
wxwidgets? ( x11-libs/wxGTK:2.8[X] )"
DEPEND="${RDEPEND}
>=dev-java/antlr-2.7.7-r5:0[cxx]"
pkg_setup() {
use wxwidgets && wxwidgets_pkg_setup
use python && python_pkg_setup
}
src_prepare() {
use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx
epatch "${FILESDIR}"/${PV}-{antlr,numpy,proj4,include,tests}.patch
# make sure antlr includes are from system
rm -rf src/antlr
# gentoo: use proj instead of libproj4 (libproj4 last update: 2004)
sed -i \
-e 's:proj4:proj:' \
-e 's:lib_proj\.h:proj_api\.h:g' \
CMakeModules/FindLibproj4.cmake src/math_utl.hpp || die
# gentoo: avoid install files in datadir directory
sed -i \
-e '/AUTHORS/d' \
CMakeLists.txt || die
if use python; then
local abi
for abi in ${PYTHON_ABIS}; do
mkdir "${S}"-${abi}
done
fi
}
src_configure() {
# MPI is still very buggy
mycmakeargs+=(
-DMPICH=OFF
-DBUNDLED_ANTLR=OFF
-DGDL_DATA_DIR=share/gdl/pro/gdl
$(cmake-utils_use fftw)
$(cmake-utils_use grib)
$(cmake-utils_use gshhs)
$(cmake-utils_use hdf)
$(cmake-utils_use hdf5)
$(cmake-utils_use imagemagick MAGICK)
$(cmake-utils_use netcdf)
$(cmake-utils_use openmp)
$(cmake-utils_use proj LIBPROJ4)
$(cmake-utils_use ps PSLIB)
$(cmake-utils_use udunits)
$(cmake-utils_use wxwidgets)
$(cmake-utils_use X X11)
)
configuration() {
mycmakeargs+=( $@ )
CMAKE_BUILD_DIR="${BUILDDIR:-${S}_build}" cmake-utils_src_configure
}
configuration -DPYTHON_MODULE=OFF -DPYTHON=OFF
use python && \
python_execute_function -s configuration -DPYTHON_MODULE=ON -DPYTHON=ON
}
src_compile() {
cmake-utils_src_compile
use python && python_src_compile
}
src_test() {
# defines a check target instead of the ctest to define some LDPATH
if use X; then
Xemake -j1 -C ${CMAKE_BUILD_DIR} check
else
emake -j1 -C ${CMAKE_BUILD_DIR} check
fi
}
src_install() {
cmake-utils_src_install
if use python; then
installation() {
exeinto $(python_get_sitedir)
newexe "${S}"-${PYTHON_ABI}/src/libgdl.so GDL.so
}
python_execute_function -s installation
dodoc PYTHON.txt
fi
echo "GDL_PATH=\"+${EPREFIX}/usr/share/gdl/pro\"" > 50gdl
doenvd 50gdl
}

@ -8,8 +8,12 @@
Information Solutions.
</longdescription>
<use>
<flag name='hdf'>Adds support for the Hierarchical Data Format</flag>
<flag name='grib'>Adds support for the meteorological GRIB format</flag>
<flag name='udunits'>Support for manipulating units of physical quantities</flag>
<flag name='hdf'>Add support for the Hierarchical Data Format v.4</flag>
<flag name='gshhs'>Add support for projection adn continent maps with <pkg>sci-geosciences/gshhs-data</pkg></flag>
<flag name='grib'>Add support for the meteorological GRIB format with <pkg>sci-libs/grib_api</pkg></flag>
<flag name="proj">Add support for <pkg>sci-libs/proj</pkg> (geographic projections)</flag>
<flag name="ps">Add support for Postscript with <pkg>dev-libs/pslib</pkg></flag>
<flag name='udunits'>Add support for manipulating units of physical quantities</flag>
</use>
</pkgmetadata>

@ -1 +1,2 @@
DIST nqp-2011.10.tar.gz 618678 RMD160 94539905dee02d16798e796c7baf0206e718aa84 SHA1 2a29f0ad1785e107a052363144289823f4460e1b SHA256 d5d3d6f1bbf3cc05eb8c7607c4b927675b1851fc8e2bd92a73b24a6f4f8bf337
DIST nqp-2011.12.tar.gz 833710 RMD160 d1112a79e8de02adcd7610d1b5b9111118a8252f SHA1 f6591546e2a19917d6f6db666efbfeb1c82081e5 SHA256 1fc14f549722b596cb6a73a0e88e324e0e57ac0296908e0e220a18946a04732d

@ -0,0 +1,47 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/nqp-2011.12.ebuild,v 1.1 2011/12/27 07:28:40 patrick Exp $
EAPI=3
inherit eutils multilib
PARROT_VERSION="3.9.0"
DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
HOMEPAGE="http://rakudo.org/"
SRC_URI="http://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]"
DEPEND="${RDEPEND}
dev-lang/perl"
src_prepare() {
cd "${WORKDIR}"
ln -s * "${S}" || die
cd "${S}"
echo "${PV}" > VERSION
}
src_configure() {
perl Configure.pl || die
}
src_test() {
emake -j1 test || die
}
src_install() {
emake DESTDIR="${ED}" install || die
dodoc CREDITS README || die
if use doc; then
dodoc docs/* || die
fi
}

@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-3.11.0.ebuild,v 1.1 2011/12/27 05:35:33 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-3.11.0-r1.ebuild,v 1.1 2011/12/27 06:42:23 patrick Exp $
EAPI=3
EAPI=4
inherit eutils multilib
@ -27,6 +27,8 @@ RDEPEND="sys-libs/readline
DEPEND="dev-lang/perl[doc?]
${RDEPEND}"
REQUIRED_USE="opengl? ( pcre )"
src_configure() {
myconf="--disable-rpath"
use unicode || myconf+=" --without-icu"

@ -1,3 +1,4 @@
DIST rakudo-2011.04.tar.gz 950891 RMD160 469e39bfa2c48ed1d4343159f769fa46d3b17ab6 SHA1 cb17ff8378bcf46a5f9bbf5c0e9653002cc3c310 SHA256 51a5a9affc2a4fb1719bc070e2d68d1b242b55ed805fe2c0c298ca38f1d09764
DIST rakudo-2011.07.tar.gz 941064 RMD160 08c12dad2a8209b8c5acb08b59c87bf16fdb0e2c SHA1 9609d97f9d53a566f3896b8bc7772fbc6d832259 SHA256 2f1189e20de55f4889088c66242064bb1c4148ea0fb1a2d6d9ab24336b18604c
DIST rakudo-2011.10.tar.gz 971931 RMD160 e6dcb2d034713da20e369105b30aaf2910745694 SHA1 58840b3f03b4d530515e35d0600ee8380d8841bc SHA256 5538c573c1d6ef89c5f403378f4d0ba4f36bd026688d80ad5992e2e7781dab24
DIST rakudo-2011.12.tar.gz 990213 RMD160 fd886a84c058d51cde1f0f4026b472a9c3df8cee SHA1 6cb9103f09a0c81174d519ea0bbe6aaa9eb5220c SHA256 1ec8935a68e6a9c58a693f6ec007d50ff7c5ce6c1d9a48c1cb642f0351481135

@ -0,0 +1,50 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2011.12.ebuild,v 1.1 2011/12/27 07:30:01 patrick Exp $
EAPI=3
PARROT_VERSION="3.11.0"
NQP_VERSION="${PV}"
inherit eutils multilib
DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
HOMEPAGE="http://rakudo.org/"
SRC_URI="http://cloud.github.com/downloads/${PN}/${PN}/${P}.tar.gz"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]
>=dev-lang/nqp-${NQP_VERSION}"
DEPEND="${RDEPEND}
dev-lang/perl"
# >=dev-lang/perl-5.10"
src_prepare() {
sed -i "s,\$(DOCDIR)/rakudo$,&-${PVR}," tools/build/Makefile.in || die
}
src_configure() {
perl Configure.pl || die
}
src_test() {
emake -j1 test || die
}
src_install() {
emake DESTDIR="${ED}" install || die
dodoc CREDITS README docs/ChangeLog docs/ROADMAP || die
if use doc; then
dohtml -A svg docs/architecture.html docs/architecture.svg || die
dodoc docs/*.pod || die
docinto announce
dodoc docs/announce/* || die
fi
}

@ -1,29 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.47.ebuild,v 1.5 2011/07/05 19:32:23 tove Exp $
EAPI=2
WX_GTK_VER="2.8"
MODULE_AUTHOR=MBARBON
inherit wxwidgets perl-module
DESCRIPTION="Building, finding and using wxWidgets binaries"
SLOT="0"
KEYWORDS="amd64 ~ia64 x86"
IUSE=""
SRC_TEST="do"
RDEPEND="x11-libs/wxGTK:2.8[X]
>=virtual/perl-Module-Pluggable-3.1-r1"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-CBuilder-0.24
virtual/perl-Module-Build"
perl-module_src_prep() {
echo no | perl Build.PL --installdirs=vendor \
--destdir="${D}" \
--libdoc= || die "perl Build.PL has failed!"
}

@ -1,31 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Alien-wxWidgets/Alien-wxWidgets-0.520.0.ebuild,v 1.2 2011/07/05 19:32:23 tove Exp $
EAPI=4
WX_GTK_VER="2.8"
MODULE_AUTHOR=MDOOTSON
MODULE_VERSION=0.52
inherit wxwidgets perl-module
DESCRIPTION="Building, finding and using wxWidgets binaries"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~x86"
IUSE="test"
RDEPEND="
|| (
x11-libs/wxGTK:2.9[X,tiff]
>=x11-libs/wxGTK-2.8.11.0:2.8[X,tiff]
<x11-libs/wxGTK-2.8.11.0:2.8[X]
)
>=virtual/perl-Module-Pluggable-3.1-r1"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-CBuilder-0.24
virtual/perl-Module-Build
test? ( dev-perl/Test-Pod
dev-perl/Test-Pod-Coverage )"
SRC_TEST="do"

@ -1,3 +1 @@
DIST Alien-wxWidgets-0.47.tar.gz 647430 RMD160 43f500f26b0ea30c634b4996e349fa9c05dc4b31 SHA1 d123de090c87f35362ca04c68cdcdd8a1ed9613b SHA256 8a034b9ed117e16b1549d9b40cf76462eff971e3168ab148cab76f09916e786b
DIST Alien-wxWidgets-0.52.tar.gz 684550 RMD160 2b1ddaa42ddb8977c7bec5c3e2b05e915b5b266a SHA1 7a31e617a86008fb2f0bbc67659da000272b9a5c SHA256 0327ec1cb8e36c44c0db2602779fe265ee67677ddb311f1b5aa09b4286151c28
DIST Alien-wxWidgets-0.53.tar.gz 657644 RMD160 5458be838a45fca678887f53c17b0d0de4fc0ebc SHA1 713fb547d10270a61ca229bd2911394e40b8310f SHA256 9d723c5e87f368153522a773c1fa159b9f9ec1ec1e6b012ba4733c02695d4d7a

@ -1,21 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/B-Hooks-OP-Check/B-Hooks-OP-Check-0.180.0.ebuild,v 1.1 2011/09/01 13:10:24 tove Exp $
EAPI=4
MODULE_AUTHOR=FLORA
MODULE_VERSION=0.18
inherit perl-module
DESCRIPTION="Wrap OP check callbacks"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="virtual/perl-parent"
DEPEND=">=dev-perl/extutils-depends-0.302
${RDEPEND}"
SRC_TEST=do

@ -1,2 +1 @@
DIST B-Hooks-OP-Check-0.18.tar.gz 60537 RMD160 12d68e506dd928e64271abe42059825ca5717396 SHA1 1f76861c2ae7ac1758f10c16ab28b8d5bc800320 SHA256 106693061be8e0dcc8e23a35800b43de7e50639864ea49d446f380125f40e22c
DIST B-Hooks-OP-Check-0.19.tar.gz 64368 RMD160 3de87aeded34d5bba66a2f651c62a9669802e1d7 SHA1 2182276058e24a19db3b4a80ecf08e5c42056ceb SHA256 2fff4a860cae4fa69b91164a1e2d396bfddd8466bdd04d718e695f7276bce15e

@ -1 +1,2 @@
DIST apiextractor-0.10.6.tar.bz2 267310 RMD160 8521b1e266c3e6edc18b2df89c7c206be6e81c35 SHA1 67c09b1edffd46c833fd703f356faa6dc212a411 SHA256 891906623aefbb02d3b12c866110844c7ca58580516b9b4107798bb0c0520189
DIST apiextractor-0.10.9.tar.bz2 272694 RMD160 267dc1af326463bcae5ac9785ca281d92dd599e4 SHA1 da6bc41731d3f650e4cab4d0f9be7c72875106f4 SHA256 2d9fe46e4240ca4e6ba941835950284c5996f1b9c22cad94d95e823429b04659

@ -0,0 +1,35 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/apiextractor/apiextractor-0.10.9.ebuild,v 1.1 2011/12/27 08:33:26 patrick Exp $
EAPI=4
inherit cmake-utils
DESCRIPTION="Library used to create an internal representation of an API in order to create Python bindings"
HOMEPAGE="http://www.pyside.org/"
SRC_URI="http://www.pyside.org/files/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug test"
RDEPEND="
dev-libs/libxml2
dev-libs/libxslt
>=x11-libs/qt-core-4.7.0
>=x11-libs/qt-xmlpatterns-4.7.0"
DEPEND="${RDEPEND}
dev-util/pkgconfig
test? ( >=x11-libs/qt-test-4.7.0 )"
DOCS=( AUTHORS ChangeLog )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build test TESTS)
)
cmake-utils_src_configure
}

@ -0,0 +1 @@
DIST diff-match-patch-20110725.1.tar.gz 53208 RMD160 cbbd5d9d6085bdf362a9a3213ec5854d04d6df9b SHA1 83d8d921f983af44dfd12acfc74f592b3151c764 SHA256 d876417dcf4210765e0c705b97d1b278588bf82304ec6d875e33f61447266300

@ -0,0 +1,38 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/diff-match-patch/diff-match-patch-20110725.1.ebuild,v 1.2 2011/12/27 14:26:35 aidecoe Exp $
EAPI=4
PYTHON_DEPEND="*"
SUPPORT_PYTHON_ABIS="1"
DISTUTILS_SRC_TEST="setup.py"
inherit distutils
DESCRIPTION="Diff, match and patch algorithms for plain text"
HOMEPAGE="http://code.google.com/p/google-diff-match-patch/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_prepare() {
distutils_src_prepare
python_convert_shebangs -r 2 python2/*
}
src_install() {
distutils_src_install
delete_tests() {
rm "${D}/$(python_get_sitedir)/${PN//-/_}/${PN//-/_}_test.py" || die
}
python_execute_function -q delete_tests
}

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>aidecoe@gentoo.org</email>
<name>Amadeusz Żołnowski</name>
</maintainer>
<longdescription lang="en">
The Diff Match and Patch libraries offer robust algorithms to perform
the operations required for synchronizing plain text.
Diff: Compare two blocks of plain text and efficiently return a list of
differences.
Match: Given a search string, find its best fuzzy match in a block of
plain text. Weighted for both accuracy and location.
Patch: Apply a list of patches onto plain text. Use best-effort to apply
patch even when the underlying text doesn't match.
Diff Match and Patch libraries are currently available in Java,
JavaScript, C++, C#, Objective C, Lua and Python, although this package
contains only Python implementation. Regardless of language, each
library features the same API and the same functionality. All versions
also have comprehensive test harnesses.
</longdescription>
</pkgmetadata>

@ -1 +1,2 @@
DIST generatorrunner-0.6.12.tar.bz2 280087 RMD160 64495cd07409bee3438387512c6467f481b4aed4 SHA1 792074c4df6d1e6ce6086ce1468d7e933dfe6b63 SHA256 ec9934934378cd5356afdefda3451cc5761279771e6394f3cfc87d948036c1e7
DIST generatorrunner-0.6.15.tar.bz2 282551 RMD160 ba7140e46c910704e3d1f3057d24ec6a2d4490e8 SHA1 2ed6a03228d20fb31cca6712c569c07dff325988 SHA256 a2e10fd90a99a070ae80b2d4d7c6654ac60a8eaa8af7fe152d441dac69da5e71

@ -0,0 +1,31 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/generatorrunner/generatorrunner-0.6.15.ebuild,v 1.1 2011/12/27 08:35:53 patrick Exp $
EAPI=4
inherit cmake-utils
DESCRIPTION="A tool that controls bindings generation"
HOMEPAGE="http://www.pyside.org/"
SRC_URI="http://www.pyside.org/files/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug test"
RDEPEND=">=dev-python/apiextractor-0.10
>=x11-libs/qt-core-4.7.0"
DEPEND="${DEPEND}
test? ( >=x11-libs/qt-test-4.7.0 )
"
DOCS=( AUTHORS ChangeLog )
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build test TESTS)
)
cmake-utils_src_configure
}

@ -1 +1,2 @@
DIST apache-libcloud-0.5.2.tar.bz2 179159 RMD160 e45f944d577d244e48593f72237fb240edb70fd8 SHA1 b89241e4d7b332f1accaa47a3a1e3665efaa1aea SHA256 c2fb576ca34518cbef2be6e2178b7406b6eedcac6fbee39611516abc5e9e8b92
DIST apache-libcloud-0.7.1.tar.bz2 227640 RMD160 e6665b98dd5f98feb8c1cf4b5c2dc79b9d8864be SHA1 cadee253a34006b8c325b381978c024c802e6684 SHA256 9f214ac4a95310cdb4959b912aefa054b331728b4bf95daae149484028a7f4fe

@ -0,0 +1,41 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/libcloud/libcloud-0.7.1.ebuild,v 1.1 2011/12/27 13:39:11 patrick Exp $
EAPI="3"
PYTHON_DEPEND="2:2.6 3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.[45] *-jython"
DISTUTILS_SRC_TEST="setup.py"
PYTHON_TESTS_RESTRICTED_ABIS="3.*"
PYTHON_USE_WITH="ssl"
inherit distutils
DESCRIPTION="Unified Interface to the Cloud - python support libs"
HOMEPAGE="http://libcloud.apache.org/index.html"
SRC_URI="mirror://apache/${PN}/apache-${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
RDEPEND=""
DEPEND=""
S="${WORKDIR}/apache-${P}"
src_test() {
cp test/secrets.py-dist test/secrets.py || die
distutils_src_test
}
src_install() {
distutils_src_install
if use examples ; then
docinto examples/
dodoc "${S}"/example_*.py || die
fi
}

@ -1 +1,2 @@
DIST pyside-qt4.7+1.0.6.tar.bz2 3740429 RMD160 3c951f7b537b8e58432681c0ba56e22e77cff56e SHA1 8fcae4cbb24ab2bc1ba2a30e02f0c63b1c236adf SHA256 59341e934d24fc2cd5f00b13a8cc2a8893d58486a80256ddbe18e9def7771a18
DIST pyside-qt4.7+1.0.9.tar.bz2 3752302 RMD160 e8628950bf9285720dd6796b74b6a795a692ec90 SHA1 99a29555e1214f4e359e1e7e8ffb07031c9bfc10 SHA256 54b611134fa2e2e3417a018059ae4369b50550f4b1ffcb0f923b900749d60040

@ -0,0 +1,64 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.0.9.ebuild,v 1.1 2011/12/27 11:59:32 patrick Exp $
EAPI=3
PYTHON_DEPEND="2:2.5"
inherit base python cmake-utils virtualx
MY_P="${PN}-qt4.7+${PV}"
DESCRIPTION="Python bindings for the Qt framework"
HOMEPAGE="http://www.pyside.org/"
SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug kde test"
QT_PV="4.7.0"
RDEPEND=">=dev-python/shiboken-1.0.10
>=x11-libs/qt-core-${QT_PV}
>=x11-libs/qt-assistant-${QT_PV}
>=x11-libs/qt-gui-${QT_PV}
>=x11-libs/qt-multimedia-${QT_PV}
>=x11-libs/qt-opengl-${QT_PV}
kde? ( media-libs/phonon )
!kde? (
|| (
>=x11-libs/qt-phonon-${QT_PV}
media-libs/phonon
)
)
>=x11-libs/qt-script-${QT_PV}
>=x11-libs/qt-sql-${QT_PV}
>=x11-libs/qt-svg-${QT_PV}
>=x11-libs/qt-test-${QT_PV}
>=x11-libs/qt-webkit-${QT_PV}
>=x11-libs/qt-xmlpatterns-${QT_PV}"
DEPEND="${DEPEND}
test? ( >=x11-libs/qt-test-${QT_PV} )"
S="${WORKDIR}/${MY_P}"
DOCS=( "ChangeLog" )
pkg_setup() {
python_set_active_version 2
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build test TESTS)
)
cmake-utils_src_configure
}
src_test() {
VIRTUALX_COMMAND="cmake-utils_src_test"
virtualmake
}

@ -1 +1,2 @@
DIST shiboken-1.0.10.tar.bz2 607852 RMD160 72d580dc2d376936ca7689a40e32e5e68cb6e4f6 SHA1 8f7629f5f91bec17b8a02655438a99f129b931eb SHA256 7f8b950c9712ada84d5d87846f41c7386d07dcc8aa5ae9494cf28927abb30ea8
DIST shiboken-1.0.6.tar.bz2 593136 RMD160 beee595018a101bf0a900d8f0a855745c38e2968 SHA1 6e11353f378e84460fd31e0353be5a51d8d24b16 SHA256 190352077893e4826e53cf81b8618f3eb67696edc62e48d42daf584179b1ac8b

@ -0,0 +1,19 @@
diff -urN shiboken-1.0.9/data/shiboken.pc.in shiboken-1.0.9/data/shiboken.pc.in
--- shiboken-1.0.9/data/shiboken.pc.in 2011-09-06 12:36:36.150737026 +0200
+++ shiboken-1.0.9/data/shiboken.pc.in 2011-09-06 12:38:30.780735651 +0200
@@ -1,7 +1,8 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
libdir=@LIB_INSTALL_DIR@
-includedir=@CMAKE_INSTALL_PREFIX@/include/shiboken
+shiboken_SUFFIX=@shiboken_SUFFIX@
+includedir=@CMAKE_INSTALL_PREFIX@/include/shiboken${shiboken_SUFFIX}
generator_location=@CMAKE_INSTALL_PREFIX@/bin/@SHIBOKEN_GENERATOR@
python_interpreter=@PYTHON_EXECUTABLE@
python_include_dir=@SBK_PYTHON_INCLUDE_DIR@
@@ -10,5 +11,5 @@
Description: Support library for Python bindings created with Shiboken generator.
Version: @shiboken_VERSION@
Libs: @SBK_PYTHON_LIBRARIES@ -L${libdir} -lshiboken@shiboken_SUFFIX@@PYTHON_SUFFIX@@LIBRARY_OUTPUT_SUFFIX@
-Cflags: -I@SBK_PYTHON_INCLUDE_DIR@ -I${includedir}/@shiboken_SUFFIX@@SBK_PKG_CONFIG_PY_DEBUG_DEFINITION@
+Cflags: -I@SBK_PYTHON_INCLUDE_DIR@ -I${includedir}/

@ -0,0 +1,44 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.0.10.ebuild,v 1.1 2011/12/27 09:03:20 patrick Exp $
EAPI=3
PYTHON_DEPEND="2:2.5"
inherit python versionator cmake-utils
MY_PV=$(replace_version_separator '_' '~')
MY_P=${PN}-${MY_PV}
DESCRIPTION="A tool for creating Python bindings for C++ libraries"
HOMEPAGE="http://www.pyside.org/"
SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug test"
DEPEND=">=dev-python/apiextractor-0.10.8
>=dev-python/generatorrunner-0.6.14
>=x11-libs/qt-core-4.7.0"
RDEPEND="${DEPEND}
!dev-python/boostpythongenerator"
PATCHES=( "${FILESDIR}/${PN}-1.0.9-fix-pkgconfig.patch" )
DOCS=( ChangeLog )
S=${WORKDIR}/${MY_P}
pkg_setup() {
python_set_active_version 2
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build test TESTS)
)
cmake-utils_src_configure
}

@ -1,2 +1,3 @@
DIST TwistedConch-10.2.0.tar.bz2 205594 RMD160 dba031df442b0ad77ba858796e72b13cffc9966a SHA1 ac558b8c6cc06ca05075f7a108492f560f0e7496 SHA256 521f801336bdab75c6b6ad067da7fa15f2ce24b29a5327c16944a23a300004eb
DIST TwistedConch-11.0.0.tar.bz2 209673 RMD160 4072da66247d6e2bfbe2852804f97f6f0763f93d SHA1 5a824c9396b37eda0ebc02099b9c5b6a297de8b1 SHA256 a3bd009928b8388928b24fbbb29e1dae6ea092f3a378001f426c6f6302f25504
DIST TwistedConch-11.1.0.tar.bz2 211556 RMD160 7fcf7833bb9eaf042a5b59999bda0bd689457f9b SHA1 4513bf01d112e740ba091c44c7cd3989da1dc845 SHA256 fa01447d425c7ad97859f5824775a841f279e4b2b1faf6daa6d5b6f0e35da1b5

@ -0,0 +1,33 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-11.1.0.ebuild,v 1.1 2011/12/27 06:57:07 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
MY_PACKAGE="Conch"
inherit twisted versionator
DESCRIPTION="Twisted SSHv2 implementation"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
dev-python/pyasn1
dev-python/pycrypto"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="twisted/conch twisted/plugins"
src_prepare() {
distutils_src_prepare
if [[ "${EUID}" -eq 0 ]]; then
# Disable tests failing with root permissions.
sed -e "s/test_checkKeyAsRoot/_&/" -i twisted/conch/test/test_checkers.py
sed -e "s/test_getPrivateKeysAsRoot/_&/" -i twisted/conch/test/test_openssh_compat.py
fi
}

@ -1,2 +1,3 @@
DIST TwistedLore-10.2.0.tar.bz2 87278 RMD160 3e8312bc37bb74078f5131aa16459c70dad807ee SHA1 ebf28eaf8da0351366e080dce8ea5d23513086f5 SHA256 0775119fb08a2a1161729facd5968e785a04f9520ff31d431b949371aaa061e2
DIST TwistedLore-11.0.0.tar.bz2 87252 RMD160 2f21c779cdc57816f52f49e32e6533c22e7b62eb SHA1 d549518a072a8bbe7d08895d90bf8459e1ae97c9 SHA256 d9b16d5fe4e20cb2b4259386ed9871824d94dcb9f0b6abe4c2887a366b74c36e
DIST TwistedLore-11.1.0.tar.bz2 87032 RMD160 1483716d41d584bae7ca0643ba0a67e839c3195d SHA1 1a7c5f45ccbbe2c6d9cd65f8ddea16b730c8c85a SHA256 e602e5e6b6d5131c62dc7a5cbfc79fc69ae7387ee21c02eddb9defcfb960173e

@ -0,0 +1,22 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-lore/twisted-lore-11.1.0.ebuild,v 1.1 2011/12/27 07:06:25 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="Lore"
inherit twisted versionator
DESCRIPTION="Twisted documentation system"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
=dev-python/twisted-web-$(get_version_component_range 1-2)*"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="twisted/lore twisted/plugins"

@ -1,2 +1,3 @@
DIST TwistedMail-10.2.0.tar.bz2 143601 RMD160 697e86e2055d8fbbd40fbb932e14235553f3bdeb SHA1 41683d0d8c86cbcfeaaaf13d22cb3d31b3321362 SHA256 c9b86d691819bb48d6e580356d52128c824a0926865403569e47cd1687a2af79
DIST TwistedMail-11.0.0.tar.bz2 145928 RMD160 61f984b2bf94f5334274b66be0323a46b034bff3 SHA1 491466b58c957d492bf2632bf7d2332f465c5c08 SHA256 0f876dd80602294635cf8092260dcdc61f7dec177d75946ed21c557f534c7a8a
DIST TwistedMail-11.1.0.tar.bz2 146808 RMD160 da72fb43e3300fd82bcc7b5e4a38e69599200cd0 SHA1 85954b9f9b6eeb36fc7be02416e81dc38b99d237 SHA256 843750e356ccb3a6c8ca6fdcc2fced15477adc330a737da33b7dde89467fb64a

@ -0,0 +1,22 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-mail/twisted-mail-11.1.0.ebuild,v 1.1 2011/12/27 07:11:00 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="Mail"
inherit twisted versionator
DESCRIPTION="A Twisted Mail library, server and client"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
=dev-python/twisted-names-$(get_version_component_range 1-2)*"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="twisted/mail twisted/plugins"

@ -1,2 +1,3 @@
DIST TwistedNames-10.2.0.tar.bz2 52250 RMD160 3651bcdc21355726aa2ef9a1c863d59eb12ae8c1 SHA1 536cb68e6b1e7b88dcb7bbffc9aca0f3e4ca292a SHA256 309a45de9a6fb7f500ca61fa74ba955cb52f9acc5d94ead9c1f57fd0a7796798
DIST TwistedNames-11.0.0.tar.bz2 52156 RMD160 255f0a5ddc6f10b2f139ccc039cc45005ad0e0ce SHA1 def35afef9590564c5d9c34977627baf8ce48151 SHA256 738f3e4fa56d2ebeddf0f3774419fbe3de9067424eb928ce234bc178a146d496
DIST TwistedNames-11.1.0.tar.bz2 54824 RMD160 f0b91cf91f9f3f9ab57596341ffa0d4e3f490861 SHA1 76580e7e7600799e3f76b4a4a1355693d455b18f SHA256 0a4dad2e4190b4e6635fc0dabe8dd40a27a4ccf7d927f5d6d240f5bedaeb3ff3

@ -0,0 +1,21 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-names/twisted-names-11.1.0.ebuild,v 1.1 2011/12/27 07:09:41 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="Names"
inherit twisted versionator
DESCRIPTION="A Twisted DNS implementation"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="twisted/names twisted/plugins"

@ -1,2 +1,3 @@
DIST TwistedNews-10.2.0.tar.bz2 19276 RMD160 6ac872ff2470f4ef0fed18fc8425c8501c3d269a SHA1 1c4e90957a4c16f643f510a355fbcbad7aedbd24 SHA256 d32e75c44b9c043b94093eefe51a2e6d96ee477036a9edd54c253940f73d3cd6
DIST TwistedNews-11.0.0.tar.bz2 19289 RMD160 b3e9ea331caf6503274a9dfcae1ce96803d8c520 SHA1 514d1a53e2b1c11ce644991f8ecc5be34172e34f SHA256 8a39fd6c38f89029b6028c15ebc7e29091b62a565b2e52e3ddb4e36d89773cc4
DIST TwistedNews-11.1.0.tar.bz2 19309 RMD160 cfca1508c471bdd260bc17faf4e022557660b472 SHA1 0e46a044bf433d655f79b15fab5316547e3c14c1 SHA256 ad2a9cfab55702382da6f6cbd69cfca614f958665df771cd963d2c6e47c71677

@ -0,0 +1,22 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-news/twisted-news-11.1.0.ebuild,v 1.1 2011/12/27 07:13:30 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="News"
inherit twisted versionator
DESCRIPTION="Twisted News is an NNTP server and programming library."
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
=dev-python/twisted-mail-$(get_version_component_range 1-2)*"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="twisted/news twisted/plugins"

@ -0,0 +1 @@
DIST TwistedPair-11.1.0.tar.bz2 9141 RMD160 0b2bf17c9d8f56424217585b268f373cace9677b SHA1 2ed7ba27de254f617362d235269081710d82f383 SHA256 a220a0f44ae2a5d9bf29181c931026948cca3a1088a3b0edf4adf1b5aa2b28cf

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
</pkgmetadata>

@ -0,0 +1,22 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-pair/twisted-pair-11.1.0.ebuild,v 1.2 2011/12/27 07:55:56 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="Pair"
inherit twisted versionator
DESCRIPTION="Twisted low-level networking"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
dev-python/eunuchs"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="twisted/pair"

@ -1,2 +1,3 @@
DIST TwistedRunner-10.2.0.tar.bz2 13242 RMD160 db6dc15f9156c0c42559b32949e31673e2882b01 SHA1 ed2377aaa419c4778b84b5378ded7339315ecc68 SHA256 4fee1eac86ed8269e180bc759b4e965608690d2717168dbef83d2ea795eea799
DIST TwistedRunner-11.0.0.tar.bz2 13267 RMD160 9df314da5b532aaa735ef45f73a5ec636ba0fa5d SHA1 673451322c404a88a6afd7d4da9382cd9579b5b0 SHA256 c0f62b4960b9122e898d568cad6afde6ec9c049373e5b1b764f24533582fe3f5
DIST TwistedRunner-11.1.0.tar.bz2 13210 RMD160 7b8403606456e97b90b263dbb46233e3b95d9f6f SHA1 3f64fa0c0c821d79b45283b73c9663c24c7541ea SHA256 9ca61e1c8f18cd1120db958742602ccb10ae8d257e6ebc9a082f270358a953ac

@ -0,0 +1,21 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-runner/twisted-runner-11.1.0.ebuild,v 1.1 2011/12/27 07:15:48 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="Runner"
inherit twisted versionator
DESCRIPTION="Twisted Runner is a process management library and inetd replacement."
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND="=dev-python/twisted-$(get_version_component_range 1)*"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="twisted/runner"

@ -1,2 +1,3 @@
DIST TwistedWeb-10.2.0.tar.bz2 334605 RMD160 0f50e064dfba2ad23da0694540c27aaca4a9001a SHA1 9dd268502df217d779e4dafc4fedba9c3a789440 SHA256 d09c459590f23b824043093450916b22a2eea29d1838d69725413a5abb8350ba
DIST TwistedWeb-11.0.0.tar.bz2 358074 RMD160 429a86bdee1d6a3af8e53d40d33a819ccd33b583 SHA1 2ce185c6ad5d67b0d3e8009e30e18c651bca155c SHA256 864a08aa283ba690f35cfbc18ba939a8b336bc6ad452a2a855bdf1b388aaac53
DIST TwistedWeb-11.1.0.tar.bz2 373315 RMD160 6a26bf69961dcd1b70cc956a2e8894583234ed5a SHA1 340633e4662cf9d4ea101b0738723b41be6e4373 SHA256 4858e1112b6520c15ca0276569537a1e5ec9da96baca9b9107df77b9e4f5df4d

@ -0,0 +1,32 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-web/twisted-web-11.1.0.ebuild,v 1.1 2011/12/27 07:03:04 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="Web"
inherit twisted versionator
DESCRIPTION="Twisted web server, programmable in Python"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="soap"
DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
soap? ( dev-python/soappy )"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="twisted/plugins twisted/web"
src_prepare() {
distutils_src_prepare
if [[ "${EUID}" -eq 0 ]]; then
# Disable tests failing with root permissions.
sed -e "s/test_forbiddenResource/_&/" -i twisted/web/test/test_static.py
sed -e "s/testDownloadPageError3/_&/" -i twisted/web/test/test_webclient.py
fi
}

@ -1,2 +1,3 @@
DIST TwistedWords-10.2.0.tar.bz2 180104 RMD160 480482e35a9e6d53af1ecbe7f3316a0f0098088a SHA1 514673c7f6ed3cd633523dc2a12d96d113d95c48 SHA256 aebd368c3d638208e28873c5b4262afc988e98fbb76076fb55c9d05388951ab5
DIST TwistedWords-11.0.0.tar.bz2 164453 RMD160 83150aa88b8b5b2e193675a27533d36553db7a47 SHA1 53efd150a46ab2c8d9b33d6748094a9c8b011910 SHA256 574ffbf706be8cc4281f2d64e006d5efa35fdaa611895494453ec9fb80cea8dd
DIST TwistedWords-11.1.0.tar.bz2 165255 RMD160 22a267e23156fac4874290fdd69efe69704ce8d4 SHA1 53d0fde8504449a1fa5b28cb45b90565b27c329b SHA256 7bd9aecbc888a6a515b1672f31b8555ccdc8eb77490d5da41c8a4c8a00ebfdf8

@ -0,0 +1,22 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-words/twisted-words-11.1.0.ebuild,v 1.1 2011/12/27 07:18:55 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="Words"
inherit twisted
DESCRIPTION="Twisted Words contains Instant Messaging implementations."
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
DEPEND="=dev-python/twisted-$(get_version_component_range 1)*
=dev-python/twisted-web-$(get_version_component_range 1)*"
RDEPEND="${DEPEND}"
PYTHON_MODNAME="twisted/plugins twisted/words"

@ -1,2 +1,3 @@
DIST TwistedCore-10.2.0.tar.bz2 1359631 RMD160 87b9ec3ca3e06e0a4421c603c9f56437aa2c2400 SHA1 d0dfd2ec562496e32fb3a64cde31647294683af3 SHA256 38e4fa66713a3cb3eae052c5183e492aa4b363e00ffad2af91bf99c0cad538f6
DIST TwistedCore-11.0.0.tar.bz2 1396224 RMD160 a6c4fcd70472266cfda1d89478c02aafaec38ec4 SHA1 14c15e4eac787744907c2c3192af710d4ffe8a4e SHA256 46ea3d9390ec94a3234589544fc154c48fb5714121362a582db62cd873133f2f
DIST TwistedCore-11.1.0.tar.bz2 1455613 RMD160 08e056f86a7b9225c43612fcc82e320c444e7ffc SHA1 db62e3df1f8708127de4d7ba5f2c8168b24a2388 SHA256 0041b5c38cd7c40043f64c4aaeb5fcc4631c229776c896cfa188fd2b567fd76d

@ -0,0 +1,102 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild,v 1.1 2011/12/27 06:39:32 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
MY_PACKAGE="Core"
inherit eutils twisted versionator
DESCRIPTION="An asynchronous networking framework written in Python"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="crypt gtk serial"
DEPEND="net-zope/zope-interface
crypt? ( >=dev-python/pyopenssl-0.10 )
gtk? ( dev-python/pygtk:2 )
serial? ( dev-python/pyserial )"
RDEPEND="${DEPEND}"
DOCS="CREDITS NEWS README"
src_prepare(){
distutils_src_prepare
# Give a load-sensitive test a better chance of succeeding.
epatch "${FILESDIR}/${PN}-2.1.0-echo-less.patch"
# Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable.
epatch "${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch"
if [[ "${EUID}" -eq 0 ]]; then
# Disable tests failing with root permissions.
sed \
-e "s/test_newPluginsOnReadOnlyPath/_&/" \
-e "s/test_deployedMode/_&/" \
-i twisted/test/test_plugin.py
fi
}
src_test() {
testing() {
local exit_status="0"
"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with $(python_get_implementation) $(python_get_version)"
pushd "${T}/tests${EPREFIX}$(python_get_sitedir)" > /dev/null || die
# Skip broken tests.
sed -e "s/test_buildAllTarballs/_&/" -i twisted/python/test/test_release.py || die "sed failed"
# http://twistedmatrix.com/trac/ticket/5375
sed -e "/class ZshIntegrationTestCase/,/^$/d" -i twisted/scripts/test/test_scripts.py || die "sed failed"
# Prevent it from pulling in plugins from already installed twisted packages.
rm -f twisted/plugins/__init__.py
# An empty file doesn't work because the tests check for doc strings in all packages.
echo "'''plugins stub'''" > twisted/plugins/__init__.py || die
if ! PYTHONPATH="." "${T}/tests${EPREFIX}/usr/bin/trial" twisted; then
if [[ -n "${TWISTED_DEBUG_TESTS}" ]]; then
die "Tests failed with $(python_get_implementation) $(python_get_version)"
else
exit_status="1"
fi
fi
popd > /dev/null || die
rm -fr "${T}/tests"
return "${exit_status}"
}
python_execute_function testing
}
src_install() {
distutils_src_install
python_clean_installation_image
python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/trial"
postinstallational_preparation() {
touch "${ED}$(python_get_sitedir)/Twisted-${PV}-py$(python_get_version).egg-info"
# Delete dropin.cache to avoid collisions.
# dropin.cache is regenerated in pkg_postinst().
rm -f "${ED}$(python_get_sitedir)/twisted/plugins/dropin.cache"
}
python_execute_function -q postinstallational_preparation
# Don't install index.xhtml page.
doman doc/man/*.?
insinto /usr/share/doc/${PF}
doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man)
newconfd "${FILESDIR}/twistd.conf" twistd
newinitd "${FILESDIR}/twistd.init" twistd
}

@ -1,2 +1,3 @@
DIST rails-3.0.10.tgz 3503921 RMD160 73788df5c1efc26cb9afab3142b7e37a7b3f1fd4 SHA1 b0f49b711cd5bada65c5450d8042dbab665fc56a SHA256 233ba73a71eaee5864e1c66d0c3803e8d1abbfab41e2a3e494dde8538b66598b
DIST rails-3.0.11.tgz 3508633 RMD160 b9669f58f0ea2b362819902eb9fbe244dbcde3a9 SHA1 5d50166da760186430a0f33440c47222cc72d1f8 SHA256 bb8da3b680d9ad5148d64567a2cea2e9b99e0a58fbe37981568633652b00c18f
DIST rails-3.1.3.tgz 3638313 RMD160 9453e35f16d2c4e7f594e62643d023c887000094 SHA1 7e0bda73ac54cff5b84f33417d1ffdab1493336b SHA256 412c8a3ae4e0d5283ace45a2ee95127418d6b70fb1a954087b09755ab3a25e99

@ -0,0 +1,45 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-3.1.3.ebuild,v 1.2 2011/12/27 09:10:46 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
inherit ruby-fakegem
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource."
HOMEPAGE="http://github.com/rails/rails"
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="3.1"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RUBY_S="rails-rails-*/activemodel"
ruby_add_rdepend "
~dev-ruby/activesupport-${PV}
>=dev-ruby/builder-3.0.0
>=dev-ruby/i18n-0.6.0:0.6
>=dev-ruby/bcrypt-ruby-3.0.0"
ruby_add_bdepend "
test? (
dev-ruby/ruby-debug
>=dev-ruby/mocha-0.9.5
virtual/ruby-test-unit
)"
all_ruby_prepare() {
# Set test environment to our hand.
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.14.ebuild,v 1.5 2011/08/27 18:51:30 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-2.3.14.ebuild,v 1.6 2011/12/27 07:42:55 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ree18 jruby"
@ -32,6 +32,7 @@ USE_RUBY=ruby18 \
ruby_add_bdepend "
test? (
dev-ruby/rdoc
>=dev-ruby/mocha-0.9.5
virtual/ruby-test-unit
)"

@ -1,3 +1,4 @@
DIST activeresource-2.3.14.gem 47104 RMD160 39125858bcab9db4d7031ebf481efeb8f6bbd800 SHA1 d30bc200503ad56672aa78bd6d8494f34c5c0693 SHA256 301f1c3cf812052b11dfea0be6e547e112132019d28bf7e5c8601902fcabd525
DIST rails-3.0.10.tgz 3503921 RMD160 73788df5c1efc26cb9afab3142b7e37a7b3f1fd4 SHA1 b0f49b711cd5bada65c5450d8042dbab665fc56a SHA256 233ba73a71eaee5864e1c66d0c3803e8d1abbfab41e2a3e494dde8538b66598b
DIST rails-3.0.11.tgz 3508633 RMD160 b9669f58f0ea2b362819902eb9fbe244dbcde3a9 SHA1 5d50166da760186430a0f33440c47222cc72d1f8 SHA256 bb8da3b680d9ad5148d64567a2cea2e9b99e0a58fbe37981568633652b00c18f
DIST rails-3.1.3.tgz 3638313 RMD160 9453e35f16d2c4e7f594e62643d023c887000094 SHA1 7e0bda73ac54cff5b84f33417d1ffdab1493336b SHA256 412c8a3ae4e0d5283ace45a2ee95127418d6b70fb1a954087b09755ab3a25e99

@ -0,0 +1,41 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/activeresource-3.1.3.ebuild,v 1.2 2011/12/27 09:09:55 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec"
inherit ruby-fakegem
DESCRIPTION="Think Active Record for web resources.."
HOMEPAGE="http://rubyforge.org/projects/activeresource/"
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
LICENSE="MIT"
SLOT="3.1"
KEYWORDS="~amd64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RUBY_S="rails-rails-*/activeresource"
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
~dev-ruby/activemodel-${PV}"
ruby_add_bdepend "
test? (
>=dev-ruby/mocha-0.9.5
virtual/ruby-test-unit
)"
all_ruby_prepare() {
# Set test environment to our hand.
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/arel/arel-2.2.1.ebuild,v 1.1 2011/08/19 07:09:13 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/arel/arel-2.2.1-r1.ebuild,v 1.1 2011/12/27 09:33:49 graaff Exp $
EAPI="2"
USE_RUBY="ruby18 ree18 jruby"
@ -27,3 +27,8 @@ ruby_add_bdepend "
>=dev-ruby/hoe-2.10
virtual/ruby-minitest
)"
all_ruby_prepare() {
# Put the proper version number in the gemspec.
sed -i -e 's/2.2.0.20110809140134/2.2.1/' arel.gemspec || die
}

@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.0.1.ebuild,v 1.4 2011/12/03 17:31:18 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.0.1.ebuild,v 1.5 2011/12/27 08:08:27 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ree18"
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_TEST="spec"

@ -1,13 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/bundler-1.0.21.ebuild,v 1.2 2011/10/20 17:38:09 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/bundler-1.0.21.ebuild,v 1.3 2011/12/27 13:25:02 graaff Exp $
EAPI=2
# ruby19 → uncountable number of test failures
# jruby → needs to be tested because jruby-1.5.1 fails in multiple
# ways unrelated to this package.
USE_RUBY="ruby18 ree18"
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_TEST="spec"
@ -44,3 +43,14 @@ all_ruby_prepare() {
# regression.
sed -i -e '49,54d' spec/install/deploy_spec.rb || die
}
each_ruby_prepare() {
case ${RUBY} in
*ruby19)
# Account for different wording in ruby 1.9.3.
sed -i -e 's/no such file to load/cannot load such file/' spec/runtime/require_spec.rb spec/install/gems/groups_spec.rb || die
;;
*)
;;
esac
}

@ -1,2 +1 @@
DIST fssm-0.2.5.gem 24064 RMD160 b634c0ae9add18688b1de0d8ac8c57bb05c0626b SHA1 2a8ec174e56982fe9c07dfddc2fcbe06df125a9b SHA256 8a7044a541fca288448091a72672da6f8287f4d1f0ec3de1cbfe19b15a1e95d7
DIST fssm-0.2.7.gem 25088 RMD160 2287126a9865f293269e88a3270d47dea133e282 SHA1 a76aad02acbc7ae1763533f3e50487745c017eba SHA256 4b9e3005602f079fbf64af17c311e1ecb324b4118460698dc4d54423dfe6c19b

@ -1,30 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fssm/fssm-0.2.5.ebuild,v 1.4 2011/08/07 14:13:32 armin76 Exp $
EAPI=2
USE_RUBY="ruby18 ree18 jruby"
RUBY_FAKEGEM_TASK_TEST="spec"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.markdown"
inherit ruby-fakegem
DESCRIPTION="Monitor API"
HOMEPAGE="http://github.com/ttilley/fssm"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/rspec:0 )"
each_ruby_prepare() {
# Remove bundler support
sed -i -e '/[Bb]undler/d' Rakefile || die
rm Gemfile || die
}

@ -1 +1,2 @@
DIST hpricot-0.8.4.gem 278016 RMD160 88e96058a5b988e12ed28562bb0b183b8e7d2177 SHA1 029ef48af199aa5bf05c99b4173244ae4c9852c8 SHA256 234590794c68ccf809f5803baaec6bb02016d0860f93229d5bd6e05ca06cbf5a
DIST hpricot-0.8.5.gem 293376 RMD160 9d8e8117e2036a22672eeed5e00a8a741885ae93 SHA1 b253b9aa5c86cec5978a4f33343656a8c0f8ceb9 SHA256 c51f9efdfa4f964a484e821bb13431f426676c2584a680d1fb874a3b6e5a46df

@ -0,0 +1,50 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hpricot/hpricot-0.8.5.ebuild,v 1.1 2011/12/27 07:52:31 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ree18 ruby19 jruby"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
inherit ruby-fakegem eutils
DESCRIPTION="A fast and liberal HTML parser for Ruby."
HOMEPAGE="http://wiki.github.com/hpricot/hpricot"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE=""
# Probably needs the same jdk as JRuby but I'm not sure how to express
# that just yet.
DEPEND="${DEPEND}
dev-util/ragel
ruby_targets_jruby? ( >=virtual/jdk-1.5 )"
RDEPEND="${RDEPEND}"
ruby_add_bdepend "dev-ruby/rake
dev-ruby/rake-compiler
test? ( virtual/ruby-test-unit )"
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
# Fix encoding assumption of environment for Ruby 1.9.
# https://github.com/hpricot/hpricot/issues/52
sed -i -e '1 iEncoding.default_external=Encoding::UTF_8 if RUBY_VERSION =~ /1.9/' test/load_files.rb || die
}
each_ruby_compile() {
case $(basename ${RUBY}) in
jruby)
${RUBY} -S rake compile_java || die "rake compile failed"
;;
*)
${RUBY} -S rake compile || die "rake compile failed"
;;
esac
}

@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mustache/mustache-0.99.4.ebuild,v 1.5 2011/12/04 23:23:34 naota Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mustache/mustache-0.99.4.ebuild,v 1.6 2011/12/27 12:38:02 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ree18"
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_TEST=""
@ -24,7 +24,7 @@ IUSE=""
ruby_add_bdepend "doc? ( app-text/ronn )"
each_ruby_test() {
${RUBY} -Ilib -e "Dir['test/*.rb'].each{|f| require f}"
${RUBY} -Ilib:. -e "Dir['test/*.rb'].each{|f| require f}"
}
all_ruby_install() {

@ -0,0 +1 @@
DIST sprockets-2.0.3.tgz 135013 RMD160 02e5186ee5f3a93a8e2a735556914cffcb8a8073 SHA1 712a22cafc6757f8d8a7a37cbce4ee407ab8673a SHA256 9a76d91e93c96449ad269b729b1435ffd575dce2dbb1c0c6c299d22035bab40f

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>ruby</herd>
</pkgmetadata>

@ -0,0 +1,39 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.0.3.ebuild,v 1.1 2011/12/27 09:04:31 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_DOC=""
inherit ruby-fakegem versionator
DESCRIPTION="Ruby library for compiling and serving web assets."
HOMEPAGE="https://github.com/sstephenson/sprockets"
SRC_URI="https://github.com/sstephenson/sprockets/tarball/v${PV} -> ${P}.tgz"
RUBY_S="sstephenson-sprockets-*"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend "
=dev-ruby/hike-1* >=dev-ruby/hike-1.2
=dev-ruby/rack-1*
>=dev-ruby/tilt-1.3.1"
ruby_add_bdepend "test? (
dev-ruby/json
dev-ruby/rack-test
)"
# Restrict tests for now since they require quite lot of new
# dependencies related to javascript. To be revisited later.
RESTRICT="test"
# s.add_development_dependency "coffee-script", "~> 2.0"
# s.add_development_dependency "eco", "~> 1.0"
# s.add_development_dependency "ejs", "~> 1.0"
# s.add_development_dependency "execjs", "~> 1.0"

@ -1,12 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/yajl-ruby-1.1.0.ebuild,v 1.1 2011/12/25 10:48:20 graaff Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yajl-ruby/yajl-ruby-1.1.0.ebuild,v 1.2 2011/12/27 10:56:40 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_TASK_TEST=""

@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.44.1.15.ebuild,v 1.16 2010/12/17 22:56:19 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.44.1.15.ebuild,v 1.17 2011/12/27 08:16:11 jlec Exp $
EAPI="3"
@ -25,7 +25,8 @@ src_prepare() {
sed -i "s#/usr/local/bin#${EPREFIX}/usr/bin#" expect{,k}.man || die
# stops any example scripts being installed by default
sed -i \
-e '/^install:/s/install-libraries //' \
-e 's/^SCRIPT_LIST/_&/' \
-e 's/^SCRIPTS/_&/' \
-e 's/^SCRIPTS_MANPAGES = /_&/' \
Makefile.in

@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.45.ebuild,v 1.1 2010/12/17 23:23:44 vapier Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.45.ebuild,v 1.2 2011/12/27 08:16:11 jlec Exp $
EAPI="3"
@ -27,7 +27,8 @@ src_prepare() {
sed -i "s:/usr/local/bin:${EPREFIX}/usr/bin:" expect.man || die
# stops any example scripts being installed by default
sed -i \
-e '/^install:/s/install-libraries //' \
-e 's/^SCRIPT_LIST/_&/' \
-e 's/^SCRIPTS/_&/' \
-e 's/^SCRIPTS_MANPAGES = /_&/' \
Makefile.in
@ -43,7 +44,7 @@ src_configure() {
# the 64bit flag is useless ... it only adds 64bit compiler flags
# (like -m64) which the target toolchain should already handle
econf \
--with-tcl=${EPREFIX}/usr/$(get_libdir) \
--with-tcl="${EPREFIX}/usr/$(get_libdir)" \
--disable-64bit \
--enable-shared \
$(use_enable threads) \

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.2 2011/09/30 02:10:24 jmbsvicetto Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.4 2011/12/27 07:37:20 robbat2 Exp $
# @ECLASS: mysql-cmake.eclass
# @MAINTAINER:
@ -123,16 +123,12 @@ configure_cmake_standard() {
-DWITHOUT_LIBWRAP=1
)
if use static ; then
mycmakeargs+=( -DDISABLE_SHARED=1 )
else
mycmakeargs+=( -DDISABLED_SHARED=0 )
fi
mycmakeargs+=(
$(cmake-utils_use_disable !static SHARED)
$(cmake-utils_use_with debug)
$(cmake-utils_use_with embedded EMBEDDED_SERVER)
$(cmake-utils_use_with profiling)
$(cmake-utils_use_enable systemtap DTRACE)
)
if use ssl; then

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.10 2011/11/17 16:04:02 dev-zero Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-v2.eclass,v 1.11 2011/12/27 07:37:20 robbat2 Exp $
# @ECLASS: mysql-v2.eclass
# @MAINTAINER:
@ -227,6 +227,9 @@ IUSE="${IUSE} berkdb"
&& mysql_version_is_at_least "5.2.5" \
&& IUSE="${IUSE} sphinx"
mysql_version_is_at_least "5.5.7" \
&& IUSE="${IUSE} systemtap"
#
# DEPENDENCIES:
@ -279,6 +282,9 @@ mysql_version_is_at_least "5.5.8" \
&& mysql_version_is_at_least "5.2.5" \
&& DEPEND="${DEPEND} sphinx? ( app-misc/sphinx )"
mysql_version_is_at_least "5.5.7" \
&& DEPEND="${DEPEND} systemtap? ( >=dev-util/systemtap-1.3 )"
# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/eclass/twisted.eclass,v 1.9 2011/12/27 05:36:48 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/twisted.eclass,v 1.10 2011/12/27 06:54:23 floppym Exp $
# @ECLASS: twisted.eclass
# @MAINTAINER:
@ -69,7 +69,7 @@ twisted_src_install() {
distutils_src_install
if [[ -d doc/man ]]; then
doman doc/man/*
doman doc/man/*.[[:digit:]]
fi
if [[ -d doc ]]; then

@ -0,0 +1,112 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/kdepim-l10n-4.7.4-r1.ebuild,v 1.1 2011/12/27 13:54:54 dilfridge Exp $
EAPI=4
KDE_HANDBOOK=optional
inherit kde4-base
DESCRIPTION="KDE PIM internationalization package"
HOMEPAGE="http://www.kde.org/"
LICENSE="GPL-2"
DEPEND="
sys-devel/gettext
"
RDEPEND=""
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
MY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB es et eu fi fr ga gl he hr
hu ia id is it ja kk km kn ko lt lv nb nds nl nn pa pl pt pt_BR ro ru sk sl
sr sv th tr ug uk wa zh_CN zh_TW"
URI_BASE="${SRC_URI/-${PV}.tar.bz2/}"
SRC_URI=""
for MY_LANG in ${MY_LANGS} ; do
IUSE="${IUSE} linguas_${MY_LANG}"
SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.bz2 )"
done
S="${WORKDIR}"
src_unpack() {
local LNG DIR
if [[ -z ${A} ]]; then
elog
elog "You either have the LINGUAS variable unset, or it only"
elog "contains languages not supported by ${P}."
elog "You won't have any additional language support."
elog
elog "${P} supports these language codes:"
elog "${MY_LANGS}"
elog
fi
# For EAPI >= 3, or if not using .tar.xz archives:
[[ -n ${A} ]] && unpack ${A}
cd "${S}"
# add all linguas to cmake
if [[ -n ${A} ]]; then
for LNG in ${LINGUAS}; do
DIR="kde-l10n-${LNG}-${PV}"
if [[ -d "${DIR}" ]] ; then
echo "add_subdirectory( ${DIR} )" >> "${S}"/CMakeLists.txt
fi
# remove everything except kdepim and kdepim-runtime
for SUBDIR in data docs messages scripts ; do
if [[ -d "${S}/${DIR}/${SUBDIR}" ]] ; then
einfo " ${SUBDIR} subdirectory"
echo > "${S}/${DIR}/${SUBDIR}/CMakeLists.txt"
[[ -d "${S}/${DIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
[[ -d "${S}/${DIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subdirectory(kdepim-runtime)" >> "${S}/${DIR}/${SUBDIR}/CMakeLists.txt" )
fi
done
# in some cases we may have sub-lingua subdirs, e.g. sr :(
for XSUBDIR in "${S}/${DIR}/${LNG}"@* ; do
XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
if [[ -d "${XSUBDIR}" ]] ; then
einfo " ${XLNG} variant"
# remove everything except kdepim and kdepim-runtime
for SUBDIR in data docs messages scripts ; do
if [[ -d "${XSUBDIR}/${SUBDIR}" ]] ; then
einfo " ${SUBDIR} subdirectory"
echo > "${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
[[ -d "${XSUBDIR}/${SUBDIR}/kdepim" ]] && ( echo "add_subdirectory(kdepim)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
[[ -d "${XSUBDIR}/${SUBDIR}/kdepim-runtime" ]] && ( echo "add_subdirectory(kdepim-runtime)" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
fi
done
fi
done
done
fi
}
src_prepare() {
[[ -n ${A} ]] && kde4-base_src_prepare
}
src_configure() {
mycmakeargs=(
$(cmake-utils_use_build handbook docs)
)
[[ -n ${A} ]] && kde4-base_src_configure
}
src_compile() {
[[ -n ${A} ]] && kde4-base_src_compile
}
src_test() {
[[ -n ${A} ]] && kde4-base_src_test
}
src_install() {
[[ -n ${A} ]] && kde4-base_src_install
}

@ -0,0 +1,18 @@
--- kscd/tests/CMakeLists.txt
+++ kscd/tests/CMakeLists.txt
@@ -16,6 +16,7 @@
# libraries needed for HWControler tests
target_link_libraries(HWControler_test
+ ${KDE4_KDECORE_LIBS}
${KDE4_SOLID_LIBS}
${KDE4_PHONON_LIBS}
${QT_QTTEST_LIBRARY}
@@ -26,6 +27,7 @@
# libraries needed for AudioCD tests
target_link_libraries(AudioCD_test
+ ${KDE4_KDECORE_LIBS}
${KDE4_SOLID_LIBS}
${KDE4_PHONON_LIBS}
${QT_QTTEST_LIBRARY}

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kscd/kscd-4.7.3.ebuild,v 1.4 2011/12/07 22:13:55 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/kde-base/kscd/kscd-4.7.3.ebuild,v 1.5 2011/12/27 12:23:55 dilfridge Exp $
EAPI=4
@ -19,8 +19,7 @@ DEPEND="
"
RDEPEND="${DEPEND}"
RESTRICT="test"
# bug 393099
PATCHES=( "${FILESDIR}/${PN}-4.7.3-underlinking.patch" )
KMEXTRACTONLY="
libkcompactdisc/

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kscd/kscd-4.7.4.ebuild,v 1.1 2011/12/11 18:52:16 alexxy Exp $
# $Header: /var/cvsroot/gentoo-x86/kde-base/kscd/kscd-4.7.4.ebuild,v 1.2 2011/12/27 12:23:55 dilfridge Exp $
EAPI=4
@ -19,8 +19,7 @@ DEPEND="
"
RDEPEND="${DEPEND}"
RESTRICT="test"
# bug 393099
PATCHES=( "${FILESDIR}/${PN}-4.7.3-underlinking.patch" )
KMEXTRACTONLY="
libkcompactdisc/

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/alot/alot-0.21.ebuild,v 1.1 2011/12/26 17:01:42 aidecoe Exp $
# $Header: /var/cvsroot/gentoo-x86/mail-client/alot/alot-0.21-r1.ebuild,v 1.1 2011/12/27 11:23:56 aidecoe Exp $
EAPI=4
@ -23,7 +23,9 @@ DEPEND=""
RDEPEND="
dev-python/twisted
>=dev-python/urwid-1.0.0
net-mail/mailbase
net-mail/notmuch[crypt,python]
sys-apps/file[python]
"
DOCS="CUSTOMIZE FAQ"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save