1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

databases/py-peewee_migrate: update to 1.4.7

Changelog: https://github.com/klen/peewee_migrate/blob/1.4.7/Changelog

PR:		259588
Reported by:	Goran Mekić <meka@tilda.center> (maintainer)
Reviewed by:	koobs
This commit is contained in:
Goran Mekić 2022-01-02 14:21:32 +09:00 committed by Hiroki Tagato
parent 9adc143315
commit 1e1a6eb1f8
2 changed files with 15 additions and 10 deletions

View File

@ -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 <bsd.port.pre.mk>
.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 <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -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