Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2008 07:47:12 GMT
From:      Wen Heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/129160: [Update]devel/py-turbocheetah:update to 1.0
Message-ID:  <200811250747.mAP7lCGw038328@www.freebsd.org>
Resent-Message-ID: <200811250750.mAP7o2XC099337@freefall.freebsd.org>

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

>Number:         129160
>Category:       ports
>Synopsis:       [Update]devel/py-turbocheetah:update to 1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 25 07:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD-8.0 Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Sep 21 18:56:51 HKT 2008     root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
update to 1.0 from 0.9.5
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -curN py-turbocheetah/Makefile py-turbocheetah.new/Makefile
--- py-turbocheetah/Makefile	2008-01-28 00:56:45.000000000 +0800
+++ py-turbocheetah.new/Makefile	2008-11-25 20:51:26.000000000 +0800
@@ -6,42 +6,19 @@
 #
 
 PORTNAME=	TurboCheetah
-PORTVERSION=	0.9.5
+PORTVERSION=	1.0
 CATEGORIES=	devel python
-MASTER_SITES=	http://files.turbogears.org/eggs/ \
+MASTER_SITES=	CHEESESHOP \
+		http://files.turbogears.org/eggs/ \
 		http://nivi.interfree.it/distfiles/${PORTNAME}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	${PYTURBOCHEETAH_EGG}
-EXTRACT_SUFX=
 
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	TurboGears plugin to support use of Cheetah templates
 
-BUILD_DEPENDS=	easy_install:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS=	${BUILD_DEPENDS}
-RUN_DEPENDS+=	cheetah:${PORTSDIR}/devel/py-cheetah
+#RUN_DEPENDS=	cheetah:${PORTSDIR}/devel/py-cheetah
 
-USE_PYTHON=	2.4
-
-BROKEN=		does not install
-
-NO_BUILD=	yes
-
-SUB_FILES+=	pkg-deinstall pkg-install
-SUB_LIST+=	PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
-		EGG="${PORTNAME}==${PORTVERSION}"
-
-EASY_INSTALL=	${LOCALBASE}/bin/easy_install
-EASY_INSTALL_ARGS=	-b ${WRKSRC} -N -d ${PYTHON_SITELIBDIR} -s ${PREFIX}/bin
-
-DATADIR=	${PYTHON_SITELIBDIR}/${PYTURBOCHEETAH_EGG}
-
-PYTURBOCHEETAH_EGG=	${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
-
-do-extract:
-	@${MKDIR} ${WRKSRC}
-
-do-install:
-	${EASY_INSTALL} ${EASY_INSTALL_ARGS} ${DISTDIR}/${DISTFILES}
+USE_PYTHON=		2.4+
+USE_PYDISTUTILS=	easy_install
 
 .include <bsd.port.mk>
diff -curN py-turbocheetah/distinfo py-turbocheetah.new/distinfo
--- py-turbocheetah/distinfo	2007-01-21 22:15:38.000000000 +0800
+++ py-turbocheetah.new/distinfo	2008-11-25 20:51:26.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (TurboCheetah-0.9.5-py2.4.egg) = 68616454b994f1f87b1bd5b0689a0f4d
-SHA256 (TurboCheetah-0.9.5-py2.4.egg) = 289f8b3b2d5f11ce2cf63d3ccbce7646e5176830dfed396a3ad0872e839d412e
-SIZE (TurboCheetah-0.9.5-py2.4.egg) = 7492
+MD5 (TurboCheetah-1.0.tar.gz) = daf99f38f6696ac64b7df8ac2e003a03
+SHA256 (TurboCheetah-1.0.tar.gz) = 9e4c7ecb0d061bfb58281363ee1b09337083f013a8b4d0355326a5d8668f450c
+SIZE (TurboCheetah-1.0.tar.gz) = 4335
diff -curN py-turbocheetah/files/pkg-deinstall.in py-turbocheetah.new/files/pkg-deinstall.in
--- py-turbocheetah/files/pkg-deinstall.in	2007-01-21 22:15:38.000000000 +0800
+++ py-turbocheetah.new/files/pkg-deinstall.in	1970-01-01 08:00:00.000000000 +0800
@@ -1,17 +0,0 @@
-#!/bin/sh
-# $FreeBSD: ports/devel/py-turbocheetah/files/pkg-deinstall.in,v 1.1 2007/01/21 14:15:38 nivit Exp $
-PKGNAME=$1
-#
-case $2 in
-    DEINSTALL)
-	easy_install -q -N -m -x -S %%PYTHON_SITELIBDIR%% %%EGG%%
-	;;
-    POST-DEINSTALL)
-	exit 0
-	;;
-    *)
-	echo "Unexpected Argument $2!!!"
-	exit 1
-	;;
-esac
-exit 0
diff -curN py-turbocheetah/files/pkg-install.in py-turbocheetah.new/files/pkg-install.in
--- py-turbocheetah/files/pkg-install.in	2007-01-21 22:15:38.000000000 +0800
+++ py-turbocheetah.new/files/pkg-install.in	1970-01-01 08:00:00.000000000 +0800
@@ -1,16 +0,0 @@
-#!/bin/sh
-# $FreeBSD: ports/devel/py-turbocheetah/files/pkg-install.in,v 1.1 2007/01/21 14:15:38 nivit Exp $
-PKGNAME=$1
-#
-case $2 in
-    POST-INSTALL)
-	easy_install -q -N -S %%PYTHON_SITELIBDIR%% %%EGG%%
-	;;
-    PRE-INSTALL)
-	;;
-    *)
-	echo "Unexpected Argument $2!!!"
-	exit 1
-	;;
-esac
-exit 0
diff -curN py-turbocheetah/pkg-plist py-turbocheetah.new/pkg-plist
--- py-turbocheetah/pkg-plist	2007-01-21 22:15:38.000000000 +0800
+++ py-turbocheetah.new/pkg-plist	2008-11-25 20:51:26.000000000 +0800
@@ -1,19 +1,16 @@
-@comment $FreeBSD: ports/devel/py-turbocheetah/pkg-plist,v 1.1 2007/01/21 14:15:38 nivit Exp $
-%%DATADIR%%/EGG-INFO/PKG-INFO
-%%DATADIR%%/EGG-INFO/SOURCES.txt
-%%DATADIR%%/EGG-INFO/entry_points.txt
-%%DATADIR%%/EGG-INFO/not-zip-safe
-%%DATADIR%%/EGG-INFO/requires.txt
-%%DATADIR%%/EGG-INFO/top_level.txt
-%%DATADIR%%/turbocheetah/__init__.py
-%%DATADIR%%/turbocheetah/__init__.pyc
-%%DATADIR%%/turbocheetah/cheetahsupport.py
-%%DATADIR%%/turbocheetah/cheetahsupport.pyc
-%%DATADIR%%/turbocheetah/tests/__init__.py
-%%DATADIR%%/turbocheetah/tests/__init__.pyc
-%%DATADIR%%/turbocheetah/tests/test_template.py
-%%DATADIR%%/turbocheetah/tests/test_template.pyc
-@dirrm %%DATADIR%%/turbocheetah/tests
-@dirrm %%DATADIR%%/turbocheetah
-@dirrm %%DATADIR%%/EGG-INFO
-@dirrm %%DATADIR%%
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbocheetah/cheetahsupport.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbocheetah/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbocheetah/cheetahsupport.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbocheetah/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbocheetah/cheetahsupport.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbocheetah/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/turbocheetah
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%


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



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