Bug 174320 - www/py-flexget: remove bogus setuptools dependency
www/py-flexget: remove bogus setuptools dependency
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: lioux
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-10 08:10 UTC by Ruslan Makhmatkhanov
Modified: 2012-12-26 09:18 UTC (History)
0 users

See Also:


Attachments
file.diff (1.95 KB, patch)
2012-12-10 08:10 UTC, Ruslan Makhmatkhanov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan Makhmatkhanov freebsd_committer 2012-12-10 08:10:00 UTC
- 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

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2012-12-10 08:10:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lioux

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2012-12-26 09:05:46 UTC
Author: rm
Date: Wed Dec 26 09:05:28 2012
New Revision: 309501
URL: http://svnweb.freebsd.org/changeset/ports/309501

Log:
  - 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
  
  PR:		174320
  Submitted by:	rm (myself)
  Approved by:	maintainer timeout (2 weeks)

Modified:
  head/www/py-flexget/Makefile
  head/www/py-flexget/pkg-descr

Modified: head/www/py-flexget/Makefile
==============================================================================
--- head/www/py-flexget/Makefile	Wed Dec 26 08:43:25 2012	(r309500)
+++ head/www/py-flexget/Makefile	Wed Dec 26 09:05:28 2012	(r309501)
@@ -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 @@ COMMENT=	Program to automate downloading
 
 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 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqla
 		${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

Modified: head/www/py-flexget/pkg-descr
==============================================================================
--- head/www/py-flexget/pkg-descr	Wed Dec 26 08:43:25 2012	(r309500)
+++ head/www/py-flexget/pkg-descr	Wed Dec 26 09:05:28 2012	(r309501)
@@ -12,5 +12,5 @@ support.
 For example, it works with the following applications:
 - BitTorrent: rTorrent, uTorrent, Transmission and Deluge
 - Usenet: nzbget, sabnzb and hellanzb
- 
+
 WWW: http://flexget.com/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Ruslan Makhmatkhanov freebsd_committer 2012-12-26 09:18:08 UTC
State Changed
From-To: open->closed

Committed, thank you!