diff options
author | adam <adam@pkgsrc.org> | 2021-09-28 05:33:57 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-09-28 05:33:57 +0000 |
commit | b5a9dc108fb0a739b72333aa641673ad0ff30afe (patch) | |
tree | fc609db3a6592f493b0138dbf3dd94f557f50af0 /security/py-josepy/Makefile | |
parent | d0969d4da598261dd390427d0c7b558e2970f270 (diff) | |
download | pkgsrc-b5a9dc108fb0a739b72333aa641673ad0ff30afe.tar.gz |
py-josepy: updated to 1.10.0
1.10.0 (2021-09-27)
-------------------
* josepy is now compliant with PEP-561: type checkers will fetch types from the inline
types annotations when josepy is installed as a dependency in a Python project.
* Added a `field` function to assist in adding type annotations for Fields in classes.
If the field function is used to define a `Field` in a `JSONObjectWithFields` based
class without a type annotation, an error will be raised.
* josepy's tests can no longer be imported under the name josepy, however, they are still
included in the package and you can run them by installing josepy with "tests" extras and
running `python -m pytest`.
1.9.0 (2021-09-09)
------------------
* Removed pytest-cache testing dependency.
* Fixed a bug that sometimes caused incorrect padding to be used when
serializing Elliptic Curve keys as JSON Web Keys.
Diffstat (limited to 'security/py-josepy/Makefile')
-rw-r--r-- | security/py-josepy/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/security/py-josepy/Makefile b/security/py-josepy/Makefile index a1d4ce501af..ba20c193f86 100644 --- a/security/py-josepy/Makefile +++ b/security/py-josepy/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.11 2021/03/18 07:33:31 adam Exp $ +# $NetBSD: Makefile,v 1.12 2021/09/28 05:33:57 adam Exp $ -DISTNAME= josepy-1.8.0 +DISTNAME= josepy-1.10.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= security python MASTER_SITES= ${MASTER_SITE_PYPI:=j/josepy/} @@ -16,7 +16,6 @@ DEPENDS+= ${PYPKGPREFIX}-setuptools>=1.0:../../devel/py-setuptools TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=4.0:../../devel/py-coverage TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8.0:../../devel/py-test -TEST_DEPENDS+= ${PYPKGPREFIX}-test-cache>=1.0:../../devel/py-test-cache TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8>=0.5:../../devel/py-test-flake8 @@ -28,5 +27,8 @@ post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} jws jws-${PYVERSSUFFIX} || ${TRUE} +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" |