Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 08:05:52 GMT
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174320: www/py-flexget: remove bogus setuptools dependency
Message-ID:  <201212100805.qBA85qMw056771@red.freebsd.org>
Resent-Message-ID: <201212100810.qBA8A0mW053247@freefall.freebsd.org>

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

>Number:         174320
>Category:       ports
>Synopsis:       www/py-flexget: remove bogus setuptools dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 10 08:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Makhmatkhanov
>Release:        10.0-CURRENT
>Organization:
>Environment:
10.0-CURRENT amd64
>Description:
- remove bogus setuptools dependency. This port actually using
  bundled ``paver'' build tool, that's initiated by distutils's setup.py.
- bump PORTREVISION because of dependency change
- trim Makefile header
- try to avoid PYTHON_SITELIBDIR in *_DEPENDS
- limit python version to 2.x only per official docs
- use ``yes'' in USE_PYDISTUTILS
- whitespace fix in pkg-descr

buildlog:
http://people.freebsd.org/~rm/py27-flexget-1.0r2315_2.log
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 308590)
+++ Makefile	(working copy)
@@ -1,13 +1,9 @@
-# New ports collection makefile for:	flexget
-# Date created:		Fri Mar  5 04:02:22 UTC 2010
-# Whom:			Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
-#
+# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	flexget
 PORTVERSION=	1.0r2315
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www python
 MASTER_SITES=	http://download.flexget.com/unstable/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,10 +14,9 @@
 
 LICENSE=	MIT
 
-BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:${PORTSDIR}/devel/py-setuptools \
-		${PYTHON_PKGNAMEPREFIX}nose>=0.11:${PORTSDIR}/devel/py-nose
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0.11:${PORTSDIR}/devel/py-nose
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0.7:${PORTSDIR}/databases/py-sqlalchemy \
-		${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml \
+		${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=0.11:${PORTSDIR}/devel/py-Jinja2 \
 		${PYTHON_PKGNAMEPREFIX}pygooglechart>=0:${PORTSDIR}/graphics/py-pygooglechart \
 		${PYTHON_PKGNAMEPREFIX}progressbar>=0:${PORTSDIR}/misc/py-progressbar \
@@ -34,8 +29,8 @@
 		${PYTHON_PKGNAMEPREFIX}html5lib>=0.11:${PORTSDIR}/www/py-html5lib \
 		${PYTHON_PKGNAMEPREFIX}nose>=0.11:${PORTSDIR}/devel/py-nose
 
-USE_PYTHON=	2.5+
-USE_PYDISTUTILS=	all
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	FlexGet
 PYDISTUTILS_PKGVERSION=	${PORTVERSION:C/r.*//}
 PYDISTUTILS_NOEGGINFO=	yes
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 308590)
+++ pkg-descr	(working copy)
@@ -12,5 +12,5 @@
 For example, it works with the following applications:
 - BitTorrent: rTorrent, uTorrent, Transmission and Deluge
 - Usenet: nzbget, sabnzb and hellanzb
- 
+
 WWW: http://flexget.com/


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



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