diff options
author | Caleb Tennis <caleb@gentoo.org> | 2006-09-11 12:35:13 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2006-09-11 12:35:13 +0000 |
commit | 22b470c74208b8ae8f59afb46b0c6222b9d0c443 (patch) | |
tree | 51f188c1083b129aedbdec236fcf2c49445eec30 /dev-python/IcePy | |
parent | Migrated to new Java build system. (diff) | |
download | gentoo-2-22b470c74208b8ae8f59afb46b0c6222b9d0c443.tar.gz gentoo-2-22b470c74208b8ae8f59afb46b0c6222b9d0c443.tar.bz2 gentoo-2-22b470c74208b8ae8f59afb46b0c6222b9d0c443.zip |
Initial import of IcePy bindings for Ice libraries
(Portage version: 2.1.1_rc1-r5)
Diffstat (limited to 'dev-python/IcePy')
-rw-r--r-- | dev-python/IcePy/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/IcePy/IcePy-3.1.0.ebuild | 56 | ||||
-rw-r--r-- | dev-python/IcePy/Manifest | 20 | ||||
-rw-r--r-- | dev-python/IcePy/files/digest-IcePy-3.1.0 | 3 | ||||
-rw-r--r-- | dev-python/IcePy/files/icepy-3.1.0-makefile.patch | 66 | ||||
-rw-r--r-- | dev-python/IcePy/metadata.xml | 13 |
6 files changed, 168 insertions, 0 deletions
diff --git a/dev-python/IcePy/ChangeLog b/dev-python/IcePy/ChangeLog new file mode 100644 index 000000000000..9d916d90e676 --- /dev/null +++ b/dev-python/IcePy/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/IcePy +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/IcePy/ChangeLog,v 1.1 2006/09/11 12:35:12 caleb Exp $ + +*IcePy-3.1.0 (11 Sep 2006) + + 11 Sep 2006; Caleb Tennis <caleb@gentoo.org> + +files/icepy-3.1.0-makefile.patch, +IcePy-3.1.0.ebuild: + initial import + diff --git a/dev-python/IcePy/IcePy-3.1.0.ebuild b/dev-python/IcePy/IcePy-3.1.0.ebuild new file mode 100644 index 000000000000..a1552517dde5 --- /dev/null +++ b/dev-python/IcePy/IcePy-3.1.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/IcePy/IcePy-3.1.0.ebuild,v 1.1 2006/09/11 12:35:12 caleb Exp $ + +inherit eutils python + +DESCRIPTION="ICE middleware C++ bindings" +HOMEPAGE="http://www.zeroc.com/index.html" +SRC_URI="http://www.zeroc.com/download/Ice/3.1/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="test debug" + +DEPEND="=dev-cpp/ice-3.1*" + +ICE_HOME=/usr + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch ${FILESDIR}/icepy-3.1.0-makefile.patch + + if use amd64; then + sed -i -e "s:^#LP64:LP64:g" ${S}/config/Make.rules \ + || die "Failed to set lib64 directory" + fi + + if ! use debug; then + sed -i -e "s:#OPTIMIZE:OPTIMIZE:" \ + ${S}/config/Make.rules || die "Failed to remove debug" + fi + + sed -i -e \ + "s:.*CXXFLAGS[^\+]*\=\s:CXXFLAGS = ${CXXFLAGS} :g" \ + ${S}/config/Make.rules.Linux || die "CXXFLAGS patching failed!" +} + +src_compile() { + cd ${S} + export ICE_HOME=/usr + ./configure + make || die "Died during make" +} + +src_install() { + export ICE_HOME=/usr + make DESTDIR="${D}" install || die "Install Failed!" +} + +src_test() { + export ICE_HOME=/usr + make test || die "Test failed" +} diff --git a/dev-python/IcePy/Manifest b/dev-python/IcePy/Manifest new file mode 100644 index 000000000000..db8fb86d67c2 --- /dev/null +++ b/dev-python/IcePy/Manifest @@ -0,0 +1,20 @@ +AUX icepy-3.1.0-makefile.patch 1707 RMD160 c18e595730a6ea0c345c03f2118a1a23c4428c8d SHA1 de0639f13725a5956848e4790702621478be0389 SHA256 853bce8c60826554eb95ec6820782a0b8ca2494b97bd425c71f6bdbe15197565 +MD5 1625b51ce946015a0418bd2e509af31c files/icepy-3.1.0-makefile.patch 1707 +RMD160 c18e595730a6ea0c345c03f2118a1a23c4428c8d files/icepy-3.1.0-makefile.patch 1707 +SHA256 853bce8c60826554eb95ec6820782a0b8ca2494b97bd425c71f6bdbe15197565 files/icepy-3.1.0-makefile.patch 1707 +DIST IcePy-3.1.0.tar.gz 391534 RMD160 d74170a1c002ac407084cdb05e7d7579c300e1e0 SHA1 454f3194ab7de55859621c715a7dd9f3cb3fbd3c SHA256 fe11e1250f6a315fb0ad8c67a533ecab4e9e0b920ee88a3880efd094470194fd +EBUILD IcePy-3.1.0.ebuild 1215 RMD160 bbdf0fe3532d32bc3cb63906cc31ec5d6789505b SHA1 a014fef48ba709dec41ca3e80525d581bb6c17f3 SHA256 e4f484306b5ad40ba3371debc3ef5ef01b9305a844c98a253223445973bbd6fe +MD5 a0de56e84db140d2a5c35387ada55fdb IcePy-3.1.0.ebuild 1215 +RMD160 bbdf0fe3532d32bc3cb63906cc31ec5d6789505b IcePy-3.1.0.ebuild 1215 +SHA256 e4f484306b5ad40ba3371debc3ef5ef01b9305a844c98a253223445973bbd6fe IcePy-3.1.0.ebuild 1215 +MISC ChangeLog 268 RMD160 7790c87a86588db055f9b99dfce46bc1241225fc SHA1 29db90fb9c40e8833bee4cc42cbf1c908dc85d91 SHA256 302e26b27f345423c58113347be7b0d9d1cf060ce118326d556cc0830f150c5c +MD5 3fc6d1d934f9690908cb440186e2f89c ChangeLog 268 +RMD160 7790c87a86588db055f9b99dfce46bc1241225fc ChangeLog 268 +SHA256 302e26b27f345423c58113347be7b0d9d1cf060ce118326d556cc0830f150c5c ChangeLog 268 +MISC metadata.xml 392 RMD160 ffd09293bbbb76e88cfb4754677479a4d89ce9d4 SHA1 4150acf383b5db8b739e18674c0fa82e9be32091 SHA256 5f3b5405e94149e750f7912de7a4924b4ab4fe5745d12603006684cc1b33cf23 +MD5 18c99f8118456d8c3a89e1bd1726e4eb metadata.xml 392 +RMD160 ffd09293bbbb76e88cfb4754677479a4d89ce9d4 metadata.xml 392 +SHA256 5f3b5405e94149e750f7912de7a4924b4ab4fe5745d12603006684cc1b33cf23 metadata.xml 392 +MD5 04588dd118d191eeaa9350f1b93f1ed2 files/digest-IcePy-3.1.0 235 +RMD160 70ca34449bdbf9cf40a823b4e5d60ca07000df2f files/digest-IcePy-3.1.0 235 +SHA256 8ddcd73b5f479e3abf425707c4d5ea973a8895aa3432c792fb2e8a1d639f1438 files/digest-IcePy-3.1.0 235 diff --git a/dev-python/IcePy/files/digest-IcePy-3.1.0 b/dev-python/IcePy/files/digest-IcePy-3.1.0 new file mode 100644 index 000000000000..4a9e0036f668 --- /dev/null +++ b/dev-python/IcePy/files/digest-IcePy-3.1.0 @@ -0,0 +1,3 @@ +MD5 087162a14ade7f9c97e6e782fbf29471 IcePy-3.1.0.tar.gz 391534 +RMD160 d74170a1c002ac407084cdb05e7d7579c300e1e0 IcePy-3.1.0.tar.gz 391534 +SHA256 fe11e1250f6a315fb0ad8c67a533ecab4e9e0b920ee88a3880efd094470194fd IcePy-3.1.0.tar.gz 391534 diff --git a/dev-python/IcePy/files/icepy-3.1.0-makefile.patch b/dev-python/IcePy/files/icepy-3.1.0-makefile.patch new file mode 100644 index 000000000000..7f86129dfa1c --- /dev/null +++ b/dev-python/IcePy/files/icepy-3.1.0-makefile.patch @@ -0,0 +1,66 @@ +--- config/Make.rules.orig 2006-09-11 07:47:26.000000000 -0400 ++++ config/Make.rules 2006-09-11 08:05:29.000000000 -0400 +@@ -16,13 +16,13 @@ + # if it does not exist. + # + +-prefix = /opt/IcePy-$(VERSION) ++prefix = $(DESTDIR)/usr + + # + # When creating an executable, shall we add install_libdir to the + # runpath embedded in this executable? + # +-ADD_LIBDIR_TO_RPATH ?= yes ++#ADD_LIBDIR_TO_RPATH ?= yes + + + # +@@ -106,7 +106,7 @@ + ifeq ($(shell test -d $(top_srcdir)/slice && echo 0),0) + slicedir = $(top_srcdir)/slice + else +- slicedir = $(ICE_HOME)/slice ++ slicedir = $(prefix)/share/icepy-3.1.0/slice + endif + + ifeq ($(LP64),yes) +@@ -116,11 +116,11 @@ + # + install_libdir = $(prefix)/python + else +- install_libdir = $(prefix)/python ++ install_libdir = $(prefix)/lib/$(PYTHON_VERSION)/site-packages + endif + +-install_slicedir = $(prefix)/slice +-install_pythondir = $(prefix)/python ++install_slicedir = $(prefix)/share/icepy-3.1.0/slice ++install_pythondir = $(prefix)/lib/$(PYTHON_VERSION) + + INSTALL = cp -fp + INSTALL_PROGRAM = ${INSTALL} +--- config/Make.rules.orig 2006-09-11 08:15:10.000000000 -0400 ++++ config/Make.rules 2006-09-11 08:15:18.000000000 -0400 +@@ -195,7 +195,7 @@ + endif + + ifeq ($(mkdir),) +- mkdir = mkdir $(1) ; \ ++ mkdir = mkdir -p $(1) ; \ + chmod a+rx $(1) + endif + +--- Makefile.orig 2006-09-11 08:21:20.000000000 -0400 ++++ Makefile 2006-09-11 08:21:44.000000000 -0400 +@@ -69,8 +69,8 @@ + fi + + install:: +- $(call installdata,ICE_LICENSE,$(prefix)) +- $(call installdata,LICENSE,$(prefix)) ++ $(call installdata,ICE_LICENSE,$(install_slicedir)) ++ $(call installdata,LICENSE,$(install_slicedir)) + + test:: + @python $(top_srcdir)/allTests.py diff --git a/dev-python/IcePy/metadata.xml b/dev-python/IcePy/metadata.xml new file mode 100644 index 000000000000..e953282b4ed8 --- /dev/null +++ b/dev-python/IcePy/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>caleb@gentoo.org</email> +<name>Caleb Tennis</name> +</maintainer> +<longdescription lang="en"> +Ice is a C++ middleware technology with bindings for other languages. This is the python binding. +</longdescription> +</pkgmetadata> + |