devel/py-jsonschema: Update version 3.2.0=>4.1.2
- Add TEST framework for python Relnotes: https://github.com/Julian/jsonschema/releases/tag/v4.1.2
This commit is contained in:
parent
0c3ad9597b
commit
a06fe6e39a
3 changed files with 18 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
|
||||
|
||||
PORTNAME= jsonschema
|
||||
PORTVERSION= 3.2.0
|
||||
PORTVERSION= 4.1.2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -10,16 +10,19 @@ MAINTAINER= bofh@FreeBSD.org
|
|||
COMMENT= JSON Schema validation for Python
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:devel/py-setuptools_scm@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=17.4.0:devel/py-attrs@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyrsistent>=0.14.0:devel/py-pyrsistent@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m tox
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1574528023
|
||||
SHA256 (jsonschema-3.2.0.tar.gz) = c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a
|
||||
SIZE (jsonschema-3.2.0.tar.gz) = 167226
|
||||
TIMESTAMP = 1635534166
|
||||
SHA256 (jsonschema-4.1.2.tar.gz) = 5c1a282ee6b74235057421fd0f766ac5f2972f77440927f6471c9e8493632fac
|
||||
SIZE (jsonschema-4.1.2.tar.gz) = 310016
|
||||
|
|
9
devel/py-jsonschema/files/patch-setup.py
Normal file
9
devel/py-jsonschema/files/patch-setup.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
--- setup.py.orig 2021-10-29 19:19:35 UTC
|
||||
+++ setup.py
|
||||
@@ -0,0 +1,6 @@
|
||||
+#!/usr/bin/env python
|
||||
+
|
||||
+import setuptools
|
||||
+
|
||||
+if __name__ == "__main__":
|
||||
+ setuptools.setup()
|
Loading…
Reference in a new issue