Skip to content

Commit

Permalink
devel/py-tartiflette: Update to 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Nov 21, 2021
1 parent e6535c2 commit f954e0a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
5 changes: 2 additions & 3 deletions devel/py-tartiflette/Makefile
@@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME= tartiflette
PORTVERSION= 1.4.0
PORTVERSION= 1.4.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -14,8 +14,7 @@ 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.3:devel/py-lark-parser@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}lark-parser>=0.12.0:devel/py-lark-parser@${PY_FLAVOR}

USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
Expand Down
6 changes: 3 additions & 3 deletions devel/py-tartiflette/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1628439054
SHA256 (tartiflette-1.4.0.tar.gz) = a4e7ae28ecff1197439f5bcce812e9c994bc8b3796ffe012bbb41595ca71a0ca
SIZE (tartiflette-1.4.0.tar.gz) = 190070
TIMESTAMP = 1637072990
SHA256 (tartiflette-1.4.1.tar.gz) = d8c448621d0ae1c48385b6c1eaf7dd59156ddf0a087730fafbd038c2429c523c
SIZE (tartiflette-1.4.1.tar.gz) = 189607
11 changes: 11 additions & 0 deletions devel/py-tartiflette/files/patch-setup.cfg
@@ -0,0 +1,11 @@
--- setup.cfg.orig 2021-11-15 11:04:52 UTC
+++ setup.cfg
@@ -37,7 +37,7 @@ keywords =
python_requires = >=3.6
install_requires =
cffi>=1.0.0,<2.0.0
- lark-parser==0.12.0
+ lark-parser>=0.12.0
packages = find:
include_package_data = True

15 changes: 5 additions & 10 deletions devel/py-tartiflette/files/patch-setup.py
@@ -1,4 +1,4 @@
--- setup.py.orig 2021-08-02 14:49:15 UTC
--- setup.py.orig 2021-11-15 11:04:50 UTC
+++ setup.py
@@ -42,7 +42,6 @@ class BuildExtCmd(build_ext):

Expand All @@ -8,16 +8,11 @@ def run(self):
super().run()


@@ -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.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},
@@ -52,6 +51,5 @@ class LibGraphQLParserExtension(Extension):
setup(
- cmdclass={"build_ext": BuildExtCmd, "build_py": BuildPyCmd},
- ext_modules=[LibGraphQLParserExtension()],
+ cmdclass={"build_py": BuildPyCmd},
include_package_data=True,
)

0 comments on commit f954e0a

Please sign in to comment.