commit: b96ef29bd52dc5d0c5f2c2a757cd9cad0f5ab2d5 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Sun Aug 28 20:39:36 2016 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Sun Aug 28 20:39:36 2016 +0000 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=b96ef29b
www-apps/redmine_git_hosting: Version bump, remove old Package-Manager: portage-2.3.0 www-apps/redmine_git_hosting/Manifest | 3 +- www-apps/redmine_git_hosting/metadata.xml | 2 +- .../redmine_git_hosting-0.7.10.ebuild | 81 ---------------------- ...2.0.ebuild => redmine_git_hosting-1.2.1.ebuild} | 4 +- 4 files changed, 4 insertions(+), 86 deletions(-) diff --git a/www-apps/redmine_git_hosting/Manifest b/www-apps/redmine_git_hosting/Manifest index ea68947..85a5a67 100644 --- a/www-apps/redmine_git_hosting/Manifest +++ b/www-apps/redmine_git_hosting/Manifest @@ -1,2 +1 @@ -DIST redmine_git_hosting-0.7.10.tar.gz 507430 SHA256 071156f0d453b7d42c17aa760a05a0dc814bd65eaefe22a0f572566f39c4e6a9 SHA512 84f0fda4444f2fc4fd9891ae388b7234fd61e45abf044289bb1667ef143b883b2a2b7c5b9c17862c7d4a5614872fb1c68fe860f1dc017f281ef2f81d6291789d WHIRLPOOL c2e2fdd9e2adeb25d3bce9dc7d179d3dc6e1cc20f01338385244d9f27e77b546a6fe4668791bdc18d60640f25ce8f1c6f578923e1ce9143767e19f7418ebc604 -DIST redmine_git_hosting-1.2.0.tar.gz 206799 SHA256 77f814157587548b174b86288495a55c67bc5cab0e17275918496e8362da66c8 SHA512 d462b5bd8068bcfc582fd2185e6f64085faddf46cc5ef507b20782d2f8a9cf9955100d67eb2519e6da5357599669afd52072bd343dc27b28fba3cc920b55b0cc WHIRLPOOL 90513d2d162d9e411f2dc4462047e9ac179c626141dbdaff48507b3b80d9bc75cb096e91af1513886f97f47034f6dd720b8983f4cb2a46f79362cbfb6394976b +DIST redmine_git_hosting-1.2.1.tar.gz 207446 SHA256 4333873e14d504d618020c5fed58fef85ad2ba0ded04901c18d705dd21f133af SHA512 9bec9db5d8ca712fbfe06031b16a6cd84f099833242ab5fee806993e254a61841dd08c3d9fb62e64f3573503d66982c6346ec4ef368878c7a6d733894cee0250 WHIRLPOOL 2332131eac987c37cd413a9fc1f871ad37808211a2212bb1f0e944d2231bd2bedad84b6128e2e9803be699b6059e9114e125dae4394aa1a38746b55d7ae48fae diff --git a/www-apps/redmine_git_hosting/metadata.xml b/www-apps/redmine_git_hosting/metadata.xml index bfcb697..97df2a0 100644 --- a/www-apps/redmine_git_hosting/metadata.xml +++ b/www-apps/redmine_git_hosting/metadata.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer> + <maintainer type="person"> <email>mr...@gentoo.org</email> <name>Manuel Rüger</name> </maintainer> diff --git a/www-apps/redmine_git_hosting/redmine_git_hosting-0.7.10.ebuild b/www-apps/redmine_git_hosting/redmine_git_hosting-0.7.10.ebuild deleted file mode 100644 index 4b65716..0000000 --- a/www-apps/redmine_git_hosting/redmine_git_hosting-0.7.10.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -USE_RUBY="ruby20" -inherit ruby-ng user - -DESCRIPTION="A Redmine plugin which makes configuring your own Git hosting easy" -HOMEPAGE="https://github.com/jbox-web/redmine_git_hosting" -SRC_URI="https://github.com/jbox-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend "dev-ruby/asciidoctor - dev-ruby/creole - dev-ruby/github-markup - >=dev-ruby/jbox-gitolite-1.2.6 - dev-ruby/lockfile - dev-ruby/org-ruby - dev-ruby/redcarpet - dev-ruby/redcloth - dev-ruby/wikicloth - www-apps/redmine" - -ruby_add_bdepend "www-apps/redmine" - -REDMINE_DIR="/var/lib/redmine" - -pkg_setup() { - enewgroup redmine - enewuser redmine -1 -1 "${REDMINE_DIR}" redmine -} - -all_ruby_install() { - dodoc README.md - rm .gitignore README.md LICENSE || 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://github.com/jbox-web/redmine_git_hosting/wiki/Step-by-step-installation-instructions" - 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 - if [ ! -e "${EPREFIX}${REDMINE_DIR}"/plugins/redmine_git_hosting/ssh_keys/redmine_gitolite_admin_id_rsa ]; then - einfo "Generating SSH-Keypair for Redmine user" - ssh-keygen -N '' -f "${EPREFIX}${REDMINE_DIR}"/plugins/redmine_git_hosting/ssh_keys/redmine_gitolite_admin_id_rsa || die - chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/plugins/redmine_git_hosting/ssh_keys/redmine_gitolite_admin_id_rsa\ - "${EPREFIX}${REDMINE_DIR}"/plugins/redmine_git_hosting/ssh_keys/redmine_gitolite_admin_id_rsa.pub || die - touch "${EPREFIX}${REDMINE_DIR}"/log/git_hosting.log - chown redmine:redmine "${EPREFIX}${REDMINE_DIR}"/log/git_hosting.log || die - fi -} diff --git a/www-apps/redmine_git_hosting/redmine_git_hosting-1.2.0.ebuild b/www-apps/redmine_git_hosting/redmine_git_hosting-1.2.1.ebuild similarity index 97% rename from www-apps/redmine_git_hosting/redmine_git_hosting-1.2.0.ebuild rename to www-apps/redmine_git_hosting/redmine_git_hosting-1.2.1.ebuild index ba778fa..7d4c427 100644 --- a/www-apps/redmine_git_hosting/redmine_git_hosting-1.2.0.ebuild +++ b/www-apps/redmine_git_hosting/redmine_git_hosting-1.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -22,7 +22,7 @@ ruby_add_rdepend "dev-ruby/asciidoctor dev-ruby/github-markup >=dev-ruby/gitolite-rugged-1.2.0 dev-ruby/org-ruby - >=dev-ruby/redcarpet-3.1.2 + >=dev-ruby/redcarpet-3.3.2 dev-ruby/redis dev-ruby/redcloth dev-ruby/wikicloth