From owner-svn-ports-all@freebsd.org Sun May 3 20:46:46 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7FDB02E794B; Sun, 3 May 2020 20:46:46 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49FdM96ncPz4B4P; Sun, 3 May 2020 20:46:45 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BC1F718F85; Sun, 3 May 2020 20:46:45 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 043KkjNZ063543; Sun, 3 May 2020 20:46:45 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 043KkiWP063537; Sun, 3 May 2020 20:46:44 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202005032046.043KkiWP063537@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 3 May 2020 20:46:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533813 - in head/devel: . py-tartiflette py-tartiflette/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-tartiflette py-tartiflette/files X-SVN-Commit-Revision: 533813 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2020 20:46:47 -0000 Author: sunpoet Date: Sun May 3 20:46:44 2020 New Revision: 533813 URL: https://svnweb.freebsd.org/changeset/ports/533813 Log: Add py-tartiflette 1.2.0 Tartiflette is a GraphQL Server implementation built with Python 3.6+. WWW: https://github.com/tartiflette/tartiflette Added: head/devel/py-tartiflette/ head/devel/py-tartiflette/Makefile (contents, props changed) head/devel/py-tartiflette/distinfo (contents, props changed) head/devel/py-tartiflette/files/ head/devel/py-tartiflette/files/patch-setup.py (contents, props changed) head/devel/py-tartiflette/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun May 3 20:46:38 2020 (r533812) +++ head/devel/Makefile Sun May 3 20:46:44 2020 (r533813) @@ -5122,6 +5122,7 @@ SUBDIR += py-tabulator SUBDIR += py-tapi SUBDIR += py-tarantool-queue + SUBDIR += py-tartiflette SUBDIR += py-taskflow SUBDIR += py-taskflow3 SUBDIR += py-tblib Added: head/devel/py-tartiflette/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-tartiflette/Makefile Sun May 3 20:46:44 2020 (r533813) @@ -0,0 +1,27 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= tartiflette +PORTVERSION= 1.2.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= GraphQL Engine for Python + +LICENSE= MIT + +LIB_DEPENDS= libgraphqlparser.so:devel/libgraphqlparser +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0<2.0.0:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lark-parser>=0.8.5:devel/py-lark-parser@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +# lib/libgraphqlparser.so is not available until configure phase +post-configure: + @${CP} ${LOCALBASE}/lib/libgraphqlparser.so ${WRKSRC}/tartiflette/language/parsers/libgraphqlparser/cffi/libgraphqlparser.so + +.include Added: head/devel/py-tartiflette/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-tartiflette/distinfo Sun May 3 20:46:44 2020 (r533813) @@ -0,0 +1,3 @@ +TIMESTAMP = 1588450784 +SHA256 (tartiflette-1.2.0.tar.gz) = 96bee792080c5147d431eaf80b2f2f86e7e2fc5957b3ef943d58faacab19a9ce +SIZE (tartiflette-1.2.0.tar.gz) = 179826 Added: head/devel/py-tartiflette/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-tartiflette/files/patch-setup.py Sun May 3 20:46:44 2020 (r533813) @@ -0,0 +1,25 @@ +--- setup.py.orig 2020-05-02 18:17:15 UTC ++++ setup.py +@@ -38,13 +38,11 @@ def _build_libgraphqlparser(): + + class BuildExtCmd(build_ext): + def run(self): +- _build_libgraphqlparser() + build_ext.run(self) + + + class BuildPyCmd(build_py): + def run(self): +- _build_libgraphqlparser() + build_py.run(self) + + +@@ -88,7 +86,7 @@ setup( + ], + keywords="api graphql protocol api rest relay tartiflette dailymotion", + packages=_PACKAGES, +- install_requires=["cffi>=1.0.0,<2.0.0", "lark-parser==0.8.5", "pytz"], ++ install_requires=["cffi>=1.0.0,<2.0.0", "lark-parser>=0.8.5", "pytz"], + tests_require=_TEST_REQUIRE, + extras_require={"test": _TEST_REQUIRE, "benchmark": _BENCHMARK_REQUIRE}, + cmdclass={"build_ext": BuildExtCmd, "build_py": BuildPyCmd}, Added: head/devel/py-tartiflette/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-tartiflette/pkg-descr Sun May 3 20:46:44 2020 (r533813) @@ -0,0 +1,3 @@ +Tartiflette is a GraphQL Server implementation built with Python 3.6+. + +WWW: https://github.com/tartiflette/tartiflette