git: 95275a526e33 - main - devel/py-tartiflette: Update to 1.4.0

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Aug 8 22:04:48 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=95275a526e33c105afe7813c7e7b75c1b33b93b5

commit 95275a526e33c105afe7813c7e7b75c1b33b93b5
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-08-08 21:36:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-08-08 21:44:03 +0000

    devel/py-tartiflette: Update to 1.4.0
    
    - Add LICENSE_FILE
    
    Changes:        https://github.com/tartiflette/tartiflette/releases
---
 devel/py-tartiflette/Makefile             |  5 +++--
 devel/py-tartiflette/distinfo             |  6 +++---
 devel/py-tartiflette/files/patch-setup.py | 24 +++++++++++-------------
 3 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/devel/py-tartiflette/Makefile b/devel/py-tartiflette/Makefile
index 70addf5db393..e9108a4904f0 100644
--- a/devel/py-tartiflette/Makefile
+++ b/devel/py-tartiflette/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
 
 PORTNAME=	tartiflette
-PORTVERSION=	1.3.3
+PORTVERSION=	1.4.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,10 +10,11 @@ MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	GraphQL Engine for Python
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 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.11.1:devel/py-lark-parser@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}lark-parser>=0.11.3:devel/py-lark-parser@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR}
 
 USES=		python:3.6+
diff --git a/devel/py-tartiflette/distinfo b/devel/py-tartiflette/distinfo
index 5a1c63b90764..40f7f2a13a5d 100644
--- a/devel/py-tartiflette/distinfo
+++ b/devel/py-tartiflette/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1619198529
-SHA256 (tartiflette-1.3.3.tar.gz) = be20d0cb0cc68546aa670feb4ba8ef4cf575cc2ae8594e54eeb428111ca18598
-SIZE (tartiflette-1.3.3.tar.gz) = 181429
+TIMESTAMP = 1628439054
+SHA256 (tartiflette-1.4.0.tar.gz) = a4e7ae28ecff1197439f5bcce812e9c994bc8b3796ffe012bbb41595ca71a0ca
+SIZE (tartiflette-1.4.0.tar.gz) = 190070
diff --git a/devel/py-tartiflette/files/patch-setup.py b/devel/py-tartiflette/files/patch-setup.py
index 3d110db511a3..40f06215477f 100644
--- a/devel/py-tartiflette/files/patch-setup.py
+++ b/devel/py-tartiflette/files/patch-setup.py
@@ -1,25 +1,23 @@
---- setup.py.orig	2020-05-02 18:17:15 UTC
+--- setup.py.orig	2021-08-02 14:49:15 UTC
 +++ setup.py
-@@ -38,13 +38,11 @@ def _build_libgraphqlparser():
- 
- class BuildExtCmd(build_ext):
-     def run(self):
--        _build_libgraphqlparser()
-         build_ext.run(self)
- 
+@@ -42,7 +42,6 @@ class BuildExtCmd(build_ext):
  
  class BuildPyCmd(build_py):
      def run(self):
 -        _build_libgraphqlparser()
-         build_py.run(self)
+         super().run()
  
  
-@@ -88,7 +86,7 @@ setup(
+@@ -91,10 +90,9 @@ setup(
      ],
      keywords="api graphql protocol api rest relay tartiflette dailymotion",
      packages=_PACKAGES,
--    install_requires=["cffi>=1.0.0,<2.0.0", "lark-parser==0.11.2", "pytz"],
-+    install_requires=["cffi>=1.0.0,<2.0.0", "lark-parser>=0.11.2", "pytz"],
+-    install_requires=["cffi>=1.0.0,<2.0.0", "lark-parser==0.11.3", "pytz"],
++    install_requires=["cffi>=1.0.0,<2.0.0", "lark-parser>=0.11.3", "pytz"],
      tests_require=_TEST_REQUIRE,
      extras_require={"test": _TEST_REQUIRE, "benchmark": _BENCHMARK_REQUIRE},
-     cmdclass={"build_ext": BuildExtCmd, "build_py": BuildPyCmd},
+-    cmdclass={"build_ext": BuildExtCmd, "build_py": BuildPyCmd},
+-    ext_modules=[LibGraphQLParserExtension()],
++    cmdclass={"build_py": BuildPyCmd},
+     include_package_data=True,
+ )


More information about the dev-commits-ports-all mailing list