From owner-svn-ports-head@FreeBSD.ORG Sun Jan 20 10:06:56 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5BA15E83; Sun, 20 Jan 2013 10:06:56 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 4C84F9DD; Sun, 20 Jan 2013 10:06:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0KA6uC4019841; Sun, 20 Jan 2013 10:06:56 GMT (envelope-from rm@svn.freebsd.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0KA6snN019831; Sun, 20 Jan 2013 10:06:54 GMT (envelope-from rm@svn.freebsd.org) Message-Id: <201301201006.r0KA6snN019831@svn.freebsd.org> From: Ruslan Mahmatkhanov Date: Sun, 20 Jan 2013 10:06:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310678 - in head: . databases databases/postgresql-plpython databases/postgresql83-plpython databases/postgresql84-plpython databases/postgresql90-plpython databases/postgresql91-plpyt... X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 10:06:56 -0000 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@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"