Hi,

shadchin@ moved requests from PYPI to GH when he updated it to 2.10.0
because in the PYPI tgz, tests weren't included.

A friend of mine noticed it was a 'bug' on requests side and they now
include the tests in the PYPI tgz since commit 2667c77 [0].

I looked to switch back to PYPI. I extracted both tgz and looked for
difference because make makesum said
-SIZE (requests-2.18.4.tar.gz) = 3040025
+SIZE (requests-2.18.4.tar.gz) = 126224

It's because the GH tgz has docs and other things. OTOH, the src
code is the same:
$ diff -pruN pypi/requests-2.18.4/requests gh/requests-2.18.4/requests
-> returns nothing.
$ diff -pruN pypi/requests-2.18.4/tests gh/requests-2.18.4/tests ->
returns nothing as well.

I don't know how much we want this diff or if we just want to wait next
update (so post 6.3 tag) to do this move?

Cheers,
Daniel

[0]: 
https://github.com/requests/requests/commit/2667c772b905aaba37dfefc33835ef769286776c

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-requests/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile    21 Jan 2018 23:20:10 -0000      1.26
+++ Makefile    17 Mar 2018 16:36:55 -0000
@@ -3,11 +3,12 @@
 COMMENT=               elegant and simple HTTP library for Python
 
 MODPY_EGG_VERSION=     2.18.4
-PKGNAME=               py-requests-${MODPY_EGG_VERSION}
+DISTNAME=              requests-${MODPY_EGG_VERSION}
+PKGNAME=               py-${DISTNAME}
+REVISION=              0
 
-GH_ACCOUNT=            kennethreitz
-GH_PROJECT=            requests
-GH_TAGNAME=            v${MODPY_EGG_VERSION}
+# XXX remove during next update
+DISTFILES =            ${DISTNAME}_1{${DISTNAME}}${EXTRACT_SUFX}
 
 CATEGORIES=            www
 
@@ -36,6 +37,7 @@ FLAVORS=              python3
 FLAVOR?=
 
 MODPY_SETUPTOOLS=      Yes
+MODPY_PI=              Yes
 
 WRKDIST=               ${WRKDIR}/requests-${MODPY_EGG_VERSION}
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/py-requests/distinfo,v
retrieving revision 1.20
diff -u -p -r1.20 distinfo
--- distinfo    21 Jan 2018 23:20:10 -0000      1.20
+++ distinfo    17 Mar 2018 16:36:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (requests-2.18.4.tar.gz) = sGjMzjtzminL9yFIsP9L49gBmPt829YwZvc4S7Vu+Rc=
-SIZE (requests-2.18.4.tar.gz) = 3040025
+SHA256 (requests-2.18.4_1.tar.gz) = 
nEQ+cyS6W4UHDEqBit4ov6vt8W6hAgbaETLtqm3aI34=
+SIZE (requests-2.18.4_1.tar.gz) = 126224

Reply via email to