public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine_scrum/
Date: Mon, 29 Jun 2015 10:58:32 +0000 (UTC)	[thread overview]
Message-ID: <1435575415.2c937af74b05fc1006a80db8e4cde7427027a95c.mrueg@gentoo> (raw)

commit:     2c937af74b05fc1006a80db8e4cde7427027a95c
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 29 10:56:55 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Jun 29 10:56:55 2015 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=2c937af7

[www-apps/redmine_scrum] Initial version.

Package-Manager: portage-2.2.20

 www-apps/redmine_scrum/Manifest                    |  1 +
 www-apps/redmine_scrum/metadata.xml                |  8 +++
 www-apps/redmine_scrum/redmine_scrum-0.11.1.ebuild | 64 ++++++++++++++++++++++
 3 files changed, 73 insertions(+)

diff --git a/www-apps/redmine_scrum/Manifest b/www-apps/redmine_scrum/Manifest
new file mode 100644
index 0000000..01315c0
--- /dev/null
+++ b/www-apps/redmine_scrum/Manifest
@@ -0,0 +1 @@
+DIST redmine_scrum-0.11.1.tar.gz 159421 SHA256 efabf88381c9a5bd630507a0c396ecbe94e5eb48b54ae61671ed16a76b89ccf8 SHA512 d731b2f5fd4dd9463505de65b6f43b606fcc4e1655a58e1f584df962f8bf32d997dc4608a818a6d0aa76f8016094bc52e922431a3a49cc28f73ce4c3182b7b40 WHIRLPOOL e1482b1e5c567231d230ce5d61c6d16f77079c9e31101e4bb300a94de40749bd52274f1c6bd61a2edabc3849815ddd5bf0aca10f17bd6514da8191dbb0e9c40b

diff --git a/www-apps/redmine_scrum/metadata.xml b/www-apps/redmine_scrum/metadata.xml
new file mode 100644
index 0000000..bfcb697
--- /dev/null
+++ b/www-apps/redmine_scrum/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>mrueg@gentoo.org</email>
+		<name>Manuel Rüger</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/www-apps/redmine_scrum/redmine_scrum-0.11.1.ebuild b/www-apps/redmine_scrum/redmine_scrum-0.11.1.ebuild
new file mode 100644
index 0000000..c5220b3
--- /dev/null
+++ b/www-apps/redmine_scrum/redmine_scrum-0.11.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+USE_RUBY="ruby20"
+inherit ruby-ng user
+
+DESCRIPTION="A Redmine plugin which allows to follow Scrum methodology"
+HOMEPAGE="https://redmine.ociotec.com/projects/redmine-plugin-scrum"
+SRC_URI="http://redmine.ociotec.com/attachments/download/335/scrum%20v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CC-BY-ND-4.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RUBY_S="scrum v${PV}"
+
+ruby_add_rdepend ">=www-apps/redmine-3"
+
+REDMINE_DIR="/var/lib/redmine"
+
+pkg_setup() {
+	enewgroup redmine
+	enewuser redmine -1 -1 "${REDMINE_DIR}" redmine
+}
+
+all_ruby_install() {
+	dodoc README.rdoc
+	rm README.rdoc license.txt || die
+	dodir "${REDMINE_DIR}"/plugins/${PN}
+	insinto "${REDMINE_DIR}"/plugins/${PN}
+	doins -r .
+	fowners -R redmine:redmine "${REDMINE_DIR}"/plugins/${PN}
+}
+
+pkg_postinst() {
+	einfo
+	elog "Please run emerge --config =${PF}"
+	elog "Further information:"
+	elog "https://redmine.ociotec.com/projects/redmine-plugin-scrum"
+	einfo
+}
+
+pkg_config() {
+	local RAILS_ENV=${RAILS_ENV:-production}
+	if [ ! -L /usr/bin/ruby ]; then
+		eerror "/usr/bin/ruby is not a valid symlink to any ruby implementation."
+		eerror "Please update it via `eselect ruby`"
+		die
+	fi
+	if [[ $RUBY_TARGETS != *$( eselect ruby show | awk 'NR==2' | tr  -d ' '  )* ]]; then
+		eerror "/usr/bin/ruby is currently not included in redmine's ruby targets: ${RUBY_TARGETS}."
+		eerror "Please update it via `eselect ruby`"
+		die
+	fi
+
+	local RUBY=${RUBY:-ruby}
+	einfo "Upgrading the plugin migrations."
+	cd "${EPREFIX}${REDMINE_DIR}" || die
+	RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake redmine:plugins:migrate || die
+}


             reply	other threads:[~2015-06-29 10:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-29 10:58 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-29 11:07 [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine_scrum/ Manuel Rüger
2015-07-04 11:31 Manuel Rüger
2015-08-14  1:35 Manuel Rüger
2015-08-15 11:20 Manuel Rüger
2015-11-07 11:11 Manuel Rüger
2016-03-17  1:24 Manuel Rüger
2016-03-17  1:26 Manuel Rüger
2016-07-11  0:40 Manuel Rüger
2016-07-11  0:41 Manuel Rüger
2016-08-29  0:14 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1435575415.2c937af74b05fc1006a80db8e4cde7427027a95c.mrueg@gentoo \
    --to=mrueg@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox