From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine_issue_checklist/
Date: Mon, 29 Jun 2015 18:52:03 +0000 (UTC) [thread overview]
Message-ID: <1435603908.4bf2a2316b345cb267239c13b4e8dd31b6ef0aad.mrueg@gentoo> (raw)
commit: 4bf2a2316b345cb267239c13b4e8dd31b6ef0aad
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 29 18:51:48 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Jun 29 18:51:48 2015 +0000
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=4bf2a231
[www-apps/redmine_issue_checklist] Fix typo.
Package-Manager: portage-2.2.20
www-apps/redmine_issue_checklist/Manifest | 1 +
www-apps/redmine_issue_checklist/metadata.xml | 8 +++
.../redmine_issue_checklist-2.0.8.ebuild | 61 ++++++++++++++++++++++
3 files changed, 70 insertions(+)
diff --git a/www-apps/redmine_issue_checklist/Manifest b/www-apps/redmine_issue_checklist/Manifest
new file mode 100644
index 0000000..ac0fd48
--- /dev/null
+++ b/www-apps/redmine_issue_checklist/Manifest
@@ -0,0 +1 @@
+DIST redmine_issue_checklist-2.0.8.tar.gz 311219 SHA256 ddc0360ad932073cc8204b19ab202683d541927cd6364dc831963fcd191913c5 SHA512 2206037d70f6c8101f93d9c92de17800f29730728e617ed4824ff13ab1b88994dbd1580d76be84b1d4ec509b67cb977f4bda908fbbe3df2d002cff9e4da440f0 WHIRLPOOL b2eda9ed2217a3731521c9a5626f79c8f53b216d69baf835c6b7dac824d3ca701892a3f0ef3ba2887e5debc9f7410aff681e8b18ecdcb8fc87d148d2abe16f06
diff --git a/www-apps/redmine_issue_checklist/metadata.xml b/www-apps/redmine_issue_checklist/metadata.xml
new file mode 100644
index 0000000..bfcb697
--- /dev/null
+++ b/www-apps/redmine_issue_checklist/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_issue_checklist/redmine_issue_checklist-2.0.8.ebuild b/www-apps/redmine_issue_checklist/redmine_issue_checklist-2.0.8.ebuild
new file mode 100644
index 0000000..63dedff
--- /dev/null
+++ b/www-apps/redmine_issue_checklist/redmine_issue_checklist-2.0.8.ebuild
@@ -0,0 +1,61 @@
+# 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="Checklist Plugin creates simple checklists for Redmine issues"
+HOMEPAGE="https://github.com/Undev/redmine_issue_checklist http://www.redminecrm.com/projects/checklist/"
+SRC_URI="https://github.com/Undev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+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.md
+ rm README.md GPL.txt issue_checklist_*.PNG .travis.yml || 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}"
+ 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
+}
next reply other threads:[~2015-06-29 18:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-29 18:52 Manuel Rüger [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-06-30 22:47 [gentoo-commits] dev/mrueg:master commit in: www-apps/redmine_issue_checklist/ 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=1435603908.4bf2a2316b345cb267239c13b4e8dd31b6ef0aad.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