[gentoo-commits] repo/gentoo:master commit in: x11-libs/gtk+/

2016-03-07 Thread Remi Cardona
commit: c330af72ed49475648119d010e0b2a83955add2f
Author: Rémi Cardona  gentoo  org>
AuthorDate: Tue Mar  8 07:32:29 2016 +
Commit: Remi Cardona  gentoo  org>
CommitDate: Tue Mar  8 07:33:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c330af72

x11-libs/gtk+: bump to 3.18.8

Package-Manager: portage-2.2.27

 x11-libs/gtk+/Manifest   |   1 +
 x11-libs/gtk+/gtk+-3.18.8.ebuild | 234 +++
 2 files changed, 235 insertions(+)

diff --git a/x11-libs/gtk+/Manifest b/x11-libs/gtk+/Manifest
index cb7b07e..da13535 100644
--- a/x11-libs/gtk+/Manifest
+++ b/x11-libs/gtk+/Manifest
@@ -5,3 +5,4 @@ DIST gtk+-2.24.29.tar.xz 13143648 SHA256 
0741c59600d3d810a223866453dc2bbb18ce472
 DIST gtk+-3.16.7.tar.xz 18294656 SHA256 
19689d14de54d182fad538153dbff6d41f53841f940aa871585fdea0306c7fba SHA512 
8f74b3a4093ecf776466d3988806fdae081d10d5e74c66770b52f624076afe92d58efb68ace47fd0dbc5a170a577fc9a8d1b4768794aa4249433c95198db00c8
 WHIRLPOOL 
f8b4d9fa6b7b3ed9702f76d28d729b745217e072898239517d320f0635e87691ca874a136607566cf53d73aead53833c5ecf484fc7aea74f3c26a1f14cc5a9b4
 DIST gtk+-3.18.6.tar.xz 18990472 SHA256 
78cabf0fd5a662f8723f62d5ac633072c76c557c1d700454c9c3deaa37e441ef SHA512 
a606bfeb7e6991c9c367d6c93d04d70daed6c59b95d1ef14b971acb32b23e71894b0aef16b4c673e1cb2ae0fd08de3f65b7aa5512fd74253efe30f16b0dbac11
 WHIRLPOOL 
0614cb7babad2536298814628666a1208ebfddeb0598767fc8730e6d1c601e4b2857fb887870233378f3c72cf1fa6ef21bccbabc53f5a45bddbeb13e36757374
 DIST gtk+-3.18.7.tar.xz 16815772 SHA256 
a76e1cb0ac45ce5c2734f6778f2731a5c6a23d1ff6bd4db357774f014ee68820 SHA512 
7cb6f699d4c2d78d15f52d4bf02871ad87106550515232c8f1045e01a3b737e64ffdfe73eaedcba077862a5c81a8cae983789c3d8882aee9502850ddc644fe7f
 WHIRLPOOL 
635030ec177abd4cb1dbf5007c9eeed5bcceefb1730da3ca33ed2f730e602303ec236b8e6fb3e0a3322824a1e8bca951c267fc9239eff89c42fa59c5591da2e9
+DIST gtk+-3.18.8.tar.xz 16806532 SHA256 
1c53ef1bb55364698f7183ecd185b547f92f4a3a7abfafd531400232e2e052f8 SHA512 
b5181b5b78d642ce0c356fa5727a36d08dc503ffeb51d24d69b258e9150e4b4305e90c410c67672a7644079299559544c0e6d2c4a60171f55b7391945cb6a7ef
 WHIRLPOOL 
040e90d38f476c889b319ecc7d371702da664f3b482cd7e3731498920e1443d636145eddfa2c8d406807e48453d2eb3b99b5deeaf082b8cb88458dd51136ec4c

diff --git a/x11-libs/gtk+/gtk+-3.18.8.ebuild b/x11-libs/gtk+/gtk+-3.18.8.ebuild
new file mode 100644
index 000..efcae49
--- /dev/null
+++ b/x11-libs/gtk+/gtk+-3.18.8.ebuild
@@ -0,0 +1,234 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes"
+
+inherit autotools eutils flag-o-matic gnome2 multilib virtualx multilib-minimal
+
+DESCRIPTION="Gimp ToolKit +"
+HOMEPAGE="http://www.gtk.org/";
+
+LICENSE="LGPL-2+"
+SLOT="3"
+IUSE="aqua broadway cloudprint colord cups examples +introspection test 
vim-syntax wayland X xinerama"
+REQUIRED_USE="
+   || ( aqua wayland X )
+   xinerama? ( X )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux 
~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+
+# FIXME: introspection data is built against system installation of gtk+:3
+# NOTE: cairo[svg] dep is due to bug 291283 (not patched to avoid eautoreconf)
+COMMON_DEPEND="
+   >=dev-libs/atk-2.15[introspection?,${MULTILIB_USEDEP}]
+   >=dev-libs/glib-2.45.8:2[${MULTILIB_USEDEP}]
+   media-libs/fontconfig[${MULTILIB_USEDEP}]
+   >=media-libs/libepoxy-1.0[${MULTILIB_USEDEP}]
+   >=x11-libs/cairo-1.14[aqua?,glib,svg,X?,${MULTILIB_USEDEP}]
+   >=x11-libs/gdk-pixbuf-2.30:2[introspection?,X?,${MULTILIB_USEDEP}]
+   >=x11-libs/pango-1.37.3[introspection?,${MULTILIB_USEDEP}]
+   x11-misc/shared-mime-info
+
+   cloudprint? (
+   >=net-libs/rest-0.7[${MULTILIB_USEDEP}]
+   >=dev-libs/json-glib-1.0[${MULTILIB_USEDEP}] )
+   colord? ( >=x11-misc/colord-0.1.9:0=[${MULTILIB_USEDEP}] )
+   cups? ( >=net-print/cups-1.2[${MULTILIB_USEDEP}] )
+   introspection? ( >=dev-libs/gobject-introspection-1.39:= )
+   wayland? (
+   >=dev-libs/wayland-1.5.91[${MULTILIB_USEDEP}]
+   media-libs/mesa[wayland,${MULTILIB_USEDEP}]
+   >=x11-libs/libxkbcommon-0.2[${MULTILIB_USEDEP}]
+   )
+   X? (
+   >=app-accessibility/at-spi2-atk-2.5.3[${MULTILIB_USEDEP}]
+   x11-libs/libXrender[${MULTILIB_USEDEP}]
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   >=x11-libs/libXi-1.3[${MULTILIB_USEDEP}]
+   x11-libs/libXext[${MULTILIB_USEDEP}]
+   >=x11-libs/libXrandr-1.5[${MULTILIB_USEDEP}]
+   x11-libs/libXcursor[${MULTILIB_USEDEP}]
+   x11-libs/libXfixes[${MULTILIB_USEDEP}]
+   x11-libs/libXcomposite[${MULTILI

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/activerecord/

2016-03-07 Thread Hans de Graaff
commit: b4115fe5ff576eadf43f78ce21d156575902bd0a
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 06:11:58 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 06:11:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4115fe5

dev-ruby/activerecord: add rails 4.1.15

Package-Manager: portage-2.2.26

 dev-ruby/activerecord/Manifest   |  1 +
 dev-ruby/activerecord/activerecord-4.1.15.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
index 618d55e..0125a7b 100644
--- a/dev-ruby/activerecord/Manifest
+++ b/dev-ruby/activerecord/Manifest
@@ -3,6 +3,7 @@ DIST rails-3.2.22.2.tgz 3571822 SHA256 
6aaef5723f3a409d057ace5500f1743168bde8f45
 DIST rails-4.0.13.tgz 3761572 SHA256 
a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a3023a204a51 SHA512 
3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d
 WHIRLPOOL 
a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
 DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce281162d7550535a79c2919246179 SHA512 
1ffb3d7f1f5b6db34bbae2015c220945fd780e42bc69242fdcadc6bd59b74c32f16cf54e153b9c3c2aa065d20b1231c19c7ebfe8f8d5f52a1048b8e0f1b7782a
 WHIRLPOOL 
31eb9281d9e0b0e0c07807b14d7b1e52b1a08adc612da9c9c272a5eacb6b095d74b80400eb99818d37371963775942b9d85f38c18446d75de996595528fdf84d
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
+DIST rails-4.1.15.tgz 3729946 SHA256 
df54609b05298f5c0c9eb4e00bb82c61133d955021fe58ffab2efacd76ac6ce5 SHA512 
0a8c944fece6c060718f0c7769ae80baa161357ac8b49e69a11e9bbf43476c633cd3ed51b13e3c0f364e47b3167879de5f57146e76f01a59e026b97166aeba2c
 WHIRLPOOL 
75fbd9a1e7b988c47c7a26bffb5e58cd2c33af9a5e83b03ecee09b35c7497d82aa580fd20dbdf34237b9d9594ed772a346e32d6430becc1fdf854581c8ebef8e
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
 DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/activerecord/activerecord-4.1.15.ebuild 
b/dev-ruby/activerecord/activerecord-4.1.15.ebuild
new file mode 100644
index 000..294eb29
--- /dev/null
+++ b/dev-ruby/activerecord/activerecord-4.1.15.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+# this is not null so that the dependencies will actually be filled
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
+HOMEPAGE="http://rubyforge.org/projects/activerecord/";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="mysql postgres sqlite"
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "~dev-ruby/activesupport-${PV}
+   ~dev-ruby/activemodel-${PV}
+   >=dev-ruby/arel-5.0.0:5.0
+   sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
+   mysql? ( >=dev-ruby/mysql2-0.3.13:0.3 )
+   postgres? ( >=dev-ruby/pg-0.11.0 )"
+
+ruby_add_bdepend "
+   test? (
+   dev-ruby/bundler
+   ~dev-ruby/actionpack-${PV}
+   >=dev-ruby/sqlite3-1.3.5
+   dev-ruby/mocha:0.13
+

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/actionview/

2016-03-07 Thread Hans de Graaff
commit: 39c08b438ae52c0e276013e57fdeea20982f2a91
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 06:10:33 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 06:10:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39c08b43

dev-ruby/actionview: add rails 4.1.15

Package-Manager: portage-2.2.26

 dev-ruby/actionview/Manifest |  1 +
 dev-ruby/actionview/actionview-4.1.15.ebuild | 47 
 2 files changed, 48 insertions(+)

diff --git a/dev-ruby/actionview/Manifest b/dev-ruby/actionview/Manifest
index 6429bc1..ad6f3d4 100644
--- a/dev-ruby/actionview/Manifest
+++ b/dev-ruby/actionview/Manifest
@@ -1,5 +1,6 @@
 DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce281162d7550535a79c2919246179 SHA512 
1ffb3d7f1f5b6db34bbae2015c220945fd780e42bc69242fdcadc6bd59b74c32f16cf54e153b9c3c2aa065d20b1231c19c7ebfe8f8d5f52a1048b8e0f1b7782a
 WHIRLPOOL 
31eb9281d9e0b0e0c07807b14d7b1e52b1a08adc612da9c9c272a5eacb6b095d74b80400eb99818d37371963775942b9d85f38c18446d75de996595528fdf84d
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
+DIST rails-4.1.15.tgz 3729946 SHA256 
df54609b05298f5c0c9eb4e00bb82c61133d955021fe58ffab2efacd76ac6ce5 SHA512 
0a8c944fece6c060718f0c7769ae80baa161357ac8b49e69a11e9bbf43476c633cd3ed51b13e3c0f364e47b3167879de5f57146e76f01a59e026b97166aeba2c
 WHIRLPOOL 
75fbd9a1e7b988c47c7a26bffb5e58cd2c33af9a5e83b03ecee09b35c7497d82aa580fd20dbdf34237b9d9594ed772a346e32d6430becc1fdf854581c8ebef8e
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
 DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/actionview/actionview-4.1.15.ebuild 
b/dev-ruby/actionview/actionview-4.1.15.ebuild
new file mode 100644
index 000..8f9d8cd
--- /dev/null
+++ b/dev-ruby/actionview/actionview-4.1.15.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Simple, battle-tested conventions and helpers for building web 
pages"
+HOMEPAGE="https://github.com/rails/rails/";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:*
+   >=dev-ruby/erubis-2.7.0
+"
+
+ruby_add_bdepend "
+   test? (
+   dev-ruby/mocha:0.14
+   ~dev-ruby/actionpack-${PV}
+   ~dev-ruby/activemodel-${PV}
+   )"
+
+all_ruby_prepare() {
+   # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   sed -i -e 
"/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\)/
 s:^:#:" \
+   -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+   rm ../Gemfile.lock || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/compass-core/

2016-03-07 Thread Hans de Graaff
commit: 5818fdc157cebee6986e5365fd8161a611c057b2
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:58:10 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:58:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5818fdc1

dev-ruby/compass-core: add ruby22, drop ruby19

Package-Manager: portage-2.2.26

 dev-ruby/compass-core/compass-core-1.0.3-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/compass-core/compass-core-1.0.3-r1.ebuild 
b/dev-ruby/compass-core/compass-core-1.0.3-r1.ebuild
index f4f09a2..d7cc009 100644
--- a/dev-ruby/compass-core/compass-core-1.0.3-r1.ebuild
+++ b/dev-ruby/compass-core/compass-core-1.0.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21"
+USE_RUBY="ruby20 ruby21 ruby22"
 
 RUBY_FAKEGEM_TASK_TEST=""
 
@@ -23,5 +23,5 @@ IUSE=""
 
 ruby_add_rdepend "
>=dev-ruby/multi_json-1.0
-   >=dev-ruby/sass-3.3.0 =dev-ruby/sass-3.3.0:* 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/actionmailer/

2016-03-07 Thread Hans de Graaff
commit: 08e50a856fa06393ffb5f54a385b3e97ab06cb5f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 06:11:18 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 06:11:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08e50a85

dev-ruby/actionmailer: add rails 4.1.15

Package-Manager: portage-2.2.26

 dev-ruby/actionmailer/Manifest   |  1 +
 dev-ruby/actionmailer/actionmailer-4.1.15.ebuild | 38 
 2 files changed, 39 insertions(+)

diff --git a/dev-ruby/actionmailer/Manifest b/dev-ruby/actionmailer/Manifest
index 618d55e..0125a7b 100644
--- a/dev-ruby/actionmailer/Manifest
+++ b/dev-ruby/actionmailer/Manifest
@@ -3,6 +3,7 @@ DIST rails-3.2.22.2.tgz 3571822 SHA256 
6aaef5723f3a409d057ace5500f1743168bde8f45
 DIST rails-4.0.13.tgz 3761572 SHA256 
a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a3023a204a51 SHA512 
3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d
 WHIRLPOOL 
a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
 DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce281162d7550535a79c2919246179 SHA512 
1ffb3d7f1f5b6db34bbae2015c220945fd780e42bc69242fdcadc6bd59b74c32f16cf54e153b9c3c2aa065d20b1231c19c7ebfe8f8d5f52a1048b8e0f1b7782a
 WHIRLPOOL 
31eb9281d9e0b0e0c07807b14d7b1e52b1a08adc612da9c9c272a5eacb6b095d74b80400eb99818d37371963775942b9d85f38c18446d75de996595528fdf84d
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
+DIST rails-4.1.15.tgz 3729946 SHA256 
df54609b05298f5c0c9eb4e00bb82c61133d955021fe58ffab2efacd76ac6ce5 SHA512 
0a8c944fece6c060718f0c7769ae80baa161357ac8b49e69a11e9bbf43476c633cd3ed51b13e3c0f364e47b3167879de5f57146e76f01a59e026b97166aeba2c
 WHIRLPOOL 
75fbd9a1e7b988c47c7a26bffb5e58cd2c33af9a5e83b03ecee09b35c7497d82aa580fd20dbdf34237b9d9594ed772a346e32d6430becc1fdf854581c8ebef8e
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
 DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/actionmailer/actionmailer-4.1.15.ebuild 
b/dev-ruby/actionmailer/actionmailer-4.1.15.ebuild
new file mode 100644
index 000..61ada51
--- /dev/null
+++ b/dev-ruby/actionmailer/actionmailer-4.1.15.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Framework for designing email-service layers"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "~dev-ruby/actionpack-${PV}
+   >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:*"
+ruby_add_bdepend "test? (
+   dev-ruby/mocha:0.14
+)"
+
+all_ruby_prepare() {
+   # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   sed -i -e 
"/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|uglifier\|minitest\|sprockets\|stackprof\)/
 s:^:#:" \
+   -e '/group :doc/,/^en

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/actionpack/

2016-03-07 Thread Hans de Graaff
commit: 7668f20a4bc80e8250d6a5ba23e64ddf8f4d9c29
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 06:10:57 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 06:10:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7668f20a

dev-ruby/actionpack: add rails 4.1.15

Package-Manager: portage-2.2.26

 dev-ruby/actionpack/Manifest |  1 +
 dev-ruby/actionpack/actionpack-4.1.15.ebuild | 54 
 2 files changed, 55 insertions(+)

diff --git a/dev-ruby/actionpack/Manifest b/dev-ruby/actionpack/Manifest
index 618d55e..0125a7b 100644
--- a/dev-ruby/actionpack/Manifest
+++ b/dev-ruby/actionpack/Manifest
@@ -3,6 +3,7 @@ DIST rails-3.2.22.2.tgz 3571822 SHA256 
6aaef5723f3a409d057ace5500f1743168bde8f45
 DIST rails-4.0.13.tgz 3761572 SHA256 
a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a3023a204a51 SHA512 
3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d
 WHIRLPOOL 
a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
 DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce281162d7550535a79c2919246179 SHA512 
1ffb3d7f1f5b6db34bbae2015c220945fd780e42bc69242fdcadc6bd59b74c32f16cf54e153b9c3c2aa065d20b1231c19c7ebfe8f8d5f52a1048b8e0f1b7782a
 WHIRLPOOL 
31eb9281d9e0b0e0c07807b14d7b1e52b1a08adc612da9c9c272a5eacb6b095d74b80400eb99818d37371963775942b9d85f38c18446d75de996595528fdf84d
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
+DIST rails-4.1.15.tgz 3729946 SHA256 
df54609b05298f5c0c9eb4e00bb82c61133d955021fe58ffab2efacd76ac6ce5 SHA512 
0a8c944fece6c060718f0c7769ae80baa161357ac8b49e69a11e9bbf43476c633cd3ed51b13e3c0f364e47b3167879de5f57146e76f01a59e026b97166aeba2c
 WHIRLPOOL 
75fbd9a1e7b988c47c7a26bffb5e58cd2c33af9a5e83b03ecee09b35c7497d82aa580fd20dbdf34237b9d9594ed772a346e32d6430becc1fdf854581c8ebef8e
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
 DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/actionpack/actionpack-4.1.15.ebuild 
b/dev-ruby/actionpack/actionpack-4.1.15.ebuild
new file mode 100644
index 000..329db66
--- /dev/null
+++ b/dev-ruby/actionpack/actionpack-4.1.15.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Eases web-request routing, handling, and response"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   ~dev-ruby/actionview-${PV}
+   >=dev-ruby/rack-1.5.2:1.5
+   >=dev-ruby/rack-test-0.6.2:0.6"
+
+ruby_add_bdepend "
+   test? (
+   dev-ruby/mocha:0.14
+   dev-ruby/bundler
+   ~dev-ruby/activemodel-${PV}
+   >=dev-ruby/rack-cache-1.2:1.2
+   )"
+
+all_ruby_prepare() {
+   # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   sed -i -e 
"/\(system_timer\|sdoc\|w3c_validators\|pg\|j

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rails/

2016-03-07 Thread Hans de Graaff
commit: d8613ff4e6a435680f84f7549caf90947c3cfccb
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 06:12:39 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 06:12:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8613ff4

dev-ruby/rails: add rails 4.1.15

Package-Manager: portage-2.2.26

 dev-ruby/rails/Manifest|  1 +
 dev-ruby/rails/rails-4.1.15.ebuild | 44 ++
 2 files changed, 45 insertions(+)

diff --git a/dev-ruby/rails/Manifest b/dev-ruby/rails/Manifest
index 1fe296b..f662992 100644
--- a/dev-ruby/rails/Manifest
+++ b/dev-ruby/rails/Manifest
@@ -3,6 +3,7 @@ DIST rails-3.2.22.2.gem 3584 SHA256 
e40902aa453b1ce4e0048221d8d1d4e8dda1f3bd58c8
 DIST rails-4.0.13.gem 1550848 SHA256 
d4b3ca8517b394459fd31773c5c6877b4aded8f2c84e6f5422061d231b2af9f6 SHA512 
49cba0e9b06034ce6311f0e76255ed1a95fbd0f0349ac16d6390c730837fd9a5ae6e00e376f51fdeb69f2dde9d6d7a993cfa859d3e22404f5a1a4e19ad0a3af0
 WHIRLPOOL 
f121ea09122b5464c5d2c8ff0e8710be4a5fa846fcf450a52c16a47c67ee9925a7927fe5d38d2e7bfc644f63a9bc1dd73a5adeb64ff8b9e1d07ced8670434c0b
 DIST rails-4.1.14.1.gem 1437696 SHA256 
bde7704f906e5cf7dd4b098231a6e6471ac1b13ce1ac4940a320144be37f778d SHA512 
cc73e8b91a105ad12b81f5f854096d03e26a356227e0e0d03430b4d2c55aace1d5ea044d5c2e6482249977e6b48c57686ecc8b2cc3f5dfdf1191549a70d90b0e
 WHIRLPOOL 
b930b0a54600ca737886ebc2e855f50d1fc10b485ec4ab77ce62bcaee99463a5fd8f68e55e5fd1ae4c7bba6c14987d7e0708eb07f0e31b69b798f6f0f162d17b
 DIST rails-4.1.14.2.gem 1438208 SHA256 
e5ca9faf11ef90c3e17b7e116b9297fc479910b22ef0775e64aaddcb8779885b SHA512 
f594bacb0d43efc841a7a753cdc6b577d022256b09ca8e8db944de7814e2e3f4ad1e1fc6a0137e11853cbd61159a917aa1e3895debb2a0b476762007c8d9aba2
 WHIRLPOOL 
5e264ff7fc357fea0afd1008124b7f913019c7f07a907676fe65b502a1fbec70e62bdd9b7239c2ff9b0d280cdd7f5597cc54e0565334baef49dc38596747151d
+DIST rails-4.1.15.gem 1437696 SHA256 
9c94775ade272961c3bfae2a5a4ff2cddc319e48fd269d8e779240e2c94677d1 SHA512 
1948ff7db165fd86899eccd9bfe3a7fef7818587bdc39535f550e2058daa43a9fb10677bfe24879fdb7ab9d46fbe9d966fb2ad244ea390a8c53c2169ebd912ff
 WHIRLPOOL 
c13023c2bf51305f01ea1a706c3fd5389e9a033e2e49d41951fc1cf1e2d92be4dcabf6654ce1611d6d0501ddb416721628a09dc4aec71bfa447fd61bb71da13a
 DIST rails-4.2.5.1.gem 1475584 SHA256 
0bb3795fc6d971522f2681dea730b49be880809012939a8a570bd086b583460e SHA512 
96109852cb559b2548f9d7fd4dbad36eecfbe3620b134be8b50e857c3e255056d3b8130b8e78e45fbae8d3a6e654e9692703268f520bd9d66bc705bf4b242cad
 WHIRLPOOL 
b05b2d51802acb3f92c42dce50e57d937f150e4d479f20554d398b4d461a3acd9cdc779e6f10c4d0898e88ecef9efbfde04fb78327bc9e42166ecce61b847741
 DIST rails-4.2.5.2.gem 1475584 SHA256 
aa93c1b9eb8b535eee58280504e30237f88217699fe9bb016e458e5122eefa2e SHA512 
6bb4b992e44bad01976ecf89c66060fcbef9a20de53da3450b8f9c3e0f8deebb9baf8255ba7f9588391905a9fd972fbb268a5c655489ad266fc13dcaf3417fb8
 WHIRLPOOL 
f40169b39ca66ad9075c35f2b8d0b9d1650452c7254dcc5ffbbf41c112903aa056a6082bbe75a7fd324d705a7326e3f27a9462a0ab5347cc01248e2a34f4ce67
 DIST rails-4.2.6.gem 1475584 SHA256 
a199258c0d2bae09993a6932c49df254fd66428899d1823b8c5285de02e5bc33 SHA512 
80556b380f0ce9b960afe015ddcab02d5ab8abd2a1376ca35b24665644bb86f6d01d76744cbb0cb86fdc388180922ce507506afda062b7bbd6a772de06f1c34b
 WHIRLPOOL 
65a4f4b80b70fe77f990a4c27482cf77b032a6b87bf80379e627db090aa7978070440bec16a50d1cec68b5ea83d76dfe95585bea74e7c17558b54802f6a4ca58

diff --git a/dev-ruby/rails/rails-4.1.15.ebuild 
b/dev-ruby/rails/rails-4.1.15.ebuild
new file mode 100644
index 000..b4cc93b
--- /dev/null
+++ b/dev-ruby/rails/rails-4.1.15.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+# The guides are now here but we'd need to rebuilt them first.
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRADOC="README.md guides/CHANGELOG.md"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="ruby on rails is a web-application and persistance framework"
+HOMEPAGE="http://www.rubyonrails.org";
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+
+IUSE="+asset-pipeline"
+
+ruby_add_rdepend "
+   ~dev-ruby/actionmailer-${PV}
+   ~dev-ruby/actionpack-${PV}
+   ~dev-ruby/actionview-${PV}
+   ~dev-ruby/activemodel-${PV}
+   ~dev-ruby/activerecord-${PV}
+   ~dev-ruby/activesupport-${PV}
+   ~dev-ruby/railties-${PV}
+   >=dev-ruby/bundler-1.3 =dev-ruby/bundler-1*
+   =dev-ruby/sprockets-rails-2*:*
+   asset-pipeline? (
+   dev-ruby/jquery-rails:*
+   >=dev-ruby/sass-rails-4.0.3:4.0
+   >=dev-ruby/uglifier-1.3.0
+   >=dev-ruby/coffee-rails-4.0.0:4.0
+   )"
+
+# also: turbolinks, >=jbuilder-1.2:1



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/railties/

2016-03-07 Thread Hans de Graaff
commit: 23ff3fd020136562b4fc48191fa9101fc1595a77
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 06:12:20 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 06:12:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ff3fd0

dev-ruby/railties: add rails 4.1.15

Package-Manager: portage-2.2.26

 dev-ruby/railties/Manifest   |  1 +
 dev-ruby/railties/railties-4.1.15.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest
index 618d55e..0125a7b 100644
--- a/dev-ruby/railties/Manifest
+++ b/dev-ruby/railties/Manifest
@@ -3,6 +3,7 @@ DIST rails-3.2.22.2.tgz 3571822 SHA256 
6aaef5723f3a409d057ace5500f1743168bde8f45
 DIST rails-4.0.13.tgz 3761572 SHA256 
a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a3023a204a51 SHA512 
3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d
 WHIRLPOOL 
a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
 DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce281162d7550535a79c2919246179 SHA512 
1ffb3d7f1f5b6db34bbae2015c220945fd780e42bc69242fdcadc6bd59b74c32f16cf54e153b9c3c2aa065d20b1231c19c7ebfe8f8d5f52a1048b8e0f1b7782a
 WHIRLPOOL 
31eb9281d9e0b0e0c07807b14d7b1e52b1a08adc612da9c9c272a5eacb6b095d74b80400eb99818d37371963775942b9d85f38c18446d75de996595528fdf84d
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
+DIST rails-4.1.15.tgz 3729946 SHA256 
df54609b05298f5c0c9eb4e00bb82c61133d955021fe58ffab2efacd76ac6ce5 SHA512 
0a8c944fece6c060718f0c7769ae80baa161357ac8b49e69a11e9bbf43476c633cd3ed51b13e3c0f364e47b3167879de5f57146e76f01a59e026b97166aeba2c
 WHIRLPOOL 
75fbd9a1e7b988c47c7a26bffb5e58cd2c33af9a5e83b03ecee09b35c7497d82aa580fd20dbdf34237b9d9594ed772a346e32d6430becc1fdf854581c8ebef8e
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
 DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/railties/railties-4.1.15.ebuild 
b/dev-ruby/railties/railties-4.1.15.ebuild
new file mode 100644
index 000..dc2b98c
--- /dev/null
+++ b/dev-ruby/railties/railties-4.1.15.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_TEST="test:regular"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Tools for creating, working with, and running Rails applications"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+# The test suite has many failures, most likely due to a mismatch in
+# exact dependencies or environment specifics. Needs further
+# investigation.
+RESTRICT="test"
+
+RDEPEND+=" >=app-eselect/eselect-rails-0.20"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   ~dev-ruby/actionpack-${PV}
+   >=dev-ruby/thor-0.18.1
+   >=dev-ruby/rake-0.8.7"
+
+ruby_add_bdepend "
+   test? (
+   ~dev-ruby/actionview-${PV}
+   dev-ruby/mocha:0.13
+   )"
+
+all_ruby_prepare() {
+   rm "${S}/../Gemfile" || die "Unable to remove

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/activemodel/

2016-03-07 Thread Hans de Graaff
commit: e3f908c97c5d08aa3820b779289ddb9ef77fb42b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 06:10:12 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 06:10:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3f908c9

dev-ruby/activemodel: add rails 4.1.15

Package-Manager: portage-2.2.26

 dev-ruby/activemodel/Manifest  |  1 +
 dev-ruby/activemodel/activemodel-4.1.15.ebuild | 47 ++
 2 files changed, 48 insertions(+)

diff --git a/dev-ruby/activemodel/Manifest b/dev-ruby/activemodel/Manifest
index 618d55e..0125a7b 100644
--- a/dev-ruby/activemodel/Manifest
+++ b/dev-ruby/activemodel/Manifest
@@ -3,6 +3,7 @@ DIST rails-3.2.22.2.tgz 3571822 SHA256 
6aaef5723f3a409d057ace5500f1743168bde8f45
 DIST rails-4.0.13.tgz 3761572 SHA256 
a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a3023a204a51 SHA512 
3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d
 WHIRLPOOL 
a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
 DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce281162d7550535a79c2919246179 SHA512 
1ffb3d7f1f5b6db34bbae2015c220945fd780e42bc69242fdcadc6bd59b74c32f16cf54e153b9c3c2aa065d20b1231c19c7ebfe8f8d5f52a1048b8e0f1b7782a
 WHIRLPOOL 
31eb9281d9e0b0e0c07807b14d7b1e52b1a08adc612da9c9c272a5eacb6b095d74b80400eb99818d37371963775942b9d85f38c18446d75de996595528fdf84d
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
+DIST rails-4.1.15.tgz 3729946 SHA256 
df54609b05298f5c0c9eb4e00bb82c61133d955021fe58ffab2efacd76ac6ce5 SHA512 
0a8c944fece6c060718f0c7769ae80baa161357ac8b49e69a11e9bbf43476c633cd3ed51b13e3c0f364e47b3167879de5f57146e76f01a59e026b97166aeba2c
 WHIRLPOOL 
75fbd9a1e7b988c47c7a26bffb5e58cd2c33af9a5e83b03ecee09b35c7497d82aa580fd20dbdf34237b9d9594ed772a346e32d6430becc1fdf854581c8ebef8e
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
 DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/activemodel/activemodel-4.1.15.ebuild 
b/dev-ruby/activemodel/activemodel-4.1.15.ebuild
new file mode 100644
index 000..2249a06
--- /dev/null
+++ b/dev-ruby/activemodel/activemodel-4.1.15.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Toolkit for building modeling frameworks like Active Record and 
Active Resource"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:*
+"
+
+ruby_add_bdepend "
+   test? (
+   >=dev-ruby/railties-4.0.0
+   dev-ruby/test-unit:2
+   >=dev-ruby/mocha-0.14.0:0.14
+   >=dev-ruby/bcrypt-ruby-3.1.7
+   )"
+
+all_ruby_prepare() {
+   # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   sed -i -e 
"/\(system_timer\|sdoc\|w3c_validators\|pg\

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/activesupport/

2016-03-07 Thread Hans de Graaff
commit: 68622e374dbc1a756aace91b518186f826538169
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 06:09:14 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 06:09:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68622e37

dev-ruby/activesupport: add rails 4.1.15

Package-Manager: portage-2.2.26

 dev-ruby/activesupport/Manifest|  1 +
 dev-ruby/activesupport/activesupport-4.1.15.ebuild | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
index 618d55e..0125a7b 100644
--- a/dev-ruby/activesupport/Manifest
+++ b/dev-ruby/activesupport/Manifest
@@ -3,6 +3,7 @@ DIST rails-3.2.22.2.tgz 3571822 SHA256 
6aaef5723f3a409d057ace5500f1743168bde8f45
 DIST rails-4.0.13.tgz 3761572 SHA256 
a693a8c5f767d153e765634cecb6356855ca51b6554b3af1a3023a204a51 SHA512 
3f2cca90187f800d1ec57fc6cbc58c1f3213113a94d1dee7d9cfd3dc0264b7f3a9c6cfc6dd95ef2fb3aa7d8ca5d6da50cedecc288ff8ff7e5305dc0309b4365d
 WHIRLPOOL 
a5b3f7f828a88d04b5687b3217b40903192ccea5eca36ca58cbb2baeec7471241fe5529f13688bd1f6396a384cf282c94bfaf54ee1cfafdf5ef400707dee7d01
 DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce281162d7550535a79c2919246179 SHA512 
1ffb3d7f1f5b6db34bbae2015c220945fd780e42bc69242fdcadc6bd59b74c32f16cf54e153b9c3c2aa065d20b1231c19c7ebfe8f8d5f52a1048b8e0f1b7782a
 WHIRLPOOL 
31eb9281d9e0b0e0c07807b14d7b1e52b1a08adc612da9c9c272a5eacb6b095d74b80400eb99818d37371963775942b9d85f38c18446d75de996595528fdf84d
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
+DIST rails-4.1.15.tgz 3729946 SHA256 
df54609b05298f5c0c9eb4e00bb82c61133d955021fe58ffab2efacd76ac6ce5 SHA512 
0a8c944fece6c060718f0c7769ae80baa161357ac8b49e69a11e9bbf43476c633cd3ed51b13e3c0f364e47b3167879de5f57146e76f01a59e026b97166aeba2c
 WHIRLPOOL 
75fbd9a1e7b988c47c7a26bffb5e58cd2c33af9a5e83b03ecee09b35c7497d82aa580fd20dbdf34237b9d9594ed772a346e32d6430becc1fdf854581c8ebef8e
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
 DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/activesupport/activesupport-4.1.15.ebuild 
b/dev-ruby/activesupport/activesupport-4.1.15.ebuild
new file mode 100644
index 000..b628f0e
--- /dev/null
+++ b/dev-ruby/activesupport/activesupport-4.1.15.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Utility Classes and Extension to the Standard Library"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   >=dev-ruby/i18n-0.6.9:0.6
+   >=dev-ruby/json-1.7.7:0
+   >=dev-ruby/tzinfo-1.1:1
+   >=dev-ruby/minitest-5.1:5
+   >=dev-ruby/thread_safe-0.1:0"
+
+# memcache-client, nokogiri, and builder are not strictly
+# needed, but there are tests using this code.
+ruby_add_bdepend "test? (
+   >=dev-ruby/dalli-2.2.1
+   >=dev-ruby/nokogiri-1.4.5
+   >=dev-ruby/builder-3.1.0
+   >=dev-ruby/libxml-2.0.0
+   )"
+
+all_ruby_prepare() {
+   # Set the secure permissions that tests e

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/compass/

2016-03-07 Thread Hans de Graaff
commit: 038f39119ae6f0f52cd39ab599ba47c476e23c95
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:55:16 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:55:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=038f3911

dev-ruby/compass: drop ruby19

Package-Manager: portage-2.2.26

 dev-ruby/compass/compass-1.0.3-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/compass/compass-1.0.3-r1.ebuild 
b/dev-ruby/compass/compass-1.0.3-r1.ebuild
index e5e64e5..29cb362 100644
--- a/dev-ruby/compass/compass-1.0.3-r1.ebuild
+++ b/dev-ruby/compass/compass-1.0.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21"
+USE_RUBY="ruby20 ruby21"
 
 RUBY_FAKEGEM_TASK_DOC=""
 
@@ -29,7 +29,7 @@ ruby_add_rdepend ">=dev-ruby/chunky_png-1.2
>=dev-ruby/compass-core-1.0.2:1.0
>=dev-ruby/compass-import-once-1.0.5:1.0
>=dev-ruby/rb-inotify-0.9
-   >=dev-ruby/sass-3.3.13 =dev-ruby/sass-3.3.13:* 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/railties/

2016-03-07 Thread Hans de Graaff
commit: 4aaf63dfe9fad1c16726ff966b00ed8f69bd47a5
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:47:17 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:47:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aaf63df

dev-ruby/railties: add rails 4.2.6

Package-Manager: portage-2.2.26

 dev-ruby/railties/Manifest  |  1 +
 dev-ruby/railties/railties-4.2.6.ebuild | 72 +
 2 files changed, 73 insertions(+)

diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest
index 2fa48c4..618d55e 100644
--- a/dev-ruby/railties/Manifest
+++ b/dev-ruby/railties/Manifest
@@ -5,3 +5,4 @@ DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce28116
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
+DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/railties/railties-4.2.6.ebuild 
b/dev-ruby/railties/railties-4.2.6.ebuild
new file mode 100644
index 000..6e83eef
--- /dev/null
+++ b/dev-ruby/railties/railties-4.2.6.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_TEST="test:regular"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Tools for creating, working with, and running Rails applications"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+# The test suite has many failures, most likely due to a mismatch in
+# exact dependencies or environment specifics. Needs further
+# investigation.
+RESTRICT="test"
+
+RDEPEND+=">=app-eselect/eselect-rails-0.21"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   ~dev-ruby/actionpack-${PV}
+   >=dev-ruby/thor-0.18.1
+   >=dev-ruby/rake-0.8.7"
+
+ruby_add_bdepend "
+   test? (
+   ~dev-ruby/actionview-${PV}
+   dev-ruby/mocha:0.13
+   )"
+
+all_ruby_prepare() {
+   rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
+   sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to 
remove load paths"
+   sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die
+
+   # Also allow rdoc 4.x
+   sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+all_ruby_install() {
+   all_fakegem_install
+
+   ruby_fakegem_binwrapper rails rails-${PV}
+}
+
+pkg_postinst() {
+   elog "To select between slots of rails, use:"
+   elog "\teselect rails"
+
+   eselect rails update
+}
+
+pkg_postrm() {
+   eselect rails update
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rails/

2016-03-07 Thread Hans de Graaff
commit: c112dab80eae10b8d0537c7d7e3c69da7804a362
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:47:35 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:47:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c112dab8

dev-ruby/rails: add rails 4.2.6

Package-Manager: portage-2.2.26

 dev-ruby/rails/Manifest   |  1 +
 dev-ruby/rails/rails-4.2.6.ebuild | 45 +++
 2 files changed, 46 insertions(+)

diff --git a/dev-ruby/rails/Manifest b/dev-ruby/rails/Manifest
index b904791..1fe296b 100644
--- a/dev-ruby/rails/Manifest
+++ b/dev-ruby/rails/Manifest
@@ -5,3 +5,4 @@ DIST rails-4.1.14.1.gem 1437696 SHA256 
bde7704f906e5cf7dd4b098231a6e6471ac1b13ce
 DIST rails-4.1.14.2.gem 1438208 SHA256 
e5ca9faf11ef90c3e17b7e116b9297fc479910b22ef0775e64aaddcb8779885b SHA512 
f594bacb0d43efc841a7a753cdc6b577d022256b09ca8e8db944de7814e2e3f4ad1e1fc6a0137e11853cbd61159a917aa1e3895debb2a0b476762007c8d9aba2
 WHIRLPOOL 
5e264ff7fc357fea0afd1008124b7f913019c7f07a907676fe65b502a1fbec70e62bdd9b7239c2ff9b0d280cdd7f5597cc54e0565334baef49dc38596747151d
 DIST rails-4.2.5.1.gem 1475584 SHA256 
0bb3795fc6d971522f2681dea730b49be880809012939a8a570bd086b583460e SHA512 
96109852cb559b2548f9d7fd4dbad36eecfbe3620b134be8b50e857c3e255056d3b8130b8e78e45fbae8d3a6e654e9692703268f520bd9d66bc705bf4b242cad
 WHIRLPOOL 
b05b2d51802acb3f92c42dce50e57d937f150e4d479f20554d398b4d461a3acd9cdc779e6f10c4d0898e88ecef9efbfde04fb78327bc9e42166ecce61b847741
 DIST rails-4.2.5.2.gem 1475584 SHA256 
aa93c1b9eb8b535eee58280504e30237f88217699fe9bb016e458e5122eefa2e SHA512 
6bb4b992e44bad01976ecf89c66060fcbef9a20de53da3450b8f9c3e0f8deebb9baf8255ba7f9588391905a9fd972fbb268a5c655489ad266fc13dcaf3417fb8
 WHIRLPOOL 
f40169b39ca66ad9075c35f2b8d0b9d1650452c7254dcc5ffbbf41c112903aa056a6082bbe75a7fd324d705a7326e3f27a9462a0ab5347cc01248e2a34f4ce67
+DIST rails-4.2.6.gem 1475584 SHA256 
a199258c0d2bae09993a6932c49df254fd66428899d1823b8c5285de02e5bc33 SHA512 
80556b380f0ce9b960afe015ddcab02d5ab8abd2a1376ca35b24665644bb86f6d01d76744cbb0cb86fdc388180922ce507506afda062b7bbd6a772de06f1c34b
 WHIRLPOOL 
65a4f4b80b70fe77f990a4c27482cf77b032a6b87bf80379e627db090aa7978070440bec16a50d1cec68b5ea83d76dfe95585bea74e7c17558b54802f6a4ca58

diff --git a/dev-ruby/rails/rails-4.2.6.ebuild 
b/dev-ruby/rails/rails-4.2.6.ebuild
new file mode 100644
index 000..6fcfbf2
--- /dev/null
+++ b/dev-ruby/rails/rails-4.2.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+# The guides are now here but we'd need to rebuilt them first.
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_EXTRADOC="README.md guides/CHANGELOG.md"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="ruby on rails is a web-application and persistance framework"
+HOMEPAGE="http://www.rubyonrails.org";
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+
+IUSE="+asset-pipeline"
+
+ruby_add_rdepend "
+   ~dev-ruby/actionmailer-${PV}
+   ~dev-ruby/actionpack-${PV}
+   ~dev-ruby/actionview-${PV}
+   ~dev-ruby/activejob-${PV}
+   ~dev-ruby/activemodel-${PV}
+   ~dev-ruby/activerecord-${PV}
+   ~dev-ruby/activesupport-${PV}
+   ~dev-ruby/railties-${PV}
+   >=dev-ruby/bundler-1.3 =dev-ruby/bundler-1*
+   dev-ruby/sprockets-rails:*
+   asset-pipeline? (
+   dev-ruby/jquery-rails:*
+   >=dev-ruby/sass-rails-5.0:5.0
+   >=dev-ruby/uglifier-1.3.0
+   >=dev-ruby/coffee-rails-4.1.0:4.1
+   )"
+
+# also: turbolinks, >=jbuilder-1.2:1



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/actionpack/

2016-03-07 Thread Hans de Graaff
commit: cb5511af6f8411ae2b90a2a8baa846be0fbcabf9
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:45:51 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:45:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb5511af

dev-ruby/actionpack: add rails 4.2.6

Package-Manager: portage-2.2.26

 dev-ruby/actionpack/Manifest|  1 +
 dev-ruby/actionpack/actionpack-4.2.6.ebuild | 58 +
 2 files changed, 59 insertions(+)

diff --git a/dev-ruby/actionpack/Manifest b/dev-ruby/actionpack/Manifest
index 2fa48c4..618d55e 100644
--- a/dev-ruby/actionpack/Manifest
+++ b/dev-ruby/actionpack/Manifest
@@ -5,3 +5,4 @@ DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce28116
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
+DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/actionpack/actionpack-4.2.6.ebuild 
b/dev-ruby/actionpack/actionpack-4.2.6.ebuild
new file mode 100644
index 000..ba3bfe9
--- /dev/null
+++ b/dev-ruby/actionpack/actionpack-4.2.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Eases web-request routing, handling, and response"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   ~dev-ruby/actionview-${PV}
+   >=dev-ruby/rack-1.6.0:1.6
+   >=dev-ruby/rack-test-0.6.2:0.6
+   >=dev-ruby/rails-html-sanitizer-1.0.2:1
+   >=dev-ruby/rails-dom-testing-1.0.5:1
+"
+
+ruby_add_bdepend "
+   test? (
+   dev-ruby/mocha:0.14
+   dev-ruby/bundler
+   ~dev-ruby/activemodel-${PV}
+   >=dev-ruby/rack-cache-1.2:1.2
+   )"
+
+all_ruby_prepare() {
+   # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   sed -i -e 
"/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\)/
 s:^:#:" \
+   -e '/:job/,/end/ s:^:#:' \
+   -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+   rm ../Gemfile.lock || die
+
+   # Skip a failing test related to security updates in 4.2.5.1. Let's
+   # assume that this is not a bug but a test lagging a security
+   # measure.
+   sed -i -e '/test_dynamic_render_with_file/,/^  end/ s:^:#:' \
+   test/controller/render_test.rb || die
+}



[gentoo-commits] dev/graaff:master commit in: dev-ruby/ruby-saml/

2016-03-07 Thread Hans de Graaff
commit: b99b18d89f784b6dc8d58ddf2d0f249e1acf5992
Author: Hans de Graaff  degraaff  org>
AuthorDate: Tue Mar  8 05:45:21 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:45:21 2016 +
URL:https://gitweb.gentoo.org/dev/graaff.git/commit/?id=b99b18d8

dev-ruby/ruby-saml: add 1.1.2

Package-Manager: portage-2.2.26

 dev-ruby/ruby-saml/Manifest   |  1 +
 dev-ruby/ruby-saml/ruby-saml-1.1.2.ebuild | 42 +++
 2 files changed, 43 insertions(+)

diff --git a/dev-ruby/ruby-saml/Manifest b/dev-ruby/ruby-saml/Manifest
index ef7b3bc..1398650 100644
--- a/dev-ruby/ruby-saml/Manifest
+++ b/dev-ruby/ruby-saml/Manifest
@@ -1,2 +1,3 @@
 DIST ruby-saml-1.1.0.gem 213504 SHA256 
f426aae67d5d33e9596154fb0f5b454f6c9b72e04d66baabe60fd016b3672e02 SHA512 
394eb83dfe55bb02889385c3716808d60382c06fad6d411a42bca13edaa39fdf1499f26913bdaf1a3f0c85856f1cd6abcff5daae7b74040e9ca1dbf308c31eee
 WHIRLPOOL 
99c545685d326c3992f3de7a2e0261a43a14b0659e3d1bb9286cbb6df7fcd7b0223eb490df1c78dec52d8ba82bfae0ef718da63efcf4eca2918d9ca6e0ebfd19
 DIST ruby-saml-1.1.1.gem 218624 SHA256 
4815b2edcb006166a1c2ea71d6233dff0c98076056a83ae46a077913a65a3294 SHA512 
e4c1dd4ebf9e69cef9869e8102d81711ddecfe904ee498743061eaf02f9e6a8d355923cc39b7445b75629cd4a9d4ab10d009636a77e6ed3d1b1903603dbd1656
 WHIRLPOOL 
a4d28f653af36bd70262967709dc136a1e314f6d0556973af59c77d0287cd5f6d7136dbcdc67bdc4d83c102a3da44adcb81fab2c2c8c6f64b3d295cec10f4d7e
+DIST ruby-saml-1.1.2.gem 221184 SHA256 
cc89499f6f1a1a1c0307852cc1b39cce6db0899b16964946983cf07be5a60493 SHA512 
1d7c26647123140c926a65f99470c3322baa3fc341c57e846464083d1fa2608bb5390310c53aaf410221fd98dd053c144fb1c95b53a31664e175e3c4fe220a00
 WHIRLPOOL 
d0a48aa78c52a56979185cec39b4bbb4090bfc3d0d2f2bd01e94a58a8e3ab3799628b95de9a52b974a70abba06bdcfe27059ba2fc5bf184eb8acdf3b2db98a53

diff --git a/dev-ruby/ruby-saml/ruby-saml-1.1.2.ebuild 
b/dev-ruby/ruby-saml/ruby-saml-1.1.2.ebuild
new file mode 100644
index 000..aea4a30
--- /dev/null
+++ b/dev-ruby/ruby-saml/ruby-saml-1.1.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A library for implementing the client side of a SAML 
authorization"
+HOMEPAGE="https://github.com/onelogin/ruby-saml";
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0.8"
+IUSE="doc"
+
+ruby_add_rdepend "
+   >=dev-ruby/nokogiri-1.5.10
+   >=dev-ruby/uuid-2.3:0"
+
+ruby_add_bdepend "test? ( dev-ruby/timecop dev-ruby/mocha dev-ruby/shoulda:0 )"
+
+all_ruby_prepare() {
+   sed -i -e '/ruby-debug/d' \
+   -e '/bundler/I s:^:#:' \
+   -e '/simplecov/ s:^:#:' \
+   -e '/SimpleCov/,/end/ s:^:#:' test/test_helper.rb || die
+
+   sed -ie -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+   sed -i -e '2i gem "shoulda", "~> 2.11"' test/test_helper.rb || die
+
+   sed -i -e '3irequire "onelogin/ruby-saml/http_error"' 
test/idp_metadata_parser_test.rb || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/activerecord/

2016-03-07 Thread Hans de Graaff
commit: d3d5c0af4acbf520f1e086cd37b6989af9eb3ec5
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:46:51 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:46:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d5c0af

dev-ruby/activerecord: add rails 4.2.6

Package-Manager: portage-2.2.26

 dev-ruby/activerecord/Manifest  |  1 +
 dev-ruby/activerecord/activerecord-4.2.6.ebuild | 74 +
 2 files changed, 75 insertions(+)

diff --git a/dev-ruby/activerecord/Manifest b/dev-ruby/activerecord/Manifest
index 2fa48c4..618d55e 100644
--- a/dev-ruby/activerecord/Manifest
+++ b/dev-ruby/activerecord/Manifest
@@ -5,3 +5,4 @@ DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce28116
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
+DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/activerecord/activerecord-4.2.6.ebuild 
b/dev-ruby/activerecord/activerecord-4.2.6.ebuild
new file mode 100644
index 000..de9e737
--- /dev/null
+++ b/dev-ruby/activerecord/activerecord-4.2.6.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+# this is not null so that the dependencies will actually be filled
+RUBY_FAKEGEM_TASK_TEST="test"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
+HOMEPAGE="https://github.com/rails/rails/";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="mysql postgres sqlite"
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "~dev-ruby/activesupport-${PV}
+   ~dev-ruby/activemodel-${PV}
+   >=dev-ruby/arel-6.0:6.0
+   sqlite? ( >=dev-ruby/sqlite3-1.3.6 )
+   mysql? ( || ( dev-ruby/mysql2:0.4 >=dev-ruby/mysql2-0.3.13:0.3 ) )
+   postgres? ( >=dev-ruby/pg-0.15.0 )"
+
+ruby_add_bdepend "
+   test? (
+   dev-ruby/bundler
+   ~dev-ruby/actionpack-${PV}
+   ~dev-ruby/actionmailer-${PV}
+   >=dev-ruby/sqlite3-1.3.5
+   dev-ruby/mocha:0.13
+3.4/>= 3.4/' 
../railties/railties.gemspec || die
+   sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
+
+   sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
+
+   # Add back json in the Gemfile because we dropped some dependencies
+   # earlier that implicitly required it.
+   sed -i -e '$agem "json"' ../Gemfile || die
+
+   # Avoid test depending on mysql adapter which we don't support for
+   # this Rails version to simplify our dependencies.
+   rm test/cases/connection_specification/resolver_test.rb || die
+
+   # Avoid single test using mysql dependencies.
+   rm test/cases/invalid_connection_test.rb || die
+}
+
+each_ruby_test() {
+   if use sqlite; then
+   ${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
+   fi
+}



[gentoo-commits] dev/graaff:master commit in: dev-ruby/ruby-saml/

2016-03-07 Thread Hans de Graaff
commit: edd981f19c002f2b0cb554ad365b77a517ed3e0b
Author: Hans de Graaff  degraaff  org>
AuthorDate: Tue Mar  8 05:42:03 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:42:03 2016 +
URL:https://gitweb.gentoo.org/dev/graaff.git/commit/?id=edd981f1

dev-ruby/ruby-saml: cleanup

Package-Manager: portage-2.2.26

 dev-ruby/ruby-saml/Manifest  |  3 --
 dev-ruby/ruby-saml/ruby-saml-0.7.3-r1.ebuild | 39 --
 dev-ruby/ruby-saml/ruby-saml-0.8.2.ebuild| 37 
 dev-ruby/ruby-saml/ruby-saml-1.0.0.ebuild| 42 
 4 files changed, 121 deletions(-)

diff --git a/dev-ruby/ruby-saml/Manifest b/dev-ruby/ruby-saml/Manifest
index 6b10d26..ef7b3bc 100644
--- a/dev-ruby/ruby-saml/Manifest
+++ b/dev-ruby/ruby-saml/Manifest
@@ -1,5 +1,2 @@
-DIST ruby-saml-0.7.3.gem 55296 SHA256 
4de4c947a89e5e56b344faba795958026c5ba96e4b63053555b44b84df018579 SHA512 
1fa14882bcb584bf9f35036fd69064794d345c01f46cc589c0370652b262ed86dbdaf3ec99edca89b5be75460e5fb26e49deed50432edc2d4a3690cd4443082e
 WHIRLPOOL 
8b23830eb5f8bf9fe857622e911631be4191f99b0bee5c61a462f9253dc5a90a759e632858bc7a54f76da39c24f57722776ee9206e0ffcd5972a647d3510da62
-DIST ruby-saml-0.8.2.gem 55808 SHA256 
a101bc0d86503d12513b8be66a25967c71b189de02d1bd0fa6969e3bdee57597 SHA512 
a199202d5a38a85b23e4a04ebb95abc715d303bd5eb45e2538088b7408a8977e9614c1fcfcadf65602b25043d6a443ea767bc145a652a7b72ffd878343c596f6
 WHIRLPOOL 
1a95ace4903a91470fe93f6fce3245da99ea7e54e905b0964afc1223197b8df8f789f77e5419e6f871362656b96f8ba408704c3956d751c5aa9b7d0a39fb7499
-DIST ruby-saml-1.0.0.gem 204800 SHA256 
24ea186d2506dd99f19acbc2f1b3bf637e0df40ef5ee73d8f2c552a158221643 SHA512 
0edb752a0cc40d85c1a330e6f52468a464385033bdb15d5dc2271583ae364428936d79bab6f6bfbf2cf8b87d30755d056efcece673f07f84e2d91d90811a9109
 WHIRLPOOL 
58669296f342ebc771986c4c94b9010384788292646fc0ce3d0f6e012327bc90514bb3ec61370da64fda061d24b89bb20ee8b04b0e305c75fa0e957c39d608d2
 DIST ruby-saml-1.1.0.gem 213504 SHA256 
f426aae67d5d33e9596154fb0f5b454f6c9b72e04d66baabe60fd016b3672e02 SHA512 
394eb83dfe55bb02889385c3716808d60382c06fad6d411a42bca13edaa39fdf1499f26913bdaf1a3f0c85856f1cd6abcff5daae7b74040e9ca1dbf308c31eee
 WHIRLPOOL 
99c545685d326c3992f3de7a2e0261a43a14b0659e3d1bb9286cbb6df7fcd7b0223eb490df1c78dec52d8ba82bfae0ef718da63efcf4eca2918d9ca6e0ebfd19
 DIST ruby-saml-1.1.1.gem 218624 SHA256 
4815b2edcb006166a1c2ea71d6233dff0c98076056a83ae46a077913a65a3294 SHA512 
e4c1dd4ebf9e69cef9869e8102d81711ddecfe904ee498743061eaf02f9e6a8d355923cc39b7445b75629cd4a9d4ab10d009636a77e6ed3d1b1903603dbd1656
 WHIRLPOOL 
a4d28f653af36bd70262967709dc136a1e314f6d0556973af59c77d0287cd5f6d7136dbcdc67bdc4d83c102a3da44adcb81fab2c2c8c6f64b3d295cec10f4d7e

diff --git a/dev-ruby/ruby-saml/ruby-saml-0.7.3-r1.ebuild 
b/dev-ruby/ruby-saml/ruby-saml-0.7.3-r1.ebuild
deleted file mode 100644
index 723906d..000
--- a/dev-ruby/ruby-saml/ruby-saml-0.7.3-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header:  $
-
-EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21"
-
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_TASK_DOC=""
-
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="A library for implementing the client side of a SAML 
authorization"
-HOMEPAGE="https://github.com/onelogin/ruby-saml";
-LICENSE="MIT"
-
-KEYWORDS="~amd64"
-SLOT="0"
-IUSE="doc"
-
-ruby_add_rdepend "
-   >=dev-ruby/nokogiri-1.5.0
-   >=dev-ruby/uuid-2.3:0"
-
-ruby_add_bdepend "test? ( dev-ruby/timecop )"
-
-all_ruby_prepare() {
-   sed -i -e '/ruby-debug/d' test/test_helper.rb || die
-
-   # Remove canonix since that already got removed from the code.
-   sed -ie -e '/canonix/d' ${RUBY_FAKEGEM_GEMSPEC} || die
-
-   # Fix nokogiri dependency.
-   sed -i -e 's/1.5.0/1.5/' ${RUBY_FAKEGEM_GEMSPEC} || die
-}

diff --git a/dev-ruby/ruby-saml/ruby-saml-0.8.2.ebuild 
b/dev-ruby/ruby-saml/ruby-saml-0.8.2.ebuild
deleted file mode 100644
index 57ad962..000
--- a/dev-ruby/ruby-saml/ruby-saml-0.8.2.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header:  $
-
-EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21"
-
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-RUBY_FAKEGEM_DOCDIR="doc"
-RUBY_FAKEGEM_TASK_DOC=""
-
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="A library for implementing the client side of a SAML 
authorization"
-HOMEPAGE="https://github.com/onelogin/ruby-saml";
-LICENSE="MIT"
-
-KEYWORDS="~amd64"
-SLOT="0.8"
-IUSE="doc"
-
-ruby_add_rdepend "
-   >=dev-ruby/nokogiri-1.5.0
-   >=dev-ruby/uuid-2.3:0"
-
-ruby_add_bdepend "test? ( dev-ruby/timecop dev-ruby/mocha dev-ruby/shoulda:0 )"
-
-all_ruby_prepare() {
-   sed -i -e '/ruby-debug/d' test/test_helper.rb || 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/activejob/

2016-03-07 Thread Hans de Graaff
commit: c4b23f74083bdc257a709b4dc670b7e7fb38d98b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:45:07 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:45:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4b23f74

dev-ruby/activejob: add rails 4.2.6

Package-Manager: portage-2.2.26

 dev-ruby/activejob/Manifest   |  1 +
 dev-ruby/activejob/activejob-4.2.6.ebuild | 44 +++
 2 files changed, 45 insertions(+)

diff --git a/dev-ruby/activejob/Manifest b/dev-ruby/activejob/Manifest
index fca0421..c227ce7 100644
--- a/dev-ruby/activejob/Manifest
+++ b/dev-ruby/activejob/Manifest
@@ -1,2 +1,3 @@
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
+DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/activejob/activejob-4.2.6.ebuild 
b/dev-ruby/activejob/activejob-4.2.6.ebuild
new file mode 100644
index 000..c42f4f3
--- /dev/null
+++ b/dev-ruby/activejob/activejob-4.2.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Job framework with pluggable queues"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   >=dev-ruby/globalid-0.3.0
+"
+
+ruby_add_bdepend "
+   test? (
+   >=dev-ruby/mocha-0.14.0:0.14
+   )"
+
+all_ruby_prepare() {
+   # Set test environment to our hand.
+   sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load 
paths"
+
+   # Remove all currently unpackaged queues.
+   sed -i -e 's/delayed_job qu que queue_classic resque sidekiq sneakers 
sucker_punch backburner//' Rakefile || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/actionview/

2016-03-07 Thread Hans de Graaff
commit: db971cb626383b9348855129169a36bcea88da7d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:45:27 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:45:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db971cb6

dev-ruby/actionview: add rails 4.2.6

Package-Manager: portage-2.2.26

 dev-ruby/actionview/Manifest|  1 +
 dev-ruby/actionview/actionview-4.2.6.ebuild | 50 +
 2 files changed, 51 insertions(+)

diff --git a/dev-ruby/actionview/Manifest b/dev-ruby/actionview/Manifest
index e9a65d2..6429bc1 100644
--- a/dev-ruby/actionview/Manifest
+++ b/dev-ruby/actionview/Manifest
@@ -2,3 +2,4 @@ DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce28116
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
+DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/actionview/actionview-4.2.6.ebuild 
b/dev-ruby/actionview/actionview-4.2.6.ebuild
new file mode 100644
index 000..65eaceb
--- /dev/null
+++ b/dev-ruby/actionview/actionview-4.2.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Simple, battle-tested conventions and helpers for building web 
pages"
+HOMEPAGE="https://github.com/rails/rails/";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}
+   >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:*
+   >=dev-ruby/erubis-2.7.0
+   >=dev-ruby/rails-html-sanitizer-1.0.2:1
+   >=dev-ruby/rails-dom-testing-1.0.5:1
+"
+
+ruby_add_bdepend "
+   test? (
+   dev-ruby/mocha:0.14
+   ~dev-ruby/actionpack-${PV}
+   ~dev-ruby/activemodel-${PV}
+   )"
+
+all_ruby_prepare() {
+   # Remove items from the common Gemfile that we don't need for this
+   # test run. This also requires handling some gemspecs.
+   sed -i -e 
"/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\)/
 s:^:#:" \
+   -e '/:job/,/end/ s:^:#:' \
+   -e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
+   rm ../Gemfile.lock || die
+}



[gentoo-commits] dev/graaff:master commit in: dev-ruby/compass-rails/

2016-03-07 Thread Hans de Graaff
commit: d05b8abbf8e5e7f9b0d29b2428110c0ea7b2d866
Author: Hans de Graaff  degraaff  org>
AuthorDate: Tue Mar  8 05:49:12 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:49:12 2016 +
URL:https://gitweb.gentoo.org/dev/graaff.git/commit/?id=d05b8abb

dev-ruby/compass-rails: add 3.0.2

Package-Manager: portage-2.2.26

 dev-ruby/compass-rails/Manifest   |  1 +
 dev-ruby/compass-rails/compass-rails-3.0.2.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/dev-ruby/compass-rails/Manifest b/dev-ruby/compass-rails/Manifest
index 803aa32..3f2438e 100644
--- a/dev-ruby/compass-rails/Manifest
+++ b/dev-ruby/compass-rails/Manifest
@@ -1,2 +1,3 @@
 DIST compass-rails-2.0.5.gem 17920 SHA256 
fe331fb032ebe447e97c982657b4bf90cc8d243475c06b2747811abb80d2981d SHA512 
ed5f7fcf2a7ed7e372dde445ba42ef25a2b73d145a074cea58fb329ac1cc7615e3449c5acd4b7d2aae9e7d63db6c9379cf31af4ec0072ee8e4370dc741188a5d
 WHIRLPOOL 
200fcaa04a067b0a43cbf4c96888ebe408945807a9ad7298f0482fb9267bc2fee2f50d3ba4c72b568487e1c70bb3a04e2000dab1ff7b060053cd6f37ae881860
 DIST compass-rails-3.0.0.gem 18432 SHA256 
1706a68e1cf2dd5024b9f4e097679844b5d992fc28052290c918cd8d3d5762a7 SHA512 
0325402b76961207cbefd29a78b215ec6b70382d796e4f0243cf9d2de5cd8ca451d1f3c83ab76ea97f8dca974de959ffb7b07a260f8d4a4fc5668b6b22d8e5cb
 WHIRLPOOL 
a5564d680f3a48202ee688ac6cf80ff8a8b263123bf91ba11b4ce79b3efda841bf6d3d2c9a7ff8f3766e68b0c1a2be527dcbabe2f6e7ca902fdde99729e7d2ba
+DIST compass-rails-3.0.2.gem 18432 SHA256 
ab9c12eee40bf99e74a933bf15ea646c3c9d5053d8b65691afc4d9b28a5a697d SHA512 
a4ed269c9582b2516e0034c7e3772901000da68c0fc504f0dd55567b2b37419ee0993a23aff1095cb0b8d6740e43fedcbc2225f4e5f4fd2a6b536786ddfb71c1
 WHIRLPOOL 
b4687b6cc648df2f843105c7bfa67550f63c5eacd5932508e6767894a0172c1f3063a576b83199f5e59fd680b034b53033feb21ff6cd0b92f446e15a39caff07

diff --git a/dev-ruby/compass-rails/compass-rails-3.0.2.ebuild 
b/dev-ruby/compass-rails/compass-rails-3.0.2.ebuild
new file mode 100644
index 000..0e13f7a
--- /dev/null
+++ b/dev-ruby/compass-rails/compass-rails-3.0.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_TASK_TEST="-Ilib test features"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Rails adapter for the Compass Stylesheet Authoring Framework"
+HOMEPAGE="http://compass-style.org/";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# Uses appraisal and rainbow and runs integration on a variety of Rails
+# versions.
+RESTRICT="test"
+
+ruby_add_rdepend "dev-ruby/compass:1 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/actionmailer/

2016-03-07 Thread Hans de Graaff
commit: 495083a0f0d7253488eedab73bd15a9a083d3338
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:46:11 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:46:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495083a0

dev-ruby/actionmailer: add rails 4.2.6

Package-Manager: portage-2.2.26

 dev-ruby/actionmailer/Manifest  |  1 +
 dev-ruby/actionmailer/actionmailer-4.2.6.ebuild | 45 +
 2 files changed, 46 insertions(+)

diff --git a/dev-ruby/actionmailer/Manifest b/dev-ruby/actionmailer/Manifest
index 2fa48c4..618d55e 100644
--- a/dev-ruby/actionmailer/Manifest
+++ b/dev-ruby/actionmailer/Manifest
@@ -5,3 +5,4 @@ DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce28116
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
+DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/actionmailer/actionmailer-4.2.6.ebuild 
b/dev-ruby/actionmailer/actionmailer-4.2.6.ebuild
new file mode 100644
index 000..ea17641
--- /dev/null
+++ b/dev-ruby/actionmailer/actionmailer-4.2.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Framework for designing email-service layers"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/actionpack-${PV}
+   ~dev-ruby/actionview-${PV}
+   ~dev-ruby/activejob-${PV}
+   >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:*
+   >=dev-ruby/rails-dom-testing-1.0.5:1"
+
+ruby_add_bdepend "test? (
+   dev-ruby/mocha:0.14
+)"
+
+all_ruby_prepare() {
+   # Set test environment to our hand.
+   rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
+   sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to 
remove load paths"
+
+   # Avoid a test failing only on attachment ordering, since this is a
+   # security release.
+   sed -i -e '/adding inline attachments while rendering mail works/askip 
"gentoo: fails on ordering"' test/base_test.rb || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/activesupport/

2016-03-07 Thread Hans de Graaff
commit: c65ecefce2cab2de712b94ba210b2a2bdd404b02
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:44:31 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:44:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c65ecefc

dev-ruby/activesupport: add rails 4.2.6

Package-Manager: portage-2.2.26

 dev-ruby/activesupport/Manifest   |  1 +
 dev-ruby/activesupport/activesupport-4.2.6.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest
index 2fa48c4..618d55e 100644
--- a/dev-ruby/activesupport/Manifest
+++ b/dev-ruby/activesupport/Manifest
@@ -5,3 +5,4 @@ DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce28116
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
+DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/activesupport/activesupport-4.2.6.ebuild 
b/dev-ruby/activesupport/activesupport-4.2.6.ebuild
new file mode 100644
index 000..5615ead
--- /dev/null
+++ b/dev-ruby/activesupport/activesupport-4.2.6.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Utility Classes and Extension to the Standard Library"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   >=dev-ruby/i18n-0.7:0.7
+   >=dev-ruby/json-1.7.7:0
+   >=dev-ruby/tzinfo-1.1:1
+   >=dev-ruby/minitest-5.1:5
+   >=dev-ruby/thread_safe-0.3.4:0"
+
+# memcache-client, nokogiri, and builder are not strictly
+# needed, but there are tests using this code.
+ruby_add_bdepend "test? (
+   >=dev-ruby/dalli-2.2.1
+   >=dev-ruby/nokogiri-1.4.5
+   >=dev-ruby/builder-3.1.0
+   >=dev-ruby/libxml-2.0.0
+   )"
+
+all_ruby_prepare() {
+   # Set the secure permissions that tests expect.
+   chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
+
+   # Set test environment to our hand.
+#  rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
+   sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to 
remove load paths"
+
+   # Avoid test that seems to be broken by lack of DST.
+   sed -i -e '369 s:^:#:' test/core_ext/string_ext_test.rb || die
+
+   # Avoid test that fails with Minitest 5.4 since that already defines
+   # a string E in its TestCase.
+   rm test/core_ext/marshal_test.rb || die
+   sed -i -e '/test_const_missing_in_anonymous_modules/askip "gentoo 
minitest"' test/dependencies_test.rb || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/activemodel/

2016-03-07 Thread Hans de Graaff
commit: 2bf5a0606f87c983d8427ab91b3621e758d9f7d5
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Mar  8 05:44:51 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Mar  8 05:44:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bf5a060

dev-ruby/activemodel: add rails 4.2.6

Package-Manager: portage-2.2.26

 dev-ruby/activemodel/Manifest |  1 +
 dev-ruby/activemodel/activemodel-4.2.6.ebuild | 44 +++
 2 files changed, 45 insertions(+)

diff --git a/dev-ruby/activemodel/Manifest b/dev-ruby/activemodel/Manifest
index 2fa48c4..618d55e 100644
--- a/dev-ruby/activemodel/Manifest
+++ b/dev-ruby/activemodel/Manifest
@@ -5,3 +5,4 @@ DIST rails-4.1.14.1.tgz 3728574 SHA256 
1b094a1d1f242c19d2fad0b4f0708d117fce28116
 DIST rails-4.1.14.2.tgz 3729630 SHA256 
f37eee03321f41edce885c5753e2baf6803761d8ba56cde2df59d7f31ab66ac9 SHA512 
526c47cd8710f5fbb752abf01ee80e01cef5f16a0dc7092a104ad8f165bb91e7fe656ca186aa027c622cec9d579a412f3d21e229167acbd8c761a18a77ed3e61
 WHIRLPOOL 
c834ce049f299451c7eefe161ea5751f17b5605fe5a36cb9dff0b43c1fd23114b426c667a1e479ecc7f13cb413b6ccbab48890c0ac8c1336bcbbe4f2c9da04ad
 DIST rails-4.2.5.1.tgz 4175926 SHA256 
713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 
3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d
 WHIRLPOOL 
dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
 DIST rails-4.2.5.2.tgz 4174380 SHA256 
c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 
f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3
 WHIRLPOOL 
4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
+DIST rails-4.2.6.tgz 4179056 SHA256 
68bf40c27e0ee75b26c7b48fbe357f024b8d6d322a4ecf5c3427b4d6ef959fef SHA512 
040599aa1c6a09ca569f377b1f49a4404d9516599d16d6909f93ffd2e387dfb20835a2842980cc5c119aaef411985e47f55ec8907041ff633b8f98ea101a42d0
 WHIRLPOOL 
1aef2ff5790fa94f1003fa6acdcad26b7bcb6a6a02f075e41a6ba5a5b77790420afa57ea64d3192e92de595161ba3741e7e7f8be7dbac6871ba5137a53f81efe

diff --git a/dev-ruby/activemodel/activemodel-4.2.6.ebuild 
b/dev-ruby/activemodel/activemodel-4.2.6.ebuild
new file mode 100644
index 000..f5059c3
--- /dev/null
+++ b/dev-ruby/activemodel/activemodel-4.2.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Toolkit for building modeling frameworks like Active Record and 
Active Resource"
+HOMEPAGE="https://github.com/rails/rails";
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> 
rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+   ~dev-ruby/activesupport-${PV}:*
+   >=dev-ruby/builder-3.1:* =dev-ruby/builder-3*:*
+"
+
+ruby_add_bdepend "
+   test? (
+   >=dev-ruby/railties-4.2.0
+   dev-ruby/test-unit:2
+   >=dev-ruby/mocha-0.14.0:0.14
+   >=dev-ruby/bcrypt-ruby-3.1.7
+   )"
+
+all_ruby_prepare() {
+   # Set test environment to our hand.
+   sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove 
load paths"
+}



[gentoo-commits] dev/graaff:master commit in: dev-lang/pony/

2016-03-07 Thread Hans de Graaff
commit: 592073cec394ff6a79d3dde262c3b77d1561fd6f
Author: Hans de Graaff  degraaff  org>
AuthorDate: Sat Mar  5 20:45:19 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Mar  5 20:45:19 2016 +
URL:https://gitweb.gentoo.org/dev/graaff.git/commit/?id=592073ce

dev-lang/pony: add 20160303 snapshot

Package-Manager: portage-2.2.26

 dev-lang/pony/Manifest   |  1 +
 dev-lang/pony/metadata.xml   |  5 +++
 dev-lang/pony/pony-0.2.1.20160303.ebuild | 65 
 3 files changed, 71 insertions(+)

diff --git a/dev-lang/pony/Manifest b/dev-lang/pony/Manifest
new file mode 100644
index 000..b7c0447
--- /dev/null
+++ b/dev-lang/pony/Manifest
@@ -0,0 +1 @@
+DIST pony-0.2.1.20160303.tar.gz 846774 SHA256 
9c67b4a86b4dc4e2747512224401536180253e97c1c8bffc55e3adc63a7f469f SHA512 
8fbdc2fa44ed9e9c38c14f96ca385f6fee3c375008db6882b069aaec9fd36739390503968717ee65766f72e29d89dfe2a034cb7e4c84009b2e6b056f1f4ad240
 WHIRLPOOL 
2ab7b2808c41cd45cd5363f17c30316112f5aa3e54d006d2cfeccd1992b572ef89a5a84978044ef070def3e76a618a2e7d42fd3f2e6248da5dd31fe62726aed5

diff --git a/dev-lang/pony/metadata.xml b/dev-lang/pony/metadata.xml
new file mode 100644
index 000..f977299
--- /dev/null
+++ b/dev-lang/pony/metadata.xml
@@ -0,0 +1,5 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+gra...@gentoo.org
+

diff --git a/dev-lang/pony/pony-0.2.1.20160303.ebuild 
b/dev-lang/pony/pony-0.2.1.20160303.ebuild
new file mode 100644
index 000..c98feee
--- /dev/null
+++ b/dev-lang/pony/pony-0.2.1.20160303.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+COMMIT=d888dab8bdcc4e02ce043f41cad62a9adcc88b5d
+
+DESCRIPTION="Compiler for the Pony language"
+HOMEPAGE="http://www.ponylang.org/";
+SRC_URI="https://github.com/CausalityLtd/ponyc/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="strip"
+
+S="${WORKDIR}/ponyc-${COMMIT}"
+
+RDEPEND="dev-libs/libpcre2
+   dev-libs/openssl:=
+   sys-devel/llvm:0/3.6
+   sys-libs/ncurses:=
+   sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+"
+
+src_prepare() {
+   # bug #457530 means that '-ltinfo' might be needed besides '-lncurses' 
if a USE flag is enabled
+   # for sys-libs/ncurses, so we use pkg-config to get the ncurses libs
+   sed -i \
+   -e 's/-Werror//' \
+   -e 's/-O3//' \
+   -e 's/LINKER_FLAGS =/LINKER_FLAGS = $(LDFLAGS)/' \
+   -e 's/-march=$(arch)/$(CFLAGS)/' \
+   -e 's#ln -sf $(destdir)#ln -sf ../lib/pony/$(tag)#' \
+   -e "s#-lncurses#$(pkg-config ncurses --libs)#" \
+   Makefile
+
+   gcc_lib_dir="$(gcc-config -L | cut -d ':' -f 1)"
+   sed -i \
+   -e "s#/lib/x86_64-linux-gnu#${gcc_lib_dir}#" \
+   src/libponyc/codegen/genexe.c
+
+   # Avoid net/Broadcast test since it requires a working network
+   # connection.
+   sed -i -e '/test(_TestBroadcast)/d' packages/net/test.pony || die
+}
+
+common_make_args="config=release prefix=\"${D}usr\" verbose=yes"
+
+src_compile() {
+   emake ${common_make_args}
+}
+
+src_test() {
+   emake ${common_make_args} test
+}
+
+src_install() {
+   emake ${common_make_args} install
+}



[gentoo-commits] repo/gentoo:master commit in: /

2016-03-07 Thread Alexandre Rostovtsev
commit: 67f76d8ee0adc642313579d490d99d7922a49f09
Author: Alexandre Rostovtsev  gentoo  org>
AuthorDate: Tue Mar  8 04:31:55 2016 +
Commit: Alexandre Rostovtsev  gentoo  org>
CommitDate: Tue Mar  8 04:31:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67f76d8e

Merge remote-tracking branch 'remotes/github/pr/910'

dev-vcs/gitg + webkit-gtk[jit] pax-marking fix from chrootsu

 dev-vcs/gitg/{gitg-3.18.0.ebuild => gitg-3.18.0-r1.ebuild} | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)



[gentoo-commits] repo/gentoo:master commit in: dev-vcs/gitg/

2016-03-07 Thread Alexandre Rostovtsev
commit: ec124c1fecea7add9dc0c9cd5ce1136bacbcbc85
Author: Ilya Mochalov  gmail  com>
AuthorDate: Mon Feb 22 21:59:08 2016 +
Commit: Alexandre Rostovtsev  gentoo  org>
CommitDate: Mon Mar  7 09:07:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec124c1f

dev-vcs/gitg: disabled mprotect

 dev-vcs/gitg/gitg-3.18.0-r1.ebuild | 88 ++
 1 file changed, 88 insertions(+)

diff --git a/dev-vcs/gitg/gitg-3.18.0-r1.ebuild 
b/dev-vcs/gitg/gitg-3.18.0-r1.ebuild
new file mode 100644
index 000..6b1af28
--- /dev/null
+++ b/dev-vcs/gitg/gitg-3.18.0-r1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python{3_3,3_4,3_5} )
+
+inherit gnome2 pax-utils python-r1 vala
+
+DESCRIPTION="git repository viewer for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Apps/Gitg";
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="debug glade +python"
+REQUIRED_USE="python? ( ^^ ( $(python_gen_useflags '*') ) )"
+
+# test if unbundling of libgd is possible
+# Currently it seems not to be (unstable API/ABI)
+RDEPEND="
+   app-crypt/libsecret
+   dev-libs/libgee:0.8[introspection]
+   >=dev-libs/json-glib-0.16
+   >=app-text/gtkspell-3.0.3:3
+   >=dev-libs/glib-2.38:2[dbus]
+   >=dev-libs/gobject-introspection-0.10.1:=
+   dev-libs/libgit2:=[threads]
+
+   >=dev-libs/libgit2-glib-0.23.5[ssh]
+   =dev-libs/libpeas-1.5.0[gtk]
+   >=gnome-base/gsettings-desktop-schemas-0.1.1
+   >=net-libs/webkit-gtk-2.2:4[introspection]
+   >=x11-libs/gtk+-3.12.0:3
+   >=x11-libs/gtksourceview-3.10:3.0
+   >=x11-themes/gnome-icon-theme-symbolic-3.10
+   glade? ( >=dev-util/glade-3.2:3.10 )
+   python? (
+   ${PYTHON_DEPS}
+   dev-libs/libpeas[python,${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   )
+"
+DEPEND="${RDEPEND}
+   >=dev-libs/libgit2-glib-0.22.0[vala]
+   gnome-base/gnome-common
+   >=sys-devel/gettext-0.17
+   virtual/pkgconfig
+   >=dev-util/intltool-0.40
+   $(vala_depend)
+"
+
+pkg_setup() {
+   use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
+}
+
+src_prepare() {
+   sed \
+   -e '/CFLAGS/s:-g::g' \
+   -e '/CFLAGS/s:-O0::g' \
+   -i configure.ac || die
+
+   gnome2_src_prepare
+   vala_src_prepare
+}
+
+src_configure() {
+   gnome2_src_configure \
+   --disable-static \
+   --disable-deprecations \
+   $(use_enable debug) \
+   $(use_enable glade glade-catalog) \
+   $(use_enable python)
+}
+
+src_install() {
+   gnome2_src_install -j1
+
+   if has_version 'net-libs/webkit-gtk:4[jit]'; then
+   # needed on hardened/PaX, see github pr 910 and bug #527334
+   pax-mark m "${ED}usr/bin/gitg"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/findutils/

2016-03-07 Thread Mike Frysinger
commit: 29564fa547bc396bcd59742a8ee9d5707766c112
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Mar  8 03:39:26 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Mar  8 03:44:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29564fa5

sys-apps/findutils: fix building w/newer glibc

 sys-apps/findutils/findutils-4.6.0.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-apps/findutils/findutils-4.6.0.ebuild 
b/sys-apps/findutils/findutils-4.6.0.ebuild
index 935a16c..2c394d0 100644
--- a/sys-apps/findutils/findutils-4.6.0.ebuild
+++ b/sys-apps/findutils/findutils-4.6.0.ebuild
@@ -31,6 +31,10 @@ src_prepare() {
# Don't build or install locate because it conflicts with slocate,
# which is a secure version of locate.  See bug 18729
sed -i '/^SUBDIRS/s/locate//' Makefile.in
+
+   # Newer C libraries omit this include from sys/types.h.
+   # https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00018.html
+   sed -i '1i#include ' gl/lib/mountlist.c || die
 }
 
 src_configure() {



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/None/, pym/repoman/modules/vcs/, pym/repoman/

2016-03-07 Thread Brian Dolbec
commit: cab60718d849dec5e80b0126672ab0bb7724d0b0
Author: Brian Dolbec  gentoo  org>
AuthorDate: Wed Feb 10 18:08:55 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar  8 03:13:28 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=cab60718

repoman: Migrate add items to the vcs modules

 pym/repoman/actions.py  | 25 +
 pym/repoman/modules/vcs/None/changes.py |  4 
 pym/repoman/modules/vcs/changes.py  | 20 
 3 files changed, 25 insertions(+), 24 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index 4209d13..d2e4fc1 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -411,30 +411,7 @@ class Actions(object):
 
if myautoadd:
print(">>> Auto-Adding missing Manifest/ChangeLog 
file(s)...")
-   add_cmd = [self.vcs_settings.vcs, "add"]
-   add_cmd += myautoadd
-   if self.options.pretend:
-   portage.writemsg_stdout(
-   "(%s)\n" % " ".join(add_cmd),
-   noiselevel=-1)
-   else:
-
-   if sys.hexversion < 0x302 and 
sys.hexversion >= 0x300 and \
-   not os.path.isabs(add_cmd[0]):
-   # Python 3.1 _execvp throws TypeError 
for non-absolute executable
-   # path passed as bytes (see 
http://bugs.python.org/issue8513).
-   fullname = find_binary(add_cmd[0])
-   if fullname is None:
-   raise 
portage.exception.CommandNotFound(add_cmd[0])
-   add_cmd[0] = fullname
-
-   add_cmd = [_unicode_encode(arg) for arg in 
add_cmd]
-   retcode = subprocess.call(add_cmd)
-   if retcode != os.EX_OK:
-   logging.error(
-   "Exiting on %s error code: 
%s\n" % (self.vcs_settings.vcs, retcode))
-   sys.exit(retcode)
-
+   self.vcs_settings.changes.add_items(myautoadd)
myupdates += myautoadd
return myupdates, broken_changelog_manifests
 

diff --git a/pym/repoman/modules/vcs/None/changes.py 
b/pym/repoman/modules/vcs/None/changes.py
index 37693ad..98beedb 100644
--- a/pym/repoman/modules/vcs/None/changes.py
+++ b/pym/repoman/modules/vcs/None/changes.py
@@ -22,3 +22,7 @@ class Changes(ChangesBase):
def scan(self):
'''VCS type scan function, looks for all detectable changes'''
pass
+
+   def add_items(self, myautoadd):
+   '''Nothing to add them to'''
+   pass

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 948407c..ee94217 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -2,9 +2,14 @@
 Base Changes class
 '''
 
+import logging
 import os
+import subprocess
+import sys
 from itertools import chain
 
+from repoman._portage import portage
+from portage import _unicode_encode
 
 class ChangesBase(object):
'''Base Class object to scan and hold the resultant data
@@ -89,3 +94,18 @@ class ChangesBase(object):
def update_index(self, mymanifests, myupdates):
'''Update the vcs's modified index if it is needed'''
pass
+
+   def add_items(self, myautoadd):
+   add_cmd = [self.vcs, "add"]
+   add_cmd += myautoadd
+   if self.options.pretend:
+   portage.writemsg_stdout(
+   "(%s)\n" % " ".join(add_cmd),
+   noiselevel=-1)
+   else:
+   add_cmd = [_unicode_encode(arg) for arg in 
add_cmd]
+   retcode = subprocess.call(add_cmd)
+   if retcode != os.EX_OK:
+   logging.error(
+   "Exiting on %s error code: 
%s\n" % (self.vcs_settings.vcs, retcode))
+   sys.exit(retcode)



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/cvs/, pym/repoman/modules/vcs/None/, ...

2016-03-07 Thread Brian Dolbec
commit: d6f695d66ac9160842256970a1aea63d4f47f6b0
Author: Brian Dolbec  gentoo  org>
AuthorDate: Tue Feb 16 20:06:30 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar  8 03:13:28 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=d6f695d6

repoman: Migrate the commit code to the vcs modules

 pym/repoman/actions.py  | 84 +
 pym/repoman/modules/vcs/None/changes.py | 13 +
 pym/repoman/modules/vcs/bzr/changes.py  |  1 -
 pym/repoman/modules/vcs/changes.py  | 20 
 pym/repoman/modules/vcs/cvs/changes.py  |  1 -
 pym/repoman/modules/vcs/git/changes.py  | 10 
 pym/repoman/modules/vcs/hg/changes.py   | 16 +++
 7 files changed, 82 insertions(+), 63 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index d2e4fc1..4aec1e0 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -7,21 +7,19 @@ import io
 import logging
 import platform
 import signal
-import subprocess
 import sys
 import tempfile
 from itertools import chain
 
 from _emerge.UserQuery import UserQuery
 
-import portage
+from repoman._portage import portage
 from portage import os
 from portage import _encodings
 from portage import _unicode_encode
 from portage.output import (
bold, create_color_func, green, red)
 from portage.package.ebuild.digestgen import digestgen
-from portage.process import find_binary, spawn
 from portage.util import writemsg_level
 
 from repoman.gpg import gpgsign, need_signature
@@ -432,43 +430,18 @@ class Actions(object):
mymsg.write(_unicode_encode(commitmessage))
mymsg.close()
 
-   commit_cmd = []
-   if self.options.pretend and self.vcs_settings.vcs is None:
-   # substitute a bogus value for pretend output
-   commit_cmd.append("cvs")
-   else:
-   commit_cmd.append(self.vcs_settings.vcs)
-   commit_cmd.extend(self.vcs_settings.vcs_global_opts)
-   commit_cmd.append("commit")
-   commit_cmd.extend(self.vcs_settings.vcs_local_opts)
-   if self.vcs_settings.vcs == "hg":
-   commit_cmd.extend(["--logfile", commitmessagefile])
-   commit_cmd.extend(myfiles)
-   else:
-   commit_cmd.extend(["-F", commitmessagefile])
-   commit_cmd.extend(f.lstrip("./") for f in myfiles)
-
+   retval = self.vcs_settings.changes.commit(myfiles, 
commitmessagefile)
+   # cleanup the commit message before possibly exiting
try:
-   if self.options.pretend:
-   print("(%s)" % (" ".join(commit_cmd),))
-   else:
-   retval = spawn(commit_cmd, 
env=self.repo_settings.commit_env)
-   if retval != os.EX_OK:
-   if 
self.repo_settings.repo_config.sign_commit and not 
self.vcs_settings.status.supports_gpg_sign():
-   # Inform user that newer git is 
needed (bug #403323).
-   logging.error(
-   "Git >=1.7.9 is 
required for signed commits!")
-
-   writemsg_level(
-   "!!! Exiting on %s (shell) "
-   "error code: %s\n" % 
(self.vcs_settings.vcs, retval),
-   level=logging.ERROR, 
noiselevel=-1)
-   sys.exit(retval)
-   finally:
-   try:
-   os.unlink(commitmessagefile)
-   except OSError:
-   pass
+   os.unlink(commitmessagefile)
+   except OSError:
+   pass
+   if retval != os.EX_OK:
+   writemsg_level(
+   "!!! Exiting on %s (shell) "
+   "error code: %s\n" % (self.vcs_settings.vcs, 
retval),
+   level=logging.ERROR, noiselevel=-1)
+   sys.exit(retval)
 
 
def priming_commit(self, myupdates, myremoved, commitmessage):
@@ -492,29 +465,18 @@ class Actions(object):
# so strip the prefix.
myfiles = [f.lstrip("./") for f in myfiles]
 
-   commit_cmd = [self.vcs_settings.vcs]
-   commit_cmd.extend(self.vcs_settings.vcs_global_opts)
-   commit_cmd.append("commit")
-   commit_cmd.extend(self.vcs_settings.vcs_local_opts)
-   commit_cmd.extend(["-F", commitmessagefile])
-   commit_cmd.extend(myfiles)

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/git/, pym/repoman/modules/vcs/, pym/repoman/

2016-03-07 Thread Brian Dolbec
commit: 44dc766f997d718352a8d44bb3606444c1515a7a
Author: Brian Dolbec  gentoo  org>
AuthorDate: Wed Feb 10 18:05:46 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar  8 03:13:28 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=44dc766f

repoman: Migrate vcs index update code to the vcs modules

 pym/repoman/actions.py | 22 +-
 pym/repoman/modules/vcs/changes.py |  4 
 pym/repoman/modules/vcs/git/changes.py | 27 +++
 3 files changed, 32 insertions(+), 21 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index 21e7db6..4209d13 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -163,27 +163,7 @@ class Actions(object):
if self.repo_settings.sign_manifests:
self.sign_manifest(myupdates, myremoved, mymanifests)
 
-   if self.vcs_settings.vcs == 'git':
-   # It's not safe to use the git commit -a option since 
there might
-   # be some modified files elsewhere in the working tree 
that the
-   # user doesn't want to commit. Therefore, call git 
update-index
-   # in order to ensure that the index is updated with the 
latest
-   # versions of all new and modified files in the 
relevant portion
-   # of the working tree.
-   myfiles = mymanifests + myupdates
-   myfiles.sort()
-   update_index_cmd = ["git", "update-index"]
-   update_index_cmd.extend(f.lstrip("./") for f in myfiles)
-   if self.options.pretend:
-   print("(%s)" % (" ".join(update_index_cmd),))
-   else:
-   retval = spawn(update_index_cmd, env=os.environ)
-   if retval != os.EX_OK:
-   writemsg_level(
-   "!!! Exiting on %s (shell) "
-   "error code: %s\n" % 
(self.vcs_settings.vcs, retval),
-   level=logging.ERROR, 
noiselevel=-1)
-   sys.exit(retval)
+   self.vcs_settings.changes.update_index(mymanifests, myupdates)
 
self.add_manifest(mymanifests, myheaders, myupdates, myremoved, 
commitmessage)
 

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 27b627f..948407c 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -85,3 +85,7 @@ class ChangesBase(object):
def clear_attic(myheaders):
'''Old CVS leftover'''
pass
+
+   def update_index(self, mymanifests, myupdates):
+   '''Update the vcs's modified index if it is needed'''
+   pass

diff --git a/pym/repoman/modules/vcs/git/changes.py 
b/pym/repoman/modules/vcs/git/changes.py
index 1970b3a..018458c 100644
--- a/pym/repoman/modules/vcs/git/changes.py
+++ b/pym/repoman/modules/vcs/git/changes.py
@@ -2,11 +2,16 @@
 Git module Changes class submodule
 '''
 
+import logging
+import sys
+
 from repoman.modules.vcs.changes import ChangesBase
 from repoman._subprocess import repoman_popen
 from repoman._portage import portage
 from portage import os
 from portage.package.ebuild.digestgen import digestgen
+from portage.process import spawn
+from portage.util import writemsg_level
 
 
 class Changes(ChangesBase):
@@ -63,3 +68,25 @@ class Changes(ChangesBase):
for x in broken_changelog_manifests:
self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
+
+   def update_index(self, mymanifests, myupdates):
+   # It's not safe to use the git commit -a option since there 
might
+   # be some modified files elsewhere in the working tree that the
+   # user doesn't want to commit. Therefore, call git update-index
+   # in order to ensure that the index is updated with the latest
+   # versions of all new and modified files in the relevant portion
+   # of the working tree.
+   myfiles = mymanifests + myupdates
+   myfiles.sort()
+   update_index_cmd = ["git", "update-index"]
+   update_index_cmd.extend(f.lstrip("./") for f in myfiles)
+   if self.options.pretend:
+   print("(%s)" % (" ".join(update_index_cmd),))
+   else:
+   retval = spawn(update_index_cmd, env=os.environ)
+   if retval != os.EX_OK:
+

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/hg/, pym/repoman/modules/scan/eclasses/, ...

2016-03-07 Thread Brian Dolbec
commit: 0a4d48296ee0060fb0b08c230fb19078f3fd4288
Author: Brian Dolbec  gentoo  org>
AuthorDate: Mon Mar  7 21:04:01 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar  8 03:13:28 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=0a4d4829

repoman: Add docstrings to the final vcs and scan modules

 pym/repoman/modules/scan/arches/arches.py  | 13 
 pym/repoman/modules/scan/depend/depend.py  | 13 
 pym/repoman/modules/scan/depend/profile.py | 27 +++
 pym/repoman/modules/scan/depend/unknown.py | 13 
 pym/repoman/modules/scan/directories/files.py  |  1 +
 pym/repoman/modules/scan/directories/mtime.py  |  8 ++
 pym/repoman/modules/scan/eapi/eapi.py  |  2 +
 pym/repoman/modules/scan/ebuild/ebuild.py  | 22 +-
 pym/repoman/modules/scan/ebuild/isebuild.py|  3 +-
 pym/repoman/modules/scan/ebuild/multicheck.py  | 16 
 pym/repoman/modules/scan/eclasses/live.py  |  6 ++
 pym/repoman/modules/scan/eclasses/ruby.py  |  8 +-
 pym/repoman/modules/scan/fetch/fetches.py  |  1 +
 pym/repoman/modules/scan/keywords/keywords.py  |  1 +
 pym/repoman/modules/scan/manifest/manifests.py | 25 ++
 pym/repoman/modules/scan/metadata/pkgmetadata.py   |  1 +
 .../modules/scan/mirrors/thirdpartymirrors.py  |  1 +
 pym/repoman/modules/scan/options/options.py|  9 +++
 pym/repoman/modules/scan/status/vcsstatus.py   |  1 +
 pym/repoman/modules/scan/use/use_flags.py  |  1 +
 pym/repoman/modules/vcs/None/changes.py| 15 +++-
 pym/repoman/modules/vcs/bzr/changes.py | 13 +++-
 pym/repoman/modules/vcs/bzr/status.py  |  2 +-
 pym/repoman/modules/vcs/changes.py | 90 +++---
 pym/repoman/modules/vcs/cvs/changes.py | 54 +
 pym/repoman/modules/vcs/cvs/status.py  |  2 +-
 pym/repoman/modules/vcs/git/changes.py | 24 +-
 pym/repoman/modules/vcs/git/status.py  |  5 ++
 pym/repoman/modules/vcs/hg/changes.py  | 21 -
 pym/repoman/modules/vcs/hg/status.py   |  2 +-
 pym/repoman/modules/vcs/settings.py| 13 
 pym/repoman/modules/vcs/svn/changes.py | 42 ++
 pym/repoman/modules/vcs/svn/status.py  |  2 +-
 pym/repoman/modules/vcs/vcs.py | 13 +++-
 34 files changed, 397 insertions(+), 73 deletions(-)

diff --git a/pym/repoman/modules/scan/arches/arches.py 
b/pym/repoman/modules/scan/arches/arches.py
index 5a58d15..bb9e204 100644
--- a/pym/repoman/modules/scan/arches/arches.py
+++ b/pym/repoman/modules/scan/arches/arches.py
@@ -2,13 +2,25 @@
 
 
 class ArchChecks(object):
+   '''Perform arch keyword checks'''
 
def __init__(self, **kwargs):
+   '''Class init
+
+   @param options: the run time cli options
+   @param repo_settings: repository settings instance
+   @param profiles: dictionary
+   '''
self.options = kwargs.get('options')
self.repo_settings = kwargs.get('repo_settings')
self.profiles = kwargs.get('profiles')
 
def check(self, **kwargs):
+   '''Determines the arches for the ebuild following the profile 
rules
+
+   @param ebuild: Ebuild which we check (object).
+   @returns: dictionary, including arches set
+   '''
ebuild = kwargs.get('ebuild')
if self.options.ignore_arches:
arches = [[
@@ -57,4 +69,5 @@ class ArchChecks(object):
 
@property
def runInEbuilds(self):
+   '''Ebuild level scans'''
return (True, [self.check])

diff --git a/pym/repoman/modules/scan/depend/depend.py 
b/pym/repoman/modules/scan/depend/depend.py
index 2f90eee..72438e9 100644
--- a/pym/repoman/modules/scan/depend/depend.py
+++ b/pym/repoman/modules/scan/depend/depend.py
@@ -10,12 +10,24 @@ from repoman.qa_data import suspect_virtual, suspect_rdepend
 
 
 class DependChecks(object):
+   '''Perform dependency checks'''
 
def __init__(self, **kwargs):
+   '''
+   @param portdb: portdb instance
+   @param qatracker: QATracker instance
+   '''
self.qatracker = kwargs.get('qatracker')
self.portdb = kwargs.get('portdb')
 
def check(self, **kwargs):
+   '''Checks the ebuild dependencies for errors
+
+   @param pkg: Package in which we check (object).
+   @param ebuild: Ebuild which we check (object).
+   @returns: dictionary including {unknown_pkgs, type_list,
+   
badlicsyntax, baddepsyntax}
+   '''
ebuild = kwargs.get('ebuild')
  

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/hg/, pym/repoman/modules/vcs/git/, ...

2016-03-07 Thread Brian Dolbec
commit: 7a26e2bcf8367d488414093be9e4bcb4ea0ed0dd
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Feb  7 18:53:58 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar  8 03:13:20 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=7a26e2bc

repoman: Migrate digest regeneration to the vcs modules

 pym/repoman/actions.py | 15 ++-
 pym/repoman/modules/vcs/bzr/changes.py | 14 --
 pym/repoman/modules/vcs/changes.py |  5 +
 pym/repoman/modules/vcs/cvs/changes.py | 13 +++--
 pym/repoman/modules/vcs/git/changes.py |  9 +
 pym/repoman/modules/vcs/hg/changes.py  |  9 +
 pym/repoman/modules/vcs/settings.py|  6 --
 pym/repoman/modules/vcs/svn/changes.py | 17 +
 8 files changed, 69 insertions(+), 19 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index e045295..21e7db6 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -6,7 +6,6 @@ import errno
 import io
 import logging
 import platform
-import re
 import signal
 import subprocess
 import sys
@@ -25,7 +24,6 @@ from portage.package.ebuild.digestgen import digestgen
 from portage.process import find_binary, spawn
 from portage.util import writemsg_level
 
-from repoman._subprocess import repoman_getstatusoutput
 from repoman.gpg import gpgsign, need_signature
 from repoman import utilities
 from repoman.modules.vcs.vcs import vcs_files_to_cps
@@ -159,17 +157,8 @@ class Actions(object):
"\"You're rather crazy... "
"doing the entire repository.\"\n")
 
-   if self.vcs_settings.vcs in ('cvs', 'svn') and (myupdates or 
myremoved):
-   for x in sorted(vcs_files_to_cps(
-   chain(myupdates, myremoved, mymanifests),
-   self.scanner.repolevel, self.scanner.reposplit, 
self.scanner.categories)):
-   self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
-   digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
-
-   elif broken_changelog_manifests:
-   for x in broken_changelog_manifests:
-   self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
-   digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
+   self.vcs_settings.changes.digest_regen(myupdates, myremoved, 
mymanifests,
+   self.scanner, broken_changelog_manifests)
 
if self.repo_settings.sign_manifests:
self.sign_manifest(myupdates, myremoved, mymanifests)

diff --git a/pym/repoman/modules/vcs/bzr/changes.py 
b/pym/repoman/modules/vcs/bzr/changes.py
index 9bd0646..81e7cf5 100644
--- a/pym/repoman/modules/vcs/bzr/changes.py
+++ b/pym/repoman/modules/vcs/bzr/changes.py
@@ -4,7 +4,9 @@ Bazaar module Changes class submodule
 
 from repoman.modules.vcs.changes import ChangesBase
 from repoman._subprocess import repoman_popen
-
+from repoman._portage import portage
+from portage import os
+from portage.package.ebuild.digestgen import digestgen
 
 class Changes(ChangesBase):
'''Class object to scan and hold the resultant data
@@ -36,6 +38,7 @@ class Changes(ChangesBase):
"./" + elem.split()[-3:-2][0].split('/')[-1:][0]
for elem in bzrstatus
if elem and (elem[1:2] == "K" or elem[0:1] == "R")]
+   self.bzrstatus = bzrstatus
# Bazaar expands nothing.
 
@property
@@ -45,6 +48,13 @@ class Changes(ChangesBase):
return self._unadded
self._unadded = [
"./" + elem.rstrip().split()[1].split('/')[-1:][0]
-   for elem in bzrstatus
+   for elem in self.bzrstatus
if elem.startswith("?") or elem[0:2] == " D"]
return self._unadded
+
+   def digest_regen(self, myupdates, myremoved, mymanifests, scanner, 
broken_changelog_manifests):
+   if broken_changelog_manifests:
+   for x in broken_changelog_manifests:
+   self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
+   digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
+

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 921e9b5..27b627f 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -76,6 +76,11 @@ class ChangesBase(object):
'''Create a thick manifest'''
pass
 
+   def digest_regen(self, myupdates, myremoved, mymanifests, scanner,
+  

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/vcs/, pym/repoman/modules/vcs/git/

2016-03-07 Thread Brian Dolbec
commit: 582318b0ec2621f635b13be3b135ab01e649483e
Author: Brian Dolbec  gentoo  org>
AuthorDate: Wed Feb 10 18:05:46 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar  8 02:54:47 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=582318b0

repoman: Migrate vcs index update code to the vcs modules

 pym/repoman/actions.py | 22 +-
 pym/repoman/modules/vcs/changes.py |  4 
 pym/repoman/modules/vcs/git/changes.py | 27 +++
 3 files changed, 32 insertions(+), 21 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index 21e7db6..4209d13 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -163,27 +163,7 @@ class Actions(object):
if self.repo_settings.sign_manifests:
self.sign_manifest(myupdates, myremoved, mymanifests)
 
-   if self.vcs_settings.vcs == 'git':
-   # It's not safe to use the git commit -a option since 
there might
-   # be some modified files elsewhere in the working tree 
that the
-   # user doesn't want to commit. Therefore, call git 
update-index
-   # in order to ensure that the index is updated with the 
latest
-   # versions of all new and modified files in the 
relevant portion
-   # of the working tree.
-   myfiles = mymanifests + myupdates
-   myfiles.sort()
-   update_index_cmd = ["git", "update-index"]
-   update_index_cmd.extend(f.lstrip("./") for f in myfiles)
-   if self.options.pretend:
-   print("(%s)" % (" ".join(update_index_cmd),))
-   else:
-   retval = spawn(update_index_cmd, env=os.environ)
-   if retval != os.EX_OK:
-   writemsg_level(
-   "!!! Exiting on %s (shell) "
-   "error code: %s\n" % 
(self.vcs_settings.vcs, retval),
-   level=logging.ERROR, 
noiselevel=-1)
-   sys.exit(retval)
+   self.vcs_settings.changes.update_index(mymanifests, myupdates)
 
self.add_manifest(mymanifests, myheaders, myupdates, myremoved, 
commitmessage)
 

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 27b627f..948407c 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -85,3 +85,7 @@ class ChangesBase(object):
def clear_attic(myheaders):
'''Old CVS leftover'''
pass
+
+   def update_index(self, mymanifests, myupdates):
+   '''Update the vcs's modified index if it is needed'''
+   pass

diff --git a/pym/repoman/modules/vcs/git/changes.py 
b/pym/repoman/modules/vcs/git/changes.py
index 1970b3a..018458c 100644
--- a/pym/repoman/modules/vcs/git/changes.py
+++ b/pym/repoman/modules/vcs/git/changes.py
@@ -2,11 +2,16 @@
 Git module Changes class submodule
 '''
 
+import logging
+import sys
+
 from repoman.modules.vcs.changes import ChangesBase
 from repoman._subprocess import repoman_popen
 from repoman._portage import portage
 from portage import os
 from portage.package.ebuild.digestgen import digestgen
+from portage.process import spawn
+from portage.util import writemsg_level
 
 
 class Changes(ChangesBase):
@@ -63,3 +68,25 @@ class Changes(ChangesBase):
for x in broken_changelog_manifests:
self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
+
+   def update_index(self, mymanifests, myupdates):
+   # It's not safe to use the git commit -a option since there 
might
+   # be some modified files elsewhere in the working tree that the
+   # user doesn't want to commit. Therefore, call git update-index
+   # in order to ensure that the index is updated with the latest
+   # versions of all new and modified files in the relevant portion
+   # of the working tree.
+   myfiles = mymanifests + myupdates
+   myfiles.sort()
+   update_index_cmd = ["git", "update-index"]
+   update_index_cmd.extend(f.lstrip("./") for f in myfiles)
+   if self.options.pretend:
+   print("(%s)" % (" ".join(update_index_cmd),))
+   else:
+   retval = spawn(update_index_cmd, env=os.environ)
+   if retval != os.EX_OK:
+

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/vcs/bzr/, pym/repoman/modules/vcs/git/, ...

2016-03-07 Thread Brian Dolbec
commit: 6567ab52cdf6e8093fc5134b46f555edd635fe00
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Feb  7 18:53:58 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar  8 02:54:37 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=6567ab52

repoman: Migrate digest regeneration to the vcs modules

 pym/repoman/actions.py | 15 ++-
 pym/repoman/modules/vcs/bzr/changes.py | 14 --
 pym/repoman/modules/vcs/changes.py |  5 +
 pym/repoman/modules/vcs/cvs/changes.py | 13 +++--
 pym/repoman/modules/vcs/git/changes.py |  9 +
 pym/repoman/modules/vcs/hg/changes.py  |  9 +
 pym/repoman/modules/vcs/settings.py|  6 --
 pym/repoman/modules/vcs/svn/changes.py | 17 +
 8 files changed, 69 insertions(+), 19 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index e045295..21e7db6 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -6,7 +6,6 @@ import errno
 import io
 import logging
 import platform
-import re
 import signal
 import subprocess
 import sys
@@ -25,7 +24,6 @@ from portage.package.ebuild.digestgen import digestgen
 from portage.process import find_binary, spawn
 from portage.util import writemsg_level
 
-from repoman._subprocess import repoman_getstatusoutput
 from repoman.gpg import gpgsign, need_signature
 from repoman import utilities
 from repoman.modules.vcs.vcs import vcs_files_to_cps
@@ -159,17 +157,8 @@ class Actions(object):
"\"You're rather crazy... "
"doing the entire repository.\"\n")
 
-   if self.vcs_settings.vcs in ('cvs', 'svn') and (myupdates or 
myremoved):
-   for x in sorted(vcs_files_to_cps(
-   chain(myupdates, myremoved, mymanifests),
-   self.scanner.repolevel, self.scanner.reposplit, 
self.scanner.categories)):
-   self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
-   digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
-
-   elif broken_changelog_manifests:
-   for x in broken_changelog_manifests:
-   self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
-   digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
+   self.vcs_settings.changes.digest_regen(myupdates, myremoved, 
mymanifests,
+   self.scanner, broken_changelog_manifests)
 
if self.repo_settings.sign_manifests:
self.sign_manifest(myupdates, myremoved, mymanifests)

diff --git a/pym/repoman/modules/vcs/bzr/changes.py 
b/pym/repoman/modules/vcs/bzr/changes.py
index 9bd0646..81e7cf5 100644
--- a/pym/repoman/modules/vcs/bzr/changes.py
+++ b/pym/repoman/modules/vcs/bzr/changes.py
@@ -4,7 +4,9 @@ Bazaar module Changes class submodule
 
 from repoman.modules.vcs.changes import ChangesBase
 from repoman._subprocess import repoman_popen
-
+from repoman._portage import portage
+from portage import os
+from portage.package.ebuild.digestgen import digestgen
 
 class Changes(ChangesBase):
'''Class object to scan and hold the resultant data
@@ -36,6 +38,7 @@ class Changes(ChangesBase):
"./" + elem.split()[-3:-2][0].split('/')[-1:][0]
for elem in bzrstatus
if elem and (elem[1:2] == "K" or elem[0:1] == "R")]
+   self.bzrstatus = bzrstatus
# Bazaar expands nothing.
 
@property
@@ -45,6 +48,13 @@ class Changes(ChangesBase):
return self._unadded
self._unadded = [
"./" + elem.rstrip().split()[1].split('/')[-1:][0]
-   for elem in bzrstatus
+   for elem in self.bzrstatus
if elem.startswith("?") or elem[0:2] == " D"]
return self._unadded
+
+   def digest_regen(self, myupdates, myremoved, mymanifests, scanner, 
broken_changelog_manifests):
+   if broken_changelog_manifests:
+   for x in broken_changelog_manifests:
+   self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
+   digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
+

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 921e9b5..27b627f 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -76,6 +76,11 @@ class ChangesBase(object):
'''Create a thick manifest'''
pass
 
+   def digest_regen(self, myupdates, myremoved, mymanifests, scanner,
+  

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/bzr/, pym/repoman/modules/scan/manifest/, ...

2016-03-07 Thread Brian Dolbec
commit: 7104a90cb2d37d74540ea026884bed3b2f2f6932
Author: Brian Dolbec  gentoo  org>
AuthorDate: Mon Mar  7 21:04:01 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar  8 02:54:48 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=7104a90c

repoman: Add docstrings to the final vcs and scan modules

 pym/repoman/modules/scan/arches/arches.py  | 13 
 pym/repoman/modules/scan/depend/depend.py  | 13 
 pym/repoman/modules/scan/depend/profile.py | 27 +++
 pym/repoman/modules/scan/depend/unknown.py | 13 
 pym/repoman/modules/scan/directories/files.py  |  1 +
 pym/repoman/modules/scan/directories/mtime.py  |  8 ++
 pym/repoman/modules/scan/eapi/eapi.py  |  2 +
 pym/repoman/modules/scan/ebuild/ebuild.py  | 22 +-
 pym/repoman/modules/scan/ebuild/isebuild.py|  3 +-
 pym/repoman/modules/scan/ebuild/multicheck.py  | 16 
 pym/repoman/modules/scan/eclasses/live.py  |  6 ++
 pym/repoman/modules/scan/eclasses/ruby.py  |  8 +-
 pym/repoman/modules/scan/fetch/fetches.py  |  1 +
 pym/repoman/modules/scan/keywords/keywords.py  |  1 +
 pym/repoman/modules/scan/manifest/manifests.py | 25 ++
 pym/repoman/modules/scan/metadata/pkgmetadata.py   |  1 +
 .../modules/scan/mirrors/thirdpartymirrors.py  |  1 +
 pym/repoman/modules/scan/options/options.py|  9 +++
 pym/repoman/modules/scan/status/vcsstatus.py   |  1 +
 pym/repoman/modules/scan/use/use_flags.py  |  1 +
 pym/repoman/modules/vcs/None/changes.py| 15 +++-
 pym/repoman/modules/vcs/bzr/changes.py | 13 +++-
 pym/repoman/modules/vcs/bzr/status.py  |  2 +-
 pym/repoman/modules/vcs/changes.py | 90 +++---
 pym/repoman/modules/vcs/cvs/changes.py | 54 +
 pym/repoman/modules/vcs/cvs/status.py  |  2 +-
 pym/repoman/modules/vcs/git/changes.py | 24 +-
 pym/repoman/modules/vcs/git/status.py  |  5 ++
 pym/repoman/modules/vcs/hg/changes.py  | 21 -
 pym/repoman/modules/vcs/hg/status.py   |  2 +-
 pym/repoman/modules/vcs/settings.py| 13 
 pym/repoman/modules/vcs/svn/changes.py | 42 ++
 pym/repoman/modules/vcs/svn/status.py  |  2 +-
 pym/repoman/modules/vcs/vcs.py | 13 +++-
 34 files changed, 397 insertions(+), 73 deletions(-)

diff --git a/pym/repoman/modules/scan/arches/arches.py 
b/pym/repoman/modules/scan/arches/arches.py
index 5a58d15..bb9e204 100644
--- a/pym/repoman/modules/scan/arches/arches.py
+++ b/pym/repoman/modules/scan/arches/arches.py
@@ -2,13 +2,25 @@
 
 
 class ArchChecks(object):
+   '''Perform arch keyword checks'''
 
def __init__(self, **kwargs):
+   '''Class init
+
+   @param options: the run time cli options
+   @param repo_settings: repository settings instance
+   @param profiles: dictionary
+   '''
self.options = kwargs.get('options')
self.repo_settings = kwargs.get('repo_settings')
self.profiles = kwargs.get('profiles')
 
def check(self, **kwargs):
+   '''Determines the arches for the ebuild following the profile 
rules
+
+   @param ebuild: Ebuild which we check (object).
+   @returns: dictionary, including arches set
+   '''
ebuild = kwargs.get('ebuild')
if self.options.ignore_arches:
arches = [[
@@ -57,4 +69,5 @@ class ArchChecks(object):
 
@property
def runInEbuilds(self):
+   '''Ebuild level scans'''
return (True, [self.check])

diff --git a/pym/repoman/modules/scan/depend/depend.py 
b/pym/repoman/modules/scan/depend/depend.py
index 2f90eee..72438e9 100644
--- a/pym/repoman/modules/scan/depend/depend.py
+++ b/pym/repoman/modules/scan/depend/depend.py
@@ -10,12 +10,24 @@ from repoman.qa_data import suspect_virtual, suspect_rdepend
 
 
 class DependChecks(object):
+   '''Perform dependency checks'''
 
def __init__(self, **kwargs):
+   '''
+   @param portdb: portdb instance
+   @param qatracker: QATracker instance
+   '''
self.qatracker = kwargs.get('qatracker')
self.portdb = kwargs.get('portdb')
 
def check(self, **kwargs):
+   '''Checks the ebuild dependencies for errors
+
+   @param pkg: Package in which we check (object).
+   @param ebuild: Ebuild which we check (object).
+   @returns: dictionary including {unknown_pkgs, type_list,
+   
badlicsyntax, baddepsyntax}
+   '''
ebuild = kwargs.get('ebuild')
  

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/, pym/repoman/, pym/repoman/modules/vcs/None/

2016-03-07 Thread Brian Dolbec
commit: b04e18f2d700d822969a6a9f7e38d4d64a9a5835
Author: Brian Dolbec  gentoo  org>
AuthorDate: Wed Feb 10 18:08:55 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar  8 02:54:47 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=b04e18f2

repoman: Migrate add items to the vcs modules

 pym/repoman/actions.py  | 25 +
 pym/repoman/modules/vcs/None/changes.py |  4 
 pym/repoman/modules/vcs/changes.py  | 20 
 3 files changed, 25 insertions(+), 24 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index 4209d13..d2e4fc1 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -411,30 +411,7 @@ class Actions(object):
 
if myautoadd:
print(">>> Auto-Adding missing Manifest/ChangeLog 
file(s)...")
-   add_cmd = [self.vcs_settings.vcs, "add"]
-   add_cmd += myautoadd
-   if self.options.pretend:
-   portage.writemsg_stdout(
-   "(%s)\n" % " ".join(add_cmd),
-   noiselevel=-1)
-   else:
-
-   if sys.hexversion < 0x302 and 
sys.hexversion >= 0x300 and \
-   not os.path.isabs(add_cmd[0]):
-   # Python 3.1 _execvp throws TypeError 
for non-absolute executable
-   # path passed as bytes (see 
http://bugs.python.org/issue8513).
-   fullname = find_binary(add_cmd[0])
-   if fullname is None:
-   raise 
portage.exception.CommandNotFound(add_cmd[0])
-   add_cmd[0] = fullname
-
-   add_cmd = [_unicode_encode(arg) for arg in 
add_cmd]
-   retcode = subprocess.call(add_cmd)
-   if retcode != os.EX_OK:
-   logging.error(
-   "Exiting on %s error code: 
%s\n" % (self.vcs_settings.vcs, retcode))
-   sys.exit(retcode)
-
+   self.vcs_settings.changes.add_items(myautoadd)
myupdates += myautoadd
return myupdates, broken_changelog_manifests
 

diff --git a/pym/repoman/modules/vcs/None/changes.py 
b/pym/repoman/modules/vcs/None/changes.py
index 37693ad..98beedb 100644
--- a/pym/repoman/modules/vcs/None/changes.py
+++ b/pym/repoman/modules/vcs/None/changes.py
@@ -22,3 +22,7 @@ class Changes(ChangesBase):
def scan(self):
'''VCS type scan function, looks for all detectable changes'''
pass
+
+   def add_items(self, myautoadd):
+   '''Nothing to add them to'''
+   pass

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 948407c..ee94217 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -2,9 +2,14 @@
 Base Changes class
 '''
 
+import logging
 import os
+import subprocess
+import sys
 from itertools import chain
 
+from repoman._portage import portage
+from portage import _unicode_encode
 
 class ChangesBase(object):
'''Base Class object to scan and hold the resultant data
@@ -89,3 +94,18 @@ class ChangesBase(object):
def update_index(self, mymanifests, myupdates):
'''Update the vcs's modified index if it is needed'''
pass
+
+   def add_items(self, myautoadd):
+   add_cmd = [self.vcs, "add"]
+   add_cmd += myautoadd
+   if self.options.pretend:
+   portage.writemsg_stdout(
+   "(%s)\n" % " ".join(add_cmd),
+   noiselevel=-1)
+   else:
+   add_cmd = [_unicode_encode(arg) for arg in 
add_cmd]
+   retcode = subprocess.call(add_cmd)
+   if retcode != os.EX_OK:
+   logging.error(
+   "Exiting on %s error code: 
%s\n" % (self.vcs_settings.vcs, retcode))
+   sys.exit(retcode)



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/hg/, pym/repoman/modules/vcs/cvs/, ...

2016-03-07 Thread Brian Dolbec
commit: c57fdfa0b4eeeaa5d5d996e7be7689fb9f594d8a
Author: Brian Dolbec  gentoo  org>
AuthorDate: Tue Feb 16 20:06:30 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Mar  8 02:54:47 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=c57fdfa0

repoman: Migrate the commit code to the vcs modules

 pym/repoman/actions.py  | 84 +
 pym/repoman/modules/vcs/None/changes.py | 13 +
 pym/repoman/modules/vcs/bzr/changes.py  |  1 -
 pym/repoman/modules/vcs/changes.py  | 20 
 pym/repoman/modules/vcs/cvs/changes.py  |  1 -
 pym/repoman/modules/vcs/git/changes.py  | 10 
 pym/repoman/modules/vcs/hg/changes.py   | 16 +++
 7 files changed, 82 insertions(+), 63 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index d2e4fc1..4aec1e0 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -7,21 +7,19 @@ import io
 import logging
 import platform
 import signal
-import subprocess
 import sys
 import tempfile
 from itertools import chain
 
 from _emerge.UserQuery import UserQuery
 
-import portage
+from repoman._portage import portage
 from portage import os
 from portage import _encodings
 from portage import _unicode_encode
 from portage.output import (
bold, create_color_func, green, red)
 from portage.package.ebuild.digestgen import digestgen
-from portage.process import find_binary, spawn
 from portage.util import writemsg_level
 
 from repoman.gpg import gpgsign, need_signature
@@ -432,43 +430,18 @@ class Actions(object):
mymsg.write(_unicode_encode(commitmessage))
mymsg.close()
 
-   commit_cmd = []
-   if self.options.pretend and self.vcs_settings.vcs is None:
-   # substitute a bogus value for pretend output
-   commit_cmd.append("cvs")
-   else:
-   commit_cmd.append(self.vcs_settings.vcs)
-   commit_cmd.extend(self.vcs_settings.vcs_global_opts)
-   commit_cmd.append("commit")
-   commit_cmd.extend(self.vcs_settings.vcs_local_opts)
-   if self.vcs_settings.vcs == "hg":
-   commit_cmd.extend(["--logfile", commitmessagefile])
-   commit_cmd.extend(myfiles)
-   else:
-   commit_cmd.extend(["-F", commitmessagefile])
-   commit_cmd.extend(f.lstrip("./") for f in myfiles)
-
+   retval = self.vcs_settings.changes.commit(myfiles, 
commitmessagefile)
+   # cleanup the commit message before possibly exiting
try:
-   if self.options.pretend:
-   print("(%s)" % (" ".join(commit_cmd),))
-   else:
-   retval = spawn(commit_cmd, 
env=self.repo_settings.commit_env)
-   if retval != os.EX_OK:
-   if 
self.repo_settings.repo_config.sign_commit and not 
self.vcs_settings.status.supports_gpg_sign():
-   # Inform user that newer git is 
needed (bug #403323).
-   logging.error(
-   "Git >=1.7.9 is 
required for signed commits!")
-
-   writemsg_level(
-   "!!! Exiting on %s (shell) "
-   "error code: %s\n" % 
(self.vcs_settings.vcs, retval),
-   level=logging.ERROR, 
noiselevel=-1)
-   sys.exit(retval)
-   finally:
-   try:
-   os.unlink(commitmessagefile)
-   except OSError:
-   pass
+   os.unlink(commitmessagefile)
+   except OSError:
+   pass
+   if retval != os.EX_OK:
+   writemsg_level(
+   "!!! Exiting on %s (shell) "
+   "error code: %s\n" % (self.vcs_settings.vcs, 
retval),
+   level=logging.ERROR, noiselevel=-1)
+   sys.exit(retval)
 
 
def priming_commit(self, myupdates, myremoved, commitmessage):
@@ -492,29 +465,18 @@ class Actions(object):
# so strip the prefix.
myfiles = [f.lstrip("./") for f in myfiles]
 
-   commit_cmd = [self.vcs_settings.vcs]
-   commit_cmd.extend(self.vcs_settings.vcs_global_opts)
-   commit_cmd.append("commit")
-   commit_cmd.extend(self.vcs_settings.vcs_local_opts)
-   commit_cmd.extend(["-F", commitmessagefile])
-   commit_cmd.extend(myfiles)

[gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/

2016-03-07 Thread Mike Gilbert
commit: 214337f35ceeab35786f9faa13ae6c3d56caaeab
Author: Mike Gilbert  gentoo  org>
AuthorDate: Tue Mar  8 02:18:23 2016 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Mar  8 02:18:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214337f3

net-p2p/transmission: Bump to 2.92

Package-Manager: portage-2.2.27_p81

 net-p2p/transmission/Manifest |   1 +
 net-p2p/transmission/transmission-2.92.ebuild | 158 ++
 2 files changed, 159 insertions(+)

diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index 13521d0..a367870 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,2 +1,3 @@
 DIST transmission-2.84.tar.xz 3077836 SHA256 
a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb SHA512 
d6c2b17e7f8180a41ac70f5b503dfdb0353c6419db25df1b393b18c987c56fda9e2fd4c3f4cda7f08c301877bd0b4711842c28121cee87f5792cc6c29a3d
 WHIRLPOOL 
375f9c981d9d2ac308896e8b7d66d3643796c8e97d64a1e0d6fd2bffaafa55988b90ddb4eb98330edf062e835c0c5ce76749e7e66bf6806333673beb7569f342
 DIST transmission-2.90.tar.xz 3377720 SHA256 
69ff8caf81684155926f437f46bf7df1b1fb304f52c7809f546257e8923f2fd2 SHA512 
09c8e90cb1c7b508e3956d294ba9b5f01b4093c9f934c76d7515e96915c657b97f02819e1365dbbfecbdf489ae5757346d8bb2dd8e0070c304af434006495fda
 WHIRLPOOL 
a51a86603ddf208c73b6e86a05eda2d90636407c7c716fb959fa460a72908aafe2d82f46c1fe3d7afda52ba845d73924d0f26f107a2446644809f7cfd5985275
+DIST transmission-2.92.tar.xz 3378116 SHA256 
3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f SHA512 
4d99476bee88cedcc4238a0eee64a4089016933cbfc1cfb1cca023ad4ebcfe46375c9e7651a17af4aeaaf1feb19cbd8166aa56ef7992d9e745a7bbcbe8efca11
 WHIRLPOOL 
a2eab113fd895001cf72cd79c4ac9a4767eb9fb756a3fb9b1d0db6aa283d19a6aec739b8681a3a5a26ef630cec68f004e14f8654221f0528e30927f37339887f

diff --git a/net-p2p/transmission/transmission-2.92.ebuild 
b/net-p2p/transmission/transmission-2.92.ebuild
new file mode 100644
index 000..96c12ef
--- /dev/null
+++ b/net-p2p/transmission/transmission-2.92.ebuild
@@ -0,0 +1,158 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools fdo-mime gnome2-utils qmake-utils systemd user
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client"
+HOMEPAGE="http://www.transmissionbt.com/";
+SRC_URI="http://download.transmissionbt.com/${PN}/files/${P}.tar.xz";
+
+# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for 
the rest
+# transmission in licenses/ is for mentioning OpenSSL linking exception
+# MIT is in several libtransmission/ headers
+LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT"
+SLOT=0
+IUSE="ayatana gtk libressl lightweight systemd qt4 qt5 xfs"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
+
+RDEPEND=">=dev-libs/libevent-2.0.10:=
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl )
+   net-libs/libnatpmp:=
+   >=net-libs/miniupnpc-1.7:=
+   >=net-misc/curl-7.16.3:=[ssl]
+   sys-libs/zlib:=
+   gtk? (
+   >=dev-libs/dbus-glib-0.100:=
+   >=dev-libs/glib-2.32:2=
+   >=x11-libs/gtk+-3.4:3=
+   ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
+   )
+   systemd? ( sys-apps/systemd:= )
+   qt4? (
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtdbus:4
+   )
+   qt5? (
+   dev-qt/qtcore:5
+   dev-qt/qtdbus:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+   )"
+DEPEND="${RDEPEND}
+   >=dev-libs/glib-2.32
+   dev-util/intltool
+   sys-devel/gettext
+   virtual/os-headers
+   virtual/pkgconfig
+   qt5? ( dev-qt/linguist-tools:5 )
+   xfs? ( sys-fs/xfsprogs )"
+
+REQUIRED_USE="ayatana? ( gtk ) ?? ( qt4 qt5 )"
+
+DOCS="AUTHORS NEWS qt/README.txt"
+
+src_prepare() {
+   sed -i -e '/CFLAGS/s:-ggdb3::' configure.ac || die
+
+   # Trick to avoid automagic dependency
+   use ayatana || { sed -i -e '/^LIBAPPINDICATOR_MINIMUM/s:=.*:=:' 
configure.ac || die; }
+
+   # Pass our configuration dir to systemd unit file
+   sed -i '/ExecStart/ s|$| -g /var/lib/transmission/config|' 
daemon/transmission-daemon.service || die
+
+   # http://trac.transmissionbt.com/ticket/4324
+   sed -i -e 's|noinst\(_PROGRAMS = $(TESTS)\)|check\1|' 
libtransmission/Makefile.am || die
+
+   eapply_user
+   eautoreconf
+}
+
+src_configure() {
+   export ac_cv_header_xfs_xfs_h=$(usex xfs)
+
+   econf \
+   --enable-external-natpmp \
+   $(use_enable lightweight) \
+   $(use_with systemd systemd-daemon) \
+   $(use_with gtk)
+
+   if use qt4 || use qt5; then
+   pushd qt >/

[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/

2016-03-07 Thread Ian Delaney
commit: ef43c72bb3050b44bf2dc09f5ba4018a2cc19819
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 15:03:43 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 16:25:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef43c72b

media-video/aegisub: add missing libass subslot operator to 

Package-Manager: portage-2.2.27

 media-video/aegisub/aegisub-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/aegisub/aegisub-.ebuild 
b/media-video/aegisub/aegisub-.ebuild
index c4a6030..6677686 100644
--- a/media-video/aegisub/aegisub-.ebuild
+++ b/media-video/aegisub/aegisub-.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
dev-libs/icu:=
media-libs/fontconfig
media-libs/freetype
-   media-libs/libass[fontconfig]
+   media-libs/libass:=[fontconfig]
virtual/libiconv
virtual/opengl
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,debug?]



[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/files/, media-video/aegisub/

2016-03-07 Thread Ian Delaney
commit: 07146ec002decac6cf35c0762d33cd14a627efec
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 15:11:13 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 16:25:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07146ec0

media-video/aegisub: remove unneeded unbundle-luajit patch from 

Mostly merged upstream. Upstream now supports building with system
luajit. There are still some problems left, see [1]. But it's already
a major improvement.

[1]: http://devel.aegisub.org/ticket/1904#comment:10

Package-Manager: portage-2.2.27

 media-video/aegisub/aegisub-.ebuild|   4 +-
 .../files/aegisub--unbundle-luajit.patch   | 153 -
 2 files changed, 2 insertions(+), 155 deletions(-)

diff --git a/media-video/aegisub/aegisub-.ebuild 
b/media-video/aegisub/aegisub-.ebuild
index 7a83307..2d555ef 100644
--- a/media-video/aegisub/aegisub-.ebuild
+++ b/media-video/aegisub/aegisub-.ebuild
@@ -55,11 +55,10 @@ REQUIRED_USE="
|| ( alsa openal oss portaudio pulseaudio )
 "
 
-# aegisub also bundles luabins (https://github.com/agladysh/luabins).
+# aegisub bundles luabins (https://github.com/agladysh/luabins).
 # Unfortunately, luabins upstream is dead since 2011.
 # Thus unbundling luabins is not worth the effort.
 PATCHES=(
-   "${FILESDIR}/${P}-unbundle-luajit.patch"
"${FILESDIR}/${PN}-3.2.2-r1-respect-user-compiler-flags.patch"
 )
 
@@ -87,6 +86,7 @@ src_configure() {
use openal && export agi_cv_with_openal="yes"
local myeconfargs=(
--disable-update-checker
+   --with-system-luajit
$(use_enable debug)
$(use_with alsa)
$(use_with ffmpeg ffms2)

diff --git a/media-video/aegisub/files/aegisub--unbundle-luajit.patch 
b/media-video/aegisub/files/aegisub--unbundle-luajit.patch
deleted file mode 100644
index c7e3e94..000
--- a/media-video/aegisub/files/aegisub--unbundle-luajit.patch
+++ /dev/null
@@ -1,153 +0,0 @@
-http://devel.aegisub.org/ticket/1904
-
-diff --git a/Makefile.inc.in b/Makefile.inc.in
-index 5a52d25..6cd16f1 100644
 a/Makefile.inc.in
-+++ b/Makefile.inc.in
-@@ -79,7 +79,7 @@ CFLAGS_ICONV   = @ICONV_CFLAGS@
- CFLAGS_ICU = @ICU_I18N_CFLAGS@
- CFLAGS_LIBASS  = @LIBASS_CFLAGS@
- CFLAGS_LIBPULSE= @LIBPULSE_CFLAGS@
--CFLAGS_LUA = -I$(TOP)vendor/luajit/include
-+CFLAGS_LUA = @LUAJIT_CFLAGS@
- CFLAGS_OPENAL  = @OPENAL_CFLAGS@
- CFLAGS_OSS = @OSS_CFLAGS@
- CFLAGS_PORTAUDIO   = @PORTAUDIO_CFLAGS@
-@@ -97,16 +97,12 @@ LIBS_ICONV = @ICONV_LIBS@
- LIBS_ICU   = @ICU_UC_LIBS@ @ICU_I18N_LIBS@
- LIBS_LIBASS= @LIBASS_LIBS@
- LIBS_LIBPULSE  = @LIBPULSE_LIBS@
--LIBS_LUA   = $(TOP)vendor/luajit/src/libluajit.a
-+LIBS_LUA   = @LUAJIT_LIBS@
- LIBS_OPENAL= @OPENAL_LIBS@
- LIBS_PORTAUDIO = @PORTAUDIO_LIBS@
- LIBS_PTHREAD   = @PTHREAD_LIBS@
- LIBS_UCHARDET  = @UCHARDET_LIBS@
-
--ifeq (yes, $(BUILD_DARWIN))
--LIBS_LUA   = $(TOP)vendor/luajit/src/libluajit-aegisub.so
--endif
--
- FONTCONFIG_CONF_DIR = @FONTCONFIG_CONF_DIR@
-
- #
-diff --git a/automation/Makefile b/automation/Makefile
-index d5425b7..121aae7 100644
 a/automation/Makefile
-+++ b/automation/Makefile
-@@ -12,9 +12,9 @@ DATA_AUTOMATION_INSTALLED = $(addprefix 
$(DESTDIR)$(P_DATA)/automation/, $(DATA_
- $(DESTDIR)$(P_DATA)/automation/%: $(d)%
-   $(MKDIR_INSTALL)
-
--aegisub-lua_OBJ := $(d)tests/aegisub.o $(TOP)lib/libaegisub.a 
$(TOP)lib/libluabins.a $(LIBS_LUA)
-+aegisub-lua_OBJ := $(d)tests/aegisub.o $(TOP)lib/libaegisub.a 
$(TOP)lib/libluabins.a
- aegisub-lua_CPPFLAGS := $(CPPFLAGS_BOOST) $(CFLAGS_LUA) 
-I$(TOP)libaegisub/include -I$(TOP)src $(CXXFLAGS_WX)
--aegisub-lua_LIBS := $(LIBS_WX) $(LIBS_BOOST) $(LIBS_ICU)
-+aegisub-lua_LIBS := $(LIBS_WX) $(LIBS_BOOST) $(LIBS_ICU) $(LIBS_LUA)
-
- PROGRAM += $(d)aegisub-lua
-
-diff --git a/configure.ac b/configure.ac
-index 7492568..2c77fcf 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -16,6 +16,8 @@ m4_define([libpulse_required_version], [0.5])
- m4_define([pkgconfig_required_version], [0.20])
- m4_define([portaudio_required_version], [19])
- m4_define([wx_required_version], [3.0.0])
-+# Same version as the bundled one
-+m4_define([luajit_required_version], [2.0.4])
-
- ###
- # Setup
-@@ -209,6 +211,7 @@ AS_IF([test x$build_darwin != xyes], [
- ])
-
- PKG_CHECK_MODULES(LIBASS, libass >= libass_required_version)
-+PKG_CHECK_MODULES(LUAJIT, luajit >= luajit_required_version)
-
- AX_BOOST_BASE([boost_required_version])
- AX_BOOST_LIB(chrono, BOOST_CHRONO_LIB, [chrono.hpp], 
[boost::chrono::system_clock::time_point time])
-diff --git a/header.mk b/header.mk
-index 613b38f..873d4ce 100644
 a/header.mk
-+++ b/header.mk
-@@ -13,7 +13,6 @@ subdirs := \
-   tests \
-   tools \
-   vendor/luabins \
--  v

[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/, media-video/aegisub/files/

2016-03-07 Thread Ian Delaney
commit: 591bb17a3b4c3461add4ba29cbf996958fd0d3e2
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 15:43:14 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 18:35:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=591bb17a

media-video/aegisub: remove old

Package-Manager: portage-2.2.27

 media-video/aegisub/aegisub-3.2.2-r1.ebuild| 119 -
 ...isub-3.2.2-r1-respect-user-compiler-flags.patch |  53 -
 2 files changed, 172 deletions(-)

diff --git a/media-video/aegisub/aegisub-3.2.2-r1.ebuild 
b/media-video/aegisub/aegisub-3.2.2-r1.ebuild
deleted file mode 100644
index 79bc20d..000
--- a/media-video/aegisub/aegisub-3.2.2-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1
-PLOCALES="ar bg ca cs da de el es eu fa fi fr_FR gl hu id it ja ko nl pl pt_BR 
pt_PT ru sr_RS@latin sr_RS uk_UA vi zh_CN zh_TW"
-WX_GTK_VER="3.0"
-
-inherit autotools-utils fdo-mime flag-o-matic gnome2-utils l10n wxwidgets
-
-DESCRIPTION="Advanced subtitle editor"
-HOMEPAGE="http://www.aegisub.org/";
-SRC_URI="
-   http://ftp.aegisub.org/pub/releases/${P}.tar.xz
-   ftp://ftp.aegisub.org/pub/releases/${P}.tar.xz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa debug +ffmpeg +fftw openal oss portaudio pulseaudio spell"
-
-# configure.ac specifies minimal versions for some of the dependencies below.
-# However, most of these minimal versions date back to 2006-2010 yy.
-# Such version specifiers are meaningless nowadays, so they are omitted.
-RDEPEND="
-   >=dev-lang/luajit-2.0.3:2[lua52compat]
-   >=dev-libs/boost-1.50.0:=[icu,nls,threads]
-   >=dev-libs/icu-4.8.1.1:=
-   >=x11-libs/wxGTK-3.0.0:${WX_GTK_VER}[X,opengl,debug?]
-   media-libs/fontconfig
-   media-libs/freetype
-   media-libs/libass[fontconfig]
-   virtual/libiconv
-   virtual/opengl
-
-   alsa? ( media-libs/alsa-lib )
-   openal? ( media-libs/openal )
-   portaudio? ( =media-libs/portaudio-19* )
-   pulseaudio? ( media-sound/pulseaudio )
-
-   ffmpeg? ( >=media-libs/ffmpegsource-2.16:= )
-   fftw? ( >=sci-libs/fftw-3.3:= )
-
-   spell? ( app-text/hunspell )
-"
-DEPEND="${RDEPEND}
-   oss? ( virtual/os-headers )
-   dev-util/intltool
-   sys-devel/gettext
-   virtual/pkgconfig
-"
-REQUIRED_USE="
-   || ( alsa openal oss portaudio pulseaudio )
-"
-
-# aegisub also bundles luabins (https://github.com/agladysh/luabins).
-# Unfortunately, luabins upstream is dead since 2011.
-# Thus unbundling luabins is not worth the effort.
-PATCHES=(
-   "${FILESDIR}/${P}-fix-lua-regexp.patch"
-   "${FILESDIR}/${P}-unbundle-luajit.patch"
-   "${FILESDIR}/${P}-add-missing-pthread-flags.patch"
-   "${FILESDIR}/${PF}-respect-user-compiler-flags.patch"
-)
-
-pkg_pretend() {
-   if [[ ${MERGE_TYPE} != "binary" ]] && ! test-flag-CXX -std=c++11; then
-   die "Your compiler lacks C++11 support. Use GCC>=4.7.0 or 
Clang>=3.3."
-   fi
-}
-
-src_prepare() {
-   cp /usr/share/gettext/config.rpath . || die
-
-   remove_locale() {
-   rm "po/${1}.po" || die
-   }
-
-   l10n_find_plocales_changes 'po' '' '.po'
-   l10n_for_each_disabled_locale_do remove_locale
-
-   autotools-utils_src_prepare
-}
-
-src_configure() {
-   # Prevent sandbox violation from OpenAL detection. Gentoo bug #508184.
-   use openal && export agi_cv_with_openal="yes"
-   local myeconfargs=(
-   --disable-update-checker
-   $(use_enable debug)
-   $(use_with alsa)
-   $(use_with ffmpeg ffms2)
-   $(use_with fftw fftw3)
-   $(use_with openal)
-   $(use_with oss)
-   $(use_with portaudio)
-   $(use_with pulseaudio libpulse)
-   $(use_with spell hunspell)
-   )
-   autotools-utils_src_configure
-}
-
-pkg_preinst() {
-   gnome2_icon_savelist
-}
-
-pkg_postinst() {
-   fdo-mime_desktop_database_update
-   gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-   fdo-mime_desktop_database_update
-   gnome2_icon_cache_update
-}

diff --git 
a/media-video/aegisub/files/aegisub-3.2.2-r1-respect-user-compiler-flags.patch 
b/media-video/aegisub/files/aegisub-3.2.2-r1-respect-user-compiler-flags.patch
deleted file mode 100644
index 5178983..000
--- 
a/media-video/aegisub/files/aegisub-3.2.2-r1-respect-user-compiler-flags.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-http://devel.aegisub.org/ticket/1899
-http://devel.aegisub.org/ticket/1900
-
-diff --git a/configure.ac b/configure.ac
-index be657b0..de8184f 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -139,20 +139,17 @@ CC="$PTHREAD_CC"
- AC_ARG_ENABLE(compiler-flags, 
AS_HELP_STRING([--disable-compi

[gentoo-commits] repo/gentoo:master commit in: /

2016-03-07 Thread Ian Delaney
commit: 1793e37c9c68cc22c7bbd44f081c4224eca5fe6c
Author: Ian Delaney  gentoo  org>
AuthorDate: Tue Mar  8 02:04:10 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Tue Mar  8 02:15:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1793e37c

Merge remote-tracking branch 'remotes/sbraz/syncthing'

Pull request: https://github.com/gentoo/gentoo/pull/1000

 net-p2p/syncthing/files/syncthing.initd | 0
 1 file changed, 0 insertions(+), 0 deletions(-)



[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/files/, media-video/aegisub/

2016-03-07 Thread Ian Delaney
commit: 878010e4b5fca1db2520cefa2e40ae16d110b3c1
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 15:40:24 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 18:35:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=878010e4

media-video/aegisub: verbump to 3.2.2_p20160306

New snapshot release with most of our Gentoo patches merged upstream.

Package-Manager: portage-2.2.27

 media-video/aegisub/Manifest   |   1 +
 ...-.ebuild => aegisub-3.2.2_p20160306.ebuild} |  10 +-
 media-video/aegisub/aegisub-.ebuild|   3 +-
 ...sub-3.2.2_p20160306-fix-luajit-unbundling.patch | 127 +
 ...2.2_p20160306-respect-user-compiler-flags.patch |  53 +
 5 files changed, 189 insertions(+), 5 deletions(-)

diff --git a/media-video/aegisub/Manifest b/media-video/aegisub/Manifest
index e696d2d..9589891 100644
--- a/media-video/aegisub/Manifest
+++ b/media-video/aegisub/Manifest
@@ -1,2 +1,3 @@
 DIST aegisub-3.0.4.tar.xz 4155728 SHA256 
7d5d8b94da02278b3327f24dd546c0c897c4b369bd2da9e094dc60371422019a SHA512 
2917195a61d16578a83ce0b69006dd0269c086c6eff2f622c47d9880697e4e531a7c0c0232c187f9023635c9d3857a1d6a0cee4f6251e49d22e2b625ac5dda7f
 WHIRLPOOL 
60bd3e0374a60f6af62fe450488e8c68e18957283fff59d704f40e192da624bdf90d68c3cea41122e5b9ca440d218c3bd6d9d8091ed5226a2e9d1b9fdc2ce689
 DIST aegisub-3.2.2.tar.xz 5252052 SHA256 
c55e33945b82d8513c02ea6e782f0d72c726adcd3707e95b8c0022f6151e6885 SHA512 
54f825e52f238fef8d5cc31c37436e21355aee27883347f905271e5d2a8ff2a77e1b67d5aef38b0f8468bd0bad851fe944e02de27ec96310b902fbe5b1086722
 WHIRLPOOL 
fe948edbb01f11385e14d1912b73942605df18325fcd95f4284a3c2edb73778d90d73038ac4a062e211fd56879590040e3c558fe1e361ec9fe2eee6a5c016448
+DIST aegisub-3.2.2_p20160306.tar.gz 7436713 SHA256 
1b70f67c3b3d6ecce482bc1f4beb1ceffd4c523aa060556658e403ea98fcc58c SHA512 
815775b64b1ad5cd09eda6106561a8a0d4dc129d4c2e08e057eab881289526a7b67bab2f4d2f48748ef2015ea21f2839ed8f84d168bf9127c62c9a35caa1abd5
 WHIRLPOOL 
caaa6b1d69c7e4d1da4abfd0382d263585c5216d9ed5e63f515d8bce98b2e0dad2848552f3f097a8db9e39dad5d2c00d3b752f0407490d0d2c777aaa8fc6dc38

diff --git a/media-video/aegisub/aegisub-.ebuild 
b/media-video/aegisub/aegisub-3.2.2_p20160306.ebuild
similarity index 90%
copy from media-video/aegisub/aegisub-.ebuild
copy to media-video/aegisub/aegisub-3.2.2_p20160306.ebuild
index 09c7389..1c21ae6 100644
--- a/media-video/aegisub/aegisub-.ebuild
+++ b/media-video/aegisub/aegisub-3.2.2_p20160306.ebuild
@@ -8,16 +8,17 @@ AUTOTOOLS_AUTORECONF=1
 AUTOTOOLS_IN_SOURCE_BUILD=1
 PLOCALES="ar bg ca cs da de el es eu fa fi fr_FR gl hu id it ja ko nl pl pt_BR 
pt_PT ru sr_RS@latin sr_RS uk_UA vi zh_CN zh_TW"
 WX_GTK_VER="3.0"
+COMMIT_ID="26fea0e123246b4f122beb54559c8dcd82925071"
 
-inherit autotools-utils fdo-mime flag-o-matic gnome2-utils l10n wxwidgets git-2
+inherit autotools-utils fdo-mime flag-o-matic gnome2-utils l10n wxwidgets 
vcs-snapshot
 
 DESCRIPTION="Advanced subtitle editor"
 HOMEPAGE="http://www.aegisub.org/";
-EGIT_REPO_URI="git://github.com/Aegisub/Aegisub.git"
+SRC_URI="https://github.com/Aegisub/Aegisub/archive/${COMMIT_ID}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE="alsa debug +ffmpeg +fftw openal oss portaudio pulseaudio spell +uchardet"
 
 # configure.ac specifies minimal versions for some of the dependencies below.
@@ -59,7 +60,8 @@ REQUIRED_USE="
 # Unfortunately, luabins upstream is dead since 2011.
 # Thus unbundling luabins is not worth the effort.
 PATCHES=(
-   "${FILESDIR}/${PN}-3.2.2-r1-respect-user-compiler-flags.patch"
+   "${FILESDIR}/${P}-fix-luajit-unbundling.patch"
+   "${FILESDIR}/${P}-respect-user-compiler-flags.patch"
 )
 
 pkg_pretend() {

diff --git a/media-video/aegisub/aegisub-.ebuild 
b/media-video/aegisub/aegisub-.ebuild
index 09c7389..a356fa8 100644
--- a/media-video/aegisub/aegisub-.ebuild
+++ b/media-video/aegisub/aegisub-.ebuild
@@ -59,7 +59,8 @@ REQUIRED_USE="
 # Unfortunately, luabins upstream is dead since 2011.
 # Thus unbundling luabins is not worth the effort.
 PATCHES=(
-   "${FILESDIR}/${PN}-3.2.2-r1-respect-user-compiler-flags.patch"
+   "${FILESDIR}/${PN}-3.2.2_p20160306-fix-luajit-unbundling.patch"
+   "${FILESDIR}/${PN}-3.2.2_p20160306-respect-user-compiler-flags.patch"
 )
 
 pkg_pretend() {

diff --git 
a/media-video/aegisub/files/aegisub-3.2.2_p20160306-fix-luajit-unbundling.patch 
b/media-video/aegisub/files/aegisub-3.2.2_p20160306-fix-luajit-unbundling.patch
new file mode 100644
index 000..a3649c7
--- /dev/null
+++ 
b/media-video/aegisub/files/aegisub-3.2.2_p20160306-fix-luajit-unbundling.patch
@@ -0,0 +1,127 @@
+From 11bd157747ebb855d56d2bc59952a1093cfd9ddc Mon Sep 17 00:00:00 2001
+From: Ilya Tumaykin 
+Date: Mon, 7 Mar 2016 11:21:10 +0300
+Subject: Properly separate bundled and system luajit builds
+
+Build bundled luajit bits only when using bundl

[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/

2016-03-07 Thread Ian Delaney
commit: bedb3c702ba89f7e1fe5ee392a8f72ea7030
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 15:15:09 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 18:28:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bedb3c70

media-video/aegisub: adjust luajit dep to SLOT=2, i.e. >=2.0.0, in 

Upstream allows system luajit to be >=2.0.0.

Package-Manager: portage-2.2.27

 media-video/aegisub/aegisub-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/aegisub/aegisub-.ebuild 
b/media-video/aegisub/aegisub-.ebuild
index 2d555ef..09c7389 100644
--- a/media-video/aegisub/aegisub-.ebuild
+++ b/media-video/aegisub/aegisub-.ebuild
@@ -24,7 +24,7 @@ IUSE="alsa debug +ffmpeg +fftw openal oss portaudio 
pulseaudio spell +uchardet"
 # However, most of these minimal versions date back to 2006-2012 yy.
 # Such version specifiers are meaningless nowadays, so they are omitted.
 RDEPEND="
-   >=dev-lang/luajit-2.0.4:2[lua52compat]
+   dev-lang/luajit:2[lua52compat]
dev-libs/boost:=[icu,nls,threads]
dev-libs/icu:=
media-libs/fontconfig



[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/

2016-03-07 Thread Ian Delaney
commit: c970c373ba62692caaa823d5171ea5e86fc81866
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 14:58:33 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 16:25:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c970c373

media-video/aegisub: remove obsolete RDEPEND version numbers from 

These versions were removed from tree in 2012.

Package-Manager: portage-2.2.27

 media-video/aegisub/aegisub-.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-video/aegisub/aegisub-.ebuild 
b/media-video/aegisub/aegisub-.ebuild
index 8c24de9..e496cde 100644
--- a/media-video/aegisub/aegisub-.ebuild
+++ b/media-video/aegisub/aegisub-.ebuild
@@ -21,12 +21,12 @@ KEYWORDS=""
 IUSE="alsa debug +ffmpeg +fftw openal oss portaudio pulseaudio spell +uchardet"
 
 # configure.ac specifies minimal versions for some of the dependencies below.
-# However, most of these minimal versions date back to 2006-2010 yy.
+# However, most of these minimal versions date back to 2006-2012 yy.
 # Such version specifiers are meaningless nowadays, so they are omitted.
 RDEPEND="
>=dev-lang/luajit-2.0.4:2[lua52compat]
-   >=dev-libs/boost-1.50.0:=[icu,nls,threads]
-   >=dev-libs/icu-4.8.1.1:=
+   dev-libs/boost:=[icu,nls,threads]
+   dev-libs/icu:=
>=x11-libs/wxGTK-3.0.0:${WX_GTK_VER}[X,opengl,debug?]
media-libs/fontconfig
media-libs/freetype
@@ -39,7 +39,7 @@ RDEPEND="
portaudio? ( =media-libs/portaudio-19* )
pulseaudio? ( media-sound/pulseaudio )
 
-   ffmpeg? ( >=media-libs/ffmpegsource-2.16:= )
+   ffmpeg? ( media-libs/ffmpegsource:= )
fftw? ( >=sci-libs/fftw-3.3:= )
 
spell? ( app-text/hunspell )



[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/

2016-03-07 Thread Ian Delaney
commit: b3f509abfabfdf0037a9827fee107e7eca3ca60a
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 15:58:15 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 18:35:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f509ab

media-video/aegisub: add missing libass subslot operator to 3.0.4

Package-Manager: portage-2.2.27

 media-video/aegisub/aegisub-3.0.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/aegisub/aegisub-3.0.4-r1.ebuild 
b/media-video/aegisub/aegisub-3.0.4-r1.ebuild
index 127bc50..572569e 100644
--- a/media-video/aegisub/aegisub-3.0.4-r1.ebuild
+++ b/media-video/aegisub/aegisub-3.0.4-r1.ebuild
@@ -41,7 +41,7 @@ RDEPEND="
ffmpeg? ( media-libs/ffmpegsource:= )
fftw? ( >=sci-libs/fftw-3.3:= )
 
-   libass? ( media-libs/libass[fontconfig] )
+   libass? ( media-libs/libass:=[fontconfig] )
lua? ( =dev-lang/lua-5.1*:= )
spell? ( app-text/hunspell )
 "



[gentoo-commits] repo/gentoo:master commit in: /

2016-03-07 Thread Ian Delaney
commit: 18c354a9dbe99a11c36c6ba5a784014394a4eaa9
Author: Ian Delaney  gentoo  org>
AuthorDate: Tue Mar  8 02:15:55 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Tue Mar  8 02:15:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c354a9

Merge remote-tracking branch 'remotes/Coacher/aegisub-update-live'

Pull request: https://github.com/gentoo/gentoo/pull/1004

 media-video/aegisub/Manifest   |   1 +
 media-video/aegisub/aegisub-3.0.4-r1.ebuild|   6 +-
 2-r1.ebuild => aegisub-3.2.2_p20160306.ebuild} |  35 +++--
 media-video/aegisub/aegisub-.ebuild|  22 +--
 ...isub-3.0.4-fix-install-with-empty-LINGUAS.patch |   6 +-
 ...sub-3.2.2_p20160306-fix-luajit-unbundling.patch | 127 +
 2_p20160306-respect-user-compiler-flags.patch} |  10 +-
 .../aegisub--add-missing-pthread-flags.patch   |  44 --
 .../files/aegisub--unbundle-luajit.patch   | 153 -
 9 files changed, 167 insertions(+), 237 deletions(-)



[gentoo-commits] repo/gentoo:master commit in: net-p2p/syncthing/files/

2016-03-07 Thread Ian Delaney
commit: 8e3b941337ce80d38f15f0cc46f0a399b43e8427
Author: Louis Sautier  gmail  com>
AuthorDate: Mon Mar  7 14:56:47 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 14:58:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e3b9413

net-p2p/syncthing: fix init script permissions

Package-Manager: portage-2.2.27

 net-p2p/syncthing/files/syncthing.initd | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/net-p2p/syncthing/files/syncthing.initd 
b/net-p2p/syncthing/files/syncthing.initd
old mode 100755
new mode 100644



[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/files/, media-video/aegisub/

2016-03-07 Thread Ian Delaney
commit: 70ee8e9fac24055830b264113bd86841ffd2fed1
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 15:05:40 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 16:25:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70ee8e9f

media-video/aegisub: remove unneeded pthread-flags patch from 

Merged upstream.

Package-Manager: portage-2.2.27

 media-video/aegisub/aegisub-.ebuild|  1 -
 .../aegisub--add-missing-pthread-flags.patch   | 44 --
 2 files changed, 45 deletions(-)

diff --git a/media-video/aegisub/aegisub-.ebuild 
b/media-video/aegisub/aegisub-.ebuild
index 6677686..7a83307 100644
--- a/media-video/aegisub/aegisub-.ebuild
+++ b/media-video/aegisub/aegisub-.ebuild
@@ -60,7 +60,6 @@ REQUIRED_USE="
 # Thus unbundling luabins is not worth the effort.
 PATCHES=(
"${FILESDIR}/${P}-unbundle-luajit.patch"
-   "${FILESDIR}/${P}-add-missing-pthread-flags.patch"
"${FILESDIR}/${PN}-3.2.2-r1-respect-user-compiler-flags.patch"
 )
 

diff --git 
a/media-video/aegisub/files/aegisub--add-missing-pthread-flags.patch 
b/media-video/aegisub/files/aegisub--add-missing-pthread-flags.patch
deleted file mode 100644
index 9f41ee5..000
--- a/media-video/aegisub/files/aegisub--add-missing-pthread-flags.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-http://devel.aegisub.org/ticket/1902
-http://devel.aegisub.org/ticket/1903
-http://devel.aegisub.org/ticket/1911
-
-diff --git a/Makefile.inc.in b/Makefile.inc.in
-index 5a52d25..86f93d1 100644
 a/Makefile.inc.in
-+++ b/Makefile.inc.in
-@@ -100,7 +100,7 @@ LIBS_LIBPULSE  = @LIBPULSE_LIBS@
- LIBS_LUA   = $(TOP)vendor/luajit/src/libluajit.a
- LIBS_OPENAL= @OPENAL_LIBS@
- LIBS_PORTAUDIO = @PORTAUDIO_LIBS@
--LIBS_PTHREAD   = @PTHREAD_LIBS@
-+LIBS_PTHREAD   = @PTHREAD_LIBS@ -lpthread
- LIBS_UCHARDET  = @UCHARDET_LIBS@
-
- ifeq (yes, $(BUILD_DARWIN))
-diff --git a/libaegisub/Makefile b/libaegisub/Makefile
-index b021523..77a18ec 100644
 a/libaegisub/Makefile
-+++ b/libaegisub/Makefile
-@@ -44,7 +44,8 @@ aegisub_OBJ += $(d)common/dispatch.o
- endif
-
- aegisub_PCH := $(d)lagi_pre.h
--aegisub_CPPFLAGS := -I$(d)include -I$(TOP) $(CPPFLAGS_BOOST) $(CFLAGS_LUA)
-+aegisub_CPPFLAGS := -I$(d)include -I$(TOP) \
-+  $(CFLAGS_PTHREAD) $(CPPFLAGS_BOOST) $(CFLAGS_LUA)
-
- $(d)common/charset.o_FLAGS := $(CFLAGS_UCHARDET)
- $(d)common/charset_conv.o_FLAGS := $(CFLAGS_ICONV)
-diff --git a/tools/Makefile b/tools/Makefile
-index cbf985a..d9f64b8 100644
 a/tools/Makefile
-+++ b/tools/Makefile
-@@ -7,7 +7,7 @@ PROGRAM += $(d)osx-bundle-restart-helper
- endif
-
- repack-thes-dict_OBJ  := $(d)repack-thes-dict.o $(TOP)lib/libaegisub.a
--repack-thes-dict_LIBS := $(LIBS_BOOST) $(LIBS_ICU) $(PTHREAD_LIBS)
-+repack-thes-dict_LIBS := $(LIBS_BOOST) $(LIBS_ICU) $(LIBS_PTHREAD)
- repack-thes-dict_CPPFLAGS := -I$(TOP) -I$(TOP)libaegisub/include $(CFLAGS_ICU)
-
- PROGRAM += $(d)repack-thes-dict



[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/files/

2016-03-07 Thread Ian Delaney
commit: ebbac21631c77546b1d5e3c0548985e3e49b5467
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 15:46:12 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 18:35:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebbac216

media-video/aegisub: better wording in patch comment for 3.0.4

Package-Manager: portage-2.2.27

 .../files/aegisub-3.0.4-fix-install-with-empty-LINGUAS.patch| 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/media-video/aegisub/files/aegisub-3.0.4-fix-install-with-empty-LINGUAS.patch 
b/media-video/aegisub/files/aegisub-3.0.4-fix-install-with-empty-LINGUAS.patch
index 3eda0da..0bd1b5d 100644
--- 
a/media-video/aegisub/files/aegisub-3.0.4-fix-install-with-empty-LINGUAS.patch
+++ 
b/media-video/aegisub/files/aegisub-3.0.4-fix-install-with-empty-LINGUAS.patch
@@ -1,6 +1,6 @@
-Upstream always installs all available localization files. We workaround it by
-sed'ing out unneeded languages from PO variable in aegisub/po/Makefile file.
-This can lead to an empty PO definition and in this case install target fails.
+Upstream always installs all available localization files. We workaround this
+by sed'ing out the unused languages from PO variable in `aegisub/po/Makefile'.
+This can result in an empty PO definition, in which case install target fails.
 Thus a simple guard is introduced to prevent this fail.
 
 diff --git a/aegisub/po/Makefile b/aegisub/po/Makefile



[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/

2016-03-07 Thread Ian Delaney
commit: 086db4f9a5b643ff00b995dd850d7a4a71929415
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 15:01:45 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 16:25:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=086db4f9

media-video/aegisub: remove unneeded wxGTK dep version number from 

wxGTK has SLOT=3.0 only in >=3.0.0 versions.

Package-Manager: portage-2.2.27

 media-video/aegisub/aegisub-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/aegisub/aegisub-.ebuild 
b/media-video/aegisub/aegisub-.ebuild
index e496cde..c4a6030 100644
--- a/media-video/aegisub/aegisub-.ebuild
+++ b/media-video/aegisub/aegisub-.ebuild
@@ -27,12 +27,12 @@ RDEPEND="
>=dev-lang/luajit-2.0.4:2[lua52compat]
dev-libs/boost:=[icu,nls,threads]
dev-libs/icu:=
-   >=x11-libs/wxGTK-3.0.0:${WX_GTK_VER}[X,opengl,debug?]
media-libs/fontconfig
media-libs/freetype
media-libs/libass[fontconfig]
virtual/libiconv
virtual/opengl
+   x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,debug?]
 
alsa? ( media-libs/alsa-lib )
openal? ( media-libs/openal )



[gentoo-commits] repo/gentoo:master commit in: media-video/aegisub/

2016-03-07 Thread Ian Delaney
commit: 7190f76dd3ac8cde331905528d1431e6d50d1183
Author: Ilya Tumaykin  gmail  com>
AuthorDate: Mon Mar  7 15:54:41 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Mon Mar  7 18:35:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7190f76d

media-video/aegisub: remove obsolete RDEPEND version numbers from 3.0.4

Package-Manager: portage-2.2.27

 media-video/aegisub/aegisub-3.0.4-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/aegisub/aegisub-3.0.4-r1.ebuild 
b/media-video/aegisub/aegisub-3.0.4-r1.ebuild
index 93bc4fe..127bc50 100644
--- a/media-video/aegisub/aegisub-3.0.4-r1.ebuild
+++ b/media-video/aegisub/aegisub-3.0.4-r1.ebuild
@@ -24,7 +24,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="alsa debug +ffmpeg +fftw +libass lua openal oss portaudio pulseaudio 
spell"
 
 # configure.ac specifies minimal versions for some of the dependencies below.
-# However, most of these minimal versions date back to 2006-2010 yy.
+# However, most of these minimal versions date back to 2006-2012 yy.
 # Such version specifiers are meaningless nowadays, so they are omitted.
 RDEPEND="
>=x11-libs/wxGTK-2.9.3:${WX_GTK_VER}[X,opengl,debug?]
@@ -38,7 +38,7 @@ RDEPEND="
portaudio? ( =media-libs/portaudio-19* )
pulseaudio? ( media-sound/pulseaudio )
 
-   ffmpeg? ( >=media-libs/ffmpegsource-2.16:= )
+   ffmpeg? ( media-libs/ffmpegsource:= )
fftw? ( >=sci-libs/fftw-3.3:= )
 
libass? ( media-libs/libass[fontconfig] )



[gentoo-commits] repo/gentoo:master commit in: x11-wm/i3/files/, x11-wm/i3/

2016-03-07 Thread Kacper Kowalik
commit: c28560d3da197cb22026c308aab16a56b87ed4f1
Author: Kacper Kowalik  gentoo  org>
AuthorDate: Tue Mar  8 02:10:50 2016 +
Commit: Kacper Kowalik  gentoo  org>
CommitDate: Tue Mar  8 02:11:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c28560d3

x11-wm/i3: fix build without cairo/pango, correct dep on cairo version

Fixes bug #576664

Reported-by: Coacher  gmail.com>

Package-Manager: portage-2.2.27

 x11-wm/i3/files/i3-4.12-pango.patch | 181 
 x11-wm/i3/i3-4.12.ebuild|  19 +++-
 2 files changed, 197 insertions(+), 3 deletions(-)

diff --git a/x11-wm/i3/files/i3-4.12-pango.patch 
b/x11-wm/i3/files/i3-4.12-pango.patch
new file mode 100644
index 000..6442796
--- /dev/null
+++ b/x11-wm/i3/files/i3-4.12-pango.patch
@@ -0,0 +1,181 @@
+Fixes builds with without pango/cairo
+
+https://github.com/i3/i3/pull/2243
+https://bugs.gentoo.org/show_bug.cgi?id=576664
+
+--- a/include/libi3.h
 b/include/libi3.h
+@@ -20,7 +20,7 @@
+ #if PANGO_SUPPORT
+ #include 
+ #endif
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ #include 
+ #endif
+ 
+@@ -518,7 +518,7 @@ typedef struct placeholder_t {
+  */
+ char *format_placeholders(char *format, placeholder_t *placeholders, int num);
+ 
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ /* We need to flush cairo surfaces twice to avoid an assertion bug. See #1989
+  * and https://bugs.freedesktop.org/show_bug.cgi?id=92455. */
+ #define CAIRO_SURFACE_FLUSH(surface)  \
+@@ -542,7 +542,7 @@ typedef struct surface_t {
+ int width;
+ int height;
+ 
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ /* A cairo surface representing the drawable. */
+ cairo_surface_t *surface;
+ 
+--- a/libi3/draw_util.c
 b/libi3/draw_util.c
+@@ -11,7 +11,7 @@
+ #include 
+ #include 
+ #include 
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ #include 
+ #endif
+ 
+@@ -50,7 +50,7 @@ void draw_util_surface_init(xcb_connection_t *conn, 
surface_t *surface, xcb_draw
+ ELOG("Could not create graphical context. Error code: %d. Please 
report this bug.\n", error->error_code);
+ }
+ 
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ surface->surface = cairo_xcb_surface_create(conn, surface->id, 
surface->visual_type, width, height);
+ surface->cr = cairo_create(surface->surface);
+ #endif
+@@ -62,7 +62,7 @@ void draw_util_surface_init(xcb_connection_t *conn, 
surface_t *surface, xcb_draw
+  */
+ void draw_util_surface_free(xcb_connection_t *conn, surface_t *surface) {
+ xcb_free_gc(conn, surface->gc);
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ cairo_surface_destroy(surface->surface);
+ cairo_destroy(surface->cr);
+ 
+@@ -81,7 +81,7 @@ void draw_util_surface_free(xcb_connection_t *conn, 
surface_t *surface) {
+ void draw_util_surface_set_size(surface_t *surface, int width, int height) {
+ surface->width = width;
+ surface->height = height;
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ cairo_xcb_surface_set_size(surface->surface, width, height);
+ #endif
+ }
+@@ -121,7 +121,7 @@ color_t draw_util_hex_to_color(const char *color) {
+ static void draw_util_set_source_color(xcb_connection_t *conn, surface_t 
*surface, color_t color) {
+ RETURN_UNLESS_SURFACE_INITIALIZED(surface);
+ 
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ cairo_set_source_rgba(surface->cr, color.red, color.green, color.blue, 
color.alpha);
+ #else
+ uint32_t colorpixel = color.colorpixel;
+@@ -139,7 +139,7 @@ static void draw_util_set_source_color(xcb_connection_t 
*conn, surface_t *surfac
+ void draw_util_text(i3String *text, surface_t *surface, color_t fg_color, 
color_t bg_color, int x, int y, int max_width) {
+ RETURN_UNLESS_SURFACE_INITIALIZED(surface);
+ 
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ /* Flush any changes before we draw the text as this might use XCB 
directly. */
+ CAIRO_SURFACE_FLUSH(surface->surface);
+ #endif
+@@ -147,7 +147,7 @@ void draw_util_text(i3String *text, surface_t *surface, 
color_t fg_color, color_
+ set_font_colors(surface->gc, fg_color, bg_color);
+ draw_text(text, surface->id, surface->gc, surface->visual_type, x, y, 
max_width);
+ 
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ /* Notify cairo that we (possibly) used another way to draw on the 
surface. */
+ cairo_surface_mark_dirty(surface->surface);
+ #endif
+@@ -162,7 +162,7 @@ void draw_util_text(i3String *text, surface_t *surface, 
color_t fg_color, color_
+ void draw_util_rectangle(xcb_connection_t *conn, surface_t *surface, color_t 
color, double x, double y, double w, double h) {
+ RETURN_UNLESS_SURFACE_INITIALIZED(surface);
+ 
+-#ifdef CAIRO_SUPPORT
++#if CAIRO_SUPPORT
+ cairo_save(surface->cr);
+ 
+ /* Using the SOURCE operator will copy both color and alpha information 
directly
+@@ -194,7 +194,7 @@ void draw_util_rectangle(xcb_connection_t *conn, surface_t 
*surface, color_t col
+ void draw_util_clear_surface(xcb_connection_t *conn, surface_t *surface

[gentoo-commits] proj/toolchain:master commit in: sys-devel/gdb/

2016-03-07 Thread Mike Frysinger
commit: 8dc09f86a22e8efbd831d8a3325e8f5485c1fb48
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Mar  8 00:24:12 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Mar  8 00:24:12 2016 +
URL:https://gitweb.gentoo.org/proj/toolchain.git/commit/?id=8dc09f86

gdb: update snapshots

 sys-devel/gdb/Manifest   | 9 ++---
 .../{gdb-7.10.50.20160106.ebuild => gdb-7.10.50.20160208.ebuild} | 0
 .../{gdb-7.10.50.20160105.ebuild => gdb-7.10.50.20160209.ebuild} | 0
 .../{gdb-7.10.50.20160104.ebuild => gdb-7.10.50.20160210.ebuild} | 0
 .../{gdb-7.10.50.20160106.ebuild => gdb-7.11.50.20160305.ebuild} | 0
 .../{gdb-7.10.50.20160106.ebuild => gdb-7.11.50.20160306.ebuild} | 0
 .../{gdb-7.10.50.20160106.ebuild => gdb-7.11.50.20160307.ebuild} | 0
 7 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 3cb1ae5..ea93d8b 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -38,9 +38,12 @@ DIST gdb-7.8.2.tar.xz 17678568 SHA256 
605954d5747d5f08ea4b7f48e958d1ebbf39265e18
 DIST gdb-7.8.tar.xz 17664316 SHA256 
49c4abe174f79f54e1f9e75210ffb590d9b497d5b5200b5398c0e073a4ecb875 SHA512 
e3977393c3a9bc2860d845928f457f4696a87106ccf30569cb69a82893deeab9b05fd1cffa4316cc5cfdfd3ad11a2d5660ed07a9965fa3d696a0ec604702557f
 WHIRLPOOL 
fb97f1fbee170fccf462d25fd6b4a218a8126b75465b59e21322ff2cacf2707d6b037d593663a4f52ae293c72d012a69a65377ee6827de18da80159c829b672d
 DIST gdb-7.9.1.tar.xz 17867692 SHA256 
cd9c543a411a05b2b647dd38936034b68c2b5d6f10e0d51dc168c166c973ba40 SHA512 
eebdf88b24e52e792b8a4b89ea85790de72b462a7810b44975fdf4232c068f353b15506071f450102a9d4bcecdde8e93dc3748a10699b7f73f3e04fb2d9d8414
 WHIRLPOOL 
fe7afb392f453fa5aab290da3b74118c4e3bbae6f4e276f2efd7f978e3987e031d92ecd90d35e0531901f1cf68b04a313df050b25bb3b632d1b6e62360acd591
 DIST gdb-7.9.tar.xz 17859428 SHA256 
9b315651a16528f7af8c7d8284699fb0c965df316cc7339bb0b7bae335848392 SHA512 
850202a477b486a75dc8196efead79c95bc675e348064a5eefee2a50215d40f62e9e052e9b8df29f997f91430f6e7454883652c701f5b1e688d9e2c575876c83
 WHIRLPOOL 
597cbe8b8c9da7e2188f6d207738fd9679c3a841fec9483f67ff91156d7886636b1da61bf1255155115655d87648278a0670ad381afde931c7c6ab6e762a9ecd
-DIST gdb-weekly-7.10.50.20160104.tar.xz 20377272 SHA256 
492a9c9f3b55ceafb4134ae0ab4f6fd738b970c04caf9d0939138ff2cf89eb73 SHA512 
974bb667c5586c418affd8e716d23dcb23bd983f1d48b3d491e02a01d11bb841a662a46f9b8a4554da6c652a6c9ef0f98af5a5ed55205670efe79b74635d2bc9
 WHIRLPOOL 
fb5b1d29f2b8fdf10829a6ff0f98a38e1f505b34ea29509a8941e0e4f92e8292821115beb8d44aab259947e103583531c66caf1b12242dbeaccc621b8e686bcd
-DIST gdb-weekly-7.10.50.20160105.tar.xz 20378584 SHA256 
8ad0140081fc416c2595e0921fd0d1393fb2746c9d9b308e3ccee727629920c6 SHA512 
c5bf5309f8bab334e624c59158cc06171f9b3ae0a4f5d85a9ffae1e61ad81335a0cf10bf495d68febb861e0a7de979825bd7536288ffb72f69d5a043012f422b
 WHIRLPOOL 
fe9596028925b2576d573b9c5b8d589e4926dfb8c68ed577b2f4c73786c046a20f35bbbe6cfac644b33c8c56c8de7fae5991d6c8989f581245087f61f84ec943
-DIST gdb-weekly-7.10.50.20160106.tar.xz 20381192 SHA256 
57fa72210c1fd5b33bb974e0349cd768a76c9837e927834f1a1b2ccf0eb8bbb0 SHA512 
8d7646ce7d360caadb4cac770bcd8ecb4922396a3c498aea32f34e61218e812042808908964666b48a21fcc8b9c752b0784f464aeb44f8257d1d977eacb31214
 WHIRLPOOL 
373d748955f6372856cf4d5b43a269ad4c360e31075ae366930c9d41262f3f42e264c59767b2656201ddb59e483e6ed49ab30d333dda6978af4d7888574c6274
+DIST gdb-weekly-7.10.50.20160208.tar.xz 20420380 SHA256 
83ebc3c7d88c27aad58a3ee58316edbead4c5f59517a7ecadaa7b3c86d19d7cb SHA512 
eedbe85bde498120acc49ab5d9969298d284653b6a3250eb0d0ac1d7de3b61410ff7f89edfdcc2edda5d0302468effe2a1faafdd29c90a272061c816e7bd0162
 WHIRLPOOL 
faaa6090d5c5db4ede08518739188c10bc2ada81c03a80b11580204b34d7b026495b434efde09daf3c87c2243c9395a476f19427c278b9b2ff6a454efef37358
+DIST gdb-weekly-7.10.50.20160209.tar.xz 20420252 SHA256 
929e3554a628ce7df613174341eb01596a91a72ddf224d0b0697bda0f2239068 SHA512 
a11c5625e4333e61f4ccaa730a4b279d899da07a819fb26827cd8d91b8f2af6933e2ab4ef7fa9e5010b1c03811f86fa47ffa852d40f669c42f7da2ba1ff20b8a
 WHIRLPOOL 
8cead2e17234390204716796cb5d866580aea1ac5ee974734f0c32caf504e309e5b9c992b96050563d6d4c343e39c0fb7c8833a09904a773fec6749124919a2b
+DIST gdb-weekly-7.10.50.20160210.tar.xz 20418720 SHA256 
c1140c64d828e53b60abf6a9744795a5bbd7e9223d16918c95f44b179cd9406d SHA512 
d56233a623745ce0d3ac1a70bba3f7ae96ea851903541b3e38d52cd3ea3b1ce841e6a77ad571bf488d6cdbc051e5a76a1b8c4b988762bbebe9c9f84f33dc82aa
 WHIRLPOOL 
7fc12e686b69139c3b21ffea4660ceea0fbe51f1cb01b2c02c4ebda7f655517143822abd1813047b347d4e22b1bc3126b41808dad6d1075ef9969b592f4efbaa
+DIST gdb-weekly-7.11.50.20160305.tar.xz 20445584 SHA256 
6b52f27523a4d3c217a2771dfb7ad5e19efe5ca2a7d7755f679f0a7e12a7d146 SHA512 
e1689e6feefdec7aa2d0de383195e08b6e228a5d5994908ac774b6291fdff79c6268218371bc2df165e6cb0c5c07ad10fbc9ea5b68c89377db421afdfece381e
 WHIRLPOOL 
031fcdb1119c48ebe54a308bfc8134f69119ec3e1965319e51e06

[gentoo-commits] proj/toolchain:master commit in: sys-devel/gcc/

2016-03-07 Thread Mike Frysinger
commit: 1041a57e49e22ecf69ddf35a3e3cbd3fc76f65d9
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Mar  8 00:20:42 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Mar  8 00:20:42 2016 +
URL:https://gitweb.gentoo.org/proj/toolchain.git/commit/?id=1041a57e

gcc: update snapshots

 sys-devel/gcc/Manifest | 115 -
 sys-devel/gcc/gcc-4.8.0_alpha20150402.ebuild   |  18 
 sys-devel/gcc/gcc-4.8.0_alpha20150409.ebuild   |  18 
 sys-devel/gcc/gcc-4.8.0_alpha20150416.ebuild   |  18 
 sys-devel/gcc/gcc-4.8.0_alpha20150423.ebuild   |  18 
 sys-devel/gcc/gcc-4.8.0_alpha20150430.ebuild   |  18 
 sys-devel/gcc/gcc-4.8.0_alpha20150507.ebuild   |  18 
 sys-devel/gcc/gcc-4.8.0_alpha20150514.ebuild   |  18 
 sys-devel/gcc/gcc-4.8.0_alpha20150521.ebuild   |  18 
 sys-devel/gcc/gcc-4.8.0_alpha20150528.ebuild   |  18 
 sys-devel/gcc/gcc-4.8.0_alpha20150604.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150401.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150408.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150415.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150422.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150429.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150506.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150513.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150520.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150527.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150603.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150610.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150617.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150624.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150701.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150708.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150715.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150722.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150729.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150805.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150812.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150819.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150826.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150902.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150909.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150916.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150923.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20150930.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151007.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151014.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151021.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151028.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151104.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha2015.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151118.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151125.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151202.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151209.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151216.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151223.ebuild   |  18 
 sys-devel/gcc/gcc-4.9.0_alpha20151230.ebuild   |  18 
 ...51227.ebuild => gcc-4.9.0_alpha20160120.ebuild} |   0
 ...51220.ebuild => gcc-4.9.0_alpha20160127.ebuild} |   0
 ...51213.ebuild => gcc-4.9.0_alpha20160203.ebuild} |   0
 ...51206.ebuild => gcc-4.9.0_alpha20160210.ebuild} |   0
 ...51129.ebuild => gcc-4.9.0_alpha20160217.ebuild} |   0
 ...51122.ebuild => gcc-4.9.0_alpha20160224.ebuild} |   0
 ...51115.ebuild => gcc-4.9.0_alpha20160302.ebuild} |   0
 sys-devel/gcc/gcc-5.0.0_alpha20150804.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20150811.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20150818.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20150825.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20150901.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20150908.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20150915.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20150922.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20150929.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20151006.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20151013.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20151020.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20151027.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20151103.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20151110.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha20151117.ebuild   |  18 
 sys-devel/gcc/gcc-5.0.0_alpha201

[gentoo-commits] repo/gentoo:master commit in: x11-wm/awesome/

2016-03-07 Thread Robin H. Johnson
commit: 1a7d90f8453b116672e8bdac719798bf81520741
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Tue Mar  8 01:56:59 2016 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Tue Mar  8 01:57:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a7d90f8

x11-wm/awesome: bump.

 x11-wm/awesome/Manifest |   1 +
 x11-wm/awesome/awesome-3.5.9.ebuild | 140 
 2 files changed, 141 insertions(+)

diff --git a/x11-wm/awesome/Manifest b/x11-wm/awesome/Manifest
index e01639e..12518ef 100644
--- a/x11-wm/awesome/Manifest
+++ b/x11-wm/awesome/Manifest
@@ -2,3 +2,4 @@ DIST awesome-3.4.15.tar.bz2 762323 SHA256 
4207f5cbed25d0e7ab35157165d923c2ccf04f
 DIST awesome-3.5.6.tar.xz 720112 SHA256 
37f49de187825425cb3096fc870959d5fec9302b22ffd0f2874d8a18e85046d7 SHA512 
8d89bf46956276a8bcf106bb255c051e8382b08617e17691134a8f3e5db3ec9f7773581c02ce62d23e72499f7b1e60fe4322c211e41219b5bffd1897a96f6cf6
 WHIRLPOOL 
8ec944f1113f7b7b7c6857c02a6c657aec05ddf23674c75a7cf571d4a65720ed4f5f1d28b0fdac032c12ea5e9a54f655d080c6af4e1d314b8c00bf2b9e806d01
 DIST awesome-3.5.7.tar.xz 722864 SHA256 
ba7f92b0ab8b729c569b19b098b0a08339d8654e3c040d07ad02cf99641ceecf SHA512 
0b57efa6ba55e28fee56bec96dbf3c47249b2d70b21e1a7760d4367a0ba42d9936c1c6b78afa4aa3050a60cf34189551ea53b208ec8ec9f6563a905463550515
 WHIRLPOOL 
ea368fa058aa1c6a143e6f24231adeb47c5e0d26c462b076d8930a49f72c94097555a542405360c107a9e724f4fcc0993a0ff8b53102dfb072db2a9b04f52d9a
 DIST awesome-3.5.8.tar.xz 723000 SHA256 
7c30c96c57bd72cfed630bbccc344054fe44b37c0a79bdd98075c507af672ec6 SHA512 
be5604821e256e36067750c341ca6f8669e159527b93654c8fc41bcd161da6d87fa0e3c5fccc51821586d163535ac78363d12d99ed81b6fb14e26da59136d5ef
 WHIRLPOOL 
2abe85d034c40dddc2189e8eac6e80c59ad1b92bebb0e1c08f67e8a07a3b8eb420ad352c2f4bf500f15ff854a0c6dfc67aef5c5516a2aada267388d2ac4f
+DIST awesome-3.5.9.tar.xz 723084 SHA256 
c7f8b5e4578751688d70ec8c410c55316e22bca8ec1195c622274f1f7254d64f SHA512 
6a4c679b293e8cd85d1f7e13f6dea704cbb267e42b9260496a54b657a66d6148aae51521d802d61baaeb23df0d4a8ad0b28d9dc922ea5da2a347b4251cce5e25
 WHIRLPOOL 
0d2a0b2ad08b07ec8de0150e5e9b8382732b04df3c535d5351ab46d2d7722bc85143d1b00bf47578f7d61d1bc3c3afba5d3e0e6c5ed5ee74f9ad77ea98e3a723

diff --git a/x11-wm/awesome/awesome-3.5.9.ebuild 
b/x11-wm/awesome/awesome-3.5.9.ebuild
new file mode 100644
index 000..cfc244f
--- /dev/null
+++ b/x11-wm/awesome/awesome-3.5.9.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+CMAKE_MIN_VERSION="2.8"
+inherit cmake-utils eutils
+
+DESCRIPTION="A dynamic floating and tiling window manager"
+HOMEPAGE="http://awesome.naquadah.org/";
+SRC_URI="http://awesome.naquadah.org/download/${P}.tar.xz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="dbus doc elibc_FreeBSD gnome"
+
+COMMON_DEPEND="
+   >=dev-lang/lua-5.1:0
+   dev-libs/glib:2
+   >=dev-libs/libxdg-basedir-1
+   >=dev-lua/lgi-0.7
+   x11-libs/cairo[xcb]
+   x11-libs/gdk-pixbuf:2
+   >=x11-libs/libxcb-1.6
+   >=x11-libs/pango-1.19.3[introspection]
+   >=x11-libs/startup-notification-0.10_p20110426
+   >=x11-libs/xcb-util-0.3.8
+   x11-libs/xcb-util-cursor
+   x11-libs/libXcursor
+   >=x11-libs/libX11-1.3.99.901
+   dbus? ( >=sys-apps/dbus-1 )
+   elibc_FreeBSD? ( dev-libs/libexecinfo )"
+
+# graphicsmagick's 'convert -channel' has no Alpha support, bug #352282
+DEPEND="${COMMON_DEPEND}
+   >=app-text/asciidoc-8.4.5
+   app-text/xmlto
+   dev-util/gperf
+   virtual/pkgconfig
+   media-gfx/imagemagick[png]
+   >=x11-proto/xcb-proto-1.5
+   >=x11-proto/xproto-7.0.15
+   doc? (
+   app-doc/doxygen
+   media-gfx/graphviz
+   )"
+
+RDEPEND="${COMMON_DEPEND}"
+
+DOCS="AUTHORS BUGS PATCHES README STYLE"
+
+src_prepare() {
+   # bug #408025
+   epatch "${FILESDIR}/${PN}-3.5_rc1-convert-path.patch"
+   epatch "${FILESDIR}/${PN}-xsession.patch"
+
+   # bug #507604
+   epatch "${FILESDIR}/${PN}-3.5.5-util.lua-xdg-icons-fix.patch"
+   # bug #509658
+   epatch "${FILESDIR}/${PN}-3.5.5-cflag-cleanup.patch"
+
+   # bug #571544
+   # Merged upstream
+   #epatch "${FILESDIR}/${PN}-3.5.6-fix-multi-instances-focus.patch"
+
+   epatch_user
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DPREFIX="${EPREFIX}"/usr
+   -DSYSCONFDIR="${EPREFIX}"/etc
+   $(cmake-utils_use_with dbus DBUS)
+   $(cmake-utils_use doc GENERATE_DOC)
+   )
+
+   cmake-utils_src_configure
+}
+
+src_compile() {
+   local myargs="all"
+
+   if use doc ; then
+   myargs="${myargs} doc"
+   fi
+   cmake-utils_src_make ${myargs}
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use doc ; then
+   (
+ 

[gentoo-commits] repo/gentoo:master commit in: net-dns/hash-slinger/

2016-03-07 Thread Robin H. Johnson
commit: c7971638d61c40c604f8db5d4d28fd973928efd0
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Mar  7 00:09:55 2016 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Tue Mar  8 01:56:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7971638

net-dns/hash-slinger: bump.

Package-Manager: portage-2.2.27

 net-dns/hash-slinger/Manifest|  1 +
 net-dns/hash-slinger/hash-slinger-2.7.ebuild | 45 
 2 files changed, 46 insertions(+)

diff --git a/net-dns/hash-slinger/Manifest b/net-dns/hash-slinger/Manifest
index 0b3d97f..84bef35 100644
--- a/net-dns/hash-slinger/Manifest
+++ b/net-dns/hash-slinger/Manifest
@@ -1 +1,2 @@
 DIST hash-slinger-2.6.tar.gz 34864 SHA256 
121143efea136958ad6a42cb0a8fa80d95b1e4fc45632019d8f07a534d6efab2 SHA512 
1e5d67ed2ef8eae910927fbd7419928d87ba31a91ca43a1c163b05f725da96a50d30e1539c4c55a68a22f0e2c9a2f7c7101fbdcfb5fc903e87fe4c22e20f33af
 WHIRLPOOL 
7ff36bad9db31e6d8769a525fc60691cb6af3bd6970b9bbf55d56f7e3c08a6a97a35fd1363dbed012239432b7dfd2594d616dc4d0a80ae47c82b724e17183f41
+DIST hash-slinger-2.7.tar.gz 37684 SHA256 
cd888eaee222bbe994d60aab7bc638b6c3417f43b68d0e6a8f1802104f6d7b8d SHA512 
b1b3e46c4cdd8b983b55156c9bcc58afc973c2503cde48283e98306e381753547f425bfaee68707ae10b2e31b71d01485b34e4a9841c9ce2048f9551f23d0976
 WHIRLPOOL 
91e232827c63a1c2ab92e691ce71c4d301b1dc34d410e583b53e58e83a1f77a712cd76627c15f812849b06689258b60305792adcbb779d544bd4f574010f9190

diff --git a/net-dns/hash-slinger/hash-slinger-2.7.ebuild 
b/net-dns/hash-slinger/hash-slinger-2.7.ebuild
new file mode 100644
index 000..f2c2d28
--- /dev/null
+++ b/net-dns/hash-slinger/hash-slinger-2.7.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-r1
+
+DESCRIPTION="Various tools to generate special DNS records like SSHFP, TLSA, 
OPENPGPKEY, IPSECKEY"
+HOMEPAGE="https://people.redhat.com/pwouters/hash-slinger/";
+SRC_URI="https://people.redhat.com/pwouters/${PN}/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ipsec +openpgp +ssh"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=""
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-python/ipaddr[$PYTHON_USEDEP]
+   dev-python/m2crypto[$PYTHON_USEDEP]
+   net-dns/unbound[python,$PYTHON_USEDEP]
+   virtual/python-dnspython[$PYTHON_USEDEP]
+   ipsec? ( net-misc/libreswan[dnssec] )
+   openpgp? ( dev-python/python-gnupg[$PYTHON_USEDEP] )
+   ssh? ( net-misc/openssh )
+"
+
+src_install() {
+   local tools
+   tools="tlsa"
+   use ssh && tools+=" sshfp"
+   use openpgp && tools+=" openpgpkey"
+   use ipsec && tools+=" ipseckey"
+   for tool in $tools ; do
+   doman ${tool}.1
+   python_foreach_impl python_doscript ${tool}
+   done
+   dodoc BUGS CHANGES README
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nova/

2016-03-07 Thread Matt Thode
commit: 3c6c37cdbb6c9dcc0c8ddf853ba8f30bb7df4c7d
Author: Matthew Thode  gentoo  org>
AuthorDate: Tue Mar  8 00:02:37 2016 +
Commit: Matt Thode  gentoo  org>
CommitDate: Tue Mar  8 00:03:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c6c37cd

sys-cluster/nova: bup

Package-Manager: portage-2.2.26

 sys-cluster/nova/Manifest   |   1 +
 sys-cluster/nova/nova-12.0.2.ebuild | 312 
 2 files changed, 313 insertions(+)

diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest
index 4dfce69..13527c3 100644
--- a/sys-cluster/nova/Manifest
+++ b/sys-cluster/nova/Manifest
@@ -1,2 +1,3 @@
 DIST liberty-nova.conf.sample 134201 SHA256 
32752212c571c4a1473c3fa8bbd197a658ee54e233b4d46a157807be42997e42 SHA512 
5325a31a0fccb9898bec0a022f5430dcc1729615c8eac88a4261c403f9ecd8ce2b07d73b52f3bc2c5cbe681234b30b923adb94385aac28e08d982a8f8bfef350
 WHIRLPOOL 
6d2894160a96742551777ce397b67f332c4f2793402f4634a2cfd0005ba99fb077cf0d0306a59e4b8c7f689914860e5d7f45d838c845d6a896a66c24f0f141c0
 DIST nova-12.0.1.tar.gz 5230442 SHA256 
bb28f0af00e931860e1c6211f0611c3cd711c76e3db7d773f16848426092be11 SHA512 
2ae271ec92201a4855a49aeb9db09dad9971e603d0feb78b7e27d544ce19a4dad5b6d6b83ff2a4fe0961bc020eab8561a94bc5b24a8c7aa71765a83675f428d6
 WHIRLPOOL 
c8fb82afac705c889d35075254309ee9d2d31ea855454b18aa691fe9632358d8f971f04c0708104b3b9e7eaf1f7de480ce9808fdc137bc3e4bfce2ada41a6172
+DIST nova-12.0.2.tar.gz 5243206 SHA256 
4b15dcf88f39c5b71b8a31f678844d55b7dbe05aac49e1a8b6cebcf75fff61f7 SHA512 
f906cdbce0ca68e056237b3b151a7d665d7dc8ffdd6b2fe6d0aeda271cc8b682891360b3c425d39d5b04cbfe73cdde9a3e2a9a8c28dab06a527557afdc446ef1
 WHIRLPOOL 
422545f6e326235ebb8493621d46bc12d83c4b20ecd02252addc7d68de7a3ac9e82e6ade40001f19548e4c4b39867078e72c62b2bd0649bad1bdc8336dd35490

diff --git a/sys-cluster/nova/nova-12.0.2.ebuild 
b/sys-cluster/nova/nova-12.0.2.ebuild
new file mode 100644
index 000..7fb35af
--- /dev/null
+++ b/sys-cluster/nova/nova-12.0.2.ebuild
@@ -0,0 +1,312 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 eutils linux-info multilib user
+
+DESCRIPTION="Cloud computing fabric controller (main part of an IaaS system) 
in Python"
+HOMEPAGE="https://launchpad.net/nova";
+SRC_URI="
+   https://tarballs.openstack.org/${PN}/${P}.tar.gz
+   
https://dev.gentoo.org/~prometheanfire/dist/nova/liberty/nova.conf.sample -> 
liberty-nova.conf.sample"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+compute compute-only iscsi +memcached mysql +novncproxy openvswitch 
postgres +rabbitmq sqlite test"
+REQUIRED_USE="
+   !compute-only? ( || ( mysql postgres sqlite ) )
+   compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )"
+
+CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
+# need to package dev-python/sphinxcontrib-seqdiag
+DEPEND="
+   >=dev-python/setuptools-16.0[${PYTHON_USEDEP}]
+   ${CDEPEND}
+   app-admin/sudo
+   test? (
+   ${RDEPEND}
+   >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
+   <=dev-python/coverage-4.0.3[${PYTHON_USEDEP}]
+   >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
+   <=dev-python/fixtures-1.4.0-r[${PYTHON_USEDEP}]
+   >=dev-python/mock-1.2[${PYTHON_USEDEP}]
+   <=dev-python/mock-1.3.0[${PYTHON_USEDEP}]
+   >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
+   <=dev-python/mox3-0.12.0[${PYTHON_USEDEP}]
+   >=dev-python/psycopg-2.5[${PYTHON_USEDEP}]
+   <=dev-python/psycopg-2.6.1[${PYTHON_USEDEP}]
+   >=dev-python/pymysql-0.6.2[${PYTHON_USEDEP}]
+   <=dev-python/pymysql-0.6.7[${PYTHON_USEDEP}]
+   ~dev-python/python-barbicanclient-3.3.0[${PYTHON_USEDEP}]
+   >=dev-python/python-ironicclient-0.8.0[${PYTHON_USEDEP}]
+   <=dev-python/python-ironicclient-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
+   <=dev-python/subunit-1.2.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
+   <=dev-python/requests-mock-0.7.0[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
+   !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
+   =dev-python/pillow-2.4.0[${PYTHON_USEDEP}]
+   =dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
+   <=dev-python/oslo-sphinx-4.1.0[${PYTHON_USEDEP}]
+   >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
+   <=dev-python/oslotest-2.0.0[${PYTHON_USEDEP}]
+   >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+   <=dev-python/testrepository-0.0.20[${PYTHON_USEDEP}]
+   >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
+ 

[gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-shell/

2016-03-07 Thread Remi Cardona
commit: b58daf28e8927dd149db2f99d7f1a8a9f382f9b4
Author: Rémi Cardona  gentoo  org>
AuthorDate: Mon Mar  7 23:07:56 2016 +
Commit: Remi Cardona  gentoo  org>
CommitDate: Mon Mar  7 23:09:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b58daf28

gnome-base/gnome-shell: bump to 3.18.4

Package-Manager: portage-2.2.27

 gnome-base/gnome-shell/Manifest  |   1 +
 gnome-base/gnome-shell/gnome-shell-3.18.4.ebuild | 219 +++
 2 files changed, 220 insertions(+)

diff --git a/gnome-base/gnome-shell/Manifest b/gnome-base/gnome-shell/Manifest
index 81ce8e8..7356d5a 100644
--- a/gnome-base/gnome-shell/Manifest
+++ b/gnome-base/gnome-shell/Manifest
@@ -1,2 +1,3 @@
 DIST gnome-shell-3.16.4.tar.xz 1579292 SHA256 
37bc440a2c5bed6cbd095ddb95a488cb67ef0e1d17153bc87635ce4120d917a9 SHA512 
73e8abaa951a0b3ae08721cca8af6eab1e51be375aa25e8a7497baff748856e20eb478cd768b4d3770b9daff0183520b20e1e3e7d889c6a6ebabc1a45c114239
 WHIRLPOOL 
dec8aaf665c32e31e7203037456c0e861d172519a2fe9475732b3db47038a2bf88ea15846fe6497453ac8db4badbd0cf2cbf5b804392e3a5ca3b37857c7dacae
 DIST gnome-shell-3.18.3.tar.xz 1590348 SHA256 
8517baf8606f970ebf38222411eb7563cab2ae5efbfb088954ce23705b67519b SHA512 
4856542320d83209b54cfe8941a818396d8941bb120dc66742a977891d9b0d0bea6f0fa2a3925508db34d6783bbab71366c2ad03a3d0db35b49f84abd62b69e3
 WHIRLPOOL 
cc71848a50f6495a662738c731b5ae517d0e5bf0dce2232395b53402eb97de482f612de25d8ddf313d7aae417c528a884bd44969e41aff92896631ab2091773d
+DIST gnome-shell-3.18.4.tar.xz 1591644 SHA256 
d959c0aae4c10b194d1fa29e89d34d73a4d35d74f384bf604d78435bf9ced5d7 SHA512 
ae25eba79e327655326c593d4837a46561077e5e4f777eac84d57ef43a1162a8508cd865ce72a57ceafed8c497b7ac852112530cb2aeca103285f2316c0c90e7
 WHIRLPOOL 
a5a9933dfe0b6f5682465dce7b2a41faf0dfde7072876228f073ffed6021ac42f40ced62656fc90c6923c0984d27f11513a3fc0f2feb1548ecc2973e87bcd038

diff --git a/gnome-base/gnome-shell/gnome-shell-3.18.4.ebuild 
b/gnome-base/gnome-shell/gnome-shell-3.18.4.ebuild
new file mode 100644
index 000..0e6be49
--- /dev/null
+++ b/gnome-base/gnome-shell/gnome-shell-3.18.4.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python{3_3,3_4,3_5} )
+
+inherit autotools eutils gnome2 multilib pax-utils python-r1 systemd
+
+DESCRIPTION="Provides core UI functions for the GNOME 3 desktop"
+HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell";
+
+LICENSE="GPL-2+ LGPL-2+"
+SLOT="0"
+IUSE="+bluetooth +networkmanager +nls -openrc-force"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+# libXfixes-5.0 needed for pointer barriers
+# FIXME:
+#  * gstreamer support is currently automagic
+COMMON_DEPEND="
+   >=app-accessibility/at-spi2-atk-2.5.3
+   >=dev-libs/atk-2[introspection]
+   >=app-crypt/gcr-3.7.5[introspection]
+   >=dev-libs/glib-2.45.3:2[dbus]
+   >=dev-libs/gjs-1.39
+   >=dev-libs/gobject-introspection-1.45.4:=
+   dev-libs/libical:=
+   >=x11-libs/gtk+-3.15.0:3[introspection]
+   >=media-libs/clutter-1.21.5:1.0[introspection]
+   >=dev-libs/json-glib-0.13.2
+   >=dev-libs/libcroco-0.6.8:0.6
+   >=gnome-base/gnome-desktop-3.7.90:3=[introspection]
+   >=gnome-base/gsettings-desktop-schemas-3.14
+   >=gnome-base/gnome-keyring-3.3.90
+   gnome-base/libgnome-keyring
+   >=gnome-extra/evolution-data-server-3.17.2:=
+   >=media-libs/gstreamer-0.11.92:1.0
+   >=net-im/telepathy-logger-0.2.4[introspection]
+   >=net-libs/telepathy-glib-0.19[introspection]
+   >=sys-auth/polkit-0.100[introspection]
+   >=x11-libs/libXfixes-5.0
+   x11-libs/libXtst
+   >=x11-wm/mutter-3.18.1[introspection]
+   >=x11-libs/startup-notification-0.11
+
+   ${PYTHON_DEPS}
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+
+   dev-libs/dbus-glib
+   dev-libs/libxml2:2
+   gnome-base/librsvg
+   media-libs/libcanberra[gtk3]
+   media-libs/mesa
+   >=media-sound/pulseaudio-2
+   >=net-libs/libsoup-2.40:2.4[introspection]
+   x11-libs/libX11
+   x11-libs/gdk-pixbuf:2[introspection]
+   x11-libs/pango[introspection]
+   x11-apps/mesa-progs
+
+   bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] )
+   networkmanager? (
+   app-crypt/libsecret
+   >=gnome-extra/nm-applet-0.9.8
+   >=net-misc/networkmanager-0.9.8[introspection] )
+"
+# Runtime-only deps are probably incomplete and approximate.
+# Introspection deps generated using:
+#  grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq
+# Each block:
+# 1. Pull in polkit-0.101 for pretty authorization dialogs
+# 2. Introspection stuff needed via imports.gi.*
+# 3. gnome-session is needed for gnome-session-quit
+# 4. Control shell settings
+# 5. Syst

[gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extensions/

2016-03-07 Thread Remi Cardona
commit: 4cb6a776f40dea889f0bd319d8a82bc42bb3a78f
Author: Rémi Cardona  gentoo  org>
AuthorDate: Mon Mar  7 23:06:36 2016 +
Commit: Remi Cardona  gentoo  org>
CommitDate: Mon Mar  7 23:09:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb6a776

gnome-extra/gnome-shell-extensions: bump to 3.18.4

Package-Manager: portage-2.2.27

 gnome-extra/gnome-shell-extensions/Manifest|  1 +
 .../gnome-shell-extensions-3.18.4.ebuild   | 79 ++
 2 files changed, 80 insertions(+)

diff --git a/gnome-extra/gnome-shell-extensions/Manifest 
b/gnome-extra/gnome-shell-extensions/Manifest
index 3edc00a..4f9b61e 100644
--- a/gnome-extra/gnome-shell-extensions/Manifest
+++ b/gnome-extra/gnome-shell-extensions/Manifest
@@ -1,2 +1,3 @@
 DIST gnome-shell-extensions-3.16.2.tar.xz 231292 SHA256 
0dca1677ec9401dd7c1a7261164b7f4cc94d52207637cf9e8e350bb9f6d0e9bf SHA512 
f7f2bd9fe0ea2e9e14b7163c30fcf2cd93698f43de6ebc4daf3a655293db438c24d12972ceda2bf95def5ed15891c9f347c8bca404357e1e0ad131ab00cf50dd
 WHIRLPOOL 
216d35ec3a200e9c3ed67ff0912b844394b12e764a1170beaf21162feeec7b7bb4cc1ddfe9efcd3ddff9bd4fc4224ff408bdeaf262b700323507fff08fa47a31
 DIST gnome-shell-extensions-3.18.3.tar.xz 233480 SHA256 
2bb3726decf14a31ae35755c049d8f03425231857c42ed27f01854af755ec035 SHA512 
186ec469187b53a4eea0a5f29555265a2080c85405c83af8d10dd6be21f41c260e276f0c7579af48cb6cec86fc8deab6e44cf3861dcc24beb3efc5a44d7f3fa7
 WHIRLPOOL 
6be33c7bea752079d8c991ed716bd2323ee87fdc66811c45d757cd20cab4e133f61036226018439bd719fdf46f457fac0b53ab24d205c321b215ab1ae88c188b
+DIST gnome-shell-extensions-3.18.4.tar.xz 234108 SHA256 
8ae470f894aad914a56d447e3b07dc99e2f36c30ef3ec386f6f03f619599b73a SHA512 
adf5aa1002aabd1b6235433c2e86df01949bcc757079e0833631b27bf3550dd00bc12ad42551f53a0d5fcdeb296623c32e33ac468762f88c0c5078cfb3a1cd39
 WHIRLPOOL 
74d8de9711f28b28ea60461bc14c734c2bcad45666ce491674bfbefd1765aebc04bf8ad2809fd5a33523dfaf00d4dd7d1e5c2ca3a2f606bf9d6c3f12fdf45828

diff --git 
a/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-3.18.4.ebuild 
b/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-3.18.4.ebuild
new file mode 100644
index 000..dd09336
--- /dev/null
+++ b/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-3.18.4.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit gnome2 readme.gentoo
+
+DESCRIPTION="JavaScript extensions for GNOME Shell"
+HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell/Extensions";
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="examples"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEPEND="
+   >=dev-libs/glib-2.26:2
+   >=gnome-base/libgtop-2.28.3[introspection]
+   >=app-eselect/eselect-gnome-shell-extensions-20111211
+"
+RDEPEND="${COMMON_DEPEND}
+   >=dev-libs/gjs-1.29
+   dev-libs/gobject-introspection:=
+   dev-libs/atk[introspection]
+   gnome-base/gnome-menus:3[introspection]
+   >=gnome-base/gnome-shell-3.14.2
+   media-libs/clutter:1.0[introspection]
+   net-libs/telepathy-glib[introspection]
+   x11-libs/gdk-pixbuf:2[introspection]
+   x11-libs/gtk+:3[introspection]
+   x11-libs/pango[introspection]
+   x11-themes/adwaita-icon-theme
+"
+DEPEND="${COMMON_DEPEND}
+   >=dev-util/intltool-0.50
+   sys-devel/gettext
+   virtual/pkgconfig
+"
+# eautoreconf needs gnome-base/gnome-common
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="Installed extensions installed are initially disabled by default.
+To change the system default and enable some extensions, you can use
+# eselect gnome-shell-extensions
+
+Alternatively, to enable/disable extensions on a per-user basis,
+you can use the https://extensions.gnome.org/ web interface, the
+gnome-extra/gnome-tweak-tool GUI, or modify the org.gnome.shell
+enabled-extensions gsettings key from the command line or a script."
+
+src_configure() {
+   gnome2_src_configure --enable-extensions=all
+}
+
+src_install() {
+   gnome2_src_install
+
+   local example="exam...@gnome-shell-extensions.gcampax.github.com"
+   if use examples; then
+   mv "${ED}usr/share/gnome-shell/extensions/${example}" \
+   "${ED}usr/share/doc/${PF}/" || die
+   else
+   rm -r "${ED}usr/share/gnome-shell/extensions/${example}" || die
+   fi
+
+   readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+   gnome2_pkg_postinst
+
+   ebegin "Updating list of installed extensions"
+   eselect gnome-shell-extensions update
+   eend $?
+
+   readme.gentoo_print_elog
+}



[gentoo-commits] repo/gentoo:master commit in: x11-wm/mutter/

2016-03-07 Thread Remi Cardona
commit: 42d43d299a1b4743a3b5da33abcefb40bbdfe3df
Author: Rémi Cardona  gentoo  org>
AuthorDate: Mon Mar  7 23:04:55 2016 +
Commit: Remi Cardona  gentoo  org>
CommitDate: Mon Mar  7 23:09:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d43d29

x11-wm/mutter: bump to 3.18.3

Package-Manager: portage-2.2.27

 x11-wm/mutter/Manifest |  1 +
 x11-wm/mutter/mutter-3.18.3.ebuild | 90 ++
 2 files changed, 91 insertions(+)

diff --git a/x11-wm/mutter/Manifest b/x11-wm/mutter/Manifest
index f16ae86..d6aa7b5 100644
--- a/x11-wm/mutter/Manifest
+++ b/x11-wm/mutter/Manifest
@@ -1,2 +1,3 @@
 DIST mutter-3.16.4.tar.xz 1535572 SHA256 
23e8601a594a207fcfdf570e10710539176d41dd43304ef7b274a59d09e305da SHA512 
b2d199ad883bb90adfbc96317f4ccc655ed6ff700307503551cb8a4d0a42b7dc9024d1b914935b57c6f50bed90e9ce592179b07a4061a3664443aa012e6b4fd9
 WHIRLPOOL 
8084e9e43643ce65947856fe81ce29619a2dae22866fb5c42d83563b10dfe55104f18cf8c7f06bce650681df94f658a5438be8fbcc8a0da8a2c2ceaa880f7ab2
 DIST mutter-3.18.2.tar.xz 1468660 SHA256 
8a69326f216c7575ed6cd53938b9cfc49b3b359cde95d3b6a7ed46c837261181 SHA512 
99c138187e28a152d44421e240a9e644c56c74142ab125a0bf208ffaa3e711df9c319b37bbb9827ee3c79abce908aaf4ae6b6cb271b92d90add2642a39b74726
 WHIRLPOOL 
3c4f1e45a7306dedf8c9350ef130139f69a8d6a56c24ad4c1b52fd9120e72901b2898df0684fabb33a17ceec5261adfc340e09a65cbb1f90045aa34b9ec13342
+DIST mutter-3.18.3.tar.xz 1469556 SHA256 
58dd88d5596bb0377ae3aed692b306995de45aefae9e215cfaf4b13287526846 SHA512 
20829fc1cabbb507c81a68320d7807b07ae79745a28ae857fcfb05ea2324a0ba61c87fcd35d0f57de4861bc21ed67770d594db84325b5c0a9092c96897ae0fe5
 WHIRLPOOL 
f23b5598ab6fb81d0234eaf64612c9ff78f8d9f413c2217e48cadf5db2b283ff8c4ef3e8eb0d6a189a87e4d6bd6e8a62e5450b09c531c9f3b5dc35db2b0b173f

diff --git a/x11-wm/mutter/mutter-3.18.3.ebuild 
b/x11-wm/mutter/mutter-3.18.3.ebuild
new file mode 100644
index 000..75eb3ab
--- /dev/null
+++ b/x11-wm/mutter/mutter-3.18.3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="yes"
+
+inherit eutils gnome2
+
+DESCRIPTION="GNOME 3 compositing window manager based on Clutter"
+HOMEPAGE="https://git.gnome.org/browse/mutter/";
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="+introspection +kms test wayland"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+# libXi-1.7.4 or newer needed per:
+# https://bugzilla.gnome.org/show_bug.cgi?id=738944
+COMMON_DEPEND="
+   >=x11-libs/pango-1.2[X,introspection?]
+   >=x11-libs/cairo-1.10[X]
+   >=x11-libs/gtk+-3.9.11:3[X,introspection?]
+   >=dev-libs/glib-2.36.0:2[dbus]
+   >=media-libs/clutter-1.23.4:1.0[X,introspection?]
+   >=media-libs/cogl-1.17.1:1.0=[introspection?]
+   >=media-libs/libcanberra-0.26[gtk3]
+   >=x11-libs/startup-notification-0.7
+   >=x11-libs/libXcomposite-0.2
+   >=gnome-base/gsettings-desktop-schemas-3.15.92[introspection?]
+   gnome-base/gnome-desktop:3=
+   >sys-power/upower-0.99:=
+
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   >=x11-libs/libXcomposite-0.2
+   x11-libs/libXcursor
+   x11-libs/libXdamage
+   x11-libs/libXext
+   x11-libs/libXfixes
+   >=x11-libs/libXi-1.7.4
+   x11-libs/libXinerama
+   >=x11-libs/libXrandr-1.5
+   x11-libs/libXrender
+   x11-libs/libxcb
+   x11-libs/libxkbfile
+   >=x11-libs/libxkbcommon-0.4.3[X]
+   x11-misc/xkeyboard-config
+
+   gnome-extra/zenity
+
+   introspection? ( >=dev-libs/gobject-introspection-1.42:= )
+   kms? (
+   dev-libs/libinput
+   >=media-libs/clutter-1.20[egl]
+   media-libs/cogl:1.0=[kms]
+   >=media-libs/mesa-10.3[gbm]
+   sys-apps/systemd
+   virtual/libgudev
+   x11-libs/libdrm:= )
+   wayland? (
+   >=dev-libs/wayland-1.6.90
+   >=media-libs/clutter-1.20[wayland]
+   x11-base/xorg-server[wayland] )
+"
+DEPEND="${COMMON_DEPEND}
+   >=dev-util/intltool-0.41
+   sys-devel/gettext
+   virtual/pkgconfig
+   x11-proto/xextproto
+   x11-proto/xineramaproto
+   x11-proto/xproto
+   test? ( app-text/docbook-xml-dtd:4.5 )
+"
+RDEPEND="${COMMON_DEPEND}
+   !x11-misc/expocity
+"
+
+src_configure() {
+   gnome2_src_configure \
+   --disable-static \
+   --enable-sm \
+   --enable-startup-notification \
+   --enable-verbose-mode \
+   --with-libcanberra \
+   $(use_enable introspection) \
+   $(use_enable kms native-backend) \
+   $(use_enable wayland)
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/s6/

2016-03-07 Thread William Hubbs
commit: 480552e9e3cdd8458007ed3f694dfff76cace7d1
Author: Luis Ressel  aixah  de>
AuthorDate: Mon Mar  7 11:10:25 2016 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Mar  7 22:32:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=480552e9

sys-apps/s6: Bump to EAPI 6

 sys-apps/s6/s6-2.2.4.3.ebuild | 23 +++
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/sys-apps/s6/s6-2.2.4.3.ebuild b/sys-apps/s6/s6-2.2.4.3.ebuild
index 8aeee3a..51c3fc2 100644
--- a/sys-apps/s6/s6-2.2.4.3.ebuild
+++ b/sys-apps/s6/s6-2.2.4.3.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-
-inherit multilib
+EAPI=6
 
 DESCRIPTION="skarnet.org's small and secure supervision software suite"
 HOMEPAGE="http://www.skarnet.org/software/s6/";
@@ -32,10 +30,15 @@ RDEPEND="
)
"
 
+DOCS="AUTHORS examples README*"
+HTML_DOCS="doc/*"
+
 src_prepare()
 {
# Remove QA warning about LDFLAGS addition
sed -i "s~tryldflag LDFLAGS_AUTO -Wl,--hash-style=both~:~" 
"${S}/configure" || die
+
+   eapply_user
 }
 
 src_configure()
@@ -53,15 +56,3 @@ src_configure()
--with-dynlib=/$(get_libdir) \
--with-sysdeps=/usr/$(get_libdir)/skalibs
 }
-
-src_compile()
-{
-   emake DESTDIR="${D}"
-}
-
-src_install()
-{
-   default
-   dodoc -r examples
-   dohtml -r doc/*
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/s6/

2016-03-07 Thread William Hubbs
commit: 1d5e60b5e81a3b65f2c273a1c320a9e637c85618
Author: Luis Ressel  aixah  de>
AuthorDate: Sun Mar  6 22:14:03 2016 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Mar  7 22:32:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d5e60b5

sys-apps/s6: Add a static-libs USE flag

libs6 is used by other packages such as s6-rc, so it'd be useful to be
able to control the availability of libs6.a without depending on
USE=static.

 sys-apps/s6/s6-2.2.4.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/s6/s6-2.2.4.3.ebuild b/sys-apps/s6/s6-2.2.4.3.ebuild
index 171342f..8aeee3a 100644
--- a/sys-apps/s6/s6-2.2.4.3.ebuild
+++ b/sys-apps/s6/s6-2.2.4.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz";
 LICENSE="ISC"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="static"
+IUSE="static static-libs"
 
 DEPEND=">=sys-devel/make-4.0
static? (
@@ -42,8 +42,8 @@ src_configure()
 {
econf \
$(use_enable !static shared) \
+   $(use_enable static-libs static) \
$(use_enable static allstatic) \
-   $(use_enable static) \
--bindir=/bin \
--sbindir=/sbin \
--dynlibdir=/$(get_libdir) \



[gentoo-commits] repo/gentoo:master commit in: sys-apps/util-linux/files/, sys-apps/util-linux/

2016-03-07 Thread Mike Frysinger
commit: 3769666d8426aeb5b8b2028b161168e0e09dddf3
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Mar  7 22:25:35 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Mar  7 22:25:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3769666d

sys-apps/util-linux: fix building w/newer glibc

 .../files/util-linux-2.27.1-sysmacros.patch| 278 +
 sys-apps/util-linux/util-linux-2.27.1.ebuild   |   1 +
 2 files changed, 279 insertions(+)

diff --git a/sys-apps/util-linux/files/util-linux-2.27.1-sysmacros.patch 
b/sys-apps/util-linux/files/util-linux-2.27.1-sysmacros.patch
new file mode 100644
index 000..9c64e07
--- /dev/null
+++ b/sys-apps/util-linux/files/util-linux-2.27.1-sysmacros.patch
@@ -0,0 +1,278 @@
+From 71cd37a19acef366ff12f322c78c711559764e13 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger 
+Date: Mon, 7 Mar 2016 16:42:05 -0500
+Subject: [PATCH] include sysmacros.h where used
+
+BSD/Linux systems stick major/minor/makedev in sysmacros.h.  Newer Linux
+libraries have been moving away from including sysmacros.h implicitly via
+sys/types.h, so include it directly.
+
+Signed-off-by: Mike Frysinger 
+---
+
+diff --git a/lib/ismounted.c b/lib/ismounted.c
+index f83be65..9b0e447 100644
+--- a/lib/ismounted.c
 b/lib/ismounted.c
+@@ -18,6 +18,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #ifdef __APPLE__
+ #include 
+ #include 
+diff --git a/lib/sysfs.c b/lib/sysfs.c
+index 9e973a4..4b46459 100644
+--- a/lib/sysfs.c
 b/lib/sysfs.c
+@@ -7,6 +7,7 @@
+  * Written by Karel Zak 
+  */
+ #include 
++#include 
+ 
+ #include "c.h"
+ #include "at.h"
+diff --git a/login-utils/sulogin-consoles.c b/login-utils/sulogin-consoles.c
+index fe8eab1..56f5336 100644
+--- a/login-utils/sulogin-consoles.c
 b/login-utils/sulogin-consoles.c
+@@ -27,6 +27,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+diff --git a/libblkid/src/devname.c b/libblkid/src/devname.c
+index dbbe5b5..d583800 100644
+--- a/libblkid/src/devname.c
 b/libblkid/src/devname.c
+@@ -25,6 +25,7 @@
+ #ifdef HAVE_SYS_TYPES_H
+ #include 
+ #endif
++#include 
+ #include 
+ #ifdef HAVE_SYS_STAT_H
+ #include 
+diff --git a/libblkid/src/devno.c b/libblkid/src/devno.c
+index 58fbce5..4b8f3db 100644
+--- a/libblkid/src/devno.c
 b/libblkid/src/devno.c
+@@ -31,6 +31,7 @@
+ #endif
+ #include 
+ #include 
++#include 
+ 
+ #include "blkidP.h"
+ #include "pathnames.h"
+diff --git a/libmount/src/tab_parse.c b/libmount/src/tab_parse.c
+index cee7008..29b4428 100644
+--- a/libmount/src/tab_parse.c
 b/libmount/src/tab_parse.c
+@@ -16,6 +16,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include "at.h"
+ #include "mangle.h"
+diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c
+index f72be14..e14119b 100644
+--- a/misc-utils/findmnt.c
 b/misc-utils/findmnt.c
+@@ -31,6 +31,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #ifdef HAVE_LIBUDEV
+ # include 
+diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c
+index c9a39b3..6010167 100644
+--- a/misc-utils/lsblk.c
 b/misc-utils/lsblk.c
+@@ -26,6 +26,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+diff --git a/misc-utils/lslocks.c b/misc-utils/lslocks.c
+index a47c1d0..7689964 100644
+--- a/misc-utils/lslocks.c
 b/misc-utils/lslocks.c
+@@ -30,6 +30,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ 
+ #include 
+diff --git a/disk-utils/fsck.c b/disk-utils/fsck.c
+index 6f9e78b..2b7e712 100644
+--- a/disk-utils/fsck.c
 b/disk-utils/fsck.c
+@@ -30,6 +30,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+diff --git a/disk-utils/partx.c b/disk-utils/partx.c
+index 50bd6a4..955166b 100644
+--- a/disk-utils/partx.c
 b/disk-utils/partx.c
+@@ -19,6 +19,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ #include 
+diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c
+index 81371eb..9c1aacb 100644
+--- a/disk-utils/sfdisk.c
 b/disk-utils/sfdisk.c
+@@ -29,6 +29,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+diff --git a/libblkid/src/evaluate.c b/libblkid/src/evaluate.c
+index ffbe097..3d9a76b 100644
+--- a/libblkid/src/evaluate.c
 b/libblkid/src/evaluate.c
+@@ -12,6 +12,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #ifdef HAVE_SYS_STAT_H
+ #include 
+diff --git a/libblkid/src/partitions/partitions.c 
b/libblkid/src/partitions/partitions.c
+index c8e0bfe..4ba5411 100644
+--- a/libblkid/src/partitions/partitions.c
 b/libblkid/src/partitions/partitions.c
+@@ -15,6 +15,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+diff --git a/libblkid/src/topology/dm.c b/libblkid/src/topology/dm.c
+index e061632..993161c 100644
+--- a/libblkid/src/topology/dm.c
 b/libblkid/src/topology/dm.c
+@@ -17,6 +17,7 @@
+ #include

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/ebuild/, pym/repoman/checks/ebuilds/

2016-03-07 Thread Brian Dolbec
commit: 248cad6988681b1d45aeb37a06a921df2406386b
Author: Brian Dolbec  gentoo  org>
AuthorDate: Mon Jan  4 04:44:05 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:02 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=248cad69

repoman: Create a new MultiCheck class plugin

Move ebuilds/ checks.py and errors.py to the scan/ebuild plugin.
Remove the checks_init from main(), initialize it in the MultiCheck
class where it is needed.

 pym/repoman/checks/ebuilds/__init__.py |  0
 pym/repoman/main.py|  2 --
 pym/repoman/modules/scan/ebuild/__init__.py|  9 +
 .../ebuilds => modules/scan/ebuild}/checks.py  |  2 +-
 .../ebuilds => modules/scan/ebuild}/errors.py  |  0
 pym/repoman/modules/scan/ebuild/multicheck.py  | 39 ++
 pym/repoman/scanner.py | 21 +---
 7 files changed, 50 insertions(+), 23 deletions(-)

diff --git a/pym/repoman/checks/ebuilds/__init__.py 
b/pym/repoman/checks/ebuilds/__init__.py
deleted file mode 100644
index e69de29..000

diff --git a/pym/repoman/main.py b/pym/repoman/main.py
index 8784685..890e034 100755
--- a/pym/repoman/main.py
+++ b/pym/repoman/main.py
@@ -26,7 +26,6 @@ from portage.util import formatter
 
 from repoman.actions import Actions
 from repoman.argparser import parse_args
-from repoman.checks.ebuilds.checks import checks_init
 from repoman.qa_data import (
format_qa_output, format_qa_output_column, qahelp,
qawarnings, qacats)
@@ -65,7 +64,6 @@ def repoman_main(argv):
if options.experimental_inherit == 'y':
# This is experimental, so it's non-fatal.
qawarnings.add("inherit.missing")
-   checks_init(experimental_inherit=True)
 
# Set this to False when an extraordinary issue (generally
# something other than a QA issue) makes it impossible to

diff --git a/pym/repoman/modules/scan/ebuild/__init__.py 
b/pym/repoman/modules/scan/ebuild/__init__.py
index a22e736..e712e4b 100644
--- a/pym/repoman/modules/scan/ebuild/__init__.py
+++ b/pym/repoman/modules/scan/ebuild/__init__.py
@@ -28,6 +28,15 @@ module_spec = {
'func_desc': {
},
},
+   'multicheck-module': {
+   'name': "multicheck",
+   'sourcefile': "multicheck",
+   'class': "MultiCheck",
+   'description': doc,
+   'functions': ['check'],
+   'func_kwargs': {
+   },
+   },
}
 }
 

diff --git a/pym/repoman/checks/ebuilds/checks.py 
b/pym/repoman/modules/scan/ebuild/checks.py
similarity index 99%
rename from pym/repoman/checks/ebuilds/checks.py
rename to pym/repoman/modules/scan/ebuild/checks.py
index 7894e2b..8cdc230 100644
--- a/pym/repoman/checks/ebuilds/checks.py
+++ b/pym/repoman/modules/scan/ebuild/checks.py
@@ -21,7 +21,7 @@ from portage.eapi import (
eapi_has_src_prepare_and_src_configure, eapi_has_dosed_dohard,
eapi_exports_AA, eapi_has_pkg_pretend)
 
-import repoman.checks.ebuilds.errors as errors
+from . import errors
 
 
 class LineCheck(object):

diff --git a/pym/repoman/checks/ebuilds/errors.py 
b/pym/repoman/modules/scan/ebuild/errors.py
similarity index 100%
rename from pym/repoman/checks/ebuilds/errors.py
rename to pym/repoman/modules/scan/ebuild/errors.py

diff --git a/pym/repoman/modules/scan/ebuild/multicheck.py 
b/pym/repoman/modules/scan/ebuild/multicheck.py
new file mode 100644
index 000..8b85abf
--- /dev/null
+++ b/pym/repoman/modules/scan/ebuild/multicheck.py
@@ -0,0 +1,39 @@
+
+import io
+
+from portage import _encodings, _unicode_encode
+
+from .checks import run_checks, checks_init
+
+
+class MultiCheck(object):
+   '''Class to run multiple different checks on an ebuild'''
+
+   def __init__(self, **kwargs):
+   self.qatracker = kwargs.get('qatracker')
+   self.options = kwargs.get('options')
+   checks_init(self.options.experimental_inherit == 'y')
+
+   def check(self, **kwargs):
+   ebuild = kwargs.get('ebuild')
+   pkg = kwargs.get('pkg')
+   try:
+   # All ebuilds should have utf_8 encoding.
+   f = io.open(
+   _unicode_encode(ebuild.full_path, 
encoding=_encodings['fs'],
+   errors='strict'),
+   mode='r', encoding=_encodings['repo.content'])
+   try:
+   for check_name, e in run_checks(f, pkg):
+   self.qatracker.add_error(
+   check_name, 
ebuild.relative_path + ': %s' % e)
+   finally:
+   

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/depend/, pym/repoman/

2016-03-07 Thread Brian Dolbec
commit: f71e5099608242138eff2f4f9d24cbfd82fb98dc
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Jan  3 21:19:59 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:20:54 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=f71e5099

repoman: Migrate some additional Dependency code to the plugin

 pym/repoman/modules/scan/depend/depend.py | 13 -
 pym/repoman/scanner.py| 22 +++---
 2 files changed, 15 insertions(+), 20 deletions(-)

diff --git a/pym/repoman/modules/scan/depend/depend.py 
b/pym/repoman/modules/scan/depend/depend.py
index 4cb8709..2f90eee 100644
--- a/pym/repoman/modules/scan/depend/depend.py
+++ b/pym/repoman/modules/scan/depend/depend.py
@@ -1,3 +1,5 @@
+# -*- coding:utf-8 -*-
+
 
 from _emerge.Package import Package
 
@@ -121,7 +123,16 @@ class DependChecks(object):
qacat = m + ".syntax"
self.qatracker.add_error(
qacat, "%s: %s: %s" % (ebuild.relative_path, m, 
b))
-   return {'continue': False, 'unknown_pkgs': unknown_pkgs, 
'type_list': type_list}
+
+   # data required for some other tests
+   badlicsyntax = len([z for z in type_list if z == "LICENSE"])
+   badprovsyntax = len([z for z in type_list if z == "PROVIDE"])
+   baddepsyntax = len(type_list) != badlicsyntax + badprovsyntax
+   badlicsyntax = badlicsyntax > 0
+   #badprovsyntax = badprovsyntax > 0
+
+   return {'continue': False, 'unknown_pkgs': unknown_pkgs, 
'type_list': type_list,
+   'badlicsyntax': badlicsyntax, 'baddepsyntax': 
baddepsyntax}
 
@property
def runInEbuilds(self):

diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py
index 1a2de05..467e6e1 100644
--- a/pym/repoman/scanner.py
+++ b/pym/repoman/scanner.py
@@ -327,26 +327,10 @@ class Scanner(object):
if y_ebuild_continue:
continue
 
-   if dynamic_data['live_ebuild'] and 
self.repo_settings.repo_config.name == "gentoo":
-   self.liveeclasscheck.check(
-   dynamic_data['pkg'], xpkg, 
dynamic_data['ebuild'], y_ebuild, dynamic_data['ebuild'].keywords, 
self.repo_metadata['pmaskdict'])
-
-   unknown_pkgs = set()
-   baddepsyntax = False
-   badlicsyntax = False
-   badprovsyntax = False
-   # catpkg = catdir + "/" + y_ebuild
-
-   badlicsyntax = len([z for z in 
dynamic_data['type_list'] if z == "LICENSE"])
-   badprovsyntax = len([z for z in 
dynamic_data['type_list'] if z == "PROVIDE"])
-   baddepsyntax = len(dynamic_data['type_list']) != 
badlicsyntax + badprovsyntax
-   badlicsyntax = badlicsyntax > 0
-   badprovsyntax = badprovsyntax > 0
-
used_useflags = 
used_useflags.union(dynamic_data['ebuild_UsedUseFlags'])
 
# license checks
-   if not badlicsyntax:
+   if not dynamic_data['badlicsyntax']:
self.licensecheck.check(dynamic_data['pkg'], 
xpkg, dynamic_data['ebuild'], y_ebuild)
 
self.restrictcheck.check(dynamic_data['pkg'], xpkg, 
dynamic_data['ebuild'], y_ebuild)
@@ -452,7 +436,7 @@ class Scanner(object):
dep_settings.usemask = 
dep_settings._use_manager.getUseMask(
dynamic_data['pkg'], 
stable=dep_settings._parent_stable)
 
-   if not baddepsyntax:
+   if not dynamic_data['baddepsyntax']:
ismasked = not 
dynamic_data['ebuild'].archs or \
dynamic_data['pkg'].cpv not in 
self.portdb.xmatch("match-visible",
Atom("%s::%s" % 
(dynamic_data['pkg'].cp, self.repo_settings.repo_config.name)))
@@ -542,7 +526,7 @@ class Scanner(object):
% 
(dynamic_data['ebuild'].relative_path, mytype, keyword,

prof, pformat(atoms, indent=6)))
 
-   if not baddepsyntax and dynamic_data['unknown_pkgs']:
+   if not dynamic_data['baddepsyntax'] and 
dynamic_data['unknown_pkgs']:
type_map = {}
for mytype, atom in 
dynamic_data['unknown_pkgs']:
type_map.setdefault(mytype, 
set()).add(atom)



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/, pym/repoman/modules/vcs/hg/, pym/repoman/, ...

2016-03-07 Thread Brian Dolbec
commit: c973139bcda1e447428c92fb33304cbe38a34eae
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Feb  7 18:53:58 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:35 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=c973139b

repoman: Migrate digest regeneration to the vcs modules

 pym/repoman/actions.py | 15 ++-
 pym/repoman/modules/vcs/bzr/changes.py | 14 --
 pym/repoman/modules/vcs/changes.py |  5 +
 pym/repoman/modules/vcs/cvs/changes.py | 14 +++---
 pym/repoman/modules/vcs/git/changes.py |  9 +
 pym/repoman/modules/vcs/hg/changes.py  |  9 +
 pym/repoman/modules/vcs/settings.py|  6 --
 pym/repoman/modules/vcs/svn/changes.py | 17 +
 8 files changed, 69 insertions(+), 20 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index e045295..21e7db6 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -6,7 +6,6 @@ import errno
 import io
 import logging
 import platform
-import re
 import signal
 import subprocess
 import sys
@@ -25,7 +24,6 @@ from portage.package.ebuild.digestgen import digestgen
 from portage.process import find_binary, spawn
 from portage.util import writemsg_level
 
-from repoman._subprocess import repoman_getstatusoutput
 from repoman.gpg import gpgsign, need_signature
 from repoman import utilities
 from repoman.modules.vcs.vcs import vcs_files_to_cps
@@ -159,17 +157,8 @@ class Actions(object):
"\"You're rather crazy... "
"doing the entire repository.\"\n")
 
-   if self.vcs_settings.vcs in ('cvs', 'svn') and (myupdates or 
myremoved):
-   for x in sorted(vcs_files_to_cps(
-   chain(myupdates, myremoved, mymanifests),
-   self.scanner.repolevel, self.scanner.reposplit, 
self.scanner.categories)):
-   self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
-   digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
-
-   elif broken_changelog_manifests:
-   for x in broken_changelog_manifests:
-   self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
-   digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
+   self.vcs_settings.changes.digest_regen(myupdates, myremoved, 
mymanifests,
+   self.scanner, broken_changelog_manifests)
 
if self.repo_settings.sign_manifests:
self.sign_manifest(myupdates, myremoved, mymanifests)

diff --git a/pym/repoman/modules/vcs/bzr/changes.py 
b/pym/repoman/modules/vcs/bzr/changes.py
index 9bd0646..81e7cf5 100644
--- a/pym/repoman/modules/vcs/bzr/changes.py
+++ b/pym/repoman/modules/vcs/bzr/changes.py
@@ -4,7 +4,9 @@ Bazaar module Changes class submodule
 
 from repoman.modules.vcs.changes import ChangesBase
 from repoman._subprocess import repoman_popen
-
+from repoman._portage import portage
+from portage import os
+from portage.package.ebuild.digestgen import digestgen
 
 class Changes(ChangesBase):
'''Class object to scan and hold the resultant data
@@ -36,6 +38,7 @@ class Changes(ChangesBase):
"./" + elem.split()[-3:-2][0].split('/')[-1:][0]
for elem in bzrstatus
if elem and (elem[1:2] == "K" or elem[0:1] == "R")]
+   self.bzrstatus = bzrstatus
# Bazaar expands nothing.
 
@property
@@ -45,6 +48,13 @@ class Changes(ChangesBase):
return self._unadded
self._unadded = [
"./" + elem.rstrip().split()[1].split('/')[-1:][0]
-   for elem in bzrstatus
+   for elem in self.bzrstatus
if elem.startswith("?") or elem[0:2] == " D"]
return self._unadded
+
+   def digest_regen(self, myupdates, myremoved, mymanifests, scanner, 
broken_changelog_manifests):
+   if broken_changelog_manifests:
+   for x in broken_changelog_manifests:
+   self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
+   digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
+

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 921e9b5..27b627f 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -76,6 +76,11 @@ class ChangesBase(object):
'''Create a thick manifest'''
pass
 
+   def digest_regen(self, myupdates, myremoved, mymanifests, scanner,
+ 

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/, pym/repoman/, pym/repoman/modules/vcs/git/

2016-03-07 Thread Brian Dolbec
commit: 9564e058ab9c952959bc6c1503944bb8cca76e69
Author: Brian Dolbec  gentoo  org>
AuthorDate: Wed Feb 10 18:05:46 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:35 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=9564e058

repoman: Migrate vcs index update code to the vcs modules

 pym/repoman/actions.py | 22 +-
 pym/repoman/modules/vcs/changes.py |  4 
 pym/repoman/modules/vcs/git/changes.py | 27 +++
 3 files changed, 32 insertions(+), 21 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index 21e7db6..4209d13 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -163,27 +163,7 @@ class Actions(object):
if self.repo_settings.sign_manifests:
self.sign_manifest(myupdates, myremoved, mymanifests)
 
-   if self.vcs_settings.vcs == 'git':
-   # It's not safe to use the git commit -a option since 
there might
-   # be some modified files elsewhere in the working tree 
that the
-   # user doesn't want to commit. Therefore, call git 
update-index
-   # in order to ensure that the index is updated with the 
latest
-   # versions of all new and modified files in the 
relevant portion
-   # of the working tree.
-   myfiles = mymanifests + myupdates
-   myfiles.sort()
-   update_index_cmd = ["git", "update-index"]
-   update_index_cmd.extend(f.lstrip("./") for f in myfiles)
-   if self.options.pretend:
-   print("(%s)" % (" ".join(update_index_cmd),))
-   else:
-   retval = spawn(update_index_cmd, env=os.environ)
-   if retval != os.EX_OK:
-   writemsg_level(
-   "!!! Exiting on %s (shell) "
-   "error code: %s\n" % 
(self.vcs_settings.vcs, retval),
-   level=logging.ERROR, 
noiselevel=-1)
-   sys.exit(retval)
+   self.vcs_settings.changes.update_index(mymanifests, myupdates)
 
self.add_manifest(mymanifests, myheaders, myupdates, myremoved, 
commitmessage)
 

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 27b627f..948407c 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -85,3 +85,7 @@ class ChangesBase(object):
def clear_attic(myheaders):
'''Old CVS leftover'''
pass
+
+   def update_index(self, mymanifests, myupdates):
+   '''Update the vcs's modified index if it is needed'''
+   pass

diff --git a/pym/repoman/modules/vcs/git/changes.py 
b/pym/repoman/modules/vcs/git/changes.py
index 1970b3a..018458c 100644
--- a/pym/repoman/modules/vcs/git/changes.py
+++ b/pym/repoman/modules/vcs/git/changes.py
@@ -2,11 +2,16 @@
 Git module Changes class submodule
 '''
 
+import logging
+import sys
+
 from repoman.modules.vcs.changes import ChangesBase
 from repoman._subprocess import repoman_popen
 from repoman._portage import portage
 from portage import os
 from portage.package.ebuild.digestgen import digestgen
+from portage.process import spawn
+from portage.util import writemsg_level
 
 
 class Changes(ChangesBase):
@@ -63,3 +68,25 @@ class Changes(ChangesBase):
for x in broken_changelog_manifests:
self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, x)
digestgen(mysettings=self.repoman_settings, 
myportdb=self.repo_settings.portdb)
+
+   def update_index(self, mymanifests, myupdates):
+   # It's not safe to use the git commit -a option since there 
might
+   # be some modified files elsewhere in the working tree that the
+   # user doesn't want to commit. Therefore, call git update-index
+   # in order to ensure that the index is updated with the latest
+   # versions of all new and modified files in the relevant portion
+   # of the working tree.
+   myfiles = mymanifests + myupdates
+   myfiles.sort()
+   update_index_cmd = ["git", "update-index"]
+   update_index_cmd.extend(f.lstrip("./") for f in myfiles)
+   if self.options.pretend:
+   print("(%s)" % (" ".join(update_index_cmd),))
+   else:
+   retval = spawn(update_index_cmd, env=os.environ)
+   if retval != os.EX_OK:
+

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/metadata/, ...

2016-03-07 Thread Brian Dolbec
commit: d3caf31f0bdf92dd87d313ca552f1269c26682e8
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Jan  3 23:10:48 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:20:55 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=d3caf31f

repoman: Migrate RestrictChecks to a plugin module

 pym/repoman/modules/scan/metadata/__init__.py  |  9 +++
 .../scan/metadata}/restrict.py | 29 +++---
 pym/repoman/scanner.py |  9 +--
 3 files changed, 30 insertions(+), 17 deletions(-)

diff --git a/pym/repoman/modules/scan/metadata/__init__.py 
b/pym/repoman/modules/scan/metadata/__init__.py
index c8f3609..4f376e1 100644
--- a/pym/repoman/modules/scan/metadata/__init__.py
+++ b/pym/repoman/modules/scan/metadata/__init__.py
@@ -46,6 +46,15 @@ module_spec = {
'func_desc': {
},
},
+   'restrict-metadata': {
+   'name': "restrict",
+   'sourcefile': "restrict",
+   'class': "RestrictChecks",
+   'description': doc,
+   'functions': ['check'],
+   'func_desc': {
+   },
+   },
}
 }
 

diff --git a/pym/repoman/checks/ebuilds/variables/restrict.py 
b/pym/repoman/modules/scan/metadata/restrict.py
similarity index 54%
rename from pym/repoman/checks/ebuilds/variables/restrict.py
rename to pym/repoman/modules/scan/metadata/restrict.py
index 215b792..93ca298 100644
--- a/pym/repoman/checks/ebuilds/variables/restrict.py
+++ b/pym/repoman/modules/scan/metadata/restrict.py
@@ -12,21 +12,23 @@ from repoman.qa_data import valid_restrict
 class RestrictChecks(object):
'''Perform checks on the RESTRICT variable.'''
 
-   def __init__(self, qatracker):
+   def __init__(self, **kwargs):
'''
@param qatracker: QATracker instance
'''
-   self.qatracker = qatracker
+   self.qatracker = kwargs.get('qatracker')
 
-   def check(self, pkg, package, ebuild, y_ebuild):
+   def check(self, **kwargs):
+   xpkg = kwargs.get('xpkg')
+   ebuild = kwargs.get('ebuild')
+   y_ebuild = kwargs.get('y_ebuild')
myrestrict = None
 
try:
myrestrict = portage.dep.use_reduce(
-   pkg._metadata["RESTRICT"], matchall=1, 
flat=True)
+   ebuild.metadata["RESTRICT"], matchall=1, 
flat=True)
except portage.exception.InvalidDependString as e:
-   self. qatracker.add_error(
-   "RESTRICT.syntax",
+   self.qatracker.add_error("RESTRICT.syntax",
"%s: RESTRICT: %s" % (ebuild.relative_path, e))
del e
 
@@ -36,6 +38,15 @@ class RestrictChecks(object):
 
if mybadrestrict:
for mybad in mybadrestrict:
-   self.qatracker.add_error(
-   "RESTRICT.invalid",
-   package + "/" + y_ebuild + 
".ebuild: %s" % mybad)
+   
self.qatracker.add_error("RESTRICT.invalid",
+   "%s/%s.ebuild: %s" % (xpkg, 
y_ebuild, mybad))
+   return {'continue': False}
+
+   @property
+   def runInPkgs(self):
+   return (False, [])
+
+   @property
+   def runInEbuilds(self):
+   return (True, [self.check])
+

diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py
index 8d83cac..92e2abd 100644
--- a/pym/repoman/scanner.py
+++ b/pym/repoman/scanner.py
@@ -18,7 +18,6 @@ from portage import _unicode_encode
 from portage.dep import Atom
 from portage.output import green
 from repoman.checks.ebuilds.checks import run_checks
-from repoman.checks.ebuilds.variables.restrict import RestrictChecks
 from repoman.modules.commit import repochecks
 from repoman.profile import check_profiles, dev_profile_keywords, setup_profile
 from repoman.repos import repo_metadata
@@ -211,10 +210,6 @@ class Scanner(object):
print("Initializing class name:", mod_class.__name__)
self.modules[mod_class.__name__] = 
mod_class(**self.kwargs)
 
-   # initialize our checks classes here before the big xpkg loop
-   self.restrictcheck = RestrictChecks(self.qatracker)
-
-
def scan_pkgs(self, can_force):
dynamic_data = {'can_force': can_force}
for xpkg in self.effective_scanlist:
@@ -298,7 +293,7 @@ class Scanner(object):
('description', 'DescriptionChecks'), (Non

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/use/, pym/repoman/modules/scan/directories/, ...

2016-03-07 Thread Brian Dolbec
commit: f79df71b0788043d265c3289259869c6272a422b
Author: Brian Dolbec  gentoo  org>
AuthorDate: Mon Mar  7 21:04:01 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:36 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=f79df71b

repoman: Add docstrings to the final vcs and scan modules

 pym/repoman/modules/scan/arches/arches.py  | 13 
 pym/repoman/modules/scan/depend/depend.py  | 13 
 pym/repoman/modules/scan/depend/profile.py | 27 +++
 pym/repoman/modules/scan/depend/unknown.py | 13 
 pym/repoman/modules/scan/directories/files.py  |  1 +
 pym/repoman/modules/scan/directories/mtime.py  |  8 ++
 pym/repoman/modules/scan/eapi/eapi.py  |  2 +
 pym/repoman/modules/scan/ebuild/ebuild.py  | 22 +-
 pym/repoman/modules/scan/ebuild/isebuild.py|  3 +-
 pym/repoman/modules/scan/ebuild/multicheck.py  | 16 
 pym/repoman/modules/scan/eclasses/live.py  |  6 ++
 pym/repoman/modules/scan/eclasses/ruby.py  |  8 +-
 pym/repoman/modules/scan/fetch/fetches.py  |  1 +
 pym/repoman/modules/scan/keywords/keywords.py  |  1 +
 pym/repoman/modules/scan/manifest/manifests.py | 25 ++
 pym/repoman/modules/scan/metadata/pkgmetadata.py   |  1 +
 .../modules/scan/mirrors/thirdpartymirrors.py  |  1 +
 pym/repoman/modules/scan/options/options.py|  9 +++
 pym/repoman/modules/scan/status/vcsstatus.py   |  1 +
 pym/repoman/modules/scan/use/use_flags.py  |  1 +
 pym/repoman/modules/vcs/None/changes.py| 15 +++-
 pym/repoman/modules/vcs/bzr/changes.py | 13 +++-
 pym/repoman/modules/vcs/bzr/status.py  |  2 +-
 pym/repoman/modules/vcs/changes.py | 90 +++---
 pym/repoman/modules/vcs/cvs/changes.py | 54 +
 pym/repoman/modules/vcs/cvs/status.py  |  2 +-
 pym/repoman/modules/vcs/git/changes.py | 24 +-
 pym/repoman/modules/vcs/git/status.py  |  5 ++
 pym/repoman/modules/vcs/hg/changes.py  | 21 -
 pym/repoman/modules/vcs/hg/status.py   |  2 +-
 pym/repoman/modules/vcs/settings.py| 13 
 pym/repoman/modules/vcs/svn/changes.py | 42 ++
 pym/repoman/modules/vcs/svn/status.py  |  2 +-
 pym/repoman/modules/vcs/vcs.py | 13 +++-
 34 files changed, 397 insertions(+), 73 deletions(-)

diff --git a/pym/repoman/modules/scan/arches/arches.py 
b/pym/repoman/modules/scan/arches/arches.py
index 5a58d15..bb9e204 100644
--- a/pym/repoman/modules/scan/arches/arches.py
+++ b/pym/repoman/modules/scan/arches/arches.py
@@ -2,13 +2,25 @@
 
 
 class ArchChecks(object):
+   '''Perform arch keyword checks'''
 
def __init__(self, **kwargs):
+   '''Class init
+
+   @param options: the run time cli options
+   @param repo_settings: repository settings instance
+   @param profiles: dictionary
+   '''
self.options = kwargs.get('options')
self.repo_settings = kwargs.get('repo_settings')
self.profiles = kwargs.get('profiles')
 
def check(self, **kwargs):
+   '''Determines the arches for the ebuild following the profile 
rules
+
+   @param ebuild: Ebuild which we check (object).
+   @returns: dictionary, including arches set
+   '''
ebuild = kwargs.get('ebuild')
if self.options.ignore_arches:
arches = [[
@@ -57,4 +69,5 @@ class ArchChecks(object):
 
@property
def runInEbuilds(self):
+   '''Ebuild level scans'''
return (True, [self.check])

diff --git a/pym/repoman/modules/scan/depend/depend.py 
b/pym/repoman/modules/scan/depend/depend.py
index 2f90eee..72438e9 100644
--- a/pym/repoman/modules/scan/depend/depend.py
+++ b/pym/repoman/modules/scan/depend/depend.py
@@ -10,12 +10,24 @@ from repoman.qa_data import suspect_virtual, suspect_rdepend
 
 
 class DependChecks(object):
+   '''Perform dependency checks'''
 
def __init__(self, **kwargs):
+   '''
+   @param portdb: portdb instance
+   @param qatracker: QATracker instance
+   '''
self.qatracker = kwargs.get('qatracker')
self.portdb = kwargs.get('portdb')
 
def check(self, **kwargs):
+   '''Checks the ebuild dependencies for errors
+
+   @param pkg: Package in which we check (object).
+   @param ebuild: Ebuild which we check (object).
+   @returns: dictionary including {unknown_pkgs, type_list,
+   
badlicsyntax, baddepsyntax}
+   '''
ebuild = kwargs.get('ebuild')
  

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/svn/, pym/repoman/modules/vcs/None/, ...

2016-03-07 Thread Brian Dolbec
commit: b11562b9e5f8e26a44cb99baf31860ae2e379053
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Feb  7 18:50:21 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:35 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=b11562b9

repoman: Add repo_settings to VCSSettings class and the Changes classes

Needed for more code migration from atcions.py to the vcs modules.

 pym/repoman/main.py | 4 
 pym/repoman/modules/vcs/None/changes.py | 4 ++--
 pym/repoman/modules/vcs/bzr/changes.py  | 4 ++--
 pym/repoman/modules/vcs/changes.py  | 4 +++-
 pym/repoman/modules/vcs/cvs/changes.py  | 4 ++--
 pym/repoman/modules/vcs/git/changes.py  | 4 ++--
 pym/repoman/modules/vcs/hg/changes.py   | 4 ++--
 pym/repoman/modules/vcs/svn/changes.py  | 4 ++--
 8 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/pym/repoman/main.py b/pym/repoman/main.py
index 6921005..337e638 100755
--- a/pym/repoman/main.py
+++ b/pym/repoman/main.py
@@ -84,6 +84,7 @@ def repoman_main(argv):
myreporoot = os.path.basename(portdir_overlay)
myreporoot += mydir[len(portdir_overlay):]
 
+   # avoid a circular parameter repo_settings
vcs_settings = VCSSettings(options, repoman_settings)
 
repo_settings = RepoSettings(
@@ -91,6 +92,9 @@ def repoman_main(argv):
repoman_settings, vcs_settings, options, qawarnings)
repoman_settings = repo_settings.repoman_settings
 
+   # Now set repo_settings
+   vcs_settings.repo_settings = repo_settings
+
if 'digest' in repoman_settings.features and options.digest != 'n':
options.digest = 'y'
 

diff --git a/pym/repoman/modules/vcs/None/changes.py 
b/pym/repoman/modules/vcs/None/changes.py
index 759b554..37693ad 100644
--- a/pym/repoman/modules/vcs/None/changes.py
+++ b/pym/repoman/modules/vcs/None/changes.py
@@ -12,12 +12,12 @@ class Changes(ChangesBase):
 
vcs = 'None'
 
-   def __init__(self, options):
+   def __init__(self, options, repo_settings):
'''Class init
 
@param options: commandline options
'''
-   super(Changes, self).__init__(options)
+   super(Changes, self).__init__(options, repo_settings)
 
def scan(self):
'''VCS type scan function, looks for all detectable changes'''

diff --git a/pym/repoman/modules/vcs/bzr/changes.py 
b/pym/repoman/modules/vcs/bzr/changes.py
index 519d311..9bd0646 100644
--- a/pym/repoman/modules/vcs/bzr/changes.py
+++ b/pym/repoman/modules/vcs/bzr/changes.py
@@ -13,12 +13,12 @@ class Changes(ChangesBase):
 
vcs = 'bzr'
 
-   def __init__(self, options):
+   def __init__(self, options, repo_settings):
'''Class init
 
@param options: commandline options
'''
-   super(Changes, self).__init__(options)
+   super(Changes, self).__init__(options, repo_settings)
 
def _scan(self):
'''VCS type scan function, looks for all detectable changes'''

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 1745a65..921e9b5 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -13,8 +13,10 @@ class ChangesBase(object):
 
vcs = 'None'
 
-   def __init__(self, options):
+   def __init__(self, options, repo_settings):
self.options = options
+   self.repo_settings = repo_settings
+   self.repoman_settings = repo_settings.repoman_settings
self._reset()
 
def _reset(self):

diff --git a/pym/repoman/modules/vcs/cvs/changes.py 
b/pym/repoman/modules/vcs/cvs/changes.py
index 061486f..5fc9642 100644
--- a/pym/repoman/modules/vcs/cvs/changes.py
+++ b/pym/repoman/modules/vcs/cvs/changes.py
@@ -16,12 +16,12 @@ class Changes(ChangesBase):
 
vcs = 'cvs'
 
-   def __init__(self, options):
+   def __init__(self, options, repo_settings):
'''Class init
 
@param options: commandline options
'''
-   super(Changes, self).__init__(options)
+   super(Changes, self).__init__(options, repo_settings)
self._tree = None
 
def _scan(self):

diff --git a/pym/repoman/modules/vcs/git/changes.py 
b/pym/repoman/modules/vcs/git/changes.py
index d0b6acd..f159298 100644
--- a/pym/repoman/modules/vcs/git/changes.py
+++ b/pym/repoman/modules/vcs/git/changes.py
@@ -13,12 +13,12 @@ class Changes(ChangesBase):
 
vcs = 'git'
 
-   def __init__(self, options):
+   def __init__(self, options, repo_settings):
'''Class init
 
@param options: commandline options
'''
-   super(Changes, self).__init__(options)
+   super(Changes, self).__init__(options, repo_settings)
 
def _scan(self):

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/metadata/, pym/repoman/

2016-03-07 Thread Brian Dolbec
commit: 048c07d97b0a813ab0547ab23e27f6667751d166
Author: Brian Dolbec  gentoo  org>
AuthorDate: Mon Jan  4 08:37:22 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:33 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=048c07d9

repoman: Create a metadata UnusedCheck and final pkg checks

Create a plugin loop for any final pkg checks.
Create the one plugin for the unused use-descriptions in mteadata.xml.

 pym/repoman/modules/scan/metadata/__init__.py |  9 +++
 pym/repoman/modules/scan/metadata/unused.py   | 32 
 pym/repoman/scanner.py| 36 ---
 3 files changed, 68 insertions(+), 9 deletions(-)

diff --git a/pym/repoman/modules/scan/metadata/__init__.py 
b/pym/repoman/modules/scan/metadata/__init__.py
index 4f376e1..f619764 100644
--- a/pym/repoman/modules/scan/metadata/__init__.py
+++ b/pym/repoman/modules/scan/metadata/__init__.py
@@ -55,6 +55,15 @@ module_spec = {
'func_desc': {
},
},
+   'unused-metadata': {
+   'name': "unused",
+   'sourcefile': "unused",
+   'class': "UnusedCheck",
+   'description': doc,
+   'functions': ['check'],
+   'func_desc': {
+   },
+   },
}
 }
 

diff --git a/pym/repoman/modules/scan/metadata/unused.py 
b/pym/repoman/modules/scan/metadata/unused.py
new file mode 100644
index 000..5eb6716
--- /dev/null
+++ b/pym/repoman/modules/scan/metadata/unused.py
@@ -0,0 +1,32 @@
+
+
+class UnusedCheck(object):
+
+   def __init__(self, **kwargs):
+   self.qatracker = kwargs.get('qatracker')
+
+   def check(self, **kwargs):
+   xpkg = kwargs.get('xpkg')
+   muselist = kwargs.get('muselist')
+   used_useflags = kwargs.get('used_useflags')
+   # check if there are unused local USE-descriptions in 
metadata.xml
+   # (unless there are any invalids, to avoid noise)
+   if kwargs.get('allvalid'):
+   for myflag in muselist.difference(used_useflags):
+   self.qatracker.add_error(
+   "metadata.warning",
+   "%s/metadata.xml: unused local 
USE-description: '%s'"
+   % (xpkg, myflag))
+   return {'continue': False}
+
+   @property
+   def runInPkgs(self):
+   return (False, [])
+
+   @property
+   def runInEbuilds(self):
+   return (False, [])
+
+   @property
+   def runInFinal(self):
+   return (True, [self.check])

diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py
index ca1de5f..da9dcac 100644
--- a/pym/repoman/scanner.py
+++ b/pym/repoman/scanner.py
@@ -270,7 +270,6 @@ class Scanner(object):
 
 
def _scan_ebuilds(self, ebuildlist, dynamic_data):
-   xpkg = dynamic_data['xpkg']
# detect unused local USE-descriptions
dynamic_data['used_useflags'] = set()
 
@@ -318,11 +317,30 @@ class Scanner(object):
if y_ebuild_continue:
continue
 
-   # check if there are unused local USE-descriptions in 
metadata.xml
-   # (unless there are any invalids, to avoid noise)
-   if dynamic_data['allvalid']:
-   for myflag in 
dynamic_data['muselist'].difference(dynamic_data['used_useflags']):
-   self.qatracker.add_error(
-   "metadata.warning",
-   "%s/metadata.xml: unused local 
USE-description: '%s'"
-   % (xpkg, myflag))
+   # Final checks
+   # initialize per pkg plugin final checks here
+   # need to set it up for ==> self.modules_list or some other 
ordered list
+   xpkg_complete = False
+   for mod in [('unused', 'UnusedChecks')]:
+   if mod[0]:
+   mod_class = MODULE_CONTROLLER.get_class(mod[0])
+   print("Initializing class name:", 
mod_class.__name__)
+   self.modules[mod[1]] = mod_class(**self.kwargs)
+   print("scan_ebuilds final checks: module:", mod[1])
+   do_it, functions = self.modules[mod[1]].runInFinal
+   # print("do_it", do_it, "functions", functions)
+   if do_it:
+   for func in functions:
+   print("\tRunning function:", func)
+   rdata = func(**dynamic_data)

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/bzr/, pym/repoman/modules/vcs/, ...

2016-03-07 Thread Brian Dolbec
commit: d048fc3fd3009f999ba50a7d0e2181759bae6a6d
Author: Brian Dolbec  gentoo  org>
AuthorDate: Tue Feb 16 20:06:30 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:36 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=d048fc3f

repoman: Migrate the commit code to the vcs modules

 pym/repoman/actions.py  | 84 +
 pym/repoman/modules/vcs/None/changes.py | 13 +
 pym/repoman/modules/vcs/bzr/changes.py  |  1 -
 pym/repoman/modules/vcs/changes.py  | 20 
 pym/repoman/modules/vcs/cvs/changes.py  |  1 -
 pym/repoman/modules/vcs/git/changes.py  | 10 
 pym/repoman/modules/vcs/hg/changes.py   | 16 +++
 7 files changed, 82 insertions(+), 63 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index cdd..4393e52 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -7,21 +7,19 @@ import io
 import logging
 import platform
 import signal
-import subprocess
 import sys
 import tempfile
 from itertools import chain
 
 from _emerge.UserQuery import UserQuery
 
-import portage
+from repoman._portage import portage
 from portage import os
 from portage import _encodings
 from portage import _unicode_encode
 from portage.output import (
bold, create_color_func, green, red)
 from portage.package.ebuild.digestgen import digestgen
-from portage.process import find_binary, spawn
 from portage.util import writemsg_level
 
 from repoman.gpg import gpgsign, need_signature
@@ -432,43 +430,18 @@ class Actions(object):
mymsg.write(_unicode_encode(commitmessage))
mymsg.close()
 
-   commit_cmd = []
-   if self.options.pretend and self.vcs_settings.vcs is None:
-   # substitute a bogus value for pretend output
-   commit_cmd.append("cvs")
-   else:
-   commit_cmd.append(self.vcs_settings.vcs)
-   commit_cmd.extend(self.vcs_settings.vcs_global_opts)
-   commit_cmd.append("commit")
-   commit_cmd.extend(self.vcs_settings.vcs_local_opts)
-   if self.vcs_settings.vcs == "hg":
-   commit_cmd.extend(["--logfile", commitmessagefile])
-   commit_cmd.extend(myfiles)
-   else:
-   commit_cmd.extend(["-F", commitmessagefile])
-   commit_cmd.extend(f.lstrip("./") for f in myfiles)
-
+   retval = self.vcs_settings.changes.commit(myfiles, 
commitmessagefile)
+   # cleanup the commit message before possibly exiting
try:
-   if self.options.pretend:
-   print("(%s)" % (" ".join(commit_cmd),))
-   else:
-   retval = spawn(commit_cmd, 
env=self.repo_settings.commit_env)
-   if retval != os.EX_OK:
-   if 
self.repo_settings.repo_config.sign_commit and not 
self.vcs_settings.status.supports_gpg_sign():
-   # Inform user that newer git is 
needed (bug #403323).
-   logging.error(
-   "Git >=1.7.9 is 
required for signed commits!")
-
-   writemsg_level(
-   "!!! Exiting on %s (shell) "
-   "error code: %s\n" % 
(self.vcs_settings.vcs, retval),
-   level=logging.ERROR, 
noiselevel=-1)
-   sys.exit(retval)
-   finally:
-   try:
-   os.unlink(commitmessagefile)
-   except OSError:
-   pass
+   os.unlink(commitmessagefile)
+   except OSError:
+   pass
+   if retval != os.EX_OK:
+   writemsg_level(
+   "!!! Exiting on %s (shell) "
+   "error code: %s\n" % (self.vcs_settings.vcs, 
retval),
+   level=logging.ERROR, noiselevel=-1)
+   sys.exit(retval)
 
 
def priming_commit(self, myupdates, myremoved, commitmessage):
@@ -492,29 +465,18 @@ class Actions(object):
# so strip the prefix.
myfiles = [f.lstrip("./") for f in myfiles]
 
-   commit_cmd = [self.vcs_settings.vcs]
-   commit_cmd.extend(self.vcs_settings.vcs_global_opts)
-   commit_cmd.append("commit")
-   commit_cmd.extend(self.vcs_settings.vcs_local_opts)
-   commit_cmd.extend(["-F", commitmessagefile])
-   commit_cmd.extend(myfiles)

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/, pym/repoman/, pym/repoman/modules/vcs/None/

2016-03-07 Thread Brian Dolbec
commit: 8ac28a818f6aa9edd23afd674086e154c70eeef9
Author: Brian Dolbec  gentoo  org>
AuthorDate: Wed Feb 10 18:08:55 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:36 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=8ac28a81

repoman: Migrate add items to the vcs modules

 pym/repoman/actions.py  | 25 +
 pym/repoman/modules/vcs/None/changes.py |  4 
 pym/repoman/modules/vcs/changes.py  | 20 
 3 files changed, 25 insertions(+), 24 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index 4209d13..cdd 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -411,30 +411,7 @@ class Actions(object):
 
if myautoadd:
print(">>> Auto-Adding missing Manifest/ChangeLog 
file(s)...")
-   add_cmd = [self.vcs_settings.vcs, "add"]
-   add_cmd += myautoadd
-   if self.options.pretend:
-   portage.writemsg_stdout(
-   "(%s)\n" % " ".join(add_cmd),
-   noiselevel=-1)
-   else:
-
-   if sys.hexversion < 0x302 and 
sys.hexversion >= 0x300 and \
-   not os.path.isabs(add_cmd[0]):
-   # Python 3.1 _execvp throws TypeError 
for non-absolute executable
-   # path passed as bytes (see 
http://bugs.python.org/issue8513).
-   fullname = find_binary(add_cmd[0])
-   if fullname is None:
-   raise 
portage.exception.CommandNotFound(add_cmd[0])
-   add_cmd[0] = fullname
-
-   add_cmd = [_unicode_encode(arg) for arg in 
add_cmd]
-   retcode = subprocess.call(add_cmd)
-   if retcode != os.EX_OK:
-   logging.error(
-   "Exiting on %s error code: 
%s\n" % (self.vcs_settings.vcs, retcode))
-   sys.exit(retcode)
-
+   self.vcs_settings.add_items(myautoadd)
myupdates += myautoadd
return myupdates, broken_changelog_manifests
 

diff --git a/pym/repoman/modules/vcs/None/changes.py 
b/pym/repoman/modules/vcs/None/changes.py
index 37693ad..98beedb 100644
--- a/pym/repoman/modules/vcs/None/changes.py
+++ b/pym/repoman/modules/vcs/None/changes.py
@@ -22,3 +22,7 @@ class Changes(ChangesBase):
def scan(self):
'''VCS type scan function, looks for all detectable changes'''
pass
+
+   def add_items(self, myautoadd):
+   '''Nothing to add them to'''
+   pass

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 948407c..ee94217 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -2,9 +2,14 @@
 Base Changes class
 '''
 
+import logging
 import os
+import subprocess
+import sys
 from itertools import chain
 
+from repoman._portage import portage
+from portage import _unicode_encode
 
 class ChangesBase(object):
'''Base Class object to scan and hold the resultant data
@@ -89,3 +94,18 @@ class ChangesBase(object):
def update_index(self, mymanifests, myupdates):
'''Update the vcs's modified index if it is needed'''
pass
+
+   def add_items(self, myautoadd):
+   add_cmd = [self.vcs, "add"]
+   add_cmd += myautoadd
+   if self.options.pretend:
+   portage.writemsg_stdout(
+   "(%s)\n" % " ".join(add_cmd),
+   noiselevel=-1)
+   else:
+   add_cmd = [_unicode_encode(arg) for arg in 
add_cmd]
+   retcode = subprocess.call(add_cmd)
+   if retcode != os.EX_OK:
+   logging.error(
+   "Exiting on %s error code: 
%s\n" % (self.vcs_settings.vcs, retcode))
+   sys.exit(retcode)



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/cvs/, pym/repoman/, pym/repoman/modules/vcs/

2016-03-07 Thread Brian Dolbec
commit: 0a1c62dcf051dae85cac185673abcec686a12052
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Feb  7 18:46:27 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:35 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=0a1c62dc

repoman:  Move clear_attic() code to the modules

 pym/repoman/actions.py | 24 +---
 pym/repoman/modules/vcs/changes.py |  4 
 pym/repoman/modules/vcs/cvs/changes.py | 21 +
 3 files changed, 26 insertions(+), 23 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index 20116db..e045295 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -152,7 +152,7 @@ class Actions(object):
# inside the $Header path. This code detects the problem and 
corrects it
# so that the Manifest will generate correctly. See bug #169500.
# Use binary mode in order to avoid potential character 
encoding issues.
-   self.clear_attic(myheaders)
+   self.vcs_settings.changes.clear_attic(myheaders)
 
if self.scanner.repolevel == 1:
utilities.repoman_sez(
@@ -571,28 +571,6 @@ class Actions(object):
pass
 
 
-
-
-   def clear_attic(self, myheaders):
-   cvs_header_re = re.compile(br'^#\s*\$Header.*\$$')
-   attic_str = b'/Attic/'
-   attic_replace = b'/'
-   for x in myheaders:
-   f = open(
-   _unicode_encode(x, encoding=_encodings['fs'], 
errors='strict'),
-   mode='rb')
-   mylines = f.readlines()
-   f.close()
-   modified = False
-   for i, line in enumerate(mylines):
-   if cvs_header_re.match(line) is not None and \
-   attic_str in line:
-   mylines[i] = line.replace(attic_str, 
attic_replace)
-   modified = True
-   if modified:
-   portage.util.write_atomic(x, b''.join(mylines), 
mode='wb')
-
-
def sign_manifest(self, myupdates, myremoved, mymanifests):
try:
for x in sorted(vcs_files_to_cps(

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 77d7dc1..1745a65 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -74,3 +74,7 @@ class ChangesBase(object):
'''Create a thick manifest'''
pass
 
+   @staticmethod
+   def clear_attic(myheaders):
+   '''Old CVS leftover'''
+   pass

diff --git a/pym/repoman/modules/vcs/cvs/changes.py 
b/pym/repoman/modules/vcs/cvs/changes.py
index 6accd4a..061486f 100644
--- a/pym/repoman/modules/vcs/cvs/changes.py
+++ b/pym/repoman/modules/vcs/cvs/changes.py
@@ -41,6 +41,27 @@ class Changes(ChangesBase):
return self._unadded
self._unadded = portage.cvstree.findunadded(self._tree, 
recursive=1, basedir="./")
return self._unadded
+
+   @staticmethod
+   def clear_attic(myheaders):
+   cvs_header_re = re.compile(br'^#\s*\$Header.*\$$')
+   attic_str = b'/Attic/'
+   attic_replace = b'/'
+   for x in myheaders:
+   f = open(
+   _unicode_encode(x, encoding=_encodings['fs'], 
errors='strict'),
+   mode='rb')
+   mylines = f.readlines()
+   f.close()
+   modified = False
+   for i, line in enumerate(mylines):
+   if cvs_header_re.match(line) is not None and \
+   attic_str in line:
+   mylines[i] = line.replace(attic_str, 
attic_replace)
+   modified = True
+   if modified:
+   portage.util.write_atomic(x, b''.join(mylines), 
mode='wb')
+
def thick_manifest(self, myupdates, myheaders, no_expansion, expansion):
headerstring = "'\$(Header|Id).*\$'"
 



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/bzr/, pym/repoman/modules/vcs/, ...

2016-03-07 Thread Brian Dolbec
commit: 91ae4371c30cde3c24c15a74502abf74d7f8004b
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sat Jan 30 07:58:04 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:34 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=91ae4371

repoman: Create docstrings for all new vcs module files

 pym/repoman/modules/vcs/None/changes.py |  9 -
 pym/repoman/modules/vcs/None/status.py  | 35 ++---
 pym/repoman/modules/vcs/bzr/__init__.py |  2 +-
 pym/repoman/modules/vcs/bzr/changes.py  |  9 -
 pym/repoman/modules/vcs/bzr/status.py   | 30 
 pym/repoman/modules/vcs/changes.py  |  3 +++
 pym/repoman/modules/vcs/cvs/__init__.py |  2 +-
 pym/repoman/modules/vcs/cvs/changes.py  |  8 +++-
 pym/repoman/modules/vcs/cvs/status.py   | 18 +
 pym/repoman/modules/vcs/git/__init__.py |  2 +-
 pym/repoman/modules/vcs/git/changes.py  |  9 -
 pym/repoman/modules/vcs/git/status.py   | 33 +++
 pym/repoman/modules/vcs/hg/__init__.py  |  2 +-
 pym/repoman/modules/vcs/hg/changes.py   |  9 -
 pym/repoman/modules/vcs/hg/status.py| 31 +
 pym/repoman/modules/vcs/settings.py |  2 +-
 pym/repoman/modules/vcs/svn/__init__.py |  2 +-
 pym/repoman/modules/vcs/svn/changes.py  |  9 -
 pym/repoman/modules/vcs/svn/status.py   | 27 ++---
 19 files changed, 220 insertions(+), 22 deletions(-)

diff --git a/pym/repoman/modules/vcs/None/changes.py 
b/pym/repoman/modules/vcs/None/changes.py
index f95af69..759b554 100644
--- a/pym/repoman/modules/vcs/None/changes.py
+++ b/pym/repoman/modules/vcs/None/changes.py
@@ -1,4 +1,6 @@
-
+'''
+None module Changes class submodule
+'''
 
 from repoman.modules.vcs.changes import ChangesBase
 
@@ -11,7 +13,12 @@ class Changes(ChangesBase):
vcs = 'None'
 
def __init__(self, options):
+   '''Class init
+
+   @param options: commandline options
+   '''
super(Changes, self).__init__(options)
 
def scan(self):
+   '''VCS type scan function, looks for all detectable changes'''
pass

diff --git a/pym/repoman/modules/vcs/None/status.py 
b/pym/repoman/modules/vcs/None/status.py
index b23fa10..d6e5ca0 100644
--- a/pym/repoman/modules/vcs/None/status.py
+++ b/pym/repoman/modules/vcs/None/status.py
@@ -1,24 +1,53 @@
-
+'''
+None (non-VCS) module Status class submodule
+'''
 
 
 class Status(object):
+   '''Performs status checks on the svn repository'''
 
def __init__(self, qatracker, eadded):
+   '''Class init
+
+   @param qatracker: QATracker class instance
+   @param eadded: list
+   '''
self.qatracker = qatracker
self.eadded = eadded
 
def check(self, checkdir, checkdir_relative, xpkg):
+   '''Perform the svn status check
+
+   @param checkdir: string of the directory being checked
+   @param checkdir_relative: string of the relative directory 
being checked
+   @param xpkg: string of the package being checked
+   @returns: boolean
+   '''
return True
 
@staticmethod
-   def supports_gpg_sign():
+   def detect_conflicts(options):
+   '''Are there any merge conflicts present in the VCS tracking 
system
+
+   @param options: command line options
+   @returns: Boolean
+   '''
return False
 
@staticmethod
-   def detect_conflicts(options):
+   def supports_gpg_sign():
+   '''Does this vcs system support gpg commit signatures
+
+   @returns: Boolean
+   '''
return False
 
@staticmethod
def isVcsDir(dirname):
+   '''Is the directory belong to the vcs system
+
+   @param dirname: string, directory name
+   @returns: Boolean
+   '''
return False
 

diff --git a/pym/repoman/modules/vcs/bzr/__init__.py 
b/pym/repoman/modules/vcs/bzr/__init__.py
index 1192782..4490ed8 100644
--- a/pym/repoman/modules/vcs/bzr/__init__.py
+++ b/pym/repoman/modules/vcs/bzr/__init__.py
@@ -1,7 +1,7 @@
 # Copyright 2014-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-doc = """BZR plug-in module for portage.
+doc = """Bazaar (bzr) plug-in module for portage.
 Performs variaous Bazaar actions and checks on repositories."""
 __doc__ = doc[:]
 

diff --git a/pym/repoman/modules/vcs/bzr/changes.py 
b/pym/repoman/modules/vcs/bzr/changes.py
index 41ce347..519d311 100644
--- a/pym/repoman/modules/vcs/bzr/changes.py
+++ b/pym/repoman/modules/vcs/bzr/changes.py
@@ -1,4 +1,6 @@
-
+'''
+Bazaar module Changes class submodule
+'''
 
 from repoman.modules.vcs.cha

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/

2016-03-07 Thread Brian Dolbec
commit: 83303ff0602a1022df7e7d88d2686b5f1805fadf
Author: Mike Gilbert  gentoo  org>
AuthorDate: Thu Jan 21 18:51:16 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:34 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=83303ff0

metadata.py: Resolve error when moving metadata.dtd

If DISTDIR and PORTDIR/metadata/dtd live on different filesystems,
os.rename() will fail. Use shutil.move() instead.

 pym/repoman/metadata.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pym/repoman/metadata.py b/pym/repoman/metadata.py
index f1fa53a..e95ad41 100644
--- a/pym/repoman/metadata.py
+++ b/pym/repoman/metadata.py
@@ -19,6 +19,7 @@ from repoman._portage import portage
 
 from portage import exception
 from portage import os
+from portage import shutil
 from portage.output import green
 
 if sys.hexversion >= 0x300:
@@ -143,7 +144,7 @@ def fetch_metadata_dtd(metadata_dtd, repoman_settings):
except portage.exception.PortageException:
pass
 
-   os.rename(metadata_dtd_tmp, metadata_dtd)
+   shutil.move(metadata_dtd_tmp, metadata_dtd)
finally:
try:
os.unlink(metadata_dtd_tmp)



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/None/, pym/repoman/modules/vcs/git/, ...

2016-03-07 Thread Brian Dolbec
commit: 55213288d6bcf4b8739564beb55ad83732afcb6b
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sat Jan 30 01:58:36 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:34 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=55213288

repoman: Migrate actions.py vcs code to the vcs modules

Add missing changes code to the existing Changes classes.
This removes the duplicated code in the Actions class.
Optimize the code for the vcs modules.

 pym/repoman/actions.py   | 213 +--
 pym/repoman/modules/vcs/None/__init__.py |   1 +
 pym/repoman/modules/vcs/bzr/__init__.py  |   1 +
 pym/repoman/modules/vcs/bzr/changes.py   |  21 ++-
 pym/repoman/modules/vcs/changes.py   |  29 +
 pym/repoman/modules/vcs/cvs/__init__.py  |   1 +
 pym/repoman/modules/vcs/cvs/changes.py   |  29 -
 pym/repoman/modules/vcs/git/__init__.py  |   1 +
 pym/repoman/modules/vcs/git/changes.py   |  26 +++-
 pym/repoman/modules/vcs/hg/__init__.py   |   1 +
 pym/repoman/modules/vcs/hg/changes.py|  40 +-
 pym/repoman/modules/vcs/settings.py  |   5 +-
 pym/repoman/modules/vcs/svn/__init__.py  |   1 +
 pym/repoman/modules/vcs/svn/changes.py   |  38 +-
 14 files changed, 190 insertions(+), 217 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index 3fd940c..15a0d04 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -16,7 +16,6 @@ from itertools import chain
 from _emerge.UserQuery import UserQuery
 
 import portage
-from portage import cvstree
 from portage import os
 from portage import _encodings
 from portage import _unicode_encode
@@ -26,8 +25,7 @@ from portage.package.ebuild.digestgen import digestgen
 from portage.process import find_binary, spawn
 from portage.util import writemsg_level
 
-from repoman._subprocess import repoman_popen, repoman_getstatusoutput
-from repoman.errors import err
+from repoman._subprocess import repoman_getstatusoutput
 from repoman.gpg import gpgsign, need_signature
 from repoman import utilities
 from repoman.modules.vcs.vcs import vcs_files_to_cps
@@ -71,13 +69,11 @@ class Actions(object):
 
 
def perform(self, qa_output):
-   myunadded, mydeleted = self._vcs_unadded()
+   myautoadd = self._vcs_autoadd()
 
-   myautoadd = self._vcs_autoadd(myunadded)
+   self._vcs_deleted()
 
-   self._vcs_deleted(mydeleted)
-
-   changes = self.get_vcs_changed(mydeleted)
+   changes = self.get_vcs_changed()
 
mynew, mychanged, myremoved, no_expansion, expansion = changes
 
@@ -127,12 +123,14 @@ class Actions(object):
 
print("* %s files being committed..." % 
green(str(len(myupdates))), end=' ')
 
-   if self.vcs_settings.vcs not in ('cvs', 'svn'):
-   # With git, bzr and hg, there's never any keyword 
expansion, so
+   if not self.vcs_settings.needs_keyword_expansion:
+   # With some VCS types there's never any keyword 
expansion, so
# there's no need to regenerate manifests and all files 
will be
# committed in one big commit at the end.
+   logging.debug("VCS type doesn't need keyword expansion")
print()
elif not self.repo_settings.repo_config.thin_manifest:
+   logging.debug("perform: Calling thick_manifest()")
self.thick_manifest(myupdates, myheaders, no_expansion, 
expansion)
 
logging.info("myupdates: %s", myupdates)
@@ -261,62 +259,8 @@ class Actions(object):
sys.exit(1)
 
 
-   def _vcs_unadded(self):
-   myunadded = []
-   mydeleted = []
-   if self.vcs_settings.vcs == "cvs":
-   try:
-   myvcstree = portage.cvstree.getentries("./", 
recursive=1)
-   myunadded = portage.cvstree.findunadded(
-   myvcstree, recursive=1, basedir="./")
-   except SystemExit:
-   raise  # TODO propagate this
-   except:
-   err("Error retrieving CVS tree; exiting.")
-   if self.vcs_settings.vcs == "svn":
-   try:
-   with repoman_popen("svn status --no-ignore") as 
f:
-   svnstatus = f.readlines()
-   myunadded = [
-   "./" + elem.rstrip().split()[1]
-   for elem in svnstatus
-   if elem.startswith("?") or 
elem.startswith("I")]
-   except SystemExit:
-   raise  # TODO propagate t

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/

2016-03-07 Thread Brian Dolbec
commit: 89abcf8e4a66a51bb7b621769889ec5ebb64cacd
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Jan  3 21:55:33 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:20:54 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=89abcf8e

repoman: Migrate additional dynamic data setting to the USEFlagsChecks

 pym/repoman/scanner.py | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py
index 467e6e1..9b42696 100644
--- a/pym/repoman/scanner.py
+++ b/pym/repoman/scanner.py
@@ -286,7 +286,7 @@ class Scanner(object):
def _scan_ebuilds(self, ebuildlist, dynamic_data):
xpkg = dynamic_data['xpkg']
# detect unused local USE-descriptions
-   used_useflags = set()
+   dynamic_data['used_useflags'] = set()
 
for y_ebuild in ebuildlist:
dynamic_data['y_ebuild'] = y_ebuild
@@ -327,8 +327,6 @@ class Scanner(object):
if y_ebuild_continue:
continue
 
-   used_useflags = 
used_useflags.union(dynamic_data['ebuild_UsedUseFlags'])
-
# license checks
if not dynamic_data['badlicsyntax']:
self.licensecheck.check(dynamic_data['pkg'], 
xpkg, dynamic_data['ebuild'], y_ebuild)
@@ -538,7 +536,7 @@ class Scanner(object):
# check if there are unused local USE-descriptions in 
metadata.xml
# (unless there are any invalids, to avoid noise)
if dynamic_data['allvalid']:
-   for myflag in 
dynamic_data['muselist'].difference(used_useflags):
+   for myflag in 
dynamic_data['muselist'].difference(dynamic_data['used_useflags']):
self.qatracker.add_error(
"metadata.warning",
"%s/metadata.xml: unused local 
USE-description: '%s'"



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/vcs/, pym/repoman/, pym/repoman/modules/vcs/svn/, ...

2016-03-07 Thread Brian Dolbec
commit: 9fee4e53f308324cb556e9fec2f94a91d8e04662
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Feb  7 18:32:59 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:35 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=9fee4e53

repoman: Migrate thick_manifest to the vcs Changes classes

 pym/repoman/actions.py | 53 ++
 pym/repoman/modules/vcs/changes.py |  5 
 pym/repoman/modules/vcs/cvs/changes.py | 19 
 pym/repoman/modules/vcs/svn/changes.py | 42 +++
 4 files changed, 68 insertions(+), 51 deletions(-)

diff --git a/pym/repoman/actions.py b/pym/repoman/actions.py
index 15a0d04..20116db 100644
--- a/pym/repoman/actions.py
+++ b/pym/repoman/actions.py
@@ -131,7 +131,8 @@ class Actions(object):
print()
elif not self.repo_settings.repo_config.thin_manifest:
logging.debug("perform: Calling thick_manifest()")
-   self.thick_manifest(myupdates, myheaders, no_expansion, 
expansion)
+   self.vcs_settings.changes.thick_manifest(myupdates, 
myheaders,
+   no_expansion, expansion)
 
logging.info("myupdates: %s", myupdates)
logging.info("myheaders: %s", myheaders)
@@ -570,56 +571,6 @@ class Actions(object):
pass
 
 
-   def thick_manifest(self, myupdates, myheaders, no_expansion, expansion):
-   if self.vcs_settings.vcs == 'cvs':
-   headerstring = "'\$(Header|Id).*\$'"
-   elif self.vcs_settings.vcs == "svn":
-   svn_keywords = dict((k.lower(), k) for k in [
-   "Rev",
-   "Revision",
-   "LastChangedRevision",
-   "Date",
-   "LastChangedDate",
-   "Author",
-   "LastChangedBy",
-   "URL",
-   "HeadURL",
-   "Id",
-   "Header",
-   ])
-
-   for myfile in myupdates:
-
-   # for CVS, no_expansion contains files that are 
excluded from expansion
-   if self.vcs_settings.vcs == "cvs":
-   if myfile in no_expansion:
-   continue
-
-   # for SVN, expansion contains files that are included 
in expansion
-   elif self.vcs_settings.vcs == "svn":
-   if myfile not in expansion:
-   continue
-
-   # Subversion keywords are case-insensitive
-   # in svn:keywords properties,
-   # but case-sensitive in contents of files.
-   enabled_keywords = []
-   for k in expansion[myfile]:
-   keyword = svn_keywords.get(k.lower())
-   if keyword is not None:
-   enabled_keywords.append(keyword)
-
-   headerstring = "'\$(%s).*\$'" % 
"|".join(enabled_keywords)
-
-   myout = repoman_getstatusoutput(
-   "egrep -q %s %s" % (headerstring, 
portage._shell_quote(myfile)))
-   if myout[0] == 0:
-   myheaders.append(myfile)
-
-   print("%s have headers that will change." % 
green(str(len(myheaders
-   print(
-   "* Files with headers will"
-   " cause the manifests to be changed and committed 
separately.")
 
 
def clear_attic(self, myheaders):

diff --git a/pym/repoman/modules/vcs/changes.py 
b/pym/repoman/modules/vcs/changes.py
index 76ad591..77d7dc1 100644
--- a/pym/repoman/modules/vcs/changes.py
+++ b/pym/repoman/modules/vcs/changes.py
@@ -69,3 +69,8 @@ class ChangesBase(object):
def expansion(self):
'''Override this function as needed'''
return {}
+
+   def thick_manifest(self, myupdates, myheaders, no_expansion, expansion):
+   '''Create a thick manifest'''
+   pass
+

diff --git a/pym/repoman/modules/vcs/cvs/changes.py 
b/pym/repoman/modules/vcs/cvs/changes.py
index 3ef91cc..6accd4a 100644
--- a/pym/repoman/modules/vcs/cvs/changes.py
+++ b/pym/repoman/modules/vcs/cvs/changes.py
@@ -41,3 +41,22 @@ class Changes(ChangesBase):
return self._unadded
self._unadded = portage.cvstree.findunadded(self._tree, 
recursive=1, basedir="./")
   

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/metadata/, ...

2016-03-07 Thread Brian Dolbec
commit: aa2cb7a3259c776a2434282065aea5f339346bd8
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Jan  3 23:09:27 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:20:54 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=aa2cb7a3

repoman: Migrate license checks to a plugin module

 pym/repoman/checks/ebuilds/variables/license.py | 47 --
 pym/repoman/modules/scan/metadata/__init__.py   |  9 +
 pym/repoman/modules/scan/metadata/license.py| 53 +
 pym/repoman/scanner.py  |  7 +---
 4 files changed, 63 insertions(+), 53 deletions(-)

diff --git a/pym/repoman/checks/ebuilds/variables/license.py 
b/pym/repoman/checks/ebuilds/variables/license.py
deleted file mode 100644
index bdc859c..000
--- a/pym/repoman/checks/ebuilds/variables/license.py
+++ /dev/null
@@ -1,47 +0,0 @@
-
-'''description.py
-Perform checks on the LICENSE variable.
-'''
-
-# import our initialized portage instance
-from repoman._portage import portage
-
-
-class LicenseChecks(object):
-   '''Perform checks on the LICENSE variable.'''
-
-   def __init__(self, qatracker, liclist, liclist_deprecated):
-   '''
-   @param qatracker: QATracker instance
-   @param liclist: List of licenses.
-   @param liclist: List of deprecated licenses.
-   '''
-   self.qatracker = qatracker
-   self.liclist = liclist
-   self.liclist_deprecated = liclist_deprecated
-
-   def check(
-   self, pkg, package, ebuild, y_ebuild):
-   '''
-   @param pkg: Package in which we check (object).
-   @param package: Package in which we check (string).
-   @param ebuild: Ebuild which we check (object).
-   @param y_ebuild: Ebuild which we check (string).
-   '''
-
-   # Parse the LICENSE variable, remove USE conditions and flatten 
it.
-   licenses = portage.dep.use_reduce(
-   pkg._metadata["LICENSE"], matchall=1, flat=True)
-
-   # Check each entry to ensure that it exists in 
${PORTDIR}/licenses/.
-   for lic in licenses:
-   # Need to check for "||" manually as no portage
-   # function will remove it without removing values.
-   if lic not in self.liclist and lic != "||":
-   self.qatracker.add_error(
-   "LICENSE.invalid",
-   package + "/" + y_ebuild + ".ebuild: 
%s" % lic)
-   elif lic in self.liclist_deprecated:
-   self.qatracker.add_error(
-   "LICENSE.deprecated",
-   "%s: %s" % (ebuild.relative_path, lic))

diff --git a/pym/repoman/modules/scan/metadata/__init__.py 
b/pym/repoman/modules/scan/metadata/__init__.py
index 83aac7f..c8f3609 100644
--- a/pym/repoman/modules/scan/metadata/__init__.py
+++ b/pym/repoman/modules/scan/metadata/__init__.py
@@ -37,6 +37,15 @@ module_spec = {
'func_desc': {
},
},
+   'license-metadata': {
+   'name': "license",
+   'sourcefile': "license",
+   'class': "LicenseChecks",
+   'description': doc,
+   'functions': ['check'],
+   'func_desc': {
+   },
+   },
}
 }
 

diff --git a/pym/repoman/modules/scan/metadata/license.py 
b/pym/repoman/modules/scan/metadata/license.py
new file mode 100644
index 000..b022b20
--- /dev/null
+++ b/pym/repoman/modules/scan/metadata/license.py
@@ -0,0 +1,53 @@
+
+'''license.py
+Perform checks on the LICENSE variable.
+'''
+
+# import our initialized portage instance
+from repoman._portage import portage
+
+
+class LicenseChecks(object):
+   '''Perform checks on the LICENSE variable.'''
+
+   def __init__(self, **kwargs):
+   '''
+   @param qatracker: QATracker instance
+   @param repo_metadata: dictionary of various repository items.
+   '''
+   self.qatracker = kwargs.get('qatracker')
+   self.repo_metadata = kwargs.get('repo_metadata')
+
+   def check(self, **kwargs):
+   '''
+   @param xpkg: Package in which we check (string).
+   @param ebuild: Ebuild which we check (object).
+   @param y_ebuild: Ebuild which we check (string).
+   '''
+   xpkg = kwargs.get('xpkg')
+   ebuild = kwargs.get('ebuild')
+   y_ebuild = kwargs.get('y_ebuild')
+   if not kwargs.get('badlicsyntax'):
+   # Parse the L

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/directories/

2016-03-07 Thread Brian Dolbec
commit: dd2be6987e095001bb23280f2d76cfe0122822c2
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Jan  3 23:23:52 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:20:55 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=dd2be698

repoman: Migrate code to a new MtimeChecks class in directories plugin

 pym/repoman/modules/scan/directories/__init__.py |  9 +
 pym/repoman/modules/scan/directories/mtime.py| 20 
 pym/repoman/scanner.py   |  5 +
 3 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/pym/repoman/modules/scan/directories/__init__.py 
b/pym/repoman/modules/scan/directories/__init__.py
index bcc6eca..ec18d30 100644
--- a/pym/repoman/modules/scan/directories/__init__.py
+++ b/pym/repoman/modules/scan/directories/__init__.py
@@ -19,6 +19,15 @@ module_spec = {
'func_kwargs': {
},
},
+   'mtime-module': {
+   'name': "mtime",
+   'sourcefile': "mtime",
+   'class': "MtimeChecks",
+   'description': doc,
+   'functions': ['check'],
+   'func_kwargs': {
+   },
+   },
}
 }
 

diff --git a/pym/repoman/modules/scan/directories/mtime.py 
b/pym/repoman/modules/scan/directories/mtime.py
new file mode 100644
index 000..e25b553
--- /dev/null
+++ b/pym/repoman/modules/scan/directories/mtime.py
@@ -0,0 +1,20 @@
+
+
+class MtimeChecks(object):
+
+   def __init__(self, **kwargs):
+   self.vcs_settings = kwargs.get('vcs_settings')
+
+   def check(self, **kwargs):
+   ebuild = kwargs.get('ebuild')
+   changed = kwargs.get('changed')
+   pkg = kwargs.get('pkg')
+   if not self.vcs_settings.vcs_preserves_mtime:
+   if ebuild.ebuild_path not in changed.new_ebuilds and \
+   ebuild.ebuild_path not in 
changed.ebuilds:
+   pkg.mtime = None
+   return {'continue': False}
+
+   @property
+   def runInEbuilds(self):
+   return (True, [self.check])

diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py
index 92e2abd..308b440 100644
--- a/pym/repoman/scanner.py
+++ b/pym/repoman/scanner.py
@@ -294,6 +294,7 @@ class Scanner(object):
('arches', 'ArchChecks'), ('depend', 
'DependChecks'),
('use_flags', 'USEFlagChecks'), ('ruby', 
'RubyEclassChecks'),
('license', 'LicenseChecks'), ('restrict', 
'RestrictChecks'),
+   ('mtime', 'MtimeChecks'),
]:
if mod[0]:
mod_class = 
MODULE_CONTROLLER.get_class(mod[0])
@@ -322,10 +323,6 @@ class Scanner(object):
continue
 
# Syntax Checks
-   if not self.vcs_settings.vcs_preserves_mtime:
-   if dynamic_data['ebuild'].ebuild_path not in 
self.changed.new_ebuilds and \
-   dynamic_data['ebuild'].ebuild_path not 
in self.changed.ebuilds:
-   dynamic_data['pkg'].mtime = None
try:
# All ebuilds should have utf_8 encoding.
f = io.open(



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/metadata/

2016-03-07 Thread Brian Dolbec
commit: 22937d639ec51f67a0d6ab8caa054d716cf43992
Author: Brian Dolbec  gentoo  org>
AuthorDate: Thu Jan 21 18:29:07 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:34 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=22937d63

repoman: Fix a traceback due to xmlint not being installed for a manifest 
generation

Mike helped find teh fact that self.binary was None, causing the misleading 
traceback.
Tighten up the logic in XmlLint.
Bypass the PkgMetadata check for manifest mode.

floppym@naomi btrfs-progs % repoman manifest
>>> Creating Manifest for /home/floppym/repos/gentoo/sys-fs/btrfs-progs
Traceback (most recent call last):
  File "/home/floppym/bin/repoman", line 37, in 
repoman_main(sys.argv[1:])
  File "/home/floppym/src/portage/pym/repoman/main.py", line 111, in 
repoman_main
can_force = scanner.scan_pkgs(can_force)
  File "/home/floppym/src/portage/pym/repoman/scanner.py", line 242, in 
scan_pkgs
rdata = func(**dynamic_data)
  File 
"/home/floppym/src/portage/pym/repoman/modules/scan/metadata/pkgmetadata.py", 
line 180, in check
if not self.xmllint.check(checkdir, repolevel):
  File "/home/floppym/src/portage/pym/repoman/_xml.py", line 98, in check
os.path.join(checkdir, "metadata.xml"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

 pym/repoman/_xml.py  | 2 +-
 pym/repoman/modules/scan/metadata/pkgmetadata.py | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/pym/repoman/_xml.py b/pym/repoman/_xml.py
index 2661f14..f7ff9fb 100644
--- a/pym/repoman/_xml.py
+++ b/pym/repoman/_xml.py
@@ -60,6 +60,7 @@ class XmlLint(object):
self.repoman_settings = repoman_settings
self._is_capable = metadata_dtd is not None
self.binary = None
+   self._is_capable = False
self._check_capable()
 
def _check_capable(self):
@@ -68,7 +69,6 @@ class XmlLint(object):
self.binary = find_binary('xmllint')
if not self.binary:
print(red("!!! xmllint not found. Can't check 
metadata.xml.\n"))
-   self._is_capable = False
elif not self._is_capable:
if not fetch_metadata_dtd(self.metadata_dtd, 
self.repoman_settings):
sys.exit(1)

diff --git a/pym/repoman/modules/scan/metadata/pkgmetadata.py 
b/pym/repoman/modules/scan/metadata/pkgmetadata.py
index 220fd23..8e93457 100644
--- a/pym/repoman/modules/scan/metadata/pkgmetadata.py
+++ b/pym/repoman/modules/scan/metadata/pkgmetadata.py
@@ -71,6 +71,9 @@ class PkgMetadata(ScanBase):
repolevel = kwargs.get('repolevel')
 
self.musedict = {}
+   if self.options.mode in ['manifest']:
+   return {'continue': False, 'muselist': 
frozenset(self.musedict)}
+
# metadata.xml file check
if "metadata.xml" not in checkdirlist:
self.qatracker.add_error("metadata.missing", xpkg + 
"/metadata.xml")



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/options/, pym/repoman/

2016-03-07 Thread Brian Dolbec
commit: 2290fc1382ac8051f595187bda03dc25fcb3b6fb
Author: Brian Dolbec  gentoo  org>
AuthorDate: Mon Jan  4 07:55:55 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:11 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=2290fc13

repoman: Create a new Options class plugin

This handles an options.force bypass using the is_forced() from withing the 
plugin system.

 pym/repoman/modules/scan/options/__init__.py | 24 
 pym/repoman/modules/scan/options/options.py  | 18 ++
 pym/repoman/scanner.py   | 10 ++
 3 files changed, 44 insertions(+), 8 deletions(-)

diff --git a/pym/repoman/modules/scan/options/__init__.py 
b/pym/repoman/modules/scan/options/__init__.py
new file mode 100644
index 000..2d3d9d2
--- /dev/null
+++ b/pym/repoman/modules/scan/options/__init__.py
@@ -0,0 +1,24 @@
+# Copyright 2015-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+doc = """Options plug-in module for repoman.
+Performs option related actions on ebuilds."""
+__doc__ = doc[:]
+
+
+module_spec = {
+   'name': 'options',
+   'description': doc,
+   'provides':{
+   'options-module': {
+   'name': "options",
+   'sourcefile': "options",
+   'class': "Options",
+   'description': doc,
+   'functions': ['is_forced'],
+   'func_desc': {
+   },
+   },
+   }
+}
+

diff --git a/pym/repoman/modules/scan/options/options.py 
b/pym/repoman/modules/scan/options/options.py
new file mode 100644
index 000..c2546d6
--- /dev/null
+++ b/pym/repoman/modules/scan/options/options.py
@@ -0,0 +1,18 @@
+
+
+class Options(object):
+
+   def __init__(self, **kwargs):
+   self.options = kwargs.get('options')
+
+   def is_forced(self, **kwargs):
+   if self.options.force:
+   # The dep_check() calls are the most expensive QA test. 
If --force
+   # is enabled, there's no point in wasting time on these 
since the
+   # user is intent on forcing the commit anyway.
+   return {'continue': True}
+   return {'continue': False}
+
+   @property
+   def runInEbuilds(self):
+   return (True, [self.is_forced])

diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py
index 78ff053..2625de4 100644
--- a/pym/repoman/scanner.py
+++ b/pym/repoman/scanner.py
@@ -291,6 +291,8 @@ class Scanner(object):
('use_flags', 'USEFlagChecks'), ('ruby', 
'RubyEclassChecks'),
('license', 'LicenseChecks'), ('restrict', 
'RestrictChecks'),
('mtime', 'MtimeChecks'), ('multicheck', 
'MultiCheck'),
+   # Options.is_forced() is used to bypass further 
checks
+   ('options', 'Options'),
]:
if mod[0]:
mod_class = 
MODULE_CONTROLLER.get_class(mod[0])
@@ -318,14 +320,6 @@ class Scanner(object):
if y_ebuild_continue:
continue
 
-   # Syntax Checks
-
-   if self.options.force:
-   # The dep_check() calls are the most expensive 
QA test. If --force
-   # is enabled, there's no point in wasting time 
on these since the
-   # user is intent on forcing the commit anyway.
-   continue
-
relevant_profiles = []
for keyword, arch, groups in dynamic_data['arches']:
if arch not in self.profiles:



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/depend/, pym/repoman/

2016-03-07 Thread Brian Dolbec
commit: 66b6e342f08b2e36270ee3c50ae3f94670a429fc
Author: Brian Dolbec  gentoo  org>
AuthorDate: Mon Jan  4 08:09:33 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:25 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=66b6e342

repoman: Create a new DependUnknown plugin class

 pym/repoman/modules/scan/depend/__init__.py |  9 +
 pym/repoman/modules/scan/depend/unknown.py  | 26 ++
 pym/repoman/scanner.py  | 10 +-
 3 files changed, 36 insertions(+), 9 deletions(-)

diff --git a/pym/repoman/modules/scan/depend/__init__.py 
b/pym/repoman/modules/scan/depend/__init__.py
index cddb7f1..9fd7970 100644
--- a/pym/repoman/modules/scan/depend/__init__.py
+++ b/pym/repoman/modules/scan/depend/__init__.py
@@ -28,6 +28,15 @@ module_spec = {
'func_desc': {
},
},
+   'unknown-module': {
+   'name': "unknown",
+   'sourcefile': "unknown",
+   'class': "DependUnknown",
+   'description': doc,
+   'functions': ['check'],
+   'func_desc': {
+   },
+   },
}
 }
 

diff --git a/pym/repoman/modules/scan/depend/unknown.py 
b/pym/repoman/modules/scan/depend/unknown.py
new file mode 100644
index 000..b61a6e2
--- /dev/null
+++ b/pym/repoman/modules/scan/depend/unknown.py
@@ -0,0 +1,26 @@
+# -*- coding:utf-8 -*-
+
+
+class DependUnknown(object):
+
+   def __init__(self, **kwargs):
+   self.qatracker = kwargs.get('qatracker')
+
+   def check(self, **kwargs):
+   ebuild = kwargs.get('ebuild')
+   baddepsyntax = kwargs.get('baddepsyntax')
+   unknown_pkgs = kwargs.get('unknown_pkgs')
+
+   if not baddepsyntax and unknown_pkgs:
+   type_map = {}
+   for mytype, atom in unknown_pkgs:
+   type_map.setdefault(mytype, set()).add(atom)
+   for mytype, atoms in type_map.items():
+   self.qatracker.add_error(
+   "dependency.unknown", "%s: %s: %s"
+   % (ebuild.relative_path, mytype, ", 
".join(sorted(atoms
+   return {'continue': False}
+
+   @property
+   def runInEbuilds(self):
+   return (True, [self.check])

diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py
index b82cefb..ca1de5f 100644
--- a/pym/repoman/scanner.py
+++ b/pym/repoman/scanner.py
@@ -290,6 +290,7 @@ class Scanner(object):
('mtime', 'MtimeChecks'), ('multicheck', 
'MultiCheck'),
# Options.is_forced() is used to bypass further 
checks
('options', 'Options'), ('profile', 
'ProfileDependsChecks'),
+   ('unknown', 'DependUnknown'),
]:
if mod[0]:
mod_class = 
MODULE_CONTROLLER.get_class(mod[0])
@@ -317,15 +318,6 @@ class Scanner(object):
if y_ebuild_continue:
continue
 
-   if not dynamic_data['baddepsyntax'] and 
dynamic_data['unknown_pkgs']:
-   type_map = {}
-   for mytype, atom in 
dynamic_data['unknown_pkgs']:
-   type_map.setdefault(mytype, 
set()).add(atom)
-   for mytype, atoms in type_map.items():
-   self.qatracker.add_error(
-   "dependency.unknown", "%s: %s: 
%s"
-   % 
(dynamic_data['ebuild'].relative_path, mytype, ", ".join(sorted(atoms
-
# check if there are unused local USE-descriptions in 
metadata.xml
# (unless there are any invalids, to avoid noise)
if dynamic_data['allvalid']:



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/ebuild/

2016-03-07 Thread Brian Dolbec
commit: 64b3755649925fba5c244b1556867647d9755d6b
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Jan  3 17:33:26 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:20:54 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=64b37556

repoman: Move ebuild_archs to the Ebuild class

 pym/repoman/modules/scan/ebuild/ebuild.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pym/repoman/modules/scan/ebuild/ebuild.py 
b/pym/repoman/modules/scan/ebuild/ebuild.py
index 953f425..2414028 100644
--- a/pym/repoman/modules/scan/ebuild/ebuild.py
+++ b/pym/repoman/modules/scan/ebuild/ebuild.py
@@ -36,6 +36,7 @@ class Ebuild(ScanBase):
self.eapi = None
self.inherited = None
self.keywords = None
+   self.archs = None
 
def _set_paths(self, **kwargs):
repolevel = kwargs.get('repolevel')



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/

2016-03-07 Thread Brian Dolbec
commit: 2ee1570a70dcad357b65d49cf229bd089a0e279b
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sun Jan  3 05:33:17 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:33 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=2ee1570a

repoman: Enable verbosity option to be useful for setting the logging level

Verbosity option was not being used internally.
Convert debug print's added to proper debug messages.

 pym/repoman/main.py| 13 ++---
 pym/repoman/scanner.py | 35 +++
 2 files changed, 29 insertions(+), 19 deletions(-)

diff --git a/pym/repoman/main.py b/pym/repoman/main.py
index 890e034..6921005 100755
--- a/pym/repoman/main.py
+++ b/pym/repoman/main.py
@@ -19,7 +19,6 @@ from portage import os
 import portage.checksum
 import portage.const
 import portage.repository.config
-from portage import util
 from portage.output import create_color_func, nocolor
 from portage.output import ConsoleStyleFile, StyleWriter
 from portage.util import formatter
@@ -37,13 +36,14 @@ from repoman.modules.vcs.settings import VCSSettings
 if sys.hexversion >= 0x300:
basestring = str
 
-util.initialize_logger()
-
 bad = create_color_func("BAD")
 
 # A sane umask is needed for files that portage creates.
 os.umask(0o22)
 
+LOGLEVEL = logging.WARNING
+portage.util.initialize_logger(LOGLEVEL)
+
 
 def repoman_main(argv):
config_root = os.environ.get("PORTAGE_CONFIGROOT")
@@ -61,6 +61,13 @@ def repoman_main(argv):
print("Portage", portage.VERSION)
sys.exit(0)
 
+   logger = logging.getLogger()
+
+   if options.verbosity > 0:
+   logger.setLevel(LOGLEVEL - 10 * options.verbosity)
+   else:
+   logger.setLevel(LOGLEVEL)
+
if options.experimental_inherit == 'y':
# This is experimental, so it's non-fatal.
qawarnings.add("inherit.missing")

diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py
index da9dcac..1b49061 100644
--- a/pym/repoman/scanner.py
+++ b/pym/repoman/scanner.py
@@ -19,13 +19,13 @@ from portage.module import Modules
 
 MODULES_PATH = os.path.join(os.path.dirname(__file__), "modules", "scan")
 # initial development debug info
-#print("module path:", path)
+logging.debug("module path: %s", MODULES_PATH)
 
 MODULE_CONTROLLER = Modules(path=MODULES_PATH, namepath="repoman.modules.scan")
 
-# initial development debug info
-#print(module_controller.module_names)
 MODULE_NAMES = MODULE_CONTROLLER.module_names[:]
+# initial development debug info
+logging.debug("module_names: %s", MODULE_NAMES)
 
 
 class Scanner(object):
@@ -200,7 +200,7 @@ class Scanner(object):
for mod in ['manifests', 'isebuild', 'keywords', 'files', 
'vcsstatus',
'fetches', 'pkgmetadata']:
mod_class = MODULE_CONTROLLER.get_class(mod)
-   print("Initializing class name:", mod_class.__name__)
+   logging.debug("Initializing class name: %s", 
mod_class.__name__)
self.modules[mod_class.__name__] = 
mod_class(**self.kwargs)
 
def scan_pkgs(self, can_force):
@@ -208,7 +208,7 @@ class Scanner(object):
for xpkg in self.effective_scanlist:
xpkg_continue = False
# ebuilds and digests added to cvs respectively.
-   logging.info("checking package %s" % xpkg)
+   logging.info("checking package %s", xpkg)
# save memory by discarding xmatch caches from previous 
package(s)
self.caches['arch_xmatch'].clear()
self.eadded = []
@@ -236,7 +236,7 @@ class Scanner(object):
# need to set it up for ==> self.modules or some other 
ordered list
for mod in ['Manifests', 'IsEbuild', 'KeywordChecks', 
'FileChecks',
'VCSStatus', 'FetchChecks', 
'PkgMetadata']:
-   print("scan_pkgs(): module:", mod)
+   logging.debug("scan_pkgs; module: %s", mod)
do_it, functions = self.modules[mod].runInPkgs
if do_it:
for func in functions:
@@ -300,7 +300,7 @@ class Scanner(object):
logging.debug("do_it: %s, functions: %s", 
do_it, [x.__name__ for x in functions])
if do_it:
for func in functions:
-   print("\tRunning function:", 
func)
+   logging.debug("\tRunning 
function: %s", func)
rdata = func(**dynamic_data)

[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/fix/, pym/repoman/modules/manifest/, ...

2016-03-07 Thread Brian Dolbec
commit: 48278c3803f62c4e711eeaad7d13cafc133348eb
Author: Brian Dolbec  gentoo  org>
AuthorDate: Wed Jan  6 03:08:08 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:34 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=48278c38

repoman: Delete unused subpkgs

 pym/repoman/checks/ebuilds/variables/__init__.py | 0
 pym/repoman/modules/fix/__init__.py  | 0
 pym/repoman/modules/full/__init__.py | 0
 pym/repoman/modules/manifest/__init__.py | 0
 4 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/pym/repoman/checks/ebuilds/variables/__init__.py 
b/pym/repoman/checks/ebuilds/variables/__init__.py
deleted file mode 100644
index e69de29..000

diff --git a/pym/repoman/modules/fix/__init__.py 
b/pym/repoman/modules/fix/__init__.py
deleted file mode 100644
index e69de29..000

diff --git a/pym/repoman/modules/full/__init__.py 
b/pym/repoman/modules/full/__init__.py
deleted file mode 100644
index e69de29..000

diff --git a/pym/repoman/modules/manifest/__init__.py 
b/pym/repoman/modules/manifest/__init__.py
deleted file mode 100644
index e69de29..000



[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/depend/

2016-03-07 Thread Brian Dolbec
commit: 4b25757dc8ebc42e276b07aa190a21682963a35a
Author: Brian Dolbec  gentoo  org>
AuthorDate: Mon Jan  4 07:57:36 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Mon Mar  7 21:21:18 2016 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=4b25757d

repoman: Move the large depency checks loop to a new plugin 
ProfileDependsChecks class

 pym/repoman/modules/scan/depend/__init__.py |   9 ++
 pym/repoman/modules/scan/depend/profile.py  | 207 
 pym/repoman/repos.py|   1 +
 pym/repoman/scanner.py  | 181 +---
 4 files changed, 224 insertions(+), 174 deletions(-)

diff --git a/pym/repoman/modules/scan/depend/__init__.py 
b/pym/repoman/modules/scan/depend/__init__.py
index ebc716c..cddb7f1 100644
--- a/pym/repoman/modules/scan/depend/__init__.py
+++ b/pym/repoman/modules/scan/depend/__init__.py
@@ -19,6 +19,15 @@ module_spec = {
'func_desc': {
},
},
+   'profile-module': {
+   'name': "profile",
+   'sourcefile': "profile",
+   'class': "ProfileDependsChecks",
+   'description': doc,
+   'functions': ['check'],
+   'func_desc': {
+   },
+   },
}
 }
 

diff --git a/pym/repoman/modules/scan/depend/profile.py 
b/pym/repoman/modules/scan/depend/profile.py
new file mode 100644
index 000..db63b1c
--- /dev/null
+++ b/pym/repoman/modules/scan/depend/profile.py
@@ -0,0 +1,207 @@
+# -*- coding:utf-8 -*-
+
+
+import copy
+from pprint import pformat
+
+from _emerge.Package import Package
+
+# import our initialized portage instance
+from repoman._portage import portage
+from portage.dep import Atom
+
+
+def sort_key(item):
+   return item[2].sub_path
+
+
+class ProfileDependsChecks(object):
+
+   def __init__(self, **kwargs):
+   self.qatracker = kwargs.get('qatracker')
+   self.portdb = kwargs.get('portdb')
+   self.profiles = kwargs.get('profiles')
+   self.options = kwargs.get('options')
+   self.repo_settings = kwargs.get('repo_settings')
+   self.include_arches = kwargs.get('include_arches')
+   self.caches = kwargs.get('caches')
+   self.repoman_incrementals = kwargs.get('repoman_incrementals')
+   self.env = kwargs.get('env')
+   self.have = kwargs.get('have')
+   self.dev_keywords = kwargs.get('dev_keywords')
+
+   def check(self, **kwargs):
+   arches = kwargs.get('arches')
+   ebuild = kwargs.get('ebuild')
+   pkg = kwargs.get('pkg')
+   baddepsyntax = kwargs.get('baddepsyntax')
+   unknown_pkgs = kwargs.get('unknown_pkgs')
+
+   relevant_profiles = []
+   for keyword, arch, groups in arches:
+   if arch not in self.profiles:
+   # A missing profile will create an error 
further down
+   # during the KEYWORDS verification.
+   continue
+
+   if self.include_arches is not None:
+   if arch not in self.include_arches:
+   continue
+
+   relevant_profiles.extend(
+   (keyword, groups, prof) for prof in 
self.profiles[arch])
+
+   relevant_profiles.sort(key=sort_key)
+
+   for keyword, groups, prof in relevant_profiles:
+
+   is_stable_profile = prof.status == "stable"
+   is_dev_profile = prof.status == "dev" and \
+   self.options.include_dev
+   is_exp_profile = prof.status == "exp" and \
+   self.options.include_exp_profiles == 'y'
+   if not (is_stable_profile or is_dev_profile or 
is_exp_profile):
+   continue
+
+   dep_settings = self.caches['arch'].get(prof.sub_path)
+   if dep_settings is None:
+   dep_settings = portage.config(
+   config_profile_path=prof.abs_path,
+   
config_incrementals=self.repoman_incrementals,
+   
config_root=self.repo_settings.config_root,
+   local_config=False,
+   
_unmatched_removal=self.options.unmatched_removal,
+   env=self.env, 
repositories=self.repo_settings.repoman_settings.repositories)
+   dep_settings.categories = 
self.repo_settings.repoman_settings.catego

[gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/

2016-03-07 Thread Mike Frysinger
commit: b8413ccc65775dee6709e6a2ab98758ad3ec24b0
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Mar  7 21:39:44 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Mar  7 21:39:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8413ccc

mail-mta/nullmailer: enable LFS support #471102

 mail-mta/nullmailer/nullmailer-2.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.0.ebuild 
b/mail-mta/nullmailer/nullmailer-2.0.ebuild
index 859c4b3..c8efc5a 100644
--- a/mail-mta/nullmailer/nullmailer-2.0.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 inherit autotools eutils flag-o-matic multilib systemd user
 
 DESCRIPTION="Simple relay-only local mail transport agent"
-HOMEPAGE="http://untroubled.org/nullmailer/";
+HOMEPAGE="http://untroubled.org/nullmailer/ 
https://github.com/bruceg/nullmailer";
 SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz";
 
 LICENSE="GPL-2"
@@ -56,6 +56,8 @@ src_prepare() {
 }
 
 src_configure() {
+   # https://github.com/bruceg/nullmailer/pull/31/commits
+   append-lfs-flags #471102
econf \
--localstatedir=/var \
$(use_enable ssl tls)



[gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/

2016-03-07 Thread Mike Frysinger
commit: fd0c3a3111e0809008e02050368fd10980a53140
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Mar  7 21:39:06 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Mar  7 21:39:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0c3a31

mail-mta/nullmailer: style cleanups -- no functional changes

 mail-mta/nullmailer/asd   | 123 --
 mail-mta/nullmailer/nullmailer-2.0.ebuild |   4 +-
 2 files changed, 2 insertions(+), 125 deletions(-)

diff --git a/mail-mta/nullmailer/asd b/mail-mta/nullmailer/asd
deleted file mode 100644
index c461dea..000
--- a/mail-mta/nullmailer/asd
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools eutils flag-o-matic multilib systemd user
-
-DESCRIPTION="Simple relay-only local mail transport agent"
-HOMEPAGE="http://untroubled.org/nullmailer/";
-SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz";
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86"
-IUSE="ssl"
-
-DEPEND="
-   sys-apps/groff
-   ssl? ( net-libs/gnutls )"
-RDEPEND="
-   virtual/logger
-   virtual/shadow
-   ssl? ( net-libs/gnutls )
-   !mail-mta/courier
-   !mail-mta/esmtp
-   !mail-mta/exim
-   !mail-mta/mini-qmail
-   !mail-mta/msmtp
-   !mail-mta/netqmail
-   !mail-mta/postfix
-   !mail-mta/qmail-ldap
-   !mail-mta/sendmail
-   !mail-mta/opensmtpd
-   !mail-mta/ssmtp"
-
-pkg_setup() {
-   enewgroup nullmail 88
-   enewuser nullmail 88 -1 /var/spool/nullmailer nullmail
-}
-
-src_prepare() {
-   sed -e "s#/usr/local/etc#/etc#" -e "s#/usr/local/libexec#/usr/libexec#" 
-i doc/nullmailer-send.8
-}
-
-src_configure() {
-   econf \
-   --localstatedir=/var \
-   $(use_enable ssl tls)
-}
-
-src_install () {
-   emake DESTDIR="${D}" install
-
-   dodoc AUTHORS BUGS HOWTO INSTALL ChangeLog NEWS README TODO doc/DIAGRAM
-
-   # A small bit of sample config
-   insinto /etc/nullmailer
-   newins "${FILESDIR}"/remotes.sample-1.13 remotes
-
-   # This contains passwords, so should be secure
-   fperms 0640 /etc/nullmailer/remotes
-   fowners root:nullmail /etc/nullmailer/remotes
-
-   # daemontools stuff
-   dodir /var/spool/nullmailer/service{,/log}
-
-   insinto /var/spool/nullmailer/service
-   newins scripts/nullmailer.run run
-   fperms 700 /var/spool/nullmailer/service/run
-
-   insinto /var/spool/nullmailer/service/log
-   newins scripts/nullmailer-log.run run
-   fperms 700 /var/spool/nullmailer/service/log/run
-
-   # usability
-   dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
-
-   # permissions stuff
-   keepdir /var/log/nullmailer /var/spool/nullmailer/{tmp,queue}
-   fperms 770 /var/log/nullmailer /var/spool/nullmailer/{tmp,queue}
-   fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
-   fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
-
-   newinitd "${FILESDIR}"/init.d-nullmailer-r4 nullmailer
-   systemd_dounit scripts/${PN}.service
-}
-
-pkg_postinst() {
-   if [ ! -e "${ROOT}"/var/spool/nullmailer/trigger ]; then
-   mkfifo "${ROOT}"/var/spool/nullmailer/trigger
-   fi
-   chown nullmail:nullmail \
-   "${ROOT}"/var/log/nullmailer 
"${ROOT}"/var/spool/nullmailer/{tmp,queue,trigger} || die
-   chmod 770 "${ROOT}"/var/log/nullmailer 
"${ROOT}"/var/spool/nullmailer/{tmp,queue} || die
-   chmod 660 "${ROOT}"/var/spool/nullmailer/trigger || die
-
-   # This contains passwords, so should be secure
-   chmod 0640 "${ROOT}"/etc/nullmailer/remotes || die
-   chown root:nullmail "${ROOT}"/etc/nullmailer/remotes || die
-
-   if [[ -z ${REPLACING_VERSIONS} ]]; then
-   elog "To create an initial setup, please do:"
-   elog "emerge --config =${CATEGORY}/${PF}"
-   fi
-}
-
-pkg_postrm() {
-   if [[ -e "${ROOT}"/var/spool/nullmailer/trigger ]]; then
-   rm "${ROOT}"/var/spool/nullmailer/trigger || die
-   fi
-}
-
-pkg_config() {
-   if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then
-   einfo "Setting /etc/nullmailer/me"
-   /bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me
-   fi
-   if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then
-   einfo "Setting /etc/nullmailer/defaultdomain"
-   /bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain
-   fi
-}

diff --git a/mail-mta/nullmailer/nullmailer-2.0.ebuild 
b/mail-mta/nullmailer/nullmailer-2.0.ebuild
index 1c3e959..859c4b3 100644
--- a/mail-mta/nullmailer/nullmailer-2.0.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0.ebuild
@@ -10,8 +10,8 @@ DESCRIPTION="Simple relay-only local mail transport agent"
 HOMEPAGE="http://untroubled.

[gentoo-commits] repo/gentoo:master commit in: sys-apps/pciutils/

2016-03-07 Thread Mike Frysinger
commit: 265c63a2eed09b8b6dd39e1b35a6f8f214a46a90
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Mar  7 21:29:05 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Mar  7 21:29:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=265c63a2

sys-apps/pciutils: enable LFS support #471102

 sys-apps/pciutils/pciutils-3.4.1.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-apps/pciutils/pciutils-3.4.1.ebuild 
b/sys-apps/pciutils/pciutils-3.4.1.ebuild
index 1b40596..392ac4c 100644
--- a/sys-apps/pciutils/pciutils-3.4.1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.4.1.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="5"
 
-inherit eutils multilib toolchain-funcs multilib-minimal
+inherit eutils multilib toolchain-funcs multilib-minimal flag-o-matic
 
 DESCRIPTION="Various utilities dealing with the PCI bus"
 HOMEPAGE="http://mj.ucw.cz/sw/pciutils/ 
https://git.kernel.org/?p=utils/pciutils/pciutils.git";
@@ -52,6 +52,10 @@ src_prepare() {
multilib_copy_sources
 }
 
+multilib_src_configure() {
+   append-lfs-flags #471102
+}
+
 pemake() {
emake \
HOST="${CHOST}" \



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/diff-lcs/

2016-03-07 Thread Hans de Graaff
commit: e8c9fb5d6c9e8088f13e22321755fa1825f77eb5
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar  7 21:09:11 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar  7 21:14:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c9fb5d

dev-ruby/diff-lcs: add ruby23

Package-Manager: portage-2.2.26

 dev-ruby/diff-lcs/diff-lcs-1.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/diff-lcs/diff-lcs-1.2.5-r1.ebuild 
b/dev-ruby/diff-lcs/diff-lcs-1.2.5-r1.ebuild
index e0d5e6c..4eeb665 100644
--- a/dev-ruby/diff-lcs/diff-lcs-1.2.5-r1.ebuild
+++ b/dev-ruby/diff-lcs/diff-lcs-1.2.5-r1.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/coderay/

2016-03-07 Thread Hans de Graaff
commit: 4dc5b8a4b517819d42efd43cf20042a5a76348e7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar  7 21:08:36 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar  7 21:14:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc5b8a4

dev-ruby/coderay: add ruby23, drop redcloth test dependency

Package-Manager: portage-2.2.26

 dev-ruby/coderay/coderay-1.1.1.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-ruby/coderay/coderay-1.1.1.ebuild 
b/dev-ruby/coderay/coderay-1.1.1.ebuild
index 31e76e9..6698ce7 100644
--- a/dev-ruby/coderay/coderay-1.1.1.ebuild
+++ b/dev-ruby/coderay/coderay-1.1.1.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 # The test target also contains test:exe but that requires
 # shoulda-context which we do not have packaged yet.
@@ -26,10 +26,10 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 IUSE=""
 
-# Redcloth is optional but automagically tested, so we add this
-# dependency to ensure that we get at least a version that works: bug
-# 330621.
-ruby_add_bdepend "test? ( >=dev-ruby/redcloth-4.2.2 )"
+# Redcloth is an optional but automagically tested dependency. This
+# requires redcloth-4.2.2. We don't depend on this version to make
+# bootstrapping rspec with new versions easier, since redcloth depends
+# on rake-compiler.
 
 all_ruby_prepare() {
sed -i -e "/[Bb]undler/d" Rakefile || die



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-core/

2016-03-07 Thread Hans de Graaff
commit: 084c5260df96f9d559ca0ab3ffbf91d8c111781b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar  7 21:13:14 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar  7 21:14:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=084c5260

dev-ruby/rspec-core: add ruby23

Package-Manager: portage-2.2.26

 dev-ruby/rspec-core/rspec-core-2.99.2-r1.ebuild | 13 +++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/rspec-core/rspec-core-2.99.2-r1.ebuild 
b/dev-ruby/rspec-core/rspec-core-2.99.2-r1.ebuild
index 20ae4ad..7f7893a 100644
--- a/dev-ruby/rspec-core/rspec-core-2.99.2-r1.ebuild
+++ b/dev-ruby/rspec-core/rspec-core-2.99.2-r1.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_TASK_TEST="none"
 RUBY_FAKEGEM_TASK_DOC="none"
@@ -38,7 +38,7 @@ ruby_add_bdepend "test? (
 
 # Skip yard for ruby21 for now since we don't support ruby21 eselected
 # yet and we can't bootstrap otherwise.
-USE_RUBY=${USE_RUBY/ruby21 ruby22/} ruby_add_bdepend "doc? ( dev-ruby/yard )"
+USE_RUBY=${USE_RUBY/ruby21 ruby22 ruby23/} ruby_add_bdepend "doc? ( 
dev-ruby/yard )"
 
 all_ruby_prepare() {
# Don't set up bundler: it doesn't understand our setup.
@@ -58,10 +58,19 @@ all_ruby_prepare() {
# Avoid aruba dependency so that we don't end up in dependency hell.
sed -i -e '/aruba/ s:^:#:' -e '/Aruba/,/}/ s:^:#:' spec/spec_helper.rb 
|| die
rm spec/command_line/order_spec.rb || die
+
+   # Avoid testing issues with rspec 3 installed
+   sed -i -e '2igem "rspec", "~> 2.0"' bin/rspec || die
 }
 
 each_ruby_prepare() {
sed -i -e 's:ruby -e:'${RUBY}' -e:' spec/rspec/core_spec.rb || die
+
+   case ${RUBY} in
+   *ruby23)
+   sed -i -e 's/SAFE = 3/SAFE = 1/' 
spec/support/helper_methods.rb || die
+   ;;
+   esac
 }
 
 all_ruby_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-mocks/

2016-03-07 Thread Hans de Graaff
commit: 47dad430426cca5287ffa24be7480499a66dcfd4
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar  7 21:10:39 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar  7 21:14:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47dad430

dev-ruby/rspec-mocks: add ruby23

Package-Manager: portage-2.2.26

 dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild 
b/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild
index 92054be1..788bc39 100644
--- a/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild
+++ b/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 
@@ -44,7 +44,7 @@ all_ruby_prepare() {
 
 each_ruby_prepare() {
case ${RUBY} in
-   *ruby22)
+   *ruby22|*ruby23)
# Psych and Syck are not supported by default anymore 
on ruby22.
rm spec/rspec/mocks/serialization_spec.rb || die
;;



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec/

2016-03-07 Thread Hans de Graaff
commit: 084fb5ed196bffc5c275dff040db2c56b0182e9b
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar  7 21:13:51 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar  7 21:14:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=084fb5ed

dev-ruby/rspec: add ruby23

Package-Manager: portage-2.2.26

 dev-ruby/rspec/rspec-2.99.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/rspec/rspec-2.99.0.ebuild 
b/dev-ruby/rspec/rspec-2.99.0.ebuild
index ad96673..803fc4d 100644
--- a/dev-ruby/rspec/rspec-2.99.0.ebuild
+++ b/dev-ruby/rspec/rspec-2.99.0.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_TASK_TEST=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/redcloth/

2016-03-07 Thread Hans de Graaff
commit: aed387209033c59ccfcefbd720bd61e52e89d80c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar  7 20:27:38 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar  7 21:14:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed38720

dev-ruby/redcloth: drop ruby19

Package-Manager: portage-2.2.26

 dev-ruby/redcloth/redcloth-4.2.9-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/redcloth/redcloth-4.2.9-r4.ebuild 
b/dev-ruby/redcloth/redcloth-4.2.9-r4.ebuild
index 66f8619..ddd89a6 100644
--- a/dev-ruby/redcloth/redcloth-4.2.9-r4.ebuild
+++ b/dev-ruby/redcloth/redcloth-4.2.9-r4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22"
 
 RUBY_FAKEGEM_NAME="RedCloth"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-expectations/

2016-03-07 Thread Hans de Graaff
commit: 4b604a7b7f82c70443f7dc2284fb70a6241c4d89
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Mar  7 21:09:45 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Mar  7 21:14:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b604a7b

dev-ruby/rspec-expectations: add ruby23

Package-Manager: portage-2.2.26

 dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild 
b/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild
index b8b92b3..8091225 100644
--- a/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild
+++ b/dev-ruby/rspec-expectations/rspec-expectations-2.99.2.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 



[gentoo-commits] repo/gentoo:master commit in: media-sound/mpd/

2016-03-07 Thread Patrice Clement
commit: e1d2870055be9941cde0c153e4467bf68063351d
Author: Lukáš Hrázký  email  cz>
AuthorDate: Sun Jan 31 16:00:13 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Jan 31 16:05:22 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1d28700

media-sound/mpd: fix the systemd user service

Under the user instance of systemd multi-user.target does not exist.
Replace it with default.target.

 media-sound/mpd/mpd-0.19.12.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/media-sound/mpd/mpd-0.19.12.ebuild 
b/media-sound/mpd/mpd-0.19.12.ebuild
index 777cd2d..bd945c1 100644
--- a/media-sound/mpd/mpd-0.19.12.ebuild
+++ b/media-sound/mpd/mpd-0.19.12.ebuild
@@ -224,6 +224,8 @@ src_install() {
newinitd "${FILESDIR}"/${PN}2.init ${PN}
 
systemd_newuserunit systemd/${PN}.service ${PN}.service
+   sed -i '/WantedBy=/c WantedBy=default.target' \
+   "${ED}"/usr/lib/systemd/user/mpd.service || die "sed failed"
 
if use unicode; then
sed -i -e 's:^#filesystem_charset.*$:filesystem_charset 
"UTF-8":' \



  1   2   3   >