Skip to content

Commit

Permalink
devel/py-tartiflette: Update to 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Aug 8, 2021
1 parent eecb558 commit 95275a5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
5 changes: 3 additions & 2 deletions devel/py-tartiflette/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME= tartiflette
PORTVERSION= 1.3.3
PORTVERSION= 1.4.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -10,10 +10,11 @@ MAINTAINER= sunpoet@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+
Expand Down
6 changes: 3 additions & 3 deletions 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
24 changes: 11 additions & 13 deletions 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,
)

0 comments on commit 95275a5

Please sign in to comment.