Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2008 16:35:46 GMT
From:      Dirk Ye <dirk.yes@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/126197: update devel/py-ice to 3.3.0
Message-ID:  <200808021635.m72GZkXJ052412@www.freebsd.org>
Resent-Message-ID: <200808021640.m72Ge0Es085719@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         126197
>Category:       ports
>Synopsis:       update devel/py-ice to 3.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 02 16:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Ye
>Release:        FreeBSD 7.0-RELEASE-p2 amd64
>Organization:
N/A
>Environment:
FreeBSD cvsup.dirk.sh 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #8: Wed Jul  2 08:24:59 CST 2008     root@cvsup.dirk.sh:/usr/obj/usr/src/sys/REDNORA  amd64
>Description:
update for py-ice from 3.2.1 to 3.3.0

The updates dependent port ice and php5-ice should be updated at once because they only build when all have the same version.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-ice
#	py-ice/files
#	py-ice/files/patch-py+python+Makefile
#	py-ice/files/patch-py+config+Make.rules
#	py-ice/files/patch-cpp+config+Make.rules.FreeBSD
#	py-ice/Makefile
#	py-ice/distinfo
#	py-ice/pkg-descr
#	py-ice/pkg-plist
#
echo c - py-ice
mkdir -p py-ice > /dev/null 2>&1
echo c - py-ice/files
mkdir -p py-ice/files > /dev/null 2>&1
echo x - py-ice/files/patch-py+python+Makefile
sed 's/^X//' >py-ice/files/patch-py+python+Makefile << 'END-of-py-ice/files/patch-py+python+Makefile'
X--- py/python/Makefile.orig	2008-08-01 16:33:15.000000000 +0800
X+++ py/python/Makefile	2008-08-01 16:33:45.000000000 +0800
X@@ -230,7 +230,8 @@
X 	$(INSTALL_DATA) *.py $(install_pythondir)
X 	@for i in $(PACKAGES) ; \
X 	do \
X-	    $(INSTALL_DATA) -r $$i $(install_pythondir) ; \
X+	    $(INSTALL_DATA) -d $(install_pythondir)/$$i ; \
X+	    $(INSTALL_DATA) $$i/*.py $(install_pythondir)/$$i ; \
X 	done
X 
X clean::
END-of-py-ice/files/patch-py+python+Makefile
echo x - py-ice/files/patch-py+config+Make.rules
sed 's/^X//' >py-ice/files/patch-py+config+Make.rules << 'END-of-py-ice/files/patch-py+config+Make.rules'
X--- py/config/Make.rules.orig	2008-05-17 01:24:03.000000000 +0800
X+++ py/config/Make.rules	2008-08-02 09:05:42.000000000 +0800
X@@ -12,7 +12,9 @@
X # if it does not exist.
X #
X 
X-prefix			?= /opt/Ice-$(VERSION)
X+ICE_HOME		= %%LOCALBASE%%
X+
X+prefix			?= %%PREFIX%%
X 
X #
X # The "root directory" for runpath embedded in executables. Can be unset
X@@ -63,13 +65,13 @@
X     # version used for building the Ice extension, then set PYTHON_VERSION
X     # to "python2.3" or "python2.4".
X     #
X-    PYTHON_VERSION	?= $(word 1,$(notdir $(wildcard /usr/include/python2.[345]*)))
X+    PYTHON_VERSION	?= $(word 1,$(notdir $(wildcard %%LOCALBASE%%/include/python2.[345]*)))
X     ifeq ($(PYTHON_VERSION),)
X       python_darwin_home = /System/Library/Frameworks/Python.framework/Versions/Current
X       PYTHON_VERSION 	= $(word 1,$(notdir $(wildcard $(python_darwin_home)/include/python2.[345]*)))
X     endif
X-    PYTHON_INCLUDE_DIR	= /usr/include/$(PYTHON_VERSION)
X-    PYTHON_LIB_DIR	= /usr/lib/$(PYTHON_VERSION)/config
X+    PYTHON_INCLUDE_DIR	= %%LOCALBASE%%/include/$(PYTHON_VERSION)
X+    PYTHON_LIB_DIR	= %%LOCALBASE%%/lib/$(PYTHON_VERSION)/config
X endif
X 
X ifeq ($(PYTHON_VERSION),)
X@@ -102,8 +104,8 @@
X endif
X 
X libdir			= $(top_srcdir)/python
X-install_pythondir	= $(prefix)/python
X-install_libdir		= $(prefix)/python
X+install_pythondir	= %%PYTHON_SITELIBDIR%%/Ice
X+install_libdir		= %%PYTHON_SITELIBDIR%%/Ice
X 
X #
X # Platform specific definitions
X@@ -128,7 +130,7 @@
X     ICE_LIB_DIR = -L$(ice_dir)/$(libsubdir)
X     ICE_FLAGS	= -I$(ice_dir)/include
X endif
X-ICE_LIBS = $(ICE_LIB_DIR) -lIce -lSlice -lIceUtil
X+ICE_LIBS = $(ICE_LIB_DIR) -lIce -lSlice -lIceUtil -liconv
X 
X ifneq ($(embedded_runpath_prefix),)
X    runpath_libdir	:= $(embedded_runpath_prefix)/$(libsubdir)
END-of-py-ice/files/patch-py+config+Make.rules
echo x - py-ice/files/patch-cpp+config+Make.rules.FreeBSD
sed 's/^X//' >py-ice/files/patch-cpp+config+Make.rules.FreeBSD << 'END-of-py-ice/files/patch-cpp+config+Make.rules.FreeBSD'
X--- cpp/config/Make.rules.FreeBSD.orig	2008-08-02 08:12:53.000000000 +0800
X+++ cpp/config/Make.rules.FreeBSD	2008-08-02 08:14:46.000000000 +0800
X@@ -27,7 +27,7 @@
X endif
X 
X ifeq ($(OPTIMIZE),yes)
X-    CXXFLAGS		+= -O3 -DNDEBUG
X+    CXXFLAGS		+= -O2 -DNDEBUG
X else
X     CXXFLAGS		+= -g
X endif
X@@ -37,15 +37,15 @@
X #
X CXXLIBS			=
X 
X-mkshlib			= $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4) -lc_r
X+mkshlib			= $(CXX) -shared $(LDFLAGS) -o $(1) -Wl,-h,$(2) $(3) $(4)
X 
X mklib			= ar cr $(1) $(2)
X 
X-BASELIBS		= -lIceUtil -lc_r
X+BASELIBS		= -lIceUtil %%PTHREAD_LIBS%% -L$(LOCALBASE)/lib -liconv
X LIBS			= -lIce $(BASELIBS)
X 
X-ICEUTIL_OS_LIBS		= 
X-ICE_OS_LIBS		= 
X+ICEUTIL_OS_LIBS		= %%PTHREAD_LIBS%% 
X+ICE_OS_LIBS		=
X 
X PLATFORM_HAS_READLINE	= yes
X 
END-of-py-ice/files/patch-cpp+config+Make.rules.FreeBSD
echo x - py-ice/Makefile
sed 's/^X//' >py-ice/Makefile << 'END-of-py-ice/Makefile'
X# New ports collection makefile for:	py-ice
X# Date created:				2005-08-30
X# Whom:					Boris B. Samorodov <bsam@ipt.ru>
X#
X# $FreeBSD: ports/devel/py-ice/Makefile,v 1.8 2007/12/12 20:57:40 delphij Exp $
X#
X
XPORTNAME=	Ice
XPORTVERSION=	3.3.0
XCATEGORIES=	devel python
XMASTER_SITES=	http://www.zeroc.com/download/Ice/3.3/ \
X		http://www.dirk.sh/dirk/Ice/
XPKGNAMEPREFIX=	py-
XDISTNAME=	Ice-${PORTVERSION}
X
XMAINTAINER=	dirk.ye@gmail.com
XCOMMENT=	An Ice (Internet Communications Engine) language mapping for Python
X
XLIB_DEPENDS=	Ice.${LIB_VRS}:${PORTSDIR}/devel/ice
X
XUSE_GMAKE=	yes
XUSE_PYTHON=	yes
XBUILD_WRKSRC=	${WRKSRC}/py
XINSTALL_WRKSRC=	${WRKSRC}/py
X
XLIB_VRS=	${PORTVERSION:S|.||g:C|0$||}
XPLIST_SUB=	LIB_VERSION="${PORTVERSION}" LIB_VRS="${LIB_VRS}"
X
XCFLAGS+=	-ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT ${PTHREAD_CFLAGS}
X.if defined(DEBUG)
XCFLAGS+=	-g
X.else
XCFLAGS+=	-DNDEBUG
X.endif
X
X.include <bsd.port.pre.mk>
X.if ${ARCH} == "ia64"
XBROKEN=		does not compile on ia64
X.endif
X
X.if ((${ARCH} != i386) && (${ARCH} != powerpc))
XMAKE_ENV=	LP64=yes
X.endif
X
X.if defined(NOPORTDOCS)
XMAKE_ENV+=	NOPORTDOCS=yes
X.endif
X
Xpost-patch:
X	${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \
X		s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \
X		s|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g; \
X		s|%%PREFIX%%|${PREFIX}|g ; \
X		s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/py/config/Make.rules
X
Xpost-install:
X	${ECHO} "Ice" > ${PYTHON_SITELIBDIR}/Ice.pth
X
X.include <bsd.port.post.mk>
END-of-py-ice/Makefile
echo x - py-ice/distinfo
sed 's/^X//' >py-ice/distinfo << 'END-of-py-ice/distinfo'
XMD5 (Ice-3.3.0.tar.gz) = 0500306d9cdbc0fbb553fbb529de557a
XSHA256 (Ice-3.3.0.tar.gz) = 73330e29799d08605d51b9fc148fdc11eb01b6c55b7e4bf4dcb8fafd98ba7749
XSIZE (Ice-3.3.0.tar.gz) = 4260675
END-of-py-ice/distinfo
echo x - py-ice/pkg-descr
sed 's/^X//' >py-ice/pkg-descr << 'END-of-py-ice/pkg-descr'
XPython and Ice have much in common: they both are suited for a wide variety
Xof tasks, excel at application integration, and are easy for developers
Xto use. An Ice language mapping for Python is a recent and welcome addition
Xto the Ice product portfolio, enabling developers to take advantage
Xof the productivity offered by Python's friendly syntax and extensive
Xfunction library.
X
XThis Ice distribution is released under the GNU General Public License (GPL).
X
XWWW: http://www.zeroc.com/
X
X- Boris B. Samorodov
Xbsam@ipt.ru
END-of-py-ice/pkg-descr
echo x - py-ice/pkg-plist
sed 's/^X//' >py-ice/pkg-plist << 'END-of-py-ice/pkg-plist'
X%%PYTHON_SITELIBDIR%%/Ice/Glacier2
X%%PYTHON_SITELIBDIR%%/Ice/Glacier2_PermissionsVerifierF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Glacier2_PermissionsVerifier_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Glacier2_RouterF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Glacier2_Router_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Glacier2_SSLInfo_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Glacier2_SessionF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Glacier2_Session_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceBox
X%%PYTHON_SITELIBDIR%%/Ice/IceBox_IceBox_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid_Admin_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid_Descriptor_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid_Exception_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid_FileParser_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid_Locator_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid_Observer_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid_Query_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid_Registry_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid_Session_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceGrid_UserAccountMapper_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IcePatch2
X%%PYTHON_SITELIBDIR%%/Ice/IcePatch2_FileInfo_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IcePatch2_FileServer_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IceStorm
X%%PYTHON_SITELIBDIR%%/Ice/IceStorm_IceStorm_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_BuiltinSequences_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_CommunicatorF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Communicator_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_ConnectionF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Connection_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Current_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Endpoint_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_FacetMap_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Identity_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_ImplicitContextF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_ImplicitContext_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_LocalException_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_LocatorF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Locator_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_LoggerF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Logger_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_ObjectAdapterF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_ObjectAdapter_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_ObjectFactoryF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_ObjectFactory_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_PluginF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Plugin_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_ProcessF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Process_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_PropertiesF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Properties_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_RouterF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Router_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_ServantLocatorF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_ServantLocator_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_SliceChecksumDict_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_StatsF_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/Ice_Stats_ice.py
X%%PYTHON_SITELIBDIR%%/Ice/IcePy.so
X%%PYTHON_SITELIBDIR%%/Ice/IcePy.so.%%LIB_VERSION%%
X%%PYTHON_SITELIBDIR%%/Ice/IcePy.so.%%LIB_VRS%%
X%%PYTHON_SITELIBDIR%%/Ice.pth
X@dirrm %%PYTHON_SITELIBDIR%%/Ice
END-of-py-ice/pkg-plist
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808021635.m72GZkXJ052412>