Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 18:40:49 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333423 - in head/www/py-w3lib: . files
Message-ID:  <201311101840.rAAIenM8088463@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sun Nov 10 18:40:48 2013
New Revision: 333423
URL: http://svnweb.freebsd.org/changeset/ports/333423

Log:
  - update to 1.5
  - convert to setuptools (following upstream change)
  - update python version (works with 3.x via py-six)
  - add staging
  - use PYDISTUTILS_AUTOPLIST

Added:
  head/www/py-w3lib/files/
  head/www/py-w3lib/files/patch-setup.py   (contents, props changed)
Deleted:
  head/www/py-w3lib/pkg-plist
Modified:
  head/www/py-w3lib/Makefile
  head/www/py-w3lib/distinfo   (contents, props changed)
  head/www/py-w3lib/pkg-descr   (contents, props changed)

Modified: head/www/py-w3lib/Makefile
==============================================================================
--- head/www/py-w3lib/Makefile	Sun Nov 10 18:16:15 2013	(r333422)
+++ head/www/py-w3lib/Makefile	Sun Nov 10 18:40:48 2013	(r333423)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	w3lib
-PORTVERSION=	1.3
+PORTVERSION=	1.5
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +11,10 @@ COMMENT=	Library of web-related function
 
 LICENSE=	BSD
 
-USE_PYTHON=	-2.7
-USE_PYDISTUTILS=yes
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
+
+USE_PYTHON=	yes
+USE_PYDISTUTILS=easy_install
+PYDISTUTILS_AUTOPLIST=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/www/py-w3lib/distinfo
==============================================================================
--- head/www/py-w3lib/distinfo	Sun Nov 10 18:16:15 2013	(r333422)
+++ head/www/py-w3lib/distinfo	Sun Nov 10 18:40:48 2013	(r333423)
@@ -1,2 +1,2 @@
-SHA256 (w3lib-1.3.tar.gz) = d3a02099256646971dd52fbd0cb9c705e945373c69d5b5722b2d840db83aeeec
-SIZE (w3lib-1.3.tar.gz) = 8535
+SHA256 (w3lib-1.5.tar.gz) = f611f0a21327aa93af09ef45c04fa87849b697e60157c1fc24bbb90796d290a6
+SIZE (w3lib-1.5.tar.gz) = 9416

Added: head/www/py-w3lib/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-w3lib/files/patch-setup.py	Sun Nov 10 18:40:48 2013	(r333423)
@@ -0,0 +1,8 @@
+--- ./setup.py.orig	2013-11-09 12:00:10.000000000 +0400
++++ ./setup.py	2013-11-10 22:16:19.000000000 +0400
+@@ -24,4 +24,5 @@
+         'Topic :: Internet :: WWW/HTTP',
+     ],
+     install_requires=['six >= 1.4.1'],
++    zip_safe = False,
+ )

Modified: head/www/py-w3lib/pkg-descr
==============================================================================
--- head/www/py-w3lib/pkg-descr	Sun Nov 10 18:16:15 2013	(r333422)
+++ head/www/py-w3lib/pkg-descr	Sun Nov 10 18:40:48 2013	(r333423)
@@ -11,4 +11,4 @@ This is a Python library of web-related 
   - sanitize urls (like browsers do)
   - extract arguments from urls
 
-WWW: http://github.com/scrapy/w3lib
+WWW: http://github.com/scrapy/w3lib/



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