diff options
Diffstat (limited to 'dev-python/IcePy')
-rw-r--r-- | dev-python/IcePy/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/IcePy/IcePy-3.2.0.ebuild | 50 | ||||
-rw-r--r-- | dev-python/IcePy/Manifest | 20 | ||||
-rw-r--r-- | dev-python/IcePy/files/digest-IcePy-3.2.0 | 3 | ||||
-rw-r--r-- | dev-python/IcePy/files/icepy-3.2.0-makefile.patch | 112 |
5 files changed, 189 insertions, 6 deletions
diff --git a/dev-python/IcePy/ChangeLog b/dev-python/IcePy/ChangeLog index d5ab79423c32..671ab79f89fd 100644 --- a/dev-python/IcePy/ChangeLog +++ b/dev-python/IcePy/ChangeLog @@ -1,6 +1,12 @@ # 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.3 2006/10/30 13:35:25 caleb Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/IcePy/ChangeLog,v 1.4 2007/07/20 19:07:01 caleb Exp $ + +*IcePy-3.2.0 (20 Jul 2007) + + 20 Jul 2007; Caleb Tennis <caleb@gentoo.org> + +files/icepy-3.2.0-makefile.patch, +IcePy-3.2.0.ebuild: + version bump from Sam Jacobson (#185972) 30 Oct 2006; Caleb Tennis <caleb@gentoo.org> IcePy-3.1.0.ebuild, IcePy-3.1.1.ebuild: diff --git a/dev-python/IcePy/IcePy-3.2.0.ebuild b/dev-python/IcePy/IcePy-3.2.0.ebuild new file mode 100644 index 000000000000..355a60ef8a2f --- /dev/null +++ b/dev-python/IcePy/IcePy-3.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/IcePy/IcePy-3.2.0.ebuild,v 1.1 2007/07/20 19:07:01 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.2/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="test debug" + +DEPEND="=dev-cpp/Ice-3.2*" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch ${FILESDIR}/icepy-${PV}-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} + make || die "Died during make" +} + +src_install() { + make DESTDIR="${D}" install || die "Install Failed!" +} + +src_test() { + ICE_HOME=/usr/share/Ice make test || die "Test failed" +} diff --git a/dev-python/IcePy/Manifest b/dev-python/IcePy/Manifest index e9606c0851f7..a9fb38f318a1 100644 --- a/dev-python/IcePy/Manifest +++ b/dev-python/IcePy/Manifest @@ -6,8 +6,13 @@ AUX icepy-3.1.1-makefile.patch 2108 RMD160 ac0302f348ed4108c5f325a9ba65d12d23f5a MD5 ef39b0d2304a9b1a5710a8d668b3d342 files/icepy-3.1.1-makefile.patch 2108 RMD160 ac0302f348ed4108c5f325a9ba65d12d23f5a916 files/icepy-3.1.1-makefile.patch 2108 SHA256 f23258fc841a12b464458abc039e423a2db0597f26ce634cbee74b4a0523da14 files/icepy-3.1.1-makefile.patch 2108 +AUX icepy-3.2.0-makefile.patch 3415 RMD160 7d9b91288e683674a2962cd67c2954a3310b08eb SHA1 5065133e20109bd467fc6fc58721465b9cb66529 SHA256 13698cc682fa0e16b6e677fd7145980be108f82b6ef29d87cc7ad222847ad330 +MD5 d9118c877307f87b3541ca1d07ff5228 files/icepy-3.2.0-makefile.patch 3415 +RMD160 7d9b91288e683674a2962cd67c2954a3310b08eb files/icepy-3.2.0-makefile.patch 3415 +SHA256 13698cc682fa0e16b6e677fd7145980be108f82b6ef29d87cc7ad222847ad330 files/icepy-3.2.0-makefile.patch 3415 DIST IcePy-3.1.0.tar.gz 391534 RMD160 d74170a1c002ac407084cdb05e7d7579c300e1e0 SHA1 454f3194ab7de55859621c715a7dd9f3cb3fbd3c SHA256 fe11e1250f6a315fb0ad8c67a533ecab4e9e0b920ee88a3880efd094470194fd DIST IcePy-3.1.1.tar.gz 399743 RMD160 d0bf996b20bacc563e60766047224e2f55c42b05 SHA1 466de7e1379c5e9fa3bd481d88799ee9c4fced67 SHA256 e0e104f4bfc19d97ed9ab11e34a7365055a6cb9a7f8aa0d95b60bd469285c20b +DIST IcePy-3.2.0.tar.gz 169214 RMD160 e61b0c79c019232099263831239dc0e44190c0b6 SHA1 a5bb889028aa00652232ee86777af5f6b87f89e5 SHA256 236cebc50b27552099fc2c1004baf4b908be04ce402c7a4541a17de115a76bf5 EBUILD IcePy-3.1.0.ebuild 1214 RMD160 a2096854516c18edbe7730f935827ffbba823bf7 SHA1 94c8120b50978443d6f09f8eb61711d2da98cab1 SHA256 5c7d914a8243652703e7d91eff0f9fab877eee6d7e219d4a166b936119f64821 MD5 7d79573923e5a9107202b6b4c6297da3 IcePy-3.1.0.ebuild 1214 RMD160 a2096854516c18edbe7730f935827ffbba823bf7 IcePy-3.1.0.ebuild 1214 @@ -16,10 +21,14 @@ EBUILD IcePy-3.1.1.ebuild 1201 RMD160 6b6f936a113878b57d67167274c913b784813c2d S MD5 6e658d407ef3698e7524007ec011ba90 IcePy-3.1.1.ebuild 1201 RMD160 6b6f936a113878b57d67167274c913b784813c2d IcePy-3.1.1.ebuild 1201 SHA256 8dcaf7d5c17d8679f5f9785ad5e3f95a8b5f0db361074aae13cd328f9388673b IcePy-3.1.1.ebuild 1201 -MISC ChangeLog 615 RMD160 a4b2b07bd0872dd35e45a46c3c003066bd9dec7a SHA1 b4fe2d663f26f1de938dd0150bd76378e1ebe2f2 SHA256 97ecd47159cc3cba55b74fc0e353fe86a88d77cffabd544eee417e50d86c8771 -MD5 455a4fe9314c88fac4984164000fa1bb ChangeLog 615 -RMD160 a4b2b07bd0872dd35e45a46c3c003066bd9dec7a ChangeLog 615 -SHA256 97ecd47159cc3cba55b74fc0e353fe86a88d77cffabd544eee417e50d86c8771 ChangeLog 615 +EBUILD IcePy-3.2.0.ebuild 1151 RMD160 fe858d36818f6f4020593bf68410243d3314f2d3 SHA1 badbf659f13b0616845ee0db19f1580ee334d86f SHA256 e1aa3713db97462b86f42e39428fdc97b58dcb7fc2b12266c48d7fbda0b27520 +MD5 60df1e225f24c918cb854dca39e00604 IcePy-3.2.0.ebuild 1151 +RMD160 fe858d36818f6f4020593bf68410243d3314f2d3 IcePy-3.2.0.ebuild 1151 +SHA256 e1aa3713db97462b86f42e39428fdc97b58dcb7fc2b12266c48d7fbda0b27520 IcePy-3.2.0.ebuild 1151 +MISC ChangeLog 792 RMD160 4579fa6c606a1250c1e65efe635be0df05a7386f SHA1 5d2b94146953dcdb720f929212808e6abe697d47 SHA256 963b8e400f803a736a69747f76b52ca5cec256c1e129ef12b259be1ca00c022a +MD5 cc30902bc7c735a65a57b060302206f8 ChangeLog 792 +RMD160 4579fa6c606a1250c1e65efe635be0df05a7386f ChangeLog 792 +SHA256 963b8e400f803a736a69747f76b52ca5cec256c1e129ef12b259be1ca00c022a ChangeLog 792 MISC metadata.xml 392 RMD160 ffd09293bbbb76e88cfb4754677479a4d89ce9d4 SHA1 4150acf383b5db8b739e18674c0fa82e9be32091 SHA256 5f3b5405e94149e750f7912de7a4924b4ab4fe5745d12603006684cc1b33cf23 MD5 18c99f8118456d8c3a89e1bd1726e4eb metadata.xml 392 RMD160 ffd09293bbbb76e88cfb4754677479a4d89ce9d4 metadata.xml 392 @@ -30,3 +39,6 @@ SHA256 8ddcd73b5f479e3abf425707c4d5ea973a8895aa3432c792fb2e8a1d639f1438 files/di MD5 ef71165038b237188b44e1b12205b281 files/digest-IcePy-3.1.1 235 RMD160 c45f6b71efcd3d965dbf4191a3c53630a47186c2 files/digest-IcePy-3.1.1 235 SHA256 b9e8c9e2c661b9949c396ffd3ad6fa1988bc2dac8a3f452a0415da202a7effbf files/digest-IcePy-3.1.1 235 +MD5 329df734e7b87db85fed0ebb1247cb04 files/digest-IcePy-3.2.0 235 +RMD160 719d75ef1895e5b8684dba7599c7d4cd97ca678a files/digest-IcePy-3.2.0 235 +SHA256 fb7c095df26b5425fff590ffc027db357ac119555cb3915ced8e5db6248f12cc files/digest-IcePy-3.2.0 235 diff --git a/dev-python/IcePy/files/digest-IcePy-3.2.0 b/dev-python/IcePy/files/digest-IcePy-3.2.0 new file mode 100644 index 000000000000..a2c74e03bf9a --- /dev/null +++ b/dev-python/IcePy/files/digest-IcePy-3.2.0 @@ -0,0 +1,3 @@ +MD5 e3ccb5040449c73c5da380b62fefa7cd IcePy-3.2.0.tar.gz 169214 +RMD160 e61b0c79c019232099263831239dc0e44190c0b6 IcePy-3.2.0.tar.gz 169214 +SHA256 236cebc50b27552099fc2c1004baf4b908be04ce402c7a4541a17de115a76bf5 IcePy-3.2.0.tar.gz 169214 diff --git a/dev-python/IcePy/files/icepy-3.2.0-makefile.patch b/dev-python/IcePy/files/icepy-3.2.0-makefile.patch new file mode 100644 index 000000000000..65827e45505e --- /dev/null +++ b/dev-python/IcePy/files/icepy-3.2.0-makefile.patch @@ -0,0 +1,112 @@ +diff -rU5 IcePy-3.2.0-orig/Makefile IcePy-3.2.0/Makefile +--- IcePy-3.2.0-orig/Makefile 2007-03-02 08:11:25.000000000 +1300 ++++ IcePy-3.2.0/Makefile 2007-07-20 22:54:53.000000000 +1200 +@@ -38,10 +38,11 @@ + echo "making $@ in $$subdir"; \ + ( cd $$subdir && $(MAKE) $@ ) || exit 1; \ + done + + install:: +- $(call installdata,ICE_LICENSE,$(prefix)) +- $(call installdata,LICENSE,$(prefix)) ++ mkdir -p $(install_slicedir) ++ $(call installdata,ICE_LICENSE,$(install_slicedir)) ++ $(call installdata,LICENSE,$(install_slicedir)) + + test:: + @python $(top_srcdir)/allTests.py +diff -rU5 IcePy-3.2.0-orig/config/Make.rules IcePy-3.2.0/config/Make.rules +--- IcePy-3.2.0-orig/config/Make.rules 2007-03-02 08:11:25.000000000 +1300 ++++ IcePy-3.2.0/config/Make.rules 2007-07-20 22:46:28.000000000 +1200 +@@ -16,17 +16,17 @@ + # + # Select an installation base directory. The directory will be created + # if it does not exist. + # + +-prefix = /opt/IcePy-$(VERSION) ++prefix = $(DESTDIR)/usr + + # + # The "root directory" for runpath embedded in executables. Can be unset + # to avoid adding a runpath to Ice executables. + # +-embedded_runpath_prefix ?= /opt/Ice-$(VERSION_MAJOR).$(VERSION_MINOR) ++#embedded_runpath_prefix ?= /opt/Ice-$(VERSION_MAJOR).$(VERSION_MINOR) + + # + # Define OPTIMIZE as yes if you want to build with optimization. + # Otherwise the Ice extension is built with debug information. + # +@@ -99,12 +99,12 @@ + VERSION_MINOR = 2 + VERSION = 3.2.0 + SOVERSION = 32 + libdir = $(top_srcdir)/python + +-install_slicedir = $(prefix)/slice +-install_pythondir = $(prefix)/python ++install_slicedir = $(prefix)/share/icepy-$(VERSION)/slice ++install_pythondir = $(prefix)/lib/$(PYTHON_VERSION)/site-packages + + INSTALL = cp -fp + INSTALL_PROGRAM = ${INSTALL} + INSTALL_LIBRARY = ${INSTALL} + INSTALL_DATA = ${INSTALL} +@@ -136,22 +136,22 @@ + endif + + ifneq ($(ICE_HOME),) + slicedir = $(ICE_HOME)/slice + else +- slicedir = /usr/share/Ice-$(VERSION)/slice ++ slicedir = /usr/share/Ice/slice + endif + +-install_libdir = $(prefix)/python ++install_libdir = $(prefix)/lib + +-ifneq ($(embedded_runpath_prefix),) +- ifeq ($(LP64),yes) +- runpath_libdir := $(embedded_runpath_prefix)/lib$(lp64suffix) +- else +- runpath_libdir := $(embedded_runpath_prefix)/lib +- endif +-endif ++#ifneq ($(embedded_runpath_prefix),) ++# ifeq ($(LP64),yes) ++# runpath_libdir := $(embedded_runpath_prefix)/lib$(lp64suffix) ++# else ++# runpath_libdir := $(embedded_runpath_prefix)/lib ++# endif ++#endif + + CPPFLAGS = + ICECPPFLAGS = -I$(slicedir) + SLICE2PYFLAGS = $(ICECPPFLAGS) + +@@ -198,11 +198,11 @@ + installprogram = $(INSTALL_PROGRAM) $(1) $(2); \ + chmod a+rx $(2)/$(notdir $(1)) + endif + + ifeq ($(mkdir),) +- mkdir = mkdir $(1) ; \ ++ mkdir = mkdir -p $(1) ; \ + chmod a+rx $(1) + endif + + # + # A Python extension library cannot have a "lib" prefix, so Python-specific +diff -rU5 IcePy-3.2.0-orig/modules/IcePy/Makefile IcePy-3.2.0/modules/IcePy/Makefile +--- IcePy-3.2.0-orig/modules/IcePy/Makefile 2007-01-09 08:25:09.000000000 +1300 ++++ IcePy-3.2.0/modules/IcePy/Makefile 2007-07-20 23:03:25.000000000 +1200 +@@ -51,7 +51,8 @@ + rm -f $@ + ln -s $(SONAME) $@ + + install:: all + $(call installlib,$(install_libdir),$(libdir),$(LIBFILENAME),$(SONAME),$(LIBNAME)) ++ ln -s $(install_libdir)/$(SONAME) $(install_pythondir)/$(LIBNAME) + + include .depend |