aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-07-26 18:44:37 +0800
committerkoobs <koobs@FreeBSD.org>2014-07-26 18:44:37 +0800
commite79f0d13c2c47930e95eb8265bf86b97fb864b0e (patch)
tree03e963a179aa6d9417b748188024c578ab2c0164 /databases
parentc4acb7c58afd4c0cbaf3c567e38cda2e06b97529 (diff)
downloadfreebsd-ports-gnome-e79f0d13c2c47930e95eb8265bf86b97fb864b0e.tar.gz
freebsd-ports-gnome-e79f0d13c2c47930e95eb8265bf86b97fb864b0e.tar.zst
freebsd-ports-gnome-e79f0d13c2c47930e95eb8265bf86b97fb864b0e.zip
databases/py-Pyrseas: Unbreak
- Remove BROKEN (switch GH_ACCOUNT) While I'm here: - Add LICENSE_FILE - Add TEST_DEPENDS and regression-test target - pkg-descr: Strip trailing slash from WWW: URL PR: 191890 Submitted by: <arcade at b1t dot name> (maintainer)
Diffstat (limited to 'databases')
-rw-r--r--databases/py-Pyrseas/Makefile15
-rw-r--r--databases/py-Pyrseas/distinfo4
-rw-r--r--databases/py-Pyrseas/pkg-descr2
3 files changed, 12 insertions, 9 deletions
diff --git a/databases/py-Pyrseas/Makefile b/databases/py-Pyrseas/Makefile
index 47a8f897d1b9..605eb3cadea8 100644
--- a/databases/py-Pyrseas/Makefile
+++ b/databases/py-Pyrseas/Makefile
@@ -9,21 +9,24 @@ MAINTAINER= arcade@b1t.name
COMMENT= Framework and utilities to upgrade and maintain a relational database
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN= Checksum and size mismatch
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 \
- ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
+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
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USE_GITHUB= yes
-GH_ACCOUNT= jmafc
+GH_ACCOUNT= perseas
GH_COMMIT= 9b0e3d2
GH_TAGNAME= v${PORTVERSION}
-WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTNAME}-${GH_COMMIT}
+# Requires a running PostgreSQL instance
+
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>
diff --git a/databases/py-Pyrseas/distinfo b/databases/py-Pyrseas/distinfo
index 9158052ee3be..8274565f8a78 100644
--- a/databases/py-Pyrseas/distinfo
+++ b/databases/py-Pyrseas/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Pyrseas-0.7.1.tar.gz) = d461cab3fd2bbd1caa0b243fa301e7ea2845cd4bacdb92f8ac3f69ed27cf1981
-SIZE (Pyrseas-0.7.1.tar.gz) = 164485
+SHA256 (Pyrseas-0.7.1.tar.gz) = 4e2164ced799ec3a7eacbf1c95ba962badc3fff4ece6756ad278b54090cb180e
+SIZE (Pyrseas-0.7.1.tar.gz) = 164482
diff --git a/databases/py-Pyrseas/pkg-descr b/databases/py-Pyrseas/pkg-descr
index a531deea4056..fdeeb66b85d0 100644
--- a/databases/py-Pyrseas/pkg-descr
+++ b/databases/py-Pyrseas/pkg-descr
@@ -2,4 +2,4 @@ Pyrseas provides a framework and utilities to upgrade and maintain a relational
database. Its purpose is to enhance and follow through on the concepts of the
Andromeda Project (http://www.andromeda-project.org/)
-WWW: http://pgfoundry.org/projects/pyrseas/
+WWW: http://pgfoundry.org/projects/pyrseas