From 1e1a6eb1f8fd8dd19210ea2d5f5342b6a13761e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Goran=20Meki=C4=87?= Date: Sun, 2 Jan 2022 14:21:32 +0900 Subject: [PATCH] databases/py-peewee_migrate: update to 1.4.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog: https://github.com/klen/peewee_migrate/blob/1.4.7/Changelog PR: 259588 Reported by: Goran Mekić (maintainer) Reviewed by: koobs --- databases/py-peewee_migrate/Makefile | 19 ++++++++++++------- databases/py-peewee_migrate/distinfo | 6 +++--- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/databases/py-peewee_migrate/Makefile b/databases/py-peewee_migrate/Makefile index 3adffcb09ec3..df0eedef00f2 100644 --- a/databases/py-peewee_migrate/Makefile +++ b/databases/py-peewee_migrate/Makefile @@ -1,5 +1,5 @@ PORTNAME= peewee_migrate -PORTVERSION= 1.4.6 +PORTVERSION= 1.4.7 CATEGORIES= databases devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,16 +10,15 @@ COMMENT= Simple migration engine for Peewee LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -MY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ +MY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}peewee>=0:databases/py-peewee@${PY_FLAVOR} BUILD_DEPENDS= ${MY_DEPENDS} RUN_DEPENDS= ${MY_DEPENDS} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.7+ USE_GITHUB= yes # tests not shipped with sdist USE_PYTHON= autoplist concurrent distutils @@ -28,7 +27,13 @@ TEST_ENV= PYTHONPATH=${WRKSRC}/src NO_ARCH= yes +.include + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} +.endif + do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= -.include +.include diff --git a/databases/py-peewee_migrate/distinfo b/databases/py-peewee_migrate/distinfo index b6f3b2fe8887..75dfdeb58ffe 100644 --- a/databases/py-peewee_migrate/distinfo +++ b/databases/py-peewee_migrate/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1628788444 -SHA256 (klen-peewee_migrate-1.4.6_GH0.tar.gz) = 1f6899ed6379dd3d7618ad023f0610d67ab118a62acb1b358461f8be3bc40a39 -SIZE (klen-peewee_migrate-1.4.6_GH0.tar.gz) = 24678 +TIMESTAMP = 1635767944 +SHA256 (klen-peewee_migrate-1.4.7_GH0.tar.gz) = 9cdead1cbd1c5aa947f18af48e98343e308f0201147d3c81d4c227c55728eecf +SIZE (klen-peewee_migrate-1.4.7_GH0.tar.gz) = 24976