mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
- 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
This commit is contained in:
parent
0714e2fdcc
commit
1ca7aab9be
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333423
5 changed files with 17 additions and 29 deletions
|
@ -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 functions
|
|||
|
||||
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>
|
||||
|
|
|
@ -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
|
||||
|
|
8
www/py-w3lib/files/patch-setup.py
Normal file
8
www/py-w3lib/files/patch-setup.py
Normal file
|
@ -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,
|
||||
)
|
|
@ -11,4 +11,4 @@ This is a Python library of web-related functions, such as:
|
|||
- sanitize urls (like browsers do)
|
||||
- extract arguments from urls
|
||||
|
||||
WWW: http://github.com/scrapy/w3lib
|
||||
WWW: http://github.com/scrapy/w3lib/
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
%%PYTHON_SITELIBDIR%%/w3lib/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/encoding.py
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/encoding.pyc
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/encoding.pyo
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/form.py
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/form.pyc
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/form.pyo
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/html.py
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/html.pyc
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/html.pyo
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/http.py
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/http.pyc
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/http.pyo
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/url.py
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/url.pyc
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/url.pyo
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/util.py
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/util.pyc
|
||||
%%PYTHON_SITELIBDIR%%/w3lib/util.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/w3lib
|
Loading…
Add table
Reference in a new issue