aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-Pyrseas/Makefile
blob: a2362a814b328d2e86390051ce6124030f40ace3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $FreeBSD$

PORTNAME=   Pyrseas
PORTVERSION=    0.7.1
DISTVERSIONPREFIX=  v
CATEGORIES= databases python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= arcade@b1t.name
COMMENT=    Framework and utilities to upgrade and maintain a relational database

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.2:${PORTSDIR}/databases/py-psycopg2 \
        ${PYTHON_PKGNAMEPREFIX}yaml>=3.09:${PORTSDIR}/devel/py-yaml
TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest

USES=       python
USE_PYTHON= distutils autoplist

USE_GITHUB= yes
GH_ACCOUNT= perseas

# Requires a running PostgreSQL instance

regression-test: build
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

.include <bsd.port.mk>