aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-PyGreSQL
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2014-02-09 19:11:46 +0800
committerrm <rm@FreeBSD.org>2014-02-09 19:11:46 +0800
commiteb652d65ae89de24f9a4de652e9d6d4ae840d7f4 (patch)
tree234c911bcbba56127e43b077144bdbd4e5f72e52 /databases/py-PyGreSQL
parent245def5418511db5c664f2c68e859579843735a1 (diff)
downloadfreebsd-ports-gnome-eb652d65ae89de24f9a4de652e9d6d4ae840d7f4.tar.gz
freebsd-ports-gnome-eb652d65ae89de24f9a4de652e9d6d4ae840d7f4.tar.zst
freebsd-ports-gnome-eb652d65ae89de24f9a4de652e9d6d4ae840d7f4.zip
- install port documentation into stagedir uncoditionally and remove inclusion
of bsd.port.options.mk - unmute docs installation command - remove no more needed patch - bump PORTREVISION
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/