svn commit: r310678 - in head: . databases databases/postgresql-plpython databases/postgresql83-plpython databases/postgresql84-plpython databases/postgresql90-plpython databases/postgresql91-plpyt...
Ruslan Mahmatkhanov
rm at FreeBSD.org
Sun Jan 20 10:06:56 UTC 2013
Author: rm
Date: Sun Jan 20 10:06:54 2013
New Revision: 310678
URL: http://svnweb.freebsd.org/changeset/ports/310678
Log:
Split out postgresql-python port on to bunch of PostgreSQL version-dependent ones,
so the packages can be built with different versions of PostgreSQL. The patch is
from crees@ with couple additions from me. It has some problems that prevents the
build with python3, but it was decided that it's better to add this as starting
point. Maintainership of this port also was passed to pgsql@ team.
PR: 166999
PR: 174152
Reported by: many
Approved by: pgsql (crees)
Added:
head/databases/postgresql83-plpython/
head/databases/postgresql83-plpython/Makefile (contents, props changed)
head/databases/postgresql84-plpython/
head/databases/postgresql84-plpython/Makefile (contents, props changed)
head/databases/postgresql90-plpython/
head/databases/postgresql90-plpython/Makefile (contents, props changed)
head/databases/postgresql90-plpython/pkg-descr (contents, props changed)
head/databases/postgresql91-plpython/
head/databases/postgresql91-plpython/Makefile (contents, props changed)
head/databases/postgresql92-plpython/
head/databases/postgresql92-plpython/Makefile (contents, props changed)
Deleted:
head/databases/postgresql-plpython/
Modified:
head/MOVED
head/databases/Makefile
Modified: head/MOVED
==============================================================================
--- head/MOVED Sun Jan 20 09:46:53 2013 (r310677)
+++ head/MOVED Sun Jan 20 10:06:54 2013 (r310678)
@@ -4015,3 +4015,4 @@ devel/lbpp||2013-01-13|Has expired: Dead
devel/titano||2013-01-13|Has expired: Dead upstream since 2001
games/py-anki|games/anki|2013-01-16|Project was merged
mail/claws-mail-synce||2013-01-16|Has expired: No longer supported by Claws Mail team
+databases/postgresql-plpython|databases/postgresql90-python|2013-01-20|This port was splitted out to several versioned ports
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Sun Jan 20 09:46:53 2013 (r310677)
+++ head/databases/Makefile Sun Jan 20 10:06:54 2013 (r310678)
@@ -635,7 +635,6 @@
SUBDIR += postgresql-odbc
SUBDIR += postgresql-pllua
SUBDIR += postgresql-plproxy
- SUBDIR += postgresql-plpython
SUBDIR += postgresql-plruby
SUBDIR += postgresql-relay
SUBDIR += postgresql-repmgr
@@ -643,12 +642,14 @@
SUBDIR += postgresql83-contrib
SUBDIR += postgresql83-docs
SUBDIR += postgresql83-plperl
+ SUBDIR += postgresql83-plpython
SUBDIR += postgresql83-pltcl
SUBDIR += postgresql83-server
SUBDIR += postgresql84-client
SUBDIR += postgresql84-contrib
SUBDIR += postgresql84-docs
SUBDIR += postgresql84-plperl
+ SUBDIR += postgresql84-plpython
SUBDIR += postgresql84-pltcl
SUBDIR += postgresql84-server
SUBDIR += postgresql90-client
@@ -656,6 +657,7 @@
SUBDIR += postgresql90-docs
SUBDIR += postgresql90-pgtcl
SUBDIR += postgresql90-plperl
+ SUBDIR += postgresql90-plpython
SUBDIR += postgresql90-pltcl
SUBDIR += postgresql90-server
SUBDIR += postgresql91-client
@@ -663,6 +665,7 @@
SUBDIR += postgresql91-docs
SUBDIR += postgresql91-pgtcl
SUBDIR += postgresql91-plperl
+ SUBDIR += postgresql91-plpython
SUBDIR += postgresql91-pltcl
SUBDIR += postgresql91-server
SUBDIR += postgresql92-client
@@ -670,6 +673,7 @@
SUBDIR += postgresql92-docs
SUBDIR += postgresql92-pgtcl
SUBDIR += postgresql92-plperl
+ SUBDIR += postgresql92-plpython
SUBDIR += postgresql92-pltcl
SUBDIR += postgresql92-server
SUBDIR += postgresql_autodoc
Added: head/databases/postgresql83-plpython/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql83-plpython/Makefile Sun Jan 20 10:06:54 2013 (r310678)
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+USE_PYTHON= -2.7
+WANT_PGSQL_VER= 83
+
+.include "${.CURDIR}/../postgresql90-plpython/Makefile"
Added: head/databases/postgresql84-plpython/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql84-plpython/Makefile Sun Jan 20 10:06:54 2013 (r310678)
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+USE_PYTHON= -2.7
+WANT_PGSQL_VER= 84
+
+.include "${.CURDIR}/../postgresql90-plpython/Makefile"
Added: head/databases/postgresql90-plpython/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql90-plpython/Makefile Sun Jan 20 10:06:54 2013 (r310678)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= postgresql
+CATEGORIES= databases python
+PKGNAMESUFFIX= ${WANT_PGSQL_VER}-plpython
+
+MAINTAINER= pgsql at FreeBSD.org
+COMMENT= Module for using Python to write SQL functions
+
+USE_PGSQL= server
+
+MASTERDIR= ${.CURDIR}/../postgresql${WANT_PGSQL_VER}-server
+
+WANT_PGSQL_VER?= 90
+
+USE_PYTHON?= yes
+PYTHON_MAJOR_VER= ${PYTHON_VER:R}
+CONFIGURE_ARGS= --with-python
+PLIST_SUB= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER}
+
+.if ${PYTHON_MAJOR_VER} == 3
+PLIST_SUB+= PYTHON3=""
+.else
+PLIST_SUB+= PYTHON3="@comment "
+.endif
+
+BUILD_DIRS= src/backend src/pl/plpython
+INSTALL_DIRS= src/pl/plpython
+SLAVE_ONLY= yes
+
+.include "${MASTERDIR}/Makefile"
Added: head/databases/postgresql90-plpython/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql90-plpython/pkg-descr Sun Jan 20 10:06:54 2013 (r310678)
@@ -0,0 +1,6 @@
+PL/Python allows one to write PostgeSQL stored functions and
+procedures in Python (http://www.python.org/).
+
+This software is part of the standard PostgreSQL distribution.
+
+WWW: http://www.postgresql.org/
Added: head/databases/postgresql91-plpython/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql91-plpython/Makefile Sun Jan 20 10:06:54 2013 (r310678)
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+WANT_PGSQL_VER= 91
+
+.include "${.CURDIR}/../postgresql90-plpython/Makefile"
Added: head/databases/postgresql92-plpython/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/postgresql92-plpython/Makefile Sun Jan 20 10:06:54 2013 (r310678)
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+WANT_PGSQL_VER= 92
+
+.include "${.CURDIR}/../postgresql90-plpython/Makefile"
More information about the svn-ports-all
mailing list