Re: update www/py-requests [hass: #5]

2018-01-19 Thread Alexandr Shadchin
Thanks for update.

ok shadchin@

On Wed, Jan 17, 2018 at 2:05 AM, Joerg Jung  wrote:

> Hi,
>
> please find attached an update for www/py-requests.
> This update moves prior included dependencies into RUN_REPENDS and is
> needed for the upcoming homeassistant port.
>
> OK?
>
> Regards,
> Joerg
>
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/py-requests/Makefile,v
> retrieving revision 1.25
> diff -u -p -r1.25 Makefile
> --- Makefile11 May 2017 19:10:51 -  1.25
> +++ Makefile16 Jan 2018 21:04:23 -
> @@ -2,7 +2,7 @@
>
>  COMMENT=   elegant and simple HTTP library for Python
>
> -MODPY_EGG_VERSION= 2.14.2
> +MODPY_EGG_VERSION= 2.18.4
>  PKGNAME=   py-requests-${MODPY_EGG_VERSION}
>
>  GH_ACCOUNT=kennethreitz
> @@ -20,9 +20,16 @@ PERMIT_PACKAGE_CDROM=Yes
>
>  MODULES=   lang/python
>
> -TEST_DEPENDS=  devel/py-test${MODPY_FLAVOR} \
> +RUN_DEPENDS=   devel/py-certifi${MODPY_FLAVOR} \
> +   net/py-idna${MODPY_FLAVOR} \
> +   textproc/py-chardet${MODPY_FLAVOR} \
> +   www/py-urllib3${MODPY_FLAVOR}
> +TEST_DEPENDS=  ${RUN_DEPENDS} \
> +   devel/py-test${MODPY_FLAVOR} \
> +   devel/py-test-cov${MODPY_FLAVOR} \
> devel/py-test-mock${MODPY_FLAVOR} \
> devel/py-test-httpbin${MODPY_FLAVOR} \
> +   devel/py-test-xdist${MODPY_FLAVOR} \
> net/py-socks${MODPY_FLAVOR}
>
>  FLAVORS=   python3
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/py-requests/distinfo,v
> retrieving revision 1.19
> diff -u -p -r1.19 distinfo
> --- distinfo11 May 2017 19:10:51 -  1.19
> +++ distinfo16 Jan 2018 21:04:23 -
> @@ -1,2 +1,2 @@
> -SHA256 (requests-2.14.2.tar.gz) = E0wxU6qR8mlcLeLqOqxKaCGJQcJO1w
> YbRTz/jU8MB0M=
> -SIZE (requests-2.14.2.tar.gz) = 3470473
> +SHA256 (requests-2.18.4.tar.gz) = sGjMzjtzminL9yFIsP9L49gBmPt829
> YwZvc4S7Vu+Rc=
> +SIZE (requests-2.18.4.tar.gz) = 3040025
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/www/py-requests/pkg/PLIST,v
> retrieving revision 1.11
> diff -u -p -r1.11 PLIST
> --- pkg/PLIST   11 May 2017 19:10:51 -  1.11
> +++ pkg/PLIST   16 Jan 2018 21:04:23 -
> @@ -10,6 +10,7 @@ lib/python${MODPY_VERSION}/site-packages
>  lib/python${MODPY_VERSION}/site-packages/requests/__init__.py
>  ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/
> requests/${MODPY_PYCACHE}/
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}__version__.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}_internal_utils.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}adapters.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
> @@ -18,12 +19,15 @@ lib/python${MODPY_VERSION}/site-packages
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}cookies.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}help.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}hooks.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}models.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}packages.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}sessions.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}status_codes.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}structures.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/requests/${
> MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/requests/__version__.py
>  lib/python${MODPY_VERSION}/site-packages/requests/_internal_utils.py
>  lib/python${MODPY_VERSION}/site-packages/requests/adapters.py
>  lib/python${MODPY_VERSION}/site-packages/requests/api.py
> @@ -33,200 +37,10 @@ lib/python${MODPY_VERSION}/site-packages
>  lib/python${MODPY_VERSION}/site-packages/requests/compat.py
>  lib/python${MODPY_VERSION}/site-packages/requests/cookies.py
>  lib/python$

Re: update www/py-requests [hass: #5]

2018-01-17 Thread Remi Locherer
On Wed, Jan 17, 2018 at 12:05:01AM +0100, Joerg Jung wrote:
> Hi,
> 
> please find attached an update for www/py-requests.
> This update moves prior included dependencies into RUN_REPENDS and is
> needed for the upcoming homeassistant port.
> 
> OK?

looks good to me. vdirsyncer runs fine with the updated py3-requsts.

OK remi@

> Regards,
> Joerg
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/py-requests/Makefile,v
> retrieving revision 1.25
> diff -u -p -r1.25 Makefile
> --- Makefile  11 May 2017 19:10:51 -  1.25
> +++ Makefile  16 Jan 2018 21:04:23 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= elegant and simple HTTP library for Python
>  
> -MODPY_EGG_VERSION=   2.14.2
> +MODPY_EGG_VERSION=   2.18.4
>  PKGNAME= py-requests-${MODPY_EGG_VERSION}
>  
>  GH_ACCOUNT=  kennethreitz
> @@ -20,9 +20,16 @@ PERMIT_PACKAGE_CDROM=  Yes
>  
>  MODULES= lang/python
>  
> -TEST_DEPENDS=devel/py-test${MODPY_FLAVOR} \
> +RUN_DEPENDS= devel/py-certifi${MODPY_FLAVOR} \
> + net/py-idna${MODPY_FLAVOR} \
> + textproc/py-chardet${MODPY_FLAVOR} \
> + www/py-urllib3${MODPY_FLAVOR}
> +TEST_DEPENDS=${RUN_DEPENDS} \
> + devel/py-test${MODPY_FLAVOR} \
> + devel/py-test-cov${MODPY_FLAVOR} \
>   devel/py-test-mock${MODPY_FLAVOR} \
>   devel/py-test-httpbin${MODPY_FLAVOR} \
> + devel/py-test-xdist${MODPY_FLAVOR} \
>   net/py-socks${MODPY_FLAVOR}
>  
>  FLAVORS= python3
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/py-requests/distinfo,v
> retrieving revision 1.19
> diff -u -p -r1.19 distinfo
> --- distinfo  11 May 2017 19:10:51 -  1.19
> +++ distinfo  16 Jan 2018 21:04:23 -
> @@ -1,2 +1,2 @@
> -SHA256 (requests-2.14.2.tar.gz) = 
> E0wxU6qR8mlcLeLqOqxKaCGJQcJO1wYbRTz/jU8MB0M=
> -SIZE (requests-2.14.2.tar.gz) = 3470473
> +SHA256 (requests-2.18.4.tar.gz) = 
> sGjMzjtzminL9yFIsP9L49gBmPt829YwZvc4S7Vu+Rc=
> +SIZE (requests-2.18.4.tar.gz) = 3040025
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/www/py-requests/pkg/PLIST,v
> retrieving revision 1.11
> diff -u -p -r1.11 PLIST
> --- pkg/PLIST 11 May 2017 19:10:51 -  1.11
> +++ pkg/PLIST 16 Jan 2018 21:04:23 -
> @@ -10,6 +10,7 @@ lib/python${MODPY_VERSION}/site-packages
>  lib/python${MODPY_VERSION}/site-packages/requests/__init__.py
>  
> ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}/
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}__version__.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}_internal_utils.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}adapters.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
> @@ -18,12 +19,15 @@ lib/python${MODPY_VERSION}/site-packages
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}cookies.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}help.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}hooks.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}models.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}packages.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}sessions.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}status_codes.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}structures.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/requests/__version__.py
>  lib/python${MODPY_VERSION}/site-packages/requests/_internal_utils.py
>  lib/python${MODPY_VERSION}/site-packages/requests/adapters.py
>  lib/python${MODPY_VERSION}/site-packages/requests/api.py
> @@ -33,200 +37,10 @@ lib/python${MODPY_VERSION}/site-packages
>  lib/python${MODPY_VERSION}/site-packages/requests/compat.py
>  lib/python${MODPY_VERSION}/site-packages/requests/co

update www/py-requests [hass: #5]

2018-01-16 Thread Joerg Jung
Hi,

please find attached an update for www/py-requests.
This update moves prior included dependencies into RUN_REPENDS and is
needed for the upcoming homeassistant port.

OK?

Regards,
Joerg


Index: Makefile
===
RCS file: /cvs/ports/www/py-requests/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile11 May 2017 19:10:51 -  1.25
+++ Makefile16 Jan 2018 21:04:23 -
@@ -2,7 +2,7 @@
 
 COMMENT=   elegant and simple HTTP library for Python
 
-MODPY_EGG_VERSION= 2.14.2
+MODPY_EGG_VERSION= 2.18.4
 PKGNAME=   py-requests-${MODPY_EGG_VERSION}
 
 GH_ACCOUNT=kennethreitz
@@ -20,9 +20,16 @@ PERMIT_PACKAGE_CDROM=Yes
 
 MODULES=   lang/python
 
-TEST_DEPENDS=  devel/py-test${MODPY_FLAVOR} \
+RUN_DEPENDS=   devel/py-certifi${MODPY_FLAVOR} \
+   net/py-idna${MODPY_FLAVOR} \
+   textproc/py-chardet${MODPY_FLAVOR} \
+   www/py-urllib3${MODPY_FLAVOR}
+TEST_DEPENDS=  ${RUN_DEPENDS} \
+   devel/py-test${MODPY_FLAVOR} \
+   devel/py-test-cov${MODPY_FLAVOR} \
devel/py-test-mock${MODPY_FLAVOR} \
devel/py-test-httpbin${MODPY_FLAVOR} \
+   devel/py-test-xdist${MODPY_FLAVOR} \
net/py-socks${MODPY_FLAVOR}
 
 FLAVORS=   python3
Index: distinfo
===
RCS file: /cvs/ports/www/py-requests/distinfo,v
retrieving revision 1.19
diff -u -p -r1.19 distinfo
--- distinfo11 May 2017 19:10:51 -  1.19
+++ distinfo16 Jan 2018 21:04:23 -
@@ -1,2 +1,2 @@
-SHA256 (requests-2.14.2.tar.gz) = E0wxU6qR8mlcLeLqOqxKaCGJQcJO1wYbRTz/jU8MB0M=
-SIZE (requests-2.14.2.tar.gz) = 3470473
+SHA256 (requests-2.18.4.tar.gz) = sGjMzjtzminL9yFIsP9L49gBmPt829YwZvc4S7Vu+Rc=
+SIZE (requests-2.18.4.tar.gz) = 3040025
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/py-requests/pkg/PLIST,v
retrieving revision 1.11
diff -u -p -r1.11 PLIST
--- pkg/PLIST   11 May 2017 19:10:51 -  1.11
+++ pkg/PLIST   16 Jan 2018 21:04:23 -
@@ -10,6 +10,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/requests/__init__.py
 
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}/
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}__version__.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}_internal_utils.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}adapters.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
@@ -18,12 +19,15 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}cookies.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}help.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}hooks.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}models.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}packages.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}sessions.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}status_codes.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}structures.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/requests/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/requests/__version__.py
 lib/python${MODPY_VERSION}/site-packages/requests/_internal_utils.py
 lib/python${MODPY_VERSION}/site-packages/requests/adapters.py
 lib/python${MODPY_VERSION}/site-packages/requests/api.py
@@ -33,200 +37,10 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/requests/compat.py
 lib/python${MODPY_VERSION}/site-packages/requests/cookies.py
 lib/python${MODPY_VERSION}/site-packages/requests/exceptions.py
+lib/python${MODPY_VERSION}/site-packages/requests/help.py
 lib/python${MODPY_VERSION}/site-packages/requests/hooks.py
 lib/python${MODPY_VERSION}/site-packages/requests/models.py
-lib/python${MODPY_VERSION}/site-packages/requests/packages/
-lib/