From 9327f38bba948fc095ff433d9b34a20651d7f7da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 3 Jul 2010 07:57:47 +0000 Subject: dev-db/plr: Version bump. svn path=/sunrise/; revision=10869 --- dev-db/plr/ChangeLog | 6 ++++ dev-db/plr/Manifest | 6 ++-- dev-db/plr/plr-8.3.0.10.ebuild | 69 ++++++++++++++++++++++++++++++++++++++++++ dev-db/plr/plr-8.3.0.8.ebuild | 69 ------------------------------------------ 4 files changed, 78 insertions(+), 72 deletions(-) create mode 100644 dev-db/plr/plr-8.3.0.10.ebuild delete mode 100644 dev-db/plr/plr-8.3.0.8.ebuild (limited to 'dev-db') diff --git a/dev-db/plr/ChangeLog b/dev-db/plr/ChangeLog index 49bf1c017..9b71efefd 100644 --- a/dev-db/plr/ChangeLog +++ b/dev-db/plr/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*plr-8.3.0.10 (02 Jul 2010) + + 02 Jul 2010; Michał Górny (sedzimir) + -plr-8.3.0.8.ebuild, +plr-8.3.0.10.ebuild: + Version bump. + 18 Jun 2010; Johan Bergström (jbergstroem) plr-8.2.0.10.ebuild, plr-8.3.0.8.ebuild: Migrating away from deprecated postgres virtuals diff --git a/dev-db/plr/Manifest b/dev-db/plr/Manifest index 27fd13e55..15f66f9ea 100644 --- a/dev-db/plr/Manifest +++ b/dev-db/plr/Manifest @@ -1,6 +1,6 @@ DIST plr-8.2.0.10.tar.gz 232681 RMD160 37ba2448cfdacb9c75565670a0b47f30b8a018a0 SHA1 35d76ed1fa3564dc146afb197c846ea81370782c SHA256 899a4c3ba5244006fb47a7e1e891d408211a981020488554a45e18ec3bb60b07 -DIST plr-8.3.0.8.tar.gz 232880 RMD160 fc33bcdd94ca524215be5c729b6ff0697d678579 SHA1 36b94678b84bd408c557779b839a25c490405eec SHA256 493078d1d9df2606a8ebdfa1fe643cb3d24e727fa2dd4ad06beada871db4056c +DIST plr-8.3.0.10.tar.gz 238174 RMD160 d469280df1825c39453a1b2385f4c66f0f49ea15 SHA1 fa0c766e4a31edf3ab2ae66fcc59a0a0a402ceaa SHA256 1fbf5a5ce1142a0070f0c29892ba960c83d2e52da5ddf81aa5cc87c08753ccca EBUILD plr-8.2.0.10.ebuild 1825 RMD160 eb85423a09d939509ee240d0770302ebe4313cfd SHA1 2e078d1fd563eb4700945661ffbe9dd42dd5e873 SHA256 9decd7863407a681cf269325ba474ab717811bf55206d21392d673db7801b1bb -EBUILD plr-8.3.0.8.ebuild 1825 RMD160 00a73bf03a1b1f1915d87f52193840101442d5a7 SHA1 68be7e51ecfbfafbf9c20156008547eb04bb5a3f SHA256 b7f867806353ec0da561325a35be026695f9f8fabec1dc56fba95fd7d99c1ac0 -MISC ChangeLog 422 RMD160 302a3d2b6e9a48d683d1ff0221ca3164acf72d31 SHA1 78e4d5775db123cc3642345bc4c59e4efd7e3550 SHA256 3fa8fb651098a2e0fc97430f2c0446a8645a90da60426ee56037921c2fa6a951 +EBUILD plr-8.3.0.10.ebuild 1825 RMD160 00a73bf03a1b1f1915d87f52193840101442d5a7 SHA1 68be7e51ecfbfafbf9c20156008547eb04bb5a3f SHA256 b7f867806353ec0da561325a35be026695f9f8fabec1dc56fba95fd7d99c1ac0 +MISC ChangeLog 582 RMD160 6f32e6e09e7a6bd1d60f4d9c93ea6d48a2b20504 SHA1 a00c49338bffb3c1ab02c6e0caba4885a0ac31b4 SHA256 dcd0d14fe7cf84d4189f2259aa05f6b90880a2f649ae749bd60481a4b90b4d8c MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f diff --git a/dev-db/plr/plr-8.3.0.10.ebuild b/dev-db/plr/plr-8.3.0.10.ebuild new file mode 100644 index 000000000..71447c7f9 --- /dev/null +++ b/dev-db/plr/plr-8.3.0.10.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit multilib + +DESCRIPTION="R language addon for postgresql database" +HOMEPAGE="http://www.joeconway.com/plr/" +SRC_URI="http://www.joeconway.com/plr/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="8.3" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/R + =dev-db/postgresql-server-${SLOT}*" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/contrib/${PN}" + +src_unpack() { + unpack ${A} + # the build system wants 'contrib' to be part of the path + mkdir "${WORKDIR}/contrib" + mv "${WORKDIR}/${PN}" "${S}" +} + +src_compile() { + if has_version "dev-db/postgresql-server:${SLOT}" ; then + export PG_CONFIG="/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config" + fi + USE_PGXS=1 emake -j1 || die "emake failed" +} + +src_install() { + USE_PGXS=1 emake -j1 DESTDIR="${D}" install || die "emake install failed" +} + +pkg_postinst() { + local sharepath + if has_version "dev-db/postgresql-server:${SLOT}" ; then + sharepath="/usr/share/postgresql-${SLOT}/contrib" + else + sharepath="/usr/share/postgresql/contrib" + fi + einfo + einfo "To install PL/R to your database issue" + einfo + einfo "\t psql -d mydatabase -U pg_username < ${sharepath}/plr.sql" + einfo + einfo "You may have to login as database administrator." + einfo + einfo "You have to define PL/R as TRUSTED language to allow non-administrators" + einfo "to use it. Change the CREATE LANGUAGE statement in the plr.sql file" + einfo "into" + einfo + einfo "\t CREATE TRUSTED LANGUAGE plr HANDLER plr_call_handler;" + einfo + einfo "update the database as shown above and allow a specific user to" + einfo "use PL/R by" + einfo + einfo "\t GRANT USAGE ON LANGUAGE plr TO pg_username;" + einfo + einfo "For further information on PL/R have a look at" + einfo + einfo "\t http://www.joeconway.com/plr/" + einfo +} diff --git a/dev-db/plr/plr-8.3.0.8.ebuild b/dev-db/plr/plr-8.3.0.8.ebuild deleted file mode 100644 index 71447c7f9..000000000 --- a/dev-db/plr/plr-8.3.0.8.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit multilib - -DESCRIPTION="R language addon for postgresql database" -HOMEPAGE="http://www.joeconway.com/plr/" -SRC_URI="http://www.joeconway.com/plr/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="8.3" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-lang/R - =dev-db/postgresql-server-${SLOT}*" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/contrib/${PN}" - -src_unpack() { - unpack ${A} - # the build system wants 'contrib' to be part of the path - mkdir "${WORKDIR}/contrib" - mv "${WORKDIR}/${PN}" "${S}" -} - -src_compile() { - if has_version "dev-db/postgresql-server:${SLOT}" ; then - export PG_CONFIG="/usr/$(get_libdir)/postgresql-${SLOT}/bin/pg_config" - fi - USE_PGXS=1 emake -j1 || die "emake failed" -} - -src_install() { - USE_PGXS=1 emake -j1 DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - local sharepath - if has_version "dev-db/postgresql-server:${SLOT}" ; then - sharepath="/usr/share/postgresql-${SLOT}/contrib" - else - sharepath="/usr/share/postgresql/contrib" - fi - einfo - einfo "To install PL/R to your database issue" - einfo - einfo "\t psql -d mydatabase -U pg_username < ${sharepath}/plr.sql" - einfo - einfo "You may have to login as database administrator." - einfo - einfo "You have to define PL/R as TRUSTED language to allow non-administrators" - einfo "to use it. Change the CREATE LANGUAGE statement in the plr.sql file" - einfo "into" - einfo - einfo "\t CREATE TRUSTED LANGUAGE plr HANDLER plr_call_handler;" - einfo - einfo "update the database as shown above and allow a specific user to" - einfo "use PL/R by" - einfo - einfo "\t GRANT USAGE ON LANGUAGE plr TO pg_username;" - einfo - einfo "For further information on PL/R have a look at" - einfo - einfo "\t http://www.joeconway.com/plr/" - einfo -} -- cgit v1.2.3