pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-grpcio net/py-grpcio: Import version 1.11.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58bfb55d48f4
branches:  trunk
changeset: 379291:58bfb55d48f4
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Apr 28 01:16:29 2018 +0000

description:
net/py-grpcio: Import version 1.11.0

grpcio is a Python package for gRPC.

Packaged by Kethzer Docteur for pkgsrc-wip and updated by me.

diffstat:

 net/py-grpcio/DESCR                                       |    1 +
 net/py-grpcio/Makefile                                    |   30 +++
 net/py-grpcio/PLIST                                       |  122 ++++++++++++++
 net/py-grpcio/distinfo                                    |    8 +
 net/py-grpcio/patches/patch-setup.py                      |   33 +++
 net/py-grpcio/patches/patch-src_python_grpcio_commands.py |   15 +
 6 files changed, 209 insertions(+), 0 deletions(-)

diffs (233 lines):

diff -r 3089e7dd5441 -r 58bfb55d48f4 net/py-grpcio/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-grpcio/DESCR       Sat Apr 28 01:16:29 2018 +0000
@@ -0,0 +1,1 @@
+grpcio is a Python package for gRPC.
diff -r 3089e7dd5441 -r 58bfb55d48f4 net/py-grpcio/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-grpcio/Makefile    Sat Apr 28 01:16:29 2018 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2018/04/28 01:16:29 minskim Exp $
+
+DISTNAME=      grpcio-1.11.0
+PKGNAME=        ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    net
+MASTER_SITES=   ${MASTER_SITE_PYPI:=g/grpcio/}
+
+MAINTAINER=    kethzer.dr%gmail.com@localhost
+HOMEPAGE=      https://grpc.io/
+COMMENT=       HTTP/2-based RPC framework
+LICENSE=       apache-2.0
+
+DEPENDS+=       ${PYPKGPREFIX}-protobuf>=3.5.0:../../devel/py-protobuf
+DEPENDS+=       ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
+
+.include "../../lang/python/pyversion.mk"
+.if "${PYPKGPREFIX}" == "py27"
+DEPENDS+=       ${PYPKGPREFIX}-enum34>=1.0.4:../../devel/py-enum34
+DEPENDS+=       ${PYPKGPREFIX}-futures>=2.2.0:../../devel/py-futures
+.endif
+
+USE_LANGUAGES+=        c99 c++11
+USE_TOOLS+=    gmake pkg-config
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../net/grpc/buildlink3.mk"
+.include "../../net/libcares/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3089e7dd5441 -r 58bfb55d48f4 net/py-grpcio/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-grpcio/PLIST       Sat Apr 28 01:16:29 2018 +0000
@@ -0,0 +1,122 @@
+@comment $NetBSD: PLIST,v 1.1 2018/04/28 01:16:29 minskim Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/grpc/__init__.py
+${PYSITELIB}/grpc/__init__.pyc
+${PYSITELIB}/grpc/__init__.pyo
+${PYSITELIB}/grpc/_auth.py
+${PYSITELIB}/grpc/_auth.pyc
+${PYSITELIB}/grpc/_auth.pyo
+${PYSITELIB}/grpc/_channel.py
+${PYSITELIB}/grpc/_channel.pyc
+${PYSITELIB}/grpc/_channel.pyo
+${PYSITELIB}/grpc/_common.py
+${PYSITELIB}/grpc/_common.pyc
+${PYSITELIB}/grpc/_common.pyo
+${PYSITELIB}/grpc/_cython/__init__.py
+${PYSITELIB}/grpc/_cython/__init__.pyc
+${PYSITELIB}/grpc/_cython/__init__.pyo
+${PYSITELIB}/grpc/_cython/_credentials/roots.pem
+${PYSITELIB}/grpc/_cython/_cygrpc/__init__.py
+${PYSITELIB}/grpc/_cython/_cygrpc/__init__.pyc
+${PYSITELIB}/grpc/_cython/_cygrpc/__init__.pyo
+${PYSITELIB}/grpc/_cython/cygrpc.so
+${PYSITELIB}/grpc/_grpcio_metadata.py
+${PYSITELIB}/grpc/_grpcio_metadata.pyc
+${PYSITELIB}/grpc/_grpcio_metadata.pyo
+${PYSITELIB}/grpc/_interceptor.py
+${PYSITELIB}/grpc/_interceptor.pyc
+${PYSITELIB}/grpc/_interceptor.pyo
+${PYSITELIB}/grpc/_plugin_wrapping.py
+${PYSITELIB}/grpc/_plugin_wrapping.pyc
+${PYSITELIB}/grpc/_plugin_wrapping.pyo
+${PYSITELIB}/grpc/_server.py
+${PYSITELIB}/grpc/_server.pyc
+${PYSITELIB}/grpc/_server.pyo
+${PYSITELIB}/grpc/_utilities.py
+${PYSITELIB}/grpc/_utilities.pyc
+${PYSITELIB}/grpc/_utilities.pyo
+${PYSITELIB}/grpc/beta/__init__.py
+${PYSITELIB}/grpc/beta/__init__.pyc
+${PYSITELIB}/grpc/beta/__init__.pyo
+${PYSITELIB}/grpc/beta/_client_adaptations.py
+${PYSITELIB}/grpc/beta/_client_adaptations.pyc
+${PYSITELIB}/grpc/beta/_client_adaptations.pyo
+${PYSITELIB}/grpc/beta/_metadata.py
+${PYSITELIB}/grpc/beta/_metadata.pyc
+${PYSITELIB}/grpc/beta/_metadata.pyo
+${PYSITELIB}/grpc/beta/_server_adaptations.py
+${PYSITELIB}/grpc/beta/_server_adaptations.pyc
+${PYSITELIB}/grpc/beta/_server_adaptations.pyo
+${PYSITELIB}/grpc/beta/implementations.py
+${PYSITELIB}/grpc/beta/implementations.pyc
+${PYSITELIB}/grpc/beta/implementations.pyo
+${PYSITELIB}/grpc/beta/interfaces.py
+${PYSITELIB}/grpc/beta/interfaces.pyc
+${PYSITELIB}/grpc/beta/interfaces.pyo
+${PYSITELIB}/grpc/beta/utilities.py
+${PYSITELIB}/grpc/beta/utilities.pyc
+${PYSITELIB}/grpc/beta/utilities.pyo
+${PYSITELIB}/grpc/experimental/__init__.py
+${PYSITELIB}/grpc/experimental/__init__.pyc
+${PYSITELIB}/grpc/experimental/__init__.pyo
+${PYSITELIB}/grpc/experimental/gevent.py
+${PYSITELIB}/grpc/experimental/gevent.pyc
+${PYSITELIB}/grpc/experimental/gevent.pyo
+${PYSITELIB}/grpc/framework/__init__.py
+${PYSITELIB}/grpc/framework/__init__.pyc
+${PYSITELIB}/grpc/framework/__init__.pyo
+${PYSITELIB}/grpc/framework/common/__init__.py
+${PYSITELIB}/grpc/framework/common/__init__.pyc
+${PYSITELIB}/grpc/framework/common/__init__.pyo
+${PYSITELIB}/grpc/framework/common/cardinality.py
+${PYSITELIB}/grpc/framework/common/cardinality.pyc
+${PYSITELIB}/grpc/framework/common/cardinality.pyo
+${PYSITELIB}/grpc/framework/common/style.py
+${PYSITELIB}/grpc/framework/common/style.pyc
+${PYSITELIB}/grpc/framework/common/style.pyo
+${PYSITELIB}/grpc/framework/foundation/__init__.py
+${PYSITELIB}/grpc/framework/foundation/__init__.pyc
+${PYSITELIB}/grpc/framework/foundation/__init__.pyo
+${PYSITELIB}/grpc/framework/foundation/abandonment.py
+${PYSITELIB}/grpc/framework/foundation/abandonment.pyc
+${PYSITELIB}/grpc/framework/foundation/abandonment.pyo
+${PYSITELIB}/grpc/framework/foundation/callable_util.py
+${PYSITELIB}/grpc/framework/foundation/callable_util.pyc
+${PYSITELIB}/grpc/framework/foundation/callable_util.pyo
+${PYSITELIB}/grpc/framework/foundation/future.py
+${PYSITELIB}/grpc/framework/foundation/future.pyc
+${PYSITELIB}/grpc/framework/foundation/future.pyo
+${PYSITELIB}/grpc/framework/foundation/logging_pool.py
+${PYSITELIB}/grpc/framework/foundation/logging_pool.pyc
+${PYSITELIB}/grpc/framework/foundation/logging_pool.pyo
+${PYSITELIB}/grpc/framework/foundation/stream.py
+${PYSITELIB}/grpc/framework/foundation/stream.pyc
+${PYSITELIB}/grpc/framework/foundation/stream.pyo
+${PYSITELIB}/grpc/framework/foundation/stream_util.py
+${PYSITELIB}/grpc/framework/foundation/stream_util.pyc
+${PYSITELIB}/grpc/framework/foundation/stream_util.pyo
+${PYSITELIB}/grpc/framework/interfaces/__init__.py
+${PYSITELIB}/grpc/framework/interfaces/__init__.pyc
+${PYSITELIB}/grpc/framework/interfaces/__init__.pyo
+${PYSITELIB}/grpc/framework/interfaces/base/__init__.py
+${PYSITELIB}/grpc/framework/interfaces/base/__init__.pyc
+${PYSITELIB}/grpc/framework/interfaces/base/__init__.pyo
+${PYSITELIB}/grpc/framework/interfaces/base/base.py
+${PYSITELIB}/grpc/framework/interfaces/base/base.pyc
+${PYSITELIB}/grpc/framework/interfaces/base/base.pyo
+${PYSITELIB}/grpc/framework/interfaces/base/utilities.py
+${PYSITELIB}/grpc/framework/interfaces/base/utilities.pyc
+${PYSITELIB}/grpc/framework/interfaces/base/utilities.pyo
+${PYSITELIB}/grpc/framework/interfaces/face/__init__.py
+${PYSITELIB}/grpc/framework/interfaces/face/__init__.pyc
+${PYSITELIB}/grpc/framework/interfaces/face/__init__.pyo
+${PYSITELIB}/grpc/framework/interfaces/face/face.py
+${PYSITELIB}/grpc/framework/interfaces/face/face.pyc
+${PYSITELIB}/grpc/framework/interfaces/face/face.pyo
+${PYSITELIB}/grpc/framework/interfaces/face/utilities.py
+${PYSITELIB}/grpc/framework/interfaces/face/utilities.pyc
+${PYSITELIB}/grpc/framework/interfaces/face/utilities.pyo
diff -r 3089e7dd5441 -r 58bfb55d48f4 net/py-grpcio/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-grpcio/distinfo    Sat Apr 28 01:16:29 2018 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2018/04/28 01:16:29 minskim Exp $
+
+SHA1 (grpcio-1.11.0.tar.gz) = 06b63f3b96a7571567c8b4e973506a98a198882b
+RMD160 (grpcio-1.11.0.tar.gz) = fe50e800be25454a7f526bd020c9184219b59585
+SHA512 (grpcio-1.11.0.tar.gz) = ea5d3672b42125d510fdd13b6c3535efe5082c5e43e806504a873ad6c40b8b94bcee2a32d877b7e1849f6c7c3cb7c1eb4ee39cbc695a86ba92d4e3a206194e11
+Size (grpcio-1.11.0.tar.gz) = 14188590 bytes
+SHA1 (patch-setup.py) = a6dde53d45772e739e3227e67e340d4ae14ceede
+SHA1 (patch-src_python_grpcio_commands.py) = e84c0ddb13d9d9a3d2c90fe93c9db72264176512
diff -r 3089e7dd5441 -r 58bfb55d48f4 net/py-grpcio/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-grpcio/patches/patch-setup.py      Sat Apr 28 01:16:29 2018 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-setup.py,v 1.1 2018/04/28 01:16:29 minskim Exp $
+
+Use dependencies in pkgsrc.
+
+--- setup.py.orig      2018-04-13 19:56:08.000000000 +0000
++++ setup.py
+@@ -152,7 +152,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
+     (PYTHON_STEM,) + CORE_INCLUDE + BORINGSSL_INCLUDE + ZLIB_INCLUDE +
+     CARES_INCLUDE + ADDRESS_SORTING_INCLUDE)
+ 
+-EXTENSION_LIBRARIES = ()
++EXTENSION_LIBRARIES = ('cares', 'crypto', 'gpr', 'grpc', 'ssl')
+ if "linux" in sys.platform:
+   EXTENSION_LIBRARIES += ('rt',)
+ if not "win32" in sys.platform:
+@@ -205,7 +205,7 @@ def cython_extensions_and_necessity():
+                   for name in CYTHON_EXTENSION_MODULE_NAMES]
+   config = os.environ.get('CONFIG', 'opt')
+   prefix = 'libs/' + config + '/'
+-  if "darwin" in sys.platform:
++  if False and "darwin" in sys.platform:
+     extra_objects = [prefix + 'libares.a',
+                      prefix + 'libboringssl.a',
+                      prefix + 'libgpr.a',
+@@ -217,7 +217,7 @@ def cython_extensions_and_necessity():
+   extensions = [
+       _extension.Extension(
+           name=module_name,
+-          sources=[module_file] + list(CYTHON_HELPER_C_FILES) + core_c_files,
++          sources=[module_file] + list(CYTHON_HELPER_C_FILES),
+           include_dirs=list(EXTENSION_INCLUDE_DIRECTORIES),
+           libraries=list(EXTENSION_LIBRARIES),
+           define_macros=list(DEFINE_MACROS),
diff -r 3089e7dd5441 -r 58bfb55d48f4 net/py-grpcio/patches/patch-src_python_grpcio_commands.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-grpcio/patches/patch-src_python_grpcio_commands.py Sat Apr 28 01:16:29 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_python_grpcio_commands.py,v 1.1 2018/04/28 01:16:29 minskim Exp $
+
+Use dependencies in pkgsrc.
+
+--- src/python/grpcio/commands.py.orig 2018-04-05 20:19:07.000000000 +0000
++++ src/python/grpcio/commands.py
+@@ -253,7 +253,7 @@ class BuildExt(build_ext.build_ext):
+     LINK_OPTIONS = {}
+ 
+     def build_extensions(self):
+-        if "darwin" in sys.platform:
++        if False and "darwin" in sys.platform:
+             config = os.environ.get('CONFIG', 'opt')
+             target_path = os.path.abspath(
+                 os.path.join(



Home | Main Index | Thread Index | Old Index