From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 22 08:30:16 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6953016A429 for ; Wed, 22 Mar 2006 08:30:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9153943D55 for ; Wed, 22 Mar 2006 08:30:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2M8UEfa077844 for ; Wed, 22 Mar 2006 08:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2M8UEbb077843; Wed, 22 Mar 2006 08:30:14 GMT (envelope-from gnats) Resent-Date: Wed, 22 Mar 2006 08:30:14 GMT Resent-Message-Id: <200603220830.k2M8UEbb077843@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dryice Liu Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FAA816A41F for ; Wed, 22 Mar 2006 08:20:25 +0000 (UTC) (envelope-from ddliu@readonline.info) Received: from readonline.info (readonline.info [221.0.230.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id E745543D46 for ; Wed, 22 Mar 2006 08:20:22 +0000 (GMT) (envelope-from ddliu@readonline.info) Received: from [127.0.0.1] (helo=readonline.info) by readonline.info with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FLyZp-0002Ah-Oi for FreeBSD-gnats-submit@freebsd.org; Wed, 22 Mar 2006 16:20:21 +0800 Received: (from ddliu@localhost) by readonline.info (8.13.4/8.13.4/Submit) id k2M8JoBm008350; Wed, 22 Mar 2006 16:19:50 +0800 (CST) (envelope-from ddliu) Message-Id: <200603220819.k2M8JoBm008350@readonline.info> Date: Wed, 22 Mar 2006 16:19:50 +0800 (CST) From: Dryice Liu To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/94825: [maintainer] textproc/py-feedparser: utilize cjkcodecs if python < 2.4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dryice Liu List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 08:30:16 -0000 >Number: 94825 >Category: ports >Synopsis: [maintainer] textproc/py-feedparser: utilize cjkcodecs if python < 2.4 >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: Wed Mar 22 08:30:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dryice Liu >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD dryice.3322.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Dec 1 15:59:44 CST 2005 >Description: Conditional depends on converters/py-cjkcodecs if python version is less than 2.4 >How-To-Repeat: >Fix: --- attached file begins here --- diff -ruN py-feedparser.old/Makefile py-feedparser/Makefile --- py-feedparser.old/Makefile Thu Mar 16 02:21:25 2006 +++ py-feedparser/Makefile Wed Mar 22 16:16:52 2006 @@ -18,13 +18,19 @@ MAINTAINER= dryice@dryice.name COMMENT= An RSS feed parser written in Python -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet - WRKSRC= ${WRKDIR} USE_PYTHON= 2.1+ USE_ZIP= yes USE_PYDISTUTILS= yes +.include + +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet + +.if defined(PYTHON_REL) && ${PYTHON_REL} < 240 +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/cjkcodecs/__init__.py:${PORTSDIR}/converters/py-cjkcodecs +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @@ -39,4 +45,4 @@ .endfor .endif -.include +.include --- attached file ends here --- >Release-Note: >Audit-Trail: >Unformatted: