pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-sanic py-sanic: unrestrict multidict
details: https://anonhg.NetBSD.org/pkgsrc/rev/cd74b343a8c3
branches: trunk
changeset: 372565:cd74b343a8c3
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jan 27 09:57:08 2022 +0000
description:
py-sanic: unrestrict multidict
Add some test dependencies while here, more to do
diffstat:
www/py-sanic/Makefile | 25 ++++++++++++++++++++-
www/py-sanic/distinfo | 3 +-
www/py-sanic/patches/patch-setup.py | 42 +++++++++++++++++++++++++++++++++++++
3 files changed, 67 insertions(+), 3 deletions(-)
diffs (103 lines):
diff -r 2ed550c99de7 -r cd74b343a8c3 www/py-sanic/Makefile
--- a/www/py-sanic/Makefile Thu Jan 27 09:44:17 2022 +0000
+++ b/www/py-sanic/Makefile Thu Jan 27 09:57:08 2022 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2022/01/13 18:23:57 adam Exp $
+# $NetBSD: Makefile,v 1.26 2022/01/27 09:57:08 wiz Exp $
DISTNAME= sanic-21.12.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/}
@@ -13,11 +14,31 @@
DEPENDS+= ${PYPKGPREFIX}-aiofiles>=0.6.0:../../devel/py-aiofiles
DEPENDS+= ${PYPKGPREFIX}-httptools>=0.0.10:../../www/py-httptools
DEPENDS+= ${PYPKGPREFIX}-multidict>=5.0.0:../../databases/py-multidict
+DEPENDS+= ${PYPKGPREFIX}-sanic-routing>=0.7.0:../../www/py-sanic-routing
DEPENDS+= ${PYPKGPREFIX}-ujson>=1.35:../../textproc/py-ujson
DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.5.3:../../devel/py-uvloop
-DEPENDS+= ${PYPKGPREFIX}-sanic-routing>=0.7.0:../../www/py-sanic-routing
DEPENDS+= ${PYPKGPREFIX}-websockets>=10.0:../../www/py-websockets
+#TEST_DEPENDS+= ${PYPKGPREFIX}-bandit-[0-9]*:../../wip/py-bandit
+TEST_DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
+TEST_DEPENDS+= ${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black
+TEST_DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-gunicorn-[0-9]*:../../www/py-gunicorn
+TEST_DEPENDS+= ${PYPKGPREFIX}-isort-[0-9]*:../../devel/py-isort
+TEST_DEPENDS+= ${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy
+TEST_DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
+# sanic-testing
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+# pytest-sanic
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar-[0-9]*:../../devel/py-test-sugar
+TEST_DEPENDS+= ${PYPKGPREFIX}-types-ujson-[0-9]*:../../devel/py-types-ujson
+TEST_DEPENDS+= ${PYPKGPREFIX}-uvicorn-[0-9]*:../../www/py-uvicorn
+
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
diff -r 2ed550c99de7 -r cd74b343a8c3 www/py-sanic/distinfo
--- a/www/py-sanic/distinfo Thu Jan 27 09:44:17 2022 +0000
+++ b/www/py-sanic/distinfo Thu Jan 27 09:57:08 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.21 2022/01/13 18:23:57 adam Exp $
+$NetBSD: distinfo,v 1.22 2022/01/27 09:57:08 wiz Exp $
BLAKE2s (sanic-21.12.1.tar.gz) = 32986c1fc1452c29f1c491f15b789b6bc25fd378f9a7a182e125b24c164f6591
SHA512 (sanic-21.12.1.tar.gz) = 922446fce87be6b043bf9b88dd0e1c4776b8bec1f2d12bec2f3bc7d659d602f555892d66689c511bfa2884a437bd83b661d6f2aead5a41e9c612fe9ed6c212b2
Size (sanic-21.12.1.tar.gz) = 225688 bytes
+SHA1 (patch-setup.py) = d67e265a1b6c7b11eac5eca07b780223722250e6
diff -r 2ed550c99de7 -r cd74b343a8c3 www/py-sanic/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-sanic/patches/patch-setup.py Thu Jan 27 09:57:08 2022 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-setup.py,v 1.11 2022/01/27 09:57:08 wiz Exp $
+
+Remove upper bound, pkgsrc version is 6.x
+
+--- setup.py.orig 2022-01-06 10:26:24.000000000 +0000
++++ setup.py
+@@ -90,28 +90,28 @@ requirements = [
+ ujson,
+ "aiofiles>=0.6.0",
+ "websockets>=10.0",
+- "multidict>=5.0,<6.0",
++ "multidict>=5.0",
+ ]
+
+ tests_require = [
+ "sanic-testing>=0.7.0",
+- "pytest==6.2.5",
+- "coverage==5.3",
+- "gunicorn==20.0.4",
++ "pytest",
++ "coverage",
++ "gunicorn",
+ "pytest-cov",
+ "beautifulsoup4",
+ "pytest-sanic",
+ "pytest-sugar",
+ "pytest-benchmark",
+- "chardet==3.*",
++ "chardet",
+ "flake8",
+ "black",
+ "isort>=5.0.0",
+ "bandit",
+- "mypy>=0.901,<0.910",
++ "mypy>=0.901",
+ "docutils",
+ "pygments",
+- "uvicorn<0.15.0",
++ "uvicorn",
+ types_ujson,
+ ]
+
Home |
Main Index |
Thread Index |
Old Index