aboutsummaryrefslogtreecommitdiff
path: root/databases/py-PyGreSQL
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2014-02-09 11:11:46 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2014-02-09 11:11:46 +0000
commit508a9eed7cf9a5e836c8814f269a2f0230db98c0 (patch)
tree234c911bcbba56127e43b077144bdbd4e5f72e52 /databases/py-PyGreSQL
parent8a366dc4793b109e8275f22cac62655f8e274cb6 (diff)
downloadports-508a9eed7cf9a5e836c8814f269a2f0230db98c0.tar.gz
ports-508a9eed7cf9a5e836c8814f269a2f0230db98c0.zip
Notes
Diffstat (limited to 'databases/py-PyGreSQL')
-rw-r--r--databases/py-PyGreSQL/Makefile13
-rw-r--r--databases/py-PyGreSQL/files/patch-setup.py17
-rw-r--r--databases/py-PyGreSQL/pkg-descr2
3 files changed, 7 insertions, 25 deletions
diff --git a/databases/py-PyGreSQL/Makefile b/databases/py-PyGreSQL/Makefile
index 5d340ba21be8..708a303ed0f0 100644
--- a/databases/py-PyGreSQL/Makefile
+++ b/databases/py-PyGreSQL/Makefile
@@ -3,6 +3,7 @@
PORTNAME= PyGreSQL
PORTVERSION= 4.1.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= databases python
MASTER_SITES= http://www.pygresql.org/files/
@@ -12,17 +13,15 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Python interface to PostgreSQL, both classic and DP-API 2.0
-USE_PGSQL= yes
-USE_PYTHON= 2
-USE_PYDISTUTILS=yes
+USE_PGSQL= yes
+USE_PYTHON= 2
+USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
-.include <bsd.port.options.mk>
+PORTDOCS= *
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.endif
+ (cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/databases/py-PyGreSQL/files/patch-setup.py b/databases/py-PyGreSQL/files/patch-setup.py
deleted file mode 100644
index 7c0b98c55316..000000000000
--- a/databases/py-PyGreSQL/files/patch-setup.py
+++ /dev/null
@@ -1,17 +0,0 @@
---- ./setup.py.orig 2013-01-03 16:46:09.000000000 +0400
-+++ ./setup.py 2013-01-03 21:16:42.000000000 +0400
-@@ -47,10 +47,10 @@
-
- import os
- import platform
--try:
-- from setuptools import setup
--except ImportError:
-- from distutils.core import setup
-+#try:
-+# from setuptools import setup
-+#except ImportError:
-+from distutils.core import setup
- from distutils.extension import Extension
- from distutils.command.build_ext import build_ext
- from distutils.ccompiler import get_default_compiler
diff --git a/databases/py-PyGreSQL/pkg-descr b/databases/py-PyGreSQL/pkg-descr
index 2c0c8cfd97d9..9fbde26ab37d 100644
--- a/databases/py-PyGreSQL/pkg-descr
+++ b/databases/py-PyGreSQL/pkg-descr
@@ -3,4 +3,4 @@ the PostgreSQL query library to allow easy use of the powerful PostgreSQL
features from a Python script.
PyGreSQL includes a DB-API 2.0 compliant API wrapper.
-WWW: http://www.pygresql.org
+WWW: http://www.pygresql.org/