pkgsrc-WIP-changes archive

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

py-grpcio: Imported into pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Fri Apr 27 18:18:55 2018 -0700
Changeset:	df09e1dd66be900574f8766b71c306c1e71a6a6a

Modified Files:
	Makefile
Removed Files:
	py-grpcio/DESCR
	py-grpcio/Makefile
	py-grpcio/PLIST
	py-grpcio/distinfo
	py-grpcio/patches/patch-setup.py
	py-grpcio/patches/patch-src_python_grpcio_commands.py

Log Message:
py-grpcio: Imported into pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=df09e1dd66be900574f8766b71c306c1e71a6a6a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |   1 -
 py-grpcio/DESCR                                    |   1 -
 py-grpcio/Makefile                                 |  30 -----
 py-grpcio/PLIST                                    | 122 ---------------------
 py-grpcio/distinfo                                 |   8 --
 py-grpcio/patches/patch-setup.py                   |  33 ------
 .../patches/patch-src_python_grpcio_commands.py    |  15 ---
 7 files changed, 210 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index c7c5b7da80..2291934941 100644
--- a/Makefile
+++ b/Makefile
@@ -3234,7 +3234,6 @@ SUBDIR+=	py-graphsim
 SUBDIR+=	py-gratelpy
 SUBDIR+=	py-gravipy
 SUBDIR+=	py-griddata
-SUBDIR+=	py-grpcio
 SUBDIR+=	py-grpy
 SUBDIR+=	py-gsl
 SUBDIR+=	py-gslodeiv2
diff --git a/py-grpcio/DESCR b/py-grpcio/DESCR
deleted file mode 100644
index 35c5198404..0000000000
--- a/py-grpcio/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-grpcio is a Python package for gRPC.
diff --git a/py-grpcio/Makefile b/py-grpcio/Makefile
deleted file mode 100644
index e5cdb7fcf2..0000000000
--- a/py-grpcio/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	grpcio-1.11.0
-PKGNAME=        ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=	www
-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 --git a/py-grpcio/PLIST b/py-grpcio/PLIST
deleted file mode 100644
index d2ab853402..0000000000
--- a/py-grpcio/PLIST
+++ /dev/null
@@ -1,122 +0,0 @@
-@comment $NetBSD$
-${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 --git a/py-grpcio/distinfo b/py-grpcio/distinfo
deleted file mode 100644
index 05010a8ba8..0000000000
--- a/py-grpcio/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD$
-
-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 --git a/py-grpcio/patches/patch-setup.py b/py-grpcio/patches/patch-setup.py
deleted file mode 100644
index 272f9340f9..0000000000
--- a/py-grpcio/patches/patch-setup.py
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD$
-
-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 --git a/py-grpcio/patches/patch-src_python_grpcio_commands.py b/py-grpcio/patches/patch-src_python_grpcio_commands.py
deleted file mode 100644
index b03b2328ec..0000000000
--- a/py-grpcio/patches/patch-src_python_grpcio_commands.py
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-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