Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2017 06:40:39 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453591 - in head/devel: . py-grpcio-tools
Message-ID:  <201711060640.vA66edqs013883@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Nov  6 06:40:39 2017
New Revision: 453591
URL: https://svnweb.freebsd.org/changeset/ports/453591

Log:
  Add py-grpcio-tools, it's Protobuf code generator for gRPC.

Added:
  head/devel/py-grpcio-tools/
  head/devel/py-grpcio-tools/Makefile   (contents, props changed)
  head/devel/py-grpcio-tools/distinfo   (contents, props changed)
  head/devel/py-grpcio-tools/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Nov  6 05:19:45 2017	(r453590)
+++ head/devel/Makefile	Mon Nov  6 06:40:39 2017	(r453591)
@@ -4450,6 +4450,7 @@
     SUBDIR += py-grizzled
     SUBDIR += py-grouch
     SUBDIR += py-grpcio
+    SUBDIR += py-grpcio-tools
     SUBDIR += py-gtfslib
     SUBDIR += py-gyp
     SUBDIR += py-hash_ring

Added: head/devel/py-grpcio-tools/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-grpcio-tools/Makefile	Mon Nov  6 06:40:39 2017	(r453591)
@@ -0,0 +1,26 @@
+# Created by: vanilla@
+# $FreeBSD$
+
+PORTNAME=	grpcio-tools
+PORTVERSION=	1.7.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	vanilla@FreeBSD.org
+COMMENT=	Protobuf code generator for gRPC
+
+LICENSE=	BSD3CLAUSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}grpcio>1:devel/py-grpcio
+LIB_DEPENDS=	libcares.so:dns/c-ares
+
+USES=		localbase:ldflags python
+USE_PYTHON=	autoplist distutils
+CFLAGS+=	-DHAVE_PTHREAD=1
+LDFLAGS+=	-lcares
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/grpc_tools/_protoc_compiler.so
+
+.include <bsd.port.mk>

Added: head/devel/py-grpcio-tools/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-grpcio-tools/distinfo	Mon Nov  6 06:40:39 2017	(r453591)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1509940569
+SHA256 (grpcio-tools-1.7.0.tar.gz) = 217b1a6f7ef10b79d4c98585a10a81027311cb5ef1c95d82880e819da4655e52
+SIZE (grpcio-tools-1.7.0.tar.gz) = 1920133

Added: head/devel/py-grpcio-tools/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-grpcio-tools/pkg-descr	Mon Nov  6 06:40:39 2017	(r453591)
@@ -0,0 +1,3 @@
+Protobuf code generator for gRPC.
+
+WWW: https://pypi.python.org/pypi/grpcio-tools



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711060640.vA66edqs013883>