diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 08:16:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 14:21:45 +0000 |
commit | 2cd1e9c85e3160b12684b0012b0270d53d1973b4 (patch) | |
tree | 831805f267154ee819f6479e1e280a24adf0ba2f /main/redmine | |
parent | 69fb04c4dd7f4b27ea3234e687cb33e4d5fe9e25 (diff) | |
download | aports-2cd1e9c85e3160b12684b0012b0270d53d1973b4.tar.bz2 aports-2cd1e9c85e3160b12684b0012b0270d53d1973b4.tar.xz |
main/redmine: upgrade to 3.0.1
Diffstat (limited to 'main/redmine')
-rw-r--r-- | main/redmine/APKBUILD | 47 | ||||
-rw-r--r-- | main/redmine/gemfile.patch | 46 |
2 files changed, 83 insertions, 10 deletions
diff --git a/main/redmine/APKBUILD b/main/redmine/APKBUILD index 18e525f0d5..10207c1687 100644 --- a/main/redmine/APKBUILD +++ b/main/redmine/APKBUILD @@ -1,16 +1,35 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> +_railsver=4.2 pkgname=redmine -pkgver=2.4.7 +pkgver=3.0.1 pkgrel=0 pkgdesc="Project management web application written in Ruby" url="http://redmine.org" arch="noarch" license="GPL2" -depends="ruby-redmine-rails ruby-rmagick ruby-i18n ruby-openid ruby-redmine-rack - ruby-mocha ruby-redmine-jquery-rails ruby-coderay ruby-fastercsv - ruby-net-ldap ruby-redmine-rack-openid ruby-bigdecimal ruby-json - ruby-redmine-rdoc ruby" +depends="ruby + ruby-actionpack-action_caching${_railsver} + ruby-actionpack-xml_parser${_railsver} + ruby-bigdecimal + ruby-coderay + ruby-fastercsv + ruby-i18n + ruby-jquery-rails${_railsver} + ruby-json + ruby-mocha + ruby-net-ldap<0.4 + ruby-openid<2.4 + ruby-rack + ruby-rack-openid + ruby-rails${_railsver} + ruby-rbpdf + ruby-rdoc + ruby-redcarpet<3.2 + ruby-request_store + ruby-rmagick + ruby-protected_attributes${_railsver} + " depends_dev= makedepends="$depends_dev" install="$pkgname.pre-install" @@ -18,6 +37,7 @@ subpackages="" pkgusers="$pkgname" pkggroups="$pkgname" source="http://www.redmine.org/releases/redmine-$pkgver.tar.gz + gemfile.patch additional_environment.rb configuration.yml database.yml" @@ -36,8 +56,12 @@ prepare() { } build() { - #nothing to do here - return 0 + cd "$_builddir" + # verify that all deps are installed + if ! bundler check; then + bundler list + return 1 + fi } package() { @@ -74,15 +98,18 @@ package() { "$pkgdir"/usr/share/webapps/redmine/.Gemfile } -md5sums="0176a6f4778878c0e7d4088d80e41dc4 redmine-2.4.7.tar.gz +md5sums="bf63ceef4fde0d38d17d94969478d422 redmine-3.0.1.tar.gz +2e8ee0e7dff0a8e558660a585e456c17 gemfile.patch 06fa866e699a6f867603f886be3a5eea additional_environment.rb 7347eb8fa89144c8a0ca292702203803 configuration.yml 05e17d7ca4a268b7ab7d3b6a9f5f3fcb database.yml" -sha256sums="be744483b4f7390c9e809c953d715ce335441f9b437481839f07427896c20c14 redmine-2.4.7.tar.gz +sha256sums="9b701ff471bf1d9c9fd671e6a3d3c426850df5411a73f891f49c2cd79d489d5a redmine-3.0.1.tar.gz +cdf1dc2357d161b3109ce99dea7964085b4fae9ba88cb8fce1f592f3508ee0f3 gemfile.patch fc151100cad99bec40cd57eefcf05917b760cd1d189609b0da3c2454916363e0 additional_environment.rb 5f17d5f2e37b4487c44154b2f212811d3a52fa1b7a0bcc9664e3caac80aa887c configuration.yml 243bf7ec026af6d158706f9275d40fd046a6038200664b9329fba25b4697816f database.yml" -sha512sums="60731874dd8319c2b31e822b1dca76844ee5e9ed7548aa09c41d8a29667fce6b311317fb78c10a6ffe1b5ab86d9debf84bd6ca4310b6f5d12a35ed56414a65d8 redmine-2.4.7.tar.gz +sha512sums="689e8625197b4668bc06c68b0502a23e50675ad13d17a67a25cb51d68b1ac15ff4395783003ce696994bd15191139adde6bc21add0b81b4a40e9979e95753e18 redmine-3.0.1.tar.gz +6a32297e96dc3a986d51d1b9267cb2b401c2eda0f5a45381c2c424c625604de37b6c0060fc70a92c4ca87e533f9dade4c4e4fbd19f9390e5170fc4f0ecb81cbf gemfile.patch 0ac637c140ace5760067917db755a65add5362a8fbda87bdbe17c1f39c46861ecfbe096fe5d4e9ff2525d325ebd46ca995049f9cb326e376cc9074843bd0051a additional_environment.rb a62ac016fc3e58db7db453bdb779cd0d542a610cf7d1be2fdb07d39a1531c558d81af3d91adafffee28311387b65079faf3ee3bc9c14dd12ceb5bac83254fdbd configuration.yml a6a52d469ce390331124908bad650c190236b86439f7e38bfc2ff738c82182915ad4c35365533f6eed1216a47ef0f3fe7185e5a4107f6e7c8646222804743112 database.yml" diff --git a/main/redmine/gemfile.patch b/main/redmine/gemfile.patch new file mode 100644 index 0000000000..9b4fb9a91f --- /dev/null +++ b/main/redmine/gemfile.patch @@ -0,0 +1,46 @@ +bundler cannot exclude the test and development groups so we patch those out + +--- ./Gemfile.orig ++++ ./Gemfile +@@ -4,11 +4,11 @@ + abort "Redmine requires Bundler 1.5.0 or higher (you're using #{Bundler::VERSION}).\nPlease update with 'gem update bundler'." + end + +-gem "rails", "4.2.0" ++gem "rails", "~> 4.2.0" + gem "jquery-rails", "~> 3.1.1" + gem "coderay", "~> 1.1.0" + gem "builder", ">= 3.0.4" +-gem "request_store", "1.0.5" ++gem "request_store", "~> 1.0.5" + gem "mime-types" + gem "protected_attributes" + gem "actionpack-action_caching" +@@ -85,19 +85,19 @@ + + group :development do + gem "rdoc", ">= 2.4.2" +- gem "yard" ++# gem "yard" + end + + group :test do +- gem "minitest" +- gem "rails-dom-testing" +- gem "mocha" +- gem "simplecov", "~> 0.9.1", :require => false ++# gem "minitest" ++# gem "rails-dom-testing" ++# gem "mocha" ++# gem "simplecov", "~> 0.9.1", :require => false + # For running UI tests +- gem "capybara" +- gem "selenium-webdriver" ++# gem "capybara" ++# gem "selenium-webdriver" + # building ffi 1.9.7 fails in Ubuntu: https://github.com/ffi/ffi/issues/414 +- gem "ffi", "1.9.6" ++# gem "ffi", "1.9.6" + end + + local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local") |