Hi,

I am looking to update py-gevent, and last version want updated greenlet. So I
am updating greenlet...

Tested on amd64, py2.7 & py3.8.

Comments or OK ?
-- 
Sebastien Marie


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-greenlet/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile    3 Jul 2020 21:12:45 -0000       1.19
+++ Makefile    7 Jul 2020 14:57:32 -0000
@@ -4,10 +4,9 @@ COMMENT =      lightweight in-process concurr
 # see slp_platformselect.h
 ONLY_FOR_ARCHS =       aarch64 amd64 arm i386 powerpc sparc64
 
-MODPY_EGG_VERSION = 0.4.15
+MODPY_EGG_VERSION = 0.4.16
 DISTNAME =     greenlet-${MODPY_EGG_VERSION}
 PKGNAME =      py-${DISTNAME}
-REVISION =     1
 
 CATEGORIES =   devel
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-greenlet/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo    13 Jan 2019 09:54:56 -0000      1.6
+++ distinfo    7 Jul 2020 14:57:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (greenlet-0.4.15.tar.gz) = lBZEPiGTVuPDHx+RipG63y43rPKX4voT0k0cwjgPj7w=
-SIZE (greenlet-0.4.15.tar.gz) = 59694
+SHA256 (greenlet-0.4.16.tar.gz) = bgbqxyJnZ5fo/OStuK09xXobs637DdP9+DBsBVo4RWw=
+SIZE (greenlet-0.4.16.tar.gz) = 60576
Index: patches/patch-slp_platformselect_h
===================================================================
RCS file: /cvs/ports/devel/py-greenlet/patches/patch-slp_platformselect_h,v
retrieving revision 1.3
diff -u -p -r1.3 patch-slp_platformselect_h
--- patches/patch-slp_platformselect_h  23 Apr 2020 04:43:45 -0000      1.3
+++ patches/patch-slp_platformselect_h  7 Jul 2020 14:57:32 -0000
@@ -3,12 +3,15 @@ Give it a chance to build on ppc & mips
 Index: slp_platformselect.h
 --- slp_platformselect.h.orig
 +++ slp_platformselect.h
-@@ -14,7 +14,7 @@
+@@ -12,9 +12,9 @@
+ #include "platform/switch_amd64_unix.h" /* gcc on amd64 */
+ #elif defined(__GNUC__) && defined(__i386__)
  #include "platform/switch_x86_unix.h" /* gcc on X86 */
- #elif defined(__GNUC__) && defined(__powerpc64__) && defined(__linux__)
+-#elif defined(__GNUC__) && defined(__powerpc64__) && (defined(__linux__) || 
defined(__FreeBSD__))
++#elif defined(__GNUC__) && defined(__powerpc64__) && (defined(__linux__) || 
defined(__FreeBSD__) || defined(__OpenBSD__))
  #include "platform/switch_ppc64_linux.h" /* gcc on PowerPC 64-bit */
--#elif defined(__GNUC__) && defined(__PPC__) && defined(__linux__)
-+#elif defined(__GNUC__) && defined(__PPC__) && defined(__OpenBSD__)
+-#elif defined(__GNUC__) && defined(__PPC__) && (defined(__linux__) || 
defined(__FreeBSD__))
++#elif defined(__GNUC__) && defined(__PPC__) && (defined(__linux__) || 
defined(__FreeBSD__) || defined(__OpenBSD__))
  #include "platform/switch_ppc_linux.h" /* gcc on PowerPC */
  #elif defined(__GNUC__) && defined(__ppc__) && defined(__APPLE__)
  #include "platform/switch_ppc_macosx.h" /* Apple MacOS X on PowerPC */
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/py-greenlet/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   19 Apr 2017 12:02:57 -0000      1.2
+++ pkg/PLIST   7 Jul 2020 14:57:32 -0000
@@ -2,6 +2,6 @@
 ${INCL_DIR}/greenlet/
 ${INCL_DIR}/greenlet/greenlet.h
 
lib/python${MODPY_VERSION}/site-packages/greenlet-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
-lib/python${MODPY_VERSION}/site-packages/greenlet.so
+@so lib/python${MODPY_VERSION}/site-packages/greenlet.so
 share/doc/${MODPY_PY_PREFIX}greenlet/
 share/doc/${MODPY_PY_PREFIX}greenlet/README.rst

Reply via email to