pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-sanic
Module Name: pkgsrc
Committed By: wiz
Date: Thu Jan 27 09:57:08 UTC 2022
Modified Files:
pkgsrc/www/py-sanic: Makefile distinfo
Added Files:
pkgsrc/www/py-sanic/patches: patch-setup.py
Log Message:
py-sanic: unrestrict multidict
Add some test dependencies while here, more to do
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/www/py-sanic/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/py-sanic/distinfo
cvs rdiff -u -r0 -r1.11 pkgsrc/www/py-sanic/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-sanic/Makefile
diff -u pkgsrc/www/py-sanic/Makefile:1.25 pkgsrc/www/py-sanic/Makefile:1.26
--- pkgsrc/www/py-sanic/Makefile:1.25 Thu Jan 13 18:23:57 2022
+++ pkgsrc/www/py-sanic/Makefile Thu Jan 27 09:57:08 2022
@@ -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 @@ LICENSE= mit AND apache-2.0
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
Index: pkgsrc/www/py-sanic/distinfo
diff -u pkgsrc/www/py-sanic/distinfo:1.21 pkgsrc/www/py-sanic/distinfo:1.22
--- pkgsrc/www/py-sanic/distinfo:1.21 Thu Jan 13 18:23:57 2022
+++ pkgsrc/www/py-sanic/distinfo Thu Jan 27 09:57:08 2022
@@ -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
Added files:
Index: pkgsrc/www/py-sanic/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-sanic/patches/patch-setup.py:1.11
--- /dev/null Thu Jan 27 09:57:08 2022
+++ pkgsrc/www/py-sanic/patches/patch-setup.py Thu Jan 27 09:57:08 2022
@@ -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