py-priority: update to 2.0.0.

2.0.0 (2021-06-27)
------------------

**API Changes**

- Python 3.6 is the minimal support Python version.
- Support for Python 3.7 has been added.
- Support for Python 3.8 has been added.
- Support for Python 3.9 has been added.
- Support for Python 2.7 has been removed.
- Support for Python 3.3 has been removed.
- Support for Python 3.4 has been removed.
- Support for Python 3.5 has been removed.
- Support for PyPy (Python 2.7 compatible) has been removed.
- Add type hints throughout and support PEP 561 via a py.typed
  file. This should allow projects to type check their usage of this dependency.
- Throw ``TypeError`` when creating a priority tree with a ``maximum_streams``
  value that is not an integer.
- Throw ``ValueError`` when creating a priority tree with a ``maximum_streams``
  value that is not a positive integer.
This commit is contained in:
wiz 2023-11-13 11:21:06 +00:00
parent 974534ffd4
commit 307e632719
3 changed files with 18 additions and 16 deletions

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.2 2022/01/04 20:55:32 wiz Exp $
# $NetBSD: Makefile,v 1.3 2023/11/13 11:21:06 wiz Exp $
DISTNAME= priority-1.3.0
DISTNAME= priority-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/priority/}
@ -11,12 +10,13 @@ HOMEPAGE= http://python-hyper.org/priority/
COMMENT= Pure-Python implementation of the HTTP/2 priority tree
LICENSE= mit
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,11 +1,13 @@
@comment $NetBSD: PLIST,v 1.1 2021/05/12 09:09:27 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.2 2023/11/13 11:21:06 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/priority/__init__.py
${PYSITELIB}/priority/__init__.pyc
${PYSITELIB}/priority/__init__.pyo
${PYSITELIB}/priority/priority.py
${PYSITELIB}/priority/priority.pyc
${PYSITELIB}/priority/priority.pyo
${PYSITELIB}/priority/py.typed

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.3 2021/10/26 11:30:45 nia Exp $
$NetBSD: distinfo,v 1.4 2023/11/13 11:21:06 wiz Exp $
BLAKE2s (priority-1.3.0.tar.gz) = e00afa70dbdb854c98bcb8019198235f1fe5b023ae81e221e4fbc097c245872c
SHA512 (priority-1.3.0.tar.gz) = cefb13b15e99ef98c37fdd1486466c9e1d7d04b4574cbca1665fde7b7b44cc7d66964bed41184315a9b51bd6f9d0e02bbe113bfa004a754ac270170309b71e0a
Size (priority-1.3.0.tar.gz) = 13827 bytes
BLAKE2s (priority-2.0.0.tar.gz) = 8b14e60ccc4ddef5f1da3dccff09447e22aaa5e2dfa71d5039ff714dc22c119b
SHA512 (priority-2.0.0.tar.gz) = f90648a3ff1ee4131f30e99ecd8c36110abf484733f507edefcede8fdcb9ec3a618b9278e85724855709f41facee438061e4c5cae201b6e916c22f4a451db575
Size (priority-2.0.0.tar.gz) = 24792 bytes