commit 9dd45873d1c8c1855684860ff0aa58d74df3ae09 Author: Goran Mekić Date: Sun Dec 22 18:05:25 2019 +0100 Add peewee-migrate diff --git a/databases/Makefile b/databases/Makefile index e8dfec7d602e..6162c8d5ca04 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -800,6 +800,7 @@ SUBDIR += py-oops SUBDIR += py-oursql SUBDIR += py-peewee + SUBDIR += py-peewee-migrate SUBDIR += py-pg8000 SUBDIR += py-pg8000-112 SUBDIR += py-pgcli diff --git a/databases/py-peewee-migrate/Makefile b/databases/py-peewee-migrate/Makefile new file mode 100644 index 000000000000..5e79fbbe858c --- /dev/null +++ b/databases/py-peewee-migrate/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= peewee_migrate +PORTVERSION= 1.1.6 +CATEGORIES= databases devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= meka@tilda.center +COMMENT= Simple migration engine for Peewee + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} \ + ${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} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes # tests not shipped with sdist +USE_PYTHON= autoplist concurrent distutils + +GH_ACCOUNT= klen +GH_TAGNAME= ${PORTVERSION} +TEST_ENV= PYTHONPATH=${WRKSRC}/src + +NO_ARCH= yes + +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= + +.include diff --git a/databases/py-peewee-migrate/distinfo b/databases/py-peewee-migrate/distinfo new file mode 100644 index 000000000000..6c250272136e --- /dev/null +++ b/databases/py-peewee-migrate/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1577033890 +SHA256 (klen-peewee_migrate-1.1.6_GH0.tar.gz) = bdd96c115ba4438f214d899753f17641fdba445c71a5f4cda97d091d9c5ec90e +SIZE (klen-peewee_migrate-1.1.6_GH0.tar.gz) = 20853 diff --git a/databases/py-peewee-migrate/pkg-descr b/databases/py-peewee-migrate/pkg-descr new file mode 100644 index 000000000000..2a6adde0b695 --- /dev/null +++ b/databases/py-peewee-migrate/pkg-descr @@ -0,0 +1,3 @@ +Simple migration engine for Peewee + +WWW: https://github.com/klen/peewee_migrate