[gentoo-commits] repo/gentoo:master commit in: sci-libs/scipy/

2017-06-27 Thread Sebastien Fabbro
commit: 5f01a4c5b0dab2636f782932827913c47f040cff
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 05:15:44 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f01a4c5

sci-libs/scipy: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-libs/scipy/Manifest|   3 +
 sci-libs/scipy/scipy-0.19.1.ebuild | 141 +
 2 files changed, 144 insertions(+)

diff --git a/sci-libs/scipy/Manifest b/sci-libs/scipy/Manifest
index b465974e30e..54fdb6fd5ca 100644
--- a/sci-libs/scipy/Manifest
+++ b/sci-libs/scipy/Manifest
@@ -4,3 +4,6 @@ DIST scipy-0.16.1.tar.gz 12221561 SHA256 
ecd1efbb1c038accb0516151d1e6679809c6010
 DIST scipy-0.18.1-html.zip 32907714 SHA256 
b6118abf9af19318b566521c1944d93f0dec57a7e533641348e5338f790e1279 SHA512 
fc61ce9a9dcc7091da29d35a42cc38074b0c4f5ff81d5ca5dea9c2d32e5e3ee1e8463fcb4e18c931c0c0e4f00410f8cd16d0f81c219fb326edc20d2286866e03
 WHIRLPOOL 
52fb21455beae1b75bb1aa24eed7d2227b52fe44bf81345fd56c12316d7c6887eccc10b551f64464da7fc034e453b06095c80c95f7baeae2374e6f256035cc18
 DIST scipy-0.18.1-ref.pdf 14824115 SHA256 
c5bb8baac66c43450cab24d3fec3a4f626d51568ab311f712446b5946fe7a295 SHA512 
e668420ae3668f459d15cb88765045c89df02f9c73854c8ddce8fe1611973e8c9d40ac49a1db0342282074b1d46b8156bb75430b7df079efd1c3a6ccb4bf2c37
 WHIRLPOOL 
bf36c77059dff97402430df0721bbfe59c6e889d9c202e4a86e7f5b2cd2eb9f32115abcfaf47ceb847579bfe870707a6926d69c2c714d0655e60a9a3f7ee4103
 DIST scipy-0.18.1.tar.gz 13141689 SHA256 
8ab6e9c808bf2fb3e8576cd8cf07226d9cdc18b012c06d9708429a821ac6634e SHA512 
f2ee21c808141d8002f69e48e7cf006e36982b1a7041323a8f4d803a1de3d191ffcc40227aac351dd876c28843de366ef89e9cf84dc106fadac86a3f40491659
 WHIRLPOOL 
977729517cfaed931123484160b9f4e7949dd46c4124757c5cbfe8607f2da9ddc3ad260ac4fcd8b382b8a801a86340405eceb3ad5a48d1a3f23dd0faa0941b7e
+DIST scipy-0.19.1-html.zip 38201310 SHA256 
e123b40d3d550ed55df0f8fbe808ff28f6e4343c3773c553afff508819e800ba SHA512 
7eecef83a92aa99a726a8839e2cdac1171129ba0efcaf8e36b07d6714fde20cce9ce9f676be6b4835845930c49f740cb11ce0d93012d0b8c990e7061bb3afbcc
 WHIRLPOOL 
238e77c60b6356bc08f01687e6dc6ff6f07b1fddc6d30c9af78cb7a37957c5ee155708f2ee8a0644ef6aed5a787082fcf17ff35c7d95d2d8afa87100cedbdbb3
+DIST scipy-0.19.1-ref.pdf 17530855 SHA256 
ebe464947f63e4b1160cb53356cfd1ce02311f5ff022f6cfc278abb5c540441f SHA512 
79718fde0aedb4c9906b37f2d75878719b614268160e645ad69ea797d6baeecaff9153884171906e6b7673b65da997ff4fd245e0f42ab766497ee9c96f4f9fd2
 WHIRLPOOL 
7be151e33a06ee7bd110ab217a5afdee9591d8940d752eb672b0e7a22eea5497d5a8e84e7784dc335f1a926aef7ecca9d5e5f6bd5862a0674ba640ea05614daf
+DIST scipy-0.19.1.tar.gz 14083805 SHA256 
a19a2ca7a7336495ec180adeaa0dfdcf41e96dbbee90d51c3ed828ba570884e6 SHA512 
5c124c44c672dcb53c31f8592fd9f74189f04cb0bade99476a2a6eb4844338e3e9842f27a148b007b7eed25cbfde090a697575a381ebe4ca066abdf54c214203
 WHIRLPOOL 
9d12befdb6504a05fd6c7917fc340726e2a498d8cd5c38d4e0abce8e6d16685c1857ff12f111daa4f4ad955e633746520ef706ff8b674c327685e2dd7790107b

diff --git a/sci-libs/scipy/scipy-0.19.1.ebuild 
b/sci-libs/scipy/scipy-0.19.1.ebuild
new file mode 100644
index 000..e79deab952a
--- /dev/null
+++ b/sci-libs/scipy/scipy-0.19.1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE="threads(+)"
+
+DOC_PV=${PV}
+
+inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="https://www.scipy.org/;
+SRC_URI="
+   mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+   doc? (
+   https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${PV}.zip 
-> ${PN}-${DOC_PV}-html.zip
+   https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-ref-${PV}.pdf 
-> ${PN}-${DOC_PV}-ref.pdf
+   )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc sparse test"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos"
+
+CDEPEND="
+   >=dev-python/numpy-1.10[lapack,${PYTHON_USEDEP}]
+   sci-libs/arpack:0=
+   virtual/cblas
+   virtual/lapack
+   sparse? ( sci-libs/umfpack:0= )"
+DEPEND="${CDEPEND}
+   dev-lang/swig
+   >=dev-python/cython-0.22[${PYTHON_USEDEP}]
+   virtual/pkgconfig
+   doc? ( app-arch/unzip )
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+RDEPEND="${CDEPEND}
+   dev-python/pillow[${PYTHON_USEDEP}]"
+
+DOCS=( HACKING.rst.txt THANKS.txt )
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+src_unpack() {
+   default
+   if use doc; then
+   unzip -qo "${DISTDIR}"/${PN}-${DOC_PV}-html.zip -d html || die
+   fi
+}
+
+pc_incdir() {
+   $(tc-getPKG_CONFIG) --cflags-only-I $@ | \
+   sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||'
+}
+

[gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/files/, dev-python/astropy/

2017-06-27 Thread Sebastien Fabbro
commit: cfe66eaac18ce62aad4e6c441e41ff2efd86ba57
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 16:58:48 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfe66eaa

dev-python/astropy: ply-3.10 is not compatible, so to simplify, keep bundled 
ply.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/astropy/astropy-1.3.3.ebuild|  6 +-
 .../files/astropy-1.3.3-external-python-pkgs.patch | 81 +-
 2 files changed, 6 insertions(+), 81 deletions(-)

diff --git a/dev-python/astropy/astropy-1.3.3.ebuild 
b/dev-python/astropy/astropy-1.3.3.ebuild
index fad05b0a7b5..784a43072ae 100644
--- a/dev-python/astropy/astropy-1.3.3.ebuild
+++ b/dev-python/astropy/astropy-1.3.3.ebuild
@@ -16,11 +16,14 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc test"
 
+# ply-3.10 incompatible, keep bundled (bug #622802)
+#rdep: dev-python/ply[${PYTHON_USEDEP}]
+#prep: cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
+
 RDEPEND="
dev-libs/expat:0=
dev-python/configobj[${PYTHON_USEDEP}]
>=dev-python/numpy-1.10[${PYTHON_USEDEP}]
-   dev-python/ply[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
>=sci-astronomy/erfa-1.3:0=
>=sci-astronomy/wcslib-5:0=
@@ -61,7 +64,6 @@ python_prepare_all() {
export mydistutilsargs="--offline"
export ASTROPY_USE_SYSTEM_PYTEST=True
#rm -r ${PN}_helpers || die
-   cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
cat >> setup.cfg <<-EOF

diff --git a/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch 
b/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch
index 41796094060..5c69704df9b 100644
--- a/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch
+++ b/dev-python/astropy/files/astropy-1.3.3-external-python-pkgs.patch
@@ -1,3 +1,5 @@
+Edit: bicat...@gentoo.org, ply-3.10 incompatible, so keep bundled.
+
 From: Ole Streicher 
 Date: Thu, 12 Jan 2017 11:37:47 +0100
 Subject: Use external python modules instead of convenience copies
@@ -14,19 +16,6 @@ Subject: Use external python modules instead of convenience 
copies
  astropy/units/format/ogip.py   |  4 ++--
  9 files changed, 24 insertions(+), 19 deletions(-)
 
-diff --git a/astropy/coordinates/angle_utilities.py 
b/astropy/coordinates/angle_utilities.py
-index cfa894e..bb8fb7d 100644
 a/astropy/coordinates/angle_utilities.py
-+++ b/astropy/coordinates/angle_utilities.py
-@@ -64,7 +64,7 @@ class _AngleParser(object):
- 
- @classmethod
- def _make_parser(cls):
--from ..extern.ply import lex, yacc
-+from ply import lex, yacc
- 
- # List of token names.
- tokens = (
 diff --git a/astropy/extern/configobj.py b/astropy/extern/configobj.py
 index 8d1bd8c..e3bb0e0 100644
 --- a/astropy/extern/configobj.py
@@ -128,69 +117,3 @@ index 9e88d1f..94bd40a 100644
  import pytest
  
  else:
-diff --git a/astropy/units/format/cds.py b/astropy/units/format/cds.py
-index e40c1cf..0d5e033 100644
 a/astropy/units/format/cds.py
-+++ b/astropy/units/format/cds.py
-@@ -78,7 +78,7 @@ class CDS(Base):
- 
- @classmethod
- def _make_lexer(cls):
--from ...extern.ply import lex
-+from ply import lex
- 
- tokens = cls._tokens
- 
-@@ -142,7 +142,7 @@ class CDS(Base):
- `_.
- """
- 
--from ...extern.ply import yacc
-+from ply import yacc
- 
- tokens = cls._tokens
- 
-diff --git a/astropy/units/format/generic.py b/astropy/units/format/generic.py
-index 6f1d0e6..8c12a2d 100644
 a/astropy/units/format/generic.py
-+++ b/astropy/units/format/generic.py
-@@ -102,7 +102,7 @@ class Generic(Base):
- 
- @classmethod
- def _make_lexer(cls):
--from ...extern.ply import lex
-+from ply import lex
- 
- tokens = cls._tokens
- 
-@@ -177,7 +177,7 @@ class Generic(Base):
- formats, the only difference being the set of available unit
- strings.
- """
--from ...extern.ply import yacc
-+from ply import yacc
- 
- tokens = cls._tokens
- 
-diff --git a/astropy/units/format/ogip.py b/astropy/units/format/ogip.py
-index e429407..e80e35a 100644
 a/astropy/units/format/ogip.py
-+++ b/astropy/units/format/ogip.py
-@@ -110,7 +110,7 @@ class OGIP(generic.Generic):
- 
- @classmethod
- def _make_lexer(cls):
--from ...extern.ply import lex
-+from ply import lex
- 
- tokens = cls._tokens
- 
-@@ -180,7 +180,7 @@ class OGIP(generic.Generic):
- `_.
- """
- 
--from ...extern.ply import yacc
-+from ply 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/

2017-06-27 Thread Sebastien Fabbro
commit: 087ddf9a98c021585acc2c0ec146d3d80080564c
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:49:59 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087ddf9a

dev-python/pytables: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/pytables/Manifest  |  1 +
 dev-python/pytables/pytables-3.4.2.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest
index 54a8082397e..e18340aad94 100644
--- a/dev-python/pytables/Manifest
+++ b/dev-python/pytables/Manifest
@@ -1,2 +1,3 @@
 DIST tables-3.1.1.tar.gz 6715786 SHA256 
39b9036376f1185599771c19276f13b5b9119d98f9108f58595745ded3fe2da3 SHA512 
b5b2052dd81c4748c5e26c1f61f9f92891f48335b0a553f7602ab11c9029dd673d27b91e24cac0da21a81df0c26dbcd9a438214fa58af1ae831c5f04dfa212a6
 WHIRLPOOL 
86fd6dc9e12503fdbd23013b75f33a41eadbbac0e6dd5ac9a91476d073195077fc6b3d5ad24b1dd4b4c18ae7ed8abc8ea1708262e52240f4c2c3b1153f8c9e91
 DIST tables-3.3.0.tar.gz 7004337 SHA256 
8383ccf02e041a5d55494a09fc5514140b4653055a2732c981b5fd0f7408822c SHA512 
e19445f0f5f2530d49ce55f258931babb7b05df2366637ddbc306323a1f75b7f7dcf91d70a8cc1f41b182d4cdd9c83872873168592bdcce7bd5acae9f3274f36
 WHIRLPOOL 
f270f741d6886775cc730fbcb79de215fbbe2d9b7b2b6efc6b5b3fa7d141046e7c69daad140ad7cc533b439bfae801ea0e1567939dc4258e5c3b6a88f27cd86c
+DIST tables-3.4.2.tar.gz 7593471 SHA256 
fdbbea4edb6bad0ac0e53fc7bc6970e78e12eef4944aa4146bcdcb573201676c SHA512 
8c3bb9113e5082f8b44866b04728a04dae37fbd576c3259309fc305fd4cc0c4f74925557e74f6bd1bd1fc5150d8091648139c4c702e5ed9f53e0ace11c2ac58b
 WHIRLPOOL 
392e117a3ad372ee91a02ee66994f3c03e67b4ae7473f5761e13215ce33084fc3ac8e9e371ca9b59f374066523bcd3ebbced01c49faaa84d4af75a26811ee35f

diff --git a/dev-python/pytables/pytables-3.4.2.ebuild 
b/dev-python/pytables/pytables-3.4.2.ebuild
new file mode 100644
index 000..02d1be95e96
--- /dev/null
+++ b/dev-python/pytables/pytables-3.4.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE="threads(+)"
+
+MY_PN=tables
+MY_P=${MY_PN}-${PV}
+
+inherit distutils-r1
+
+DESCRIPTION="Hierarchical datasets for Python"
+HOMEPAGE="http://www.pytables.org/;
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="BSD"
+IUSE="doc examples"
+
+RDEPEND="
+   app-arch/bzip2:0=
+   app-arch/lz4:0=
+   >=app-arch/zstd-1.0.0
+   >=dev-libs/c-blosc-1.11.1:0=
+   dev-libs/lzo:2=
+   >=dev-python/numpy-1.8.1[${PYTHON_USEDEP}]
+   >=dev-python/numexpr-2.5.2[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   >=sci-libs/hdf5-1.8.15:0=
+"
+DEPEND="${RDEPEND}
+   >=dev-python/cython-0.21[${PYTHON_USEDEP}]
+"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( ANNOUNCE.txt RELEASE_NOTES.txt THANKS )
+
+python_prepare_all() {
+   export HDF5_DIR="${EPREFIX}"/usr
+   rm tables/*.c || die
+   sed -e "s:/usr:${EPREFIX}/usr:g" \
+   -i setup.py || die
+   rm -r c-blosc/{blosc,internal-complibs} || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile() {
+   python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+   distutils-r1_python_compile
+}
+
+python_test() {
+   cd "${BUILD_DIR}"/lib* || die
+   ${EPYTHON} tables/tests/test_all.py || die
+}
+
+python_install_all() {
+   if use doc; then
+   HTML_DOCS=( doc/html/. )
+   DOCS+=( doc/scripts )
+   fi
+   distutils-r1_python_install_all
+
+   if use examples; then
+   insinto /usr/share/doc/${PF}
+   doins -r examples
+   doins -r contrib
+   docompress -x /usr/share/doc/${PF}/examples
+   docompress -x /usr/share/doc/${PF}/contrib
+
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/cytoolz/

2017-06-27 Thread Sebastien Fabbro
commit: 1d078d6d3038125b7d3279f2bff4f5b7fc5916b2
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:20:40 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d078d6d

dev-python/cytoolz: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/cytoolz/Manifest |  1 +
 dev-python/cytoolz/cytoolz-0.8.2.ebuild | 37 +
 2 files changed, 38 insertions(+)

diff --git a/dev-python/cytoolz/Manifest b/dev-python/cytoolz/Manifest
index 635a64f1a4e..b88311fa2c3 100644
--- a/dev-python/cytoolz/Manifest
+++ b/dev-python/cytoolz/Manifest
@@ -1 +1,2 @@
 DIST cytoolz-0.8.0.tar.gz 349493 SHA256 
2239890c8fe2da3eba82947c6a68cfa406e5a5045911c9ab3de8113462372629 SHA512 
08a97312602b3bd71cb9a3b6f879121f739c73065210bcbac227e366112b2157d479912040296d58c5aa79d3fab8496fb92b12e0ee8df0cca15f46f151312b73
 WHIRLPOOL 
857501b3806f00ff65240ed2b301e62202d92ae535879a952782d6d81950d0c2c6721bfe08d581d4fda699209a624a1ca667509c4901910444099b23d5741637
+DIST cytoolz-0.8.2.tar.gz 386259 SHA256 
476a2ad176de5eaef80499b7b43d4f72ba6d23df33d349088dae315e9b31c552 SHA512 
b75408db5c13c1142fe71f37c43e7b3dd73cba294571ddaf5dc1bf03ae0e18fb7b6d37f42980db65a4e074b923ac1243a90f1dd30302f0f9be3d7b1904014082
 WHIRLPOOL 
213d812bc49af13019836c779eee0f701ad5afdcdaf46af521efeb9379fb2396f7980540c28681453331dc0baec1389af322ae6ee1cd7249aac5d7d4d638702e

diff --git a/dev-python/cytoolz/cytoolz-0.8.2.ebuild 
b/dev-python/cytoolz/cytoolz-0.8.2.ebuild
new file mode 100644
index 000..fb229fab00f
--- /dev/null
+++ b/dev-python/cytoolz/cytoolz-0.8.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Cython implementation of Toolz: High performance functional 
utilities"
+HOMEPAGE="https://pypi.python.org/pypi/cytoolz;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+# Informed by author the dep in toolz is not only required but the
+# tests are version sensitive.
+# https://github.com/pytoolz/cytoolz/issues/57
+RDEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? ( dev-python/nose[${PYTHON_USEDEP}]
+   >=dev-python/toolz-0.8[${PYTHON_USEDEP}] )"
+
+python_compile() {
+   python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+
+   distutils-r1_python_compile
+}
+
+python_test() {
+   pushd "${BUILD_DIR}"/lib/ > /dev/null || die
+   PYTHONPATH=.:${PN} nosetests --with-doctest ${PN} || die "tests failed 
under ${EPYTHON}"
+   popd > /dev/null || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/h5py/

2017-06-27 Thread Sebastien Fabbro
commit: b17c1f7d72833fc1ac7812d15ec1f1f3a75bff35
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:37:42 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17c1f7d

dev-python/h5py: uncompress examples

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/h5py/h5py-2.7.0.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
index 40e378e0f9c..d2c8e6af948 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -58,7 +58,10 @@ python_test() {
 python_install_all() {
DOCS=( README.rst ANN.rst )
use doc && HTML_DOCS=( docs/_build/html/. )
-   use examples && insinto /usr/share/doc/${PF} && doins -r examples
+   if use examples; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
 
distutils-r1_python_install_all
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/h5py/

2017-06-27 Thread Sebastien Fabbro
commit: ae916d12cf0fc1d43dfd9af2b77a29551fbe71bf
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 15:53:25 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae916d12

dev-python/h5py: examples installation for eapi6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/h5py/h5py-2.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/h5py/h5py-2.7.0.ebuild 
b/dev-python/h5py/h5py-2.7.0.ebuild
index 2557c3c503a..40e378e0f9c 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -58,7 +58,7 @@ python_test() {
 python_install_all() {
DOCS=( README.rst ANN.rst )
use doc && HTML_DOCS=( docs/_build/html/. )
-   use examples && local EXAMPLES=( examples/. )
+   use examples && insinto /usr/share/doc/${PF} && doins -r examples
 
distutils-r1_python_install_all
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/bcolz/

2017-06-27 Thread Sebastien Fabbro
commit: cd0cf9c6cee644c8a418da29af867e5c176c1578
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:09:05 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd0cf9c6

dev-python/bcolz: added python-3.6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/bcolz/bcolz-1.1.2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/bcolz/bcolz-1.1.2.ebuild 
b/dev-python/bcolz/bcolz-1.1.2.ebuild
index e7f6bbd5289..0e2e061028f 100644
--- a/dev-python/bcolz/bcolz-1.1.2.ebuild
+++ b/dev-python/bcolz/bcolz-1.1.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 
@@ -24,7 +24,6 @@ DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/numpydoc[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/numpy/

2017-06-27 Thread Sebastien Fabbro
commit: 686622affa2daf13bbc84cc5cb8d619ee6a8d48a
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 05:13:18 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=686622af

dev-python/numpy: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/numpy/Manifest|   4 +
 dev-python/numpy/numpy-1.13.0.ebuild | 163 +++
 2 files changed, 167 insertions(+)

diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest
index fb2e3d0f0c8..f06a977b698 100644
--- a/dev-python/numpy/Manifest
+++ b/dev-python/numpy/Manifest
@@ -1,16 +1,20 @@
 DIST numpy-1.10.4.tar.gz 4069996 SHA256 
7356e98fbcc529e8d540666f5a919912752e569150e9a4f8d869c686f14c720b SHA512 
57ace46e357d49be0efd904e5ceb9862c626c916987c8798a12de7ae1e06816ad8483439ac4619792a04889631b5998f2397dc601c78dea33a784b4831c19c79
 WHIRLPOOL 
76946c2543b1cade06d71f83fd507bd818c1090baa9c3ddda7d1f48d48ed23672c5d9de76db890df990c6d8b7b26b71d3ce733c448943ad4177374a957360d1c
 DIST numpy-1.12.1.zip 4824784 SHA256 
a65266a4ad6ec8936a1bc85ce51f8600634a31a258b722c9274a80ff189d9542 SHA512 
156319821e4f0cf8d820e977da704aab274b7a4a4b792f6e40d7c0f2827700c990f55f1ca9650523c62c9e937f0e75f336d091d46ca47aaa9875c68fe32bac2a
 WHIRLPOOL 
1ecd1df77d2a64bc6db1910446f60b477ebf5a1cf33ec2e1fced56dbbf1a7df5fef004c7f84f0dccb0ca20ea7ab73c384e4d247eb9700159a18c9a4a51e4db6d
+DIST numpy-1.13.0.zip 5009537 SHA256 
dcff367b725586830ff0e20b805c7654c876c2d4585c0834a6049502b9d6cf7e SHA512 
01b1ad231b8ff20192e17a13454fa2b481043f3440012fc274de6369a0338a148585831ccf6e03efc2dc94ee6e5a2c78808d66b76ec6413505d98f50e5db90bd
 WHIRLPOOL 
089139703055c4290852df7a1945f9d17164b597df762d17a4c42962cc8f3fe6625114d865a34b3f96e084ae9469839505a177b8ae099e359dfcdd26a6650797
 DIST numpy-1.8.2.tar.gz 3792998 SHA256 
6d487fc724780d66746bde264ea71f5cd77d3a39e52ee2b073dcaed63bc669db SHA512 
996e6b8e2d42f223e44660f56bf73eb8ab124f400d89218f8f5e4d7c9860ada44a4d7c54526137b0695c7a10f36e8834fbf0d42b7cb20bcdb5d5c245d673385c
 WHIRLPOOL 
0d3a05b1e3c0a1ceb0a7b4818406dbb45506e5f25bc2727d4ff44cc0a0520e6556b3c68ae24dbca37ba9d67ae2defbb3ff9c906d4c2635b29ed44452d70e8311
 DIST numpy-1.9.2.tar.gz 3986067 SHA256 
325e5f2b0b434ecb6e6882c7e1034cc6cdde3a87dbc482575199a6aeef2a SHA512 
70470ebb9afef5dfd0c83ceb7a9d5f1b7a072b1a9b54b04f04f5ed50fbaedd5b4906bd500472268d478f94df9e749a88698b1ff30f2d80258e7f3fec040617d9
 WHIRLPOOL 
59f5dc52cb95c7ce80fec3a7feac6cfda1d149596bf6d95c18bd8314e31a8df494b2b470c4cc3d8c296c9fc11c718d70d5b9b5344337175ca75496504c0fd201
 DIST numpy-html-1.10.1.zip 9663942 SHA256 
4af48eb5abf2551f01d85aea7e9a99a30096777f02937dc185b16bb72a110366 SHA512 
9d1f3619b801c88604a0495290da4ae8cfb4800257d549214363c554c1dc09a736425d594ed88f492afee6ae7c68fe5c166b9b3a8f24637ea41d67fd23b9d9f9
 WHIRLPOOL 
d6c93e31e31c832fb21f117d03719e0375ee3d27fb6f7975bfcd12469df4a2ed0a25a16bd09a0e2113407446efc220e5bff534f7cd76a715c3d7df26c02f07a1
 DIST numpy-html-1.11.0.zip 9879611 SHA256 
0244bff4b585ab417be963f492e69129e54bb83d630b463591f9e89c62807d85 SHA512 
7bf416030c273c767a98d0f23adef0e5fd05f96f6bb911e32ec88821a5bc7c47a2799d33fb0706cb2d391ea6e47b3e0eef0d789eb1c0d81c982cfaa991a09822
 WHIRLPOOL 
d7e81340aa1ec46c2b0d36b76e7a1e11ba7d1b39177a8168efe734936e1622808c8997a8cc22f773b9c3e17b51f5861e11eaf7fa89e9b0c61cae937ee7b5fdba
+DIST numpy-html-1.13.0.zip 10324817 SHA256 
514f1eba1cfa04a34de79a20da6ca6883dc6e74ac19ecf237d2e4f957899542d SHA512 
2dd769ec0d4967ba1797339170b0f9bf694a0a304cffb8482a037ba043a3bd3a9207e63a1ffed2d7ae96205d3a1a72fa1b15eeac4bd2e565544363dd9742f542
 WHIRLPOOL 
1151179991147698c5bb63d7a4fd9b6389d9251d915a67c54676edc0fbb14c1e9d7ffc69287527127e00c1ee2ca1af9a4a5c48d36608a951861222b49bc92e2a
 DIST numpy-html-1.8.1.zip 9703711 SHA256 
f7fc3af4dba7b40deabd1828a86ea2e2eb5b9fa17c7ebddd73ee4cb8625105b1 SHA512 
1d52c657931f4eebb5325159444aedd969b201f5098855058f1ef632dc8677372d632291154ebc3db9869cdb8abf7eb820eade1a9edba2d6be1ae918cb38c071
 WHIRLPOOL 
e502b1416bad4b189773ba98035dfbeed0dc251d8f9b76e336450f14e8425caf92d55d2b1c2cc5ef9eb2d33eb2bf7cd55e720c1b265e45539b195fea1d7f046c
 DIST numpy-html-1.9.1.zip 9839137 SHA256 
12a24937f8273fcf79090c99b6c4154a0ecfc378386498cf2afe727ea171407c SHA512 
647a6be9f93995aca14185e283a2b412678c6e8080fe4f14e7cc9ee63c28eebb64dea6bbe28f30ef6850a5565dd1e06928fd660ac762e9a91454d309eff96ed4
 WHIRLPOOL 
68c367fd0416d27b1cf43edf7ca48bc8845c02856bbbacdf63c88fe8bbffd5dd86fb3e5cdea8f669dd78adf7bcc4d184953048783802df323126c1b22baf8e92
 DIST numpy-ref-1.10.1.pdf 5382006 SHA256 
72ae03348d0375ff2f18056efd04e815cc1d27b738d0685c80f5204a496bc279 SHA512 
25085eb7cb80343abffe04ee01ea93603427913ba4443fbfdaa1ef1ad07a8642c47259d0bb1cb91a9059f786c03395bba76f608c6f0a2fd26d1afec4847d885c
 WHIRLPOOL 
d904d9b2824bfb08a0eeffeb37f7d646d003c39230d950d387e2ddc8e475a117b8305a0ce3dc479be72f010b1a868f22ddfde17e6c4cd7c56630bbdf09afb90e
 DIST numpy-ref-1.11.0.pdf 

[gentoo-commits] repo/gentoo:master commit in: dev-python/blaze/

2017-06-27 Thread Sebastien Fabbro
commit: 75b9b5e5a01abfae8d7196384af4a0eebc28d61c
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:23:31 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75b9b5e5

dev-python/blaze: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/blaze/Manifest|  1 +
 dev-python/blaze/blaze-0.11.3.ebuild | 75 
 2 files changed, 76 insertions(+)

diff --git a/dev-python/blaze/Manifest b/dev-python/blaze/Manifest
index 5845c681b7b..2bc337a2fbb 100644
--- a/dev-python/blaze/Manifest
+++ b/dev-python/blaze/Manifest
@@ -1,2 +1,3 @@
 DIST blaze-0.10.2.tar.gz 9681767 SHA256 
c525fe93b35f1bb755cfc06f8c6094b16f8255ca870026a008d0a5fb3f440834 SHA512 
01b7c5563f928c336f13eb13c6397f1089bca7c1cf0824da672acdabf28b18356c52678c58b2fa7af303601c6013e9d6f4fe26359ee6ab9a01f8b735c7d24a56
 WHIRLPOOL 
7dee091947694a6145fdfbb78539099c517701f4d4a696141c761ca2672bd622ed3f8aea15f743a37805769341f37e8a28765eeafb89943f9f8c568c071e160c
 DIST blaze-0.11.2.tar.gz 9687465 SHA256 
9ea0f73f59e5f426d34ad1f63bf26b1df89853fd926469aff82b1ef892bac5d0 SHA512 
aa4e6a06ed8456d73f98bd2a06c236f9a7cc212ce23d53f9212331045e904faa1ecd7998111a7f58b4d76c3c0cb72a0904f829d6dd729f43e91a284b0f3f9819
 WHIRLPOOL 
2138f19c37d32abc181843f3dc2c255179b7e9bc5dcd65c69a341ec8ca5e4e1ea8eaac98cbcf10ea439554a48122448ba1dd991cbedb57fd27314b5413c61861
+DIST blaze-0.11.3.tar.gz 9691443 SHA256 
9c3725759d20ecf164b38c125a0417c2d294f0fa657367c92748bcd312c3af1c SHA512 
030079e5d3f17355dac588154ffb7ba7993935dfd39bce141341b6e2b9a17f812982ce83776ac1e4224649a343b58615621347ba65e5aba2ca2e568d755f276f
 WHIRLPOOL 
69858f0ec062e84ffc791e7fde474b6cd8d7fb4ceb0ab070414a395c2a1b703291aeaa22658d365495f41508fda574f5e785ab3da9e7dd0b2c6cdcd8bd5074c6

diff --git a/dev-python/blaze/blaze-0.11.3.ebuild 
b/dev-python/blaze/blaze-0.11.3.ebuild
new file mode 100644
index 000..57b775b4bf4
--- /dev/null
+++ b/dev-python/blaze/blaze-0.11.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Next generation Python numpy"
+HOMEPAGE="http://blaze.readthedocs.io/;
+SRC_URI="https://github.com/blaze/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="examples test"
+
+RDEPEND="
+   dev-python/bcolz[${PYTHON_USEDEP}]
+   dev-python/cytoolz[${PYTHON_USEDEP}]
+   dev-python/dask[${PYTHON_USEDEP}]
+   dev-python/datashape[${PYTHON_USEDEP}]
+   dev-python/dynd-python[${PYTHON_USEDEP}]
+   dev-python/flask[${PYTHON_USEDEP}]
+   dev-python/flask-cors[${PYTHON_USEDEP}]
+   dev-python/h5py[${PYTHON_USEDEP}]
+   dev-python/into[${PYTHON_USEDEP}]
+   dev-python/multipledispatch[${PYTHON_USEDEP}]
+   dev-python/networkx[${PYTHON_USEDEP}]
+   dev-python/numba[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/odo[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+   dev-python/pymongo[${PYTHON_USEDEP}]
+   dev-python/pyparsing[${PYTHON_USEDEP}]
+   dev-python/pytables[${PYTHON_USEDEP}]
+   dev-python/requests[${PYTHON_USEDEP}]
+   dev-python/sqlalchemy[${PYTHON_USEDEP}]
+   dev-python/toolz[${PYTHON_USEDEP}]
+   dev-python/unicodecsv[${PYTHON_USEDEP}]
+   dev-python/xlrd[${PYTHON_USEDEP}]
+"
+DEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( ${RDEPEND}
+   dev-python/chardet[${PYTHON_USEDEP}]
+   dev-python/contextlib2[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   )
+"
+
+python_test() {
+   cd "${BUILD_DIR}"/lib
+   # trying to skip a few tests which spill errors
+   py.test \
+   --ignore blaze/compute/tests/test_mongo_compute.py \
+   --ignore blaze/compute/tests/test_core_compute.py \
+   --ignore blaze/tests/test_interactive.py \
+   blaze || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+   distutils-r1_python_install_all
+   if use examples; then
+   insinto /usr/share/doc/${PF}
+   doins -r blaze/examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+   rm -r "${ED}"usr/lib*/*/*/blaze/examples || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/pymc3/

2017-06-27 Thread Sebastien Fabbro
commit: 5ee57cb42b9d714d99778d80a5d6b504f7382189
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 20:37:30 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ee57cb4

sci-mathematics/pymc3: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-mathematics/pymc3/Manifest   | 2 +-
 sci-mathematics/pymc3/{pymc3-3.0_rc6.ebuild => pymc3-3.1.ebuild} | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/pymc3/Manifest b/sci-mathematics/pymc3/Manifest
index 4d99be0e4a3..d183c7e71f6 100644
--- a/sci-mathematics/pymc3/Manifest
+++ b/sci-mathematics/pymc3/Manifest
@@ -1 +1 @@
-DIST pymc3-3.0rc6.tar.gz 992525 SHA256 
8df5a190218d3eea2655915847aad9c87ae9719cc507c5c3e24ec4973408051d SHA512 
54534e07f61dbf1b499a2d9e249512d1475074bcf67612b36ab3b72456945eb6af4a450d6739195891f0d398612304861c23fe4a222304e1609240ba348f1792
 WHIRLPOOL 
251d85ac949569000d5b188a40645548389dbed8fd47f9f21ee6c6569805b3f5350185f6f0247022fd08e46fd4f41f137167b9eba3814e43afb88a09623d95f3
+DIST pymc3-3.1.tar.gz 34553828 SHA256 
218e412408cd5f0bc0e6984404bcaadd32f80c4ef523ac8718c1f0c3fd8c4e28 SHA512 
30799d9c1b670adbcf5cc1463029d71a87c7b917e83b1f6cb453d75553616da7173421e7ae6e31b332c85f8170daea735344ff83ba6605cf3b15cf79c5c4fb97
 WHIRLPOOL 
bbc2a7304926bbebbb06c358503ed0ebec7de20c171ea1123eb8a978a4a5407ecb6f0cc6055cd22c6a58571315ad3e877b6317d18b8b02794b4d6c7bade10b79

diff --git a/sci-mathematics/pymc3/pymc3-3.0_rc6.ebuild 
b/sci-mathematics/pymc3/pymc3-3.1.ebuild
similarity index 91%
rename from sci-mathematics/pymc3/pymc3-3.0_rc6.ebuild
rename to sci-mathematics/pymc3/pymc3-3.1.ebuild
index efdcbba9e99..0361603fbe9 100644
--- a/sci-mathematics/pymc3/pymc3-3.0_rc6.ebuild
+++ b/sci-mathematics/pymc3/pymc3-3.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1 virtualx xdg-utils
 
@@ -31,7 +31,7 @@ RDEPEND="
>=dev-python/patsy-0.4[${PYTHON_USEDEP}]
>=dev-python/recommonmark-0.4[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
-   >=dev-python/theano-0.8.2[${PYTHON_USEDEP}]
+   >=dev-python/theano-0.9[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.8.4[${PYTHON_USEDEP}]
>=sci-libs/scipy-0.12[${PYTHON_USEDEP}]
virtual/python-enum34[${PYTHON_USEDEP}]
@@ -42,6 +42,7 @@ DEPEND="
test? (
${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/nose-parameterized[${PYTHON_USEDEP}]
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/tqdm/

2017-06-27 Thread Sebastien Fabbro
commit: 10f2f90f2d2aa94db7efd4beef52efcbe307cfd8
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 18:23:14 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f2f90f

dev-python/tqdm: added python-3.6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/tqdm/tqdm-4.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/tqdm/tqdm-4.10.0.ebuild 
b/dev-python/tqdm/tqdm-4.10.0.ebuild
index ca769546e85..5858b25302a 100644
--- a/dev-python/tqdm/tqdm-4.10.0.ebuild
+++ b/dev-python/tqdm/tqdm-4.10.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/toro/files/, dev-python/toro/

2017-06-27 Thread Sebastien Fabbro
commit: 9d0dcd896f7433c28ad09b76c07b78a9fc6933f1
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 18:41:18 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0dcd89

dev-python/toro: initial import

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/toro/Manifest   |  1 +
 .../toro/files/toro-1.0.1-no-test-install.patch| 11 +++
 dev-python/toro/metadata.xml   | 15 +
 dev-python/toro/toro-1.0.1.ebuild  | 38 ++
 4 files changed, 65 insertions(+)

diff --git a/dev-python/toro/Manifest b/dev-python/toro/Manifest
new file mode 100644
index 000..f4c3b4af3af
--- /dev/null
+++ b/dev-python/toro/Manifest
@@ -0,0 +1 @@
+DIST toro-1.0.1.tar.gz 57343 SHA256 
c5452e477e0d20ec459612a3be9eeed93e8dc5253423b604f73692ce628c6bc4 SHA512 
a8a498868ff32dbd8ba9a0adf62b1fa2e9dea4f34be4e2701c08c7b58ef28b8daf4eab93916855a711a557049e587e886d6ba362487c151c5db34f6135f4f3e5
 WHIRLPOOL 
a31ab1a0b33281cc7e248e297e77825a2015f57727b8d58912fabb17996e3e5e9a737de5748966abaf3db102a37e89fad2be20ca7afdc94773288f8382940d35

diff --git a/dev-python/toro/files/toro-1.0.1-no-test-install.patch 
b/dev-python/toro/files/toro-1.0.1-no-test-install.patch
new file mode 100644
index 000..637f9091ac4
--- /dev/null
+++ b/dev-python/toro/files/toro-1.0.1-no-test-install.patch
@@ -0,0 +1,11 @@
+--- a/setup.py.orig2017-06-27 18:38:37.256325950 +
 b/setup.py 2017-06-27 18:38:48.896243950 +
+@@ -45,8 +45,6 @@
+ kwargs['use_2to3'] = True
+ 
+ packages = ['toro']
+-if "test" in sys.argv:
+-packages.append('test')
+ 
+ setup(name='toro',
+   version='1.0.1',

diff --git a/dev-python/toro/metadata.xml b/dev-python/toro/metadata.xml
new file mode 100644
index 000..214465d5299
--- /dev/null
+++ b/dev-python/toro/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+pyt...@gentoo.org
+Python
+  
+  
+A set of locking and synchronizing primitives analogous to those in 
Python’s
+threading module or Gevent’s coros, for use with Tornado’s gen.engine.
+  
+  
+toro
+  
+

diff --git a/dev-python/toro/toro-1.0.1.ebuild 
b/dev-python/toro/toro-1.0.1.ebuild
new file mode 100644
index 000..195bd0f7796
--- /dev/null
+++ b/dev-python/toro/toro-1.0.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Synchronization primitives for Tornado coroutines"
+HOMEPAGE="https://github.com/ajdavis/toro/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="examples test"
+
+RDEPEND="
+   virtual/python-futures[${PYTHON_USEDEP}]
+   www-servers/tornado[${PYTHON_USEDEP}]
+"
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+PATCHES=(
+   "${FILESDIR}"/${P}-no-test-install.patch
+)
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   use examples && dodoc -r examples
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/numpydoc/

2017-06-27 Thread Sebastien Fabbro
commit: 62b0c005a077faf7e7a34207f9da68b0c57b0186
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 05:25:26 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b0c005

dev-python/numpydoc: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/numpydoc/Manifest  |  1 +
 dev-python/numpydoc/numpydoc-0.7.0.ebuild | 30 ++
 2 files changed, 31 insertions(+)

diff --git a/dev-python/numpydoc/Manifest b/dev-python/numpydoc/Manifest
index c40a18150bd..219e264c0ea 100644
--- a/dev-python/numpydoc/Manifest
+++ b/dev-python/numpydoc/Manifest
@@ -1 +1,2 @@
 DIST numpydoc-0.6.0.tar.gz 32464 SHA256 
1ec573e91f6d868a9940d90a6599f3e834a2d6c064030fbe078d922ee21dcfa1 SHA512 
aa86854cfba93f27540eee8a7937c81fe006e1d96b556b66ac643d9673b413fac357762068ca5675f265c7d2a80b0ba000416f5ddf3fbac2bfe4315fe0f48aa7
 WHIRLPOOL 
da0615ef43ad45c0d016bf940092b87c32b2ae21ea25ba695931e40a301412a56c12277ff4cead7645b75f3a4bd3f13e077ad9b60684a35da98929b3c6ca6aeb
+DIST numpydoc-0.7.0.tar.gz 19047 SHA256 
2dc7b2c4e3914745e38e370946fa4c109817331e6d450806285c08bce5cd575a SHA512 
1a9bedaa6fe8bcd626b739b458a1647e550ac4489f8ccec2d4b11f93ee5c2a58e5d0e6692330d478a9ba91956da88eabdf020aa04f534e1e445c020903dcf14a
 WHIRLPOOL 
9815a4bf1754706c69104fbf364de70de58048c35a189bed83b1dbd5c33406022b70a8a4a82cebbb80201a1d85e3c24129f5c126060d99d25d94f2a645c6266a

diff --git a/dev-python/numpydoc/numpydoc-0.7.0.ebuild 
b/dev-python/numpydoc/numpydoc-0.7.0.ebuild
new file mode 100644
index 000..0ebe5617810
--- /dev/null
+++ b/dev-python/numpydoc/numpydoc-0.7.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Sphinx extension to support docstrings in Numpy format"
+HOMEPAGE="https://pypi.python.org/pypi/numpydoc;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
+IUSE="test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/sphinx[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}]
+   >=dev-python/matplotlib-1.4.0[${PYTHON_USEDEP}]
+   )"
+
+python_test() {
+   esetup.py test
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-cors/

2017-06-27 Thread Sebastien Fabbro
commit: 7420e555e595c4f5fc73026b6491edf46f96722a
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:11:32 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7420e555

dev-python/flask-cors: added python-3.6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/flask-cors/flask-cors-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/flask-cors/flask-cors-2.1.0.ebuild 
b/dev-python/flask-cors/flask-cors-2.1.0.ebuild
index 5c53f22c3e7..2ea5b6ad258 100644
--- a/dev-python/flask-cors/flask-cors-2.1.0.ebuild
+++ b/dev-python/flask-cors/flask-cors-2.1.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/odo/

2017-06-27 Thread Sebastien Fabbro
commit: 9dc554c9714066c3a019ed7cd5b0399e2f6763c0
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:03:19 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc554c9

dev-python/odo: added python-3.6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/odo/odo-0.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/odo/odo-0.5.0-r1.ebuild 
b/dev-python/odo/odo-0.5.0-r1.ebuild
index dcf0f577991..e35895d9066 100644
--- a/dev-python/odo/odo-0.5.0-r1.ebuild
+++ b/dev-python/odo/odo-0.5.0-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/nbsphinx/

2017-06-27 Thread Sebastien Fabbro
commit: f0b33a60fa078c04c5d3c1c9e9c8c519d5a05d8b
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 05:24:02 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b33a60

dev-python/nbsphinx: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/nbsphinx/Manifest   |  1 +
 dev-python/nbsphinx/metadata.xml   |  2 +-
 dev-python/nbsphinx/nbsphinx-0.2.14.ebuild | 27 +++
 3 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/dev-python/nbsphinx/Manifest b/dev-python/nbsphinx/Manifest
index 9185f4bf512..df4c53fc8d7 100644
--- a/dev-python/nbsphinx/Manifest
+++ b/dev-python/nbsphinx/Manifest
@@ -1,2 +1,3 @@
 DIST nbsphinx-0.2.13.tar.gz 96841 SHA256 
20f4bca5f45ffe65fff4d616c2caf365375e8f8768a73d63905bd5d0664176bd SHA512 
c6489ce696094efbb88e7d6689b8c67fa5fd0c71bfdb8c044f1eab0bf5f722668acd1e839488244578cb50def58c9ba6b88334c5d977cc07692b8747e6f502c5
 WHIRLPOOL 
65d71566013ba29ac9fa6c8a2863ff21b7a41e6c7bf591aca46e50b89aafbbedaf11468b9fd35236ff0d1f91e4819c1dbe321ca51daf5af2534716d5a195bc38
+DIST nbsphinx-0.2.14.tar.gz 98368 SHA256 
d6a35b62be88eadaec8b9e5d61916012b9e26b16f4895ab0bbc5ee1e99fbbee0 SHA512 
263aaf8b466d83215251f6115fa6210bca69537d041336ec23d9caaad06653fe848914c2e01981461fbabb8f5e4881ca11a4a01aaccb07909de6b79e695602d6
 WHIRLPOOL 
a23bd92dcecd721db42a1eb22a4e18aee9fb519d6fe27d06e247fc8c5db9bb5bc10ebb2e045e29b1fc6c72ddf38c13432f2c148997b50b7f78c4ed9644d83f9e
 DIST nbsphinx-0.2.8.tar.gz 89524 SHA256 
81d3905df0d8627f2e1762036fa761c3ed90ebd61c74ebce8ef07778800ec9a4 SHA512 
fe73cdab2b6ac67aff48380137d07b8938bdc764a786c66ee4f0ff658aa3db207630a79900555c70b2232afcf3b5332c78495281518a97ca944550d13cb01b04
 WHIRLPOOL 
e4fcf6e87ab37692ad310a3258ab13a8850ed7f3d1de78b9965552df28274736fc63b34724a1f7be3ecf5c6037c0bb06d8f55e2062ca1cc2f9661ce8e3b1c416

diff --git a/dev-python/nbsphinx/metadata.xml b/dev-python/nbsphinx/metadata.xml
index f0192b5c7a9..a586fea8a7a 100644
--- a/dev-python/nbsphinx/metadata.xml
+++ b/dev-python/nbsphinx/metadata.xml
@@ -14,7 +14,7 @@
 Sphinx build process.
   
   
-nbformat
+nbsphinx
 spatialaudio/nbsphinx
   
 

diff --git a/dev-python/nbsphinx/nbsphinx-0.2.14.ebuild 
b/dev-python/nbsphinx/nbsphinx-0.2.14.ebuild
new file mode 100644
index 000..fae13d2e2b8
--- /dev/null
+++ b/dev-python/nbsphinx/nbsphinx-0.2.14.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Jupyter Notebook Tools for Sphinx"
+HOMEPAGE="https://github.com/spatialaudio/nbsphinx/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+   dev-python/docutils[${PYTHON_USEDEP}]
+   dev-python/jinja[${PYTHON_USEDEP}]
+   dev-python/nbconvert[${PYTHON_USEDEP}]
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-1.3.2[${PYTHON_USEDEP}]
+   dev-python/traitlets[${PYTHON_USEDEP}]
+   "
+DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/thriftpy/

2017-06-27 Thread Sebastien Fabbro
commit: b2b55cac12516c971e819d1d9087361de51d41c7
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 20:49:12 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2b55cac

dev-python/thriftpy: initial import

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/thriftpy/Manifest  |  1 +
 dev-python/thriftpy/metadata.xml  | 19 +++
 dev-python/thriftpy/thriftpy-0.3.9.ebuild | 28 
 3 files changed, 48 insertions(+)

diff --git a/dev-python/thriftpy/Manifest b/dev-python/thriftpy/Manifest
new file mode 100644
index 000..1d436488486
--- /dev/null
+++ b/dev-python/thriftpy/Manifest
@@ -0,0 +1 @@
+DIST thriftpy-0.3.9.tar.gz 208164 SHA256 
309e57d97b5bfa01601393ad4f245451e989d6206a59279e56866b264a99796d SHA512 
ad2b7f568db47f7f26235fc5fb6180c974eb6738f154461860c7329d263252ee627b979098c3e9ffe8ed42a0fb08a9110a6842a923ac800166d80a23d4e6a3cb
 WHIRLPOOL 
d371078349d345f01537ffc63eb924507921819d6e9c1577d0b522067cb1b36a8feae2211860c51c17b5e5fcf5c37f0c65c46b8d71687a114fb7c31667feb809

diff --git a/dev-python/thriftpy/metadata.xml b/dev-python/thriftpy/metadata.xml
new file mode 100644
index 000..33592bf9bb0
--- /dev/null
+++ b/dev-python/thriftpy/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+s...@gentoo.org
+Gentoo Science Project
+  
+  
+Thrift is a software framework for the development of reliable and
+performant communication and data serialization. It combines a software
+stack with a code generation to build services that operate seamlessly
+across a number of different development languages.
+This is a pure Python implementation of Apache Thrift.
+  
+  
+thriftpy
+eleme/thriftpy
+  
+

diff --git a/dev-python/thriftpy/thriftpy-0.3.9.ebuild 
b/dev-python/thriftpy/thriftpy-0.3.9.ebuild
new file mode 100644
index 000..d0d687f397c
--- /dev/null
+++ b/dev-python/thriftpy/thriftpy-0.3.9.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure python implementation of Apache Thrift"
+HOMEPAGE="https://thriftpy.readthedocs.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   dev-python/flake8[${PYTHON_USEDEP}]
+   dev-python/ply[${PYTHON_USEDEP}]
+   dev-python/toro[${PYTHON_USEDEP}]
+   www-servers/tornado[${PYTHON_USEDEP}]
+"
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   >=dev-python/cython-0.23[${PYTHON_USEDEP}]
+"



[gentoo-commits] repo/gentoo:master commit in: www-servers/tornado/, www-servers/tornado/files/

2017-06-27 Thread Sebastien Fabbro
commit: 12a0ffc1e2d18c7c4342c5359725c59785e51e49
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 17:55:36 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12a0ffc1

www-servers/tornado: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 www-servers/tornado/Manifest   |  1 +
 .../tornado/files/4.5.1-drop-intersphinx.patch | 22 +++
 www-servers/tornado/tornado-4.5.1.ebuild   | 68 ++
 3 files changed, 91 insertions(+)

diff --git a/www-servers/tornado/Manifest b/www-servers/tornado/Manifest
index 66fca8816ce..140cae4dd42 100644
--- a/www-servers/tornado/Manifest
+++ b/www-servers/tornado/Manifest
@@ -1 +1,2 @@
 DIST tornado-4.4.2.tar.gz 460193 SHA256 
2898f992f898cd41eeb8d53b6df75495f2f423b6672890aadaf196ea1448edcc SHA512 
f330bc62433576708e3c566577cede07c54c19996f374df82d5abc19a669ade549e7b6c27dcae3d421921fec506fae39473443cdb04692553c5ea2f8ec11a327
 WHIRLPOOL 
df04a35ed30f9bbaff87be06c96de7a9038e1535b21d40906eb92a5beeaaf6ac4ea1b14b4f16df1527b9a07d41a5ee4c04ec141a068e3acfb4b6717019ff5fdd
+DIST tornado-4.5.1.tar.gz 483225 SHA256 
db0904a28253cfe53e7dedc765c71596f3c53bb8a866ae50123320ec1a7b73fd SHA512 
b31b3572bf58df8b758694c32b2233c547d6600b0c27f56cff3521abaad38a1646a528d2c2dfcf13214159bf5ba0f59470ba3d538edf16dc014a8b03f0d3bb87
 WHIRLPOOL 
31e2bb974c938979b430cdc1a873bd1f5f2b6d5fdec61ef8901e7ea83ec2d6801e004202042dc5070ac4083b6d8fec35166b12aaa0664e0775cb1b7af43c148d

diff --git a/www-servers/tornado/files/4.5.1-drop-intersphinx.patch 
b/www-servers/tornado/files/4.5.1-drop-intersphinx.patch
new file mode 100644
index 000..606bfc78738
--- /dev/null
+++ b/www-servers/tornado/files/4.5.1-drop-intersphinx.patch
@@ -0,0 +1,22 @@
+diff -Nur tornado-4.5.1.orig/docs/conf.py tornado-4.5.1/docs/conf.py
+--- tornado-4.5.1.orig/docs/conf.py2017-06-27 17:39:55.881133239 +
 tornado-4.5.1/docs/conf.py 2017-06-27 17:40:59.910682166 +
+@@ -16,7 +16,6 @@
+ "sphinx.ext.autodoc",
+ "sphinx.ext.coverage",
+ "sphinx.ext.doctest",
+-"sphinx.ext.intersphinx",
+ "sphinx.ext.viewcode",
+ ]
+ 
+@@ -81,10 +80,6 @@
+ ('index', 'tornado.tex', 'Tornado Documentation', 'The Tornado Authors', 
'manual', False),
+ ]
+ 
+-intersphinx_mapping = {
+-'python': ('https://docs.python.org/3.5/', None),
+-}
+-
+ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
+ 
+ # On RTD we can't import sphinx_rtd_theme, but it will be applied by

diff --git a/www-servers/tornado/tornado-4.5.1.ebuild 
b/www-servers/tornado/tornado-4.5.1.ebuild
new file mode 100644
index 000..ab03eec142c
--- /dev/null
+++ b/www-servers/tornado/tornado-4.5.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Python web framework and asynchronous networking library"
+HOMEPAGE="http://www.tornadoweb.org/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples test"
+
+CDEPEND="
+   dev-python/certifi[${PYTHON_USEDEP}]
+   >=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
+   dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]
+   || (
+   >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
+   (   $(python_gen_cond_dep 
'dev-python/twisted-names[${PYTHON_USEDEP}]' 'python2_7')
+   $(python_gen_cond_dep 
'dev-python/twisted-web[${PYTHON_USEDEP}]' 'python2_7')
+   )
+   )
+   virtual/python-backports_abc[${PYTHON_USEDEP}]
+   virtual/python-futures[${PYTHON_USEDEP}]
+   virtual/python-singledispatch[${PYTHON_USEDEP}]
+"
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   )
+   test? (
+   ${CDEPEND}
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+RDEPEND="${CDEPEND}"
+
+# doc without intersphinx does not build (asyncio error)
+#PATCHES=(
+#  "${FILESDIR}"/4.5.1-drop-intersphinx.patch
+#)
+
+python_compile_all() {
+   use doc && emake -C docs sphinx
+}
+
+python_test() {
+   "${PYTHON}" -m tornado.test.runtests || die "tests failed under 
${EPYTHON}"
+}
+
+python_install_all() {
+   use doc && local HTML_DOCS=( docs/build/html/. )
+   if use examples; then
+   insinto /usr/share/doc/${PF}/examples
+   doins -r demos/.
+   docompress -x /usr/share/doc/${PF}/examples
+fi
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/into/

2017-06-27 Thread Sebastien Fabbro
commit: 82dbf3487520aaadcc651c75fec865df9d486cd3
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:12:47 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82dbf348

dev-python/into: added python-3.6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/into/into-0.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/into/into-0.2.2.ebuild 
b/dev-python/into/into-0.2.2.ebuild
index 0597cac68ca..ae24d10cdba 100644
--- a/dev-python/into/into-0.2.2.ebuild
+++ b/dev-python/into/into-0.2.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/fastparquet/

2017-06-27 Thread Sebastien Fabbro
commit: 6b68d1fc70bb3e1ba232061c5b02763147a501b4
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:59:50 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b68d1fc

dev-python/fastparquet: initial import

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/fastparquet/Manifest |  1 +
 dev-python/fastparquet/fastparquet-0.1.0.ebuild | 30 +
 dev-python/fastparquet/metadata.xml | 20 +
 3 files changed, 51 insertions(+)

diff --git a/dev-python/fastparquet/Manifest b/dev-python/fastparquet/Manifest
new file mode 100644
index 000..844787fdd17
--- /dev/null
+++ b/dev-python/fastparquet/Manifest
@@ -0,0 +1 @@
+DIST fastparquet-0.1.0.tar.gz 118108 SHA256 
dad60f61596b0118b50c727d8abd10115ec5e172ca5cb14211a3d6dfe1075c6b SHA512 
9aa61f998cd95e4242635ef729c29fa5c66834bdd501fe7d104317a767c5eebc6a1d1aecbd669a39c855f5f2d1650af153b77f12c0120e6e5d13cb8f78e4cba0
 WHIRLPOOL 
c4bc25df8ca0964f6df19840fd7f8c6aab4a6beb2ef8a3d714291121e73a15d3e005cf4534832782eba64a30ba29c63b92d6862a06c7e1db50910d695bbe8a0d

diff --git a/dev-python/fastparquet/fastparquet-0.1.0.ebuild 
b/dev-python/fastparquet/fastparquet-0.1.0.ebuild
new file mode 100644
index 000..0f06496d4b5
--- /dev/null
+++ b/dev-python/fastparquet/fastparquet-0.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python implementation of the parquet columnar file format"
+HOMEPAGE="https://github.com/dask/fastparquet;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+   dev-python/numba[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/pandas[${PYTHON_USEDEP}]
+   dev-python/snappy[${PYTHON_USEDEP}]
+   dev-python/thriftpy[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+"

diff --git a/dev-python/fastparquet/metadata.xml 
b/dev-python/fastparquet/metadata.xml
new file mode 100644
index 000..e579ca0f59f
--- /dev/null
+++ b/dev-python/fastparquet/metadata.xml
@@ -0,0 +1,20 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+s...@gentoo.org
+Gentoo Science Project
+  
+  
+fastparquet is a python implementation of the parquet format,
+aiming integrate into python-based big data work-flows. Not all
+parts of the parquet-format have been implemented yet or tested
+e.g. see the Todos linked below. With that said, fastparquet is
+capable of reading all the data files from the
+parquet-compatability project.
+  
+  
+fastparquet
+dask/fastparquet
+  
+



[gentoo-commits] repo/gentoo:master commit in: dev-python/datashape/

2017-06-27 Thread Sebastien Fabbro
commit: c59f213ad6a6cd4e71871c81d8ca5c801ea454cc
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jun 28 03:05:05 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c59f213a

dev-python/datashape: added python-3.6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/datashape/datashape-0.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/datashape/datashape-0.5.4.ebuild 
b/dev-python/datashape/datashape-0.5.4.ebuild
index 1057ef2865d..0162b78b810 100644
--- a/dev-python/datashape/datashape-0.5.4.ebuild
+++ b/dev-python/datashape/datashape-0.5.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: sci-libs/scikits_learn/

2017-06-27 Thread Sebastien Fabbro
commit: efb5e8dff42c169bcc310642a2b8727642bc83ae
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 05:18:18 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efb5e8df

sci-libs/scikits_learn: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-libs/scikits_learn/Manifest|   1 +
 sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild | 119 +
 2 files changed, 120 insertions(+)

diff --git a/sci-libs/scikits_learn/Manifest b/sci-libs/scikits_learn/Manifest
index 8fc199b9b8d..9b7f7d03ef7 100644
--- a/sci-libs/scikits_learn/Manifest
+++ b/sci-libs/scikits_learn/Manifest
@@ -1,3 +1,4 @@
 DIST scikit-learn-0.17.1.tar.gz 7898571 SHA256 
9f4cf58e57d81783289fc503caaed1f210bab49b7a6f680bf3c04b1e0a96e5f0 SHA512 
5786e04a13225d2433103f1873f2753e332704b98c4c32b840970f763ec1abf0248007089e5ae47e11c66535f05a0d0402715622e6d6f0955ec7961b92e1b2e5
 WHIRLPOOL 
cded0be080aa0e6e5486d2613c007c7ff1ea769b623f60cb97c4e03b2d130c53b66e9c22a20d644c61cd82eb8b460024a2b84365ff846aacfc07bf49a6bef0ac
 DIST scikit-learn-0.17.tar.gz 7834903 SHA256 
23a5b6804524cb2cd54d8310010169511c7633dcf69af7439747eec02677f314 SHA512 
53a76e2f90e27967bf216cd9d7e8051ed847a3381e3b7b7b8236511b4105eef41bd4d3c9f7f71a51db4b0bf99cbd571d7c1b26803757cff04424b70cb834b555
 WHIRLPOOL 
3a1ef13dafe6eb38389f68bc75dee10bfe141bac6d2782cd11be27ffcb8fe7efdf113b6911a238c6cd141bfe3b69960f47cf0725d0ea033129dff8fb5c57bef4
 DIST scikit-learn-0.18.1.tar.gz 8933930 SHA256 
1eddfc27bb37597a5d514de1299981758e660e0af56981c0bfdf462c9568a60c SHA512 
7149e683424351a28c19501302ece147cb03d4d12b08822eb2b1898a4978b96803323778fbba628008dd7a7c85daea4e9b550a71ee76851f9a09b2baac18a799
 WHIRLPOOL 
c709586d3b8bdd938a81e97cfc5c77e31b7b0ef068c2d3f6ec922999a524d9ba0234ca42270724b2f6f3da98409b6d85b229aa241adbc02136b95bbb91c757b6
+DIST scikit-learn-0.18.2.tar.gz 9224516 SHA256 
f78c3e11bf38838eaf637cdd9e8d6b575a4a4048d1670a03a72b0d00d3f39ffa SHA512 
7c5c7bdd577ad215790654ce1eff6e802aebe53283ab6c5f12684cf99aeecc8976f9a9803f619f549d4d03be0d7634f249046e4b4f15afa12aecb2697e2e0b05
 WHIRLPOOL 
eb4ca45c73892ca378bd580f00fd4d7ad3ea886d9522586e88bf291162cb30bd3bb23ead2c5d2283010fac650d183c0979710f30d1ba4a57f12a8e87052df847

diff --git a/sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild 
b/sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild
new file mode 100644
index 000..7f8aa4ce668
--- /dev/null
+++ b/sci-libs/scikits_learn/scikits_learn-0.18.2.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1 flag-o-matic
+
+MYPN="${PN/scikits_/scikit-}"
+MYP="${MYPN}-${PV}"
+
+DESCRIPTION="Python modules for machine learning and data mining"
+HOMEPAGE="http://scikit-learn.org;
+SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples test"
+
+RDEPEND="
+   dev-python/joblib[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/nose[${PYTHON_USEDEP}]
+   >=dev-python/numpy-1.6.1[lapack,${PYTHON_USEDEP}]
+   sci-libs/scikits[${PYTHON_USEDEP}]
+   >=sci-libs/scipy-0.9[${PYTHON_USEDEP}]
+   virtual/blas
+   virtual/cblas
+   virtual/python-funcsigs[${PYTHON_USEDEP}]
+   "
+DEPEND="
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/numpy[lapack,${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+   virtual/blas
+   virtual/cblas
+   doc? (
+   dev-python/joblib[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   )"
+
+S="${WORKDIR}/${MYP}"
+
+PATCHES=( "${FILESDIR}/${PN}-0.18.1-system-cblas.patch" )
+
+python_prepare_all() {
+   # bug #397605
+   [[ ${CHOST} == *-darwin* ]] \
+   && append-ldflags -bundle "-undefined dynamic_lookup" \
+   || append-ldflags -shared
+
+   # scikits-learn now uses the horrible numpy.distutils automagic
+   export SCIPY_FCONFIG="config_fc --noopt --noarch"
+
+   # remove bundled cblas
+   rm -r sklearn/src || die
+
+   # use system joblib
+   rm -r sklearn/externals/joblib || die
+   sed -i -e '/joblib/d' sklearn/externals/setup.py || die
+   for f in sklearn/{*/,}*.py; do
+   sed -r -e '/^from/s/(sklearn|\.|)\.externals\.joblib/joblib/' \
+   -e 's/from (sklearn|\.|)\.externals import/import/' -i 
$f || die
+   done
+
+   rm sklearn/externals/funcsigs.py || die
+   rm sklearn/externals/odict.py || die
+   for f in 
sklearn/{utils/fixes.py,gaussian_process/{tests/test_,}kernels.py}; do
+   sed 

[gentoo-commits] repo/gentoo:master commit in: dev-python/theano/

2017-06-27 Thread Sebastien Fabbro
commit: a41d9c4f9d0eabafd0dc52781710c648f5286a5c
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 05:09:21 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a41d9c4f

dev-python/theano: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/theano/Manifest|  1 +
 dev-python/theano/theano-0.9.0.ebuild | 52 +++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/theano/Manifest b/dev-python/theano/Manifest
index 33585815dfc..c97b06290d4 100644
--- a/dev-python/theano/Manifest
+++ b/dev-python/theano/Manifest
@@ -1,3 +1,4 @@
 DIST Theano-0.6.0.tar.gz 1763756 SHA256 
aaa75f9a9b7bf50f09ddcc01fb993cf47513179d0a7bee3d96bfeebd66e76083 SHA512 
6333c673df809bed3af952e0759cce4878ed21684367c6eb20e422363c7c5696ea59239ff6a448c6a32771b1069d441b0e3d049f9708ae69d790412303b8ebbd
 WHIRLPOOL 
946fcacb87b7745e72282f5f7e6b67db5fd0e365f55b2c97a8e9e506e30986d90da7c3789636892ca316da33f4f064f99d31fc3771678457dd609fd0c43d9010
 DIST Theano-0.7.0.tar.gz 1985387 SHA256 
05b0f6d2467735abea13bdc5c2c1ce3c53f1b89f9ebc5a43abdf71f88cf818b3 SHA512 
6e6bf9afdebf3c281d71f5ceda73792e0a52b403b18776a639665767ac73ac4920b5042e29d656d517b8f023e5f9cd5a27086e0456dc40c42abf6f3569da3f06
 WHIRLPOOL 
b79906e39eb8f7cad26160148465b4719d1011e1a4626c98fdb55cd273ff289b0c01278d51fdc8271b71434be0fd036f8259a315b07639e9ad83d1e3bf313687
 DIST Theano-0.8.2.tar.gz 2914631 SHA256 
7463c8f7ed1a787bf881f36d38a38607150186697e7ce7e78bfb94b7c6af8930 SHA512 
d7bad7ed4c9453470b66df2ada4587fbe9effc134c0604d11576630a613568386d41aa7dd4a77f8b7a1eb6d8a2f76a8e809b1ac3ae18c85a0c55ba4a059b865e
 WHIRLPOOL 
05ae7308054e74fcbcb9057aca5a0e8ed7db7980e4a258bf5143f2a1ae9cfb430808a48467d6a185cdb4215ce33163a1e6e1961284e593c90cc9be6f0c9a5cbb
+DIST Theano-0.9.0.tar.gz 3116713 SHA256 
745d66716531f9063127274b40503fbc21f931f78b7b03e79e5523d50078bc17 SHA512 
e0e59256d2442f929fb120b4b21cab735e0a8ba087c4ea7d7caeabe8fa30cc19a46181fe1b4e268e778344fb3506eb20d8090dfc8d2a499c1bf84b07352686ab
 WHIRLPOOL 
3c387356580cf8ea9340f214783b9003417c2e5ca2d35660ceda0d91a4b1eb29d3794000c59b09b1fd7b20cf273f372d111fcb31496991801d6253319e2694c7

diff --git a/dev-python/theano/theano-0.9.0.ebuild 
b/dev-python/theano/theano-0.9.0.ebuild
new file mode 100644
index 000..cc371c65076
--- /dev/null
+++ b/dev-python/theano/theano-0.9.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1 versionator
+
+MYPN=Theano
+MYP=${MYPN}-$(replace_version_separator 3 '')
+
+DESCRIPTION="Define and optimize multi-dimensional arrays mathematical 
expressions"
+HOMEPAGE="https://github.com/Theano/Theano;
+SRC_URI="mirror://pypi/${MYPN:0:1}/${MYPN}/${MYP}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+IUSE="doc test"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+   dev-python/numpy[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   sci-libs/scipy[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+  dev-python/flake8[${PYTHON_USEDEP}]
+  dev-python/nose[${PYTHON_USEDEP}]
+  dev-python/nose-parameterized[${PYTHON_USEDEP}]
+  dev-python/pyflakes[${PYTHON_USEDEP}]
+   )"
+S="${WORKDIR}/${MYP}"
+
+python_prepare_all() {
+   # remove bundled six
+   find -type f -name "*.py" -exec \
+sed -e 's:theano.compat.six:six:g' -i '{}' + || die
+   rm ${PN}/compat/six.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   nosetests --verbosity=3 || die
+}
+
+pkg_postinst() {
+   optfeature "Make picture of Theano computation graph" 
dev-python/pydot-ng
+   optfeature "Required for GPU/CPU code generation" dev-python/pygpu
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/cloudpickle/

2017-06-27 Thread Sebastien Fabbro
commit: 188dd8fc601c86415bf8b87b43f90527b0e623b9
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 05:12:40 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=188dd8fc

dev-python/cloudpickle: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-python/cloudpickle/Manifest |  1 +
 dev-python/cloudpickle/cloudpickle-0.3.1.ebuild | 27 +
 2 files changed, 28 insertions(+)

diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest
index 71319186e11..f45735c92c8 100644
--- a/dev-python/cloudpickle/Manifest
+++ b/dev-python/cloudpickle/Manifest
@@ -1,2 +1,3 @@
 DIST cloudpickle-0.2.1.tar.gz 15514 SHA256 
eea4b655e6aed3dba39b104ad1872226e3f9e23d8d202fc003f3e65f2d125c3b SHA512 
ab098186c04db1947fb6c4c92bb4708b0c45122adf0435f5da70a0cb24c08cf6d36ce627ea112a8ad8d0107a28b12259435c3e1aa2ab7a6f8f4122e5ca756e2c
 WHIRLPOOL 
66c3b735e592b05bdacb8fecc75a0d4e81751670f06eac2049a5d02b2a8dc1e1fbb66ef039d7de6f85175ff6dd7f6f635290f25937af02d6d640894a959778dc
 DIST cloudpickle-0.2.2.tar.gz 17020 SHA256 
9da26af07a25431d8a3c412d4c8e78823c1298655d354f4f570ece1b995f8e74 SHA512 
798b745d4059c34026a785fa32e6ac68aea689b3f4f8fa08d625eebe65651eca55211d104e9eab315c7c22dc720cbbad88cb1a444dac51ff457bff8d26c43756
 WHIRLPOOL 
05dd06818f6d53a2abbd936244ce6efdeaac49df0caa9a6dcabaacacd11157126f09f6432263d8eca94b913b6ff1a510c5310d56241e8ced32a4fefcf2329c1c
+DIST cloudpickle-0.3.1.tar.gz 18927 SHA256 
c93a2684080011bb72fb59210c48b7259da8241bdcc6fa3f425ecca090e8c17e SHA512 
81ea17181710f3428bc9c80e2e4b1fa57eadd6781528ed92ce5854ce86cded0b754d98afccd322408786ce4e3a77a1c758be73f197d809dad07c24e9dbb7c68d
 WHIRLPOOL 
caa3462abe4b131aed016918525674bd3831910dffcf435f96163573ab19d71b6d0fd671a94e9b24fa1acd97cb7c8a98f2fbc2f9a9c5f16b009d4963d08c1572

diff --git a/dev-python/cloudpickle/cloudpickle-0.3.1.ebuild 
b/dev-python/cloudpickle/cloudpickle-0.3.1.ebuild
new file mode 100644
index 000..3c344a15bc7
--- /dev/null
+++ b/dev-python/cloudpickle/cloudpickle-0.3.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+inherit eutils distutils-r1
+
+DESCRIPTION="Extended pickling support for Python objects"
+HOMEPAGE="https://pypi.python.org/pypi/cloudpickle/;
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+IUSE="test"
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}] )"
+
+RESTRICT="test"
+
+python_test() {
+   PYTHONPATH='.:tests' py.test || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/scikits/

2017-06-27 Thread Sebastien Fabbro
commit: bd855e8d9add8455456897de4a45437549dd213e
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Tue Jun 27 05:17:06 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jun 28 04:00:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd855e8d

sci-libs/scikits: added python-3.6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-libs/scikits/scikits-0.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/scikits/scikits-0.1-r1.ebuild 
b/sci-libs/scikits/scikits-0.1-r1.ebuild
index b32f23eeb08..17719aed0e3 100644
--- a/sci-libs/scikits/scikits-0.1-r1.ebuild
+++ b/sci-libs/scikits/scikits-0.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
 
 inherit python-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/s3cmd/

2017-06-27 Thread Robin H. Johnson
commit: 7778277fca84a8caa3e0df89446a3c4db15a0ca6
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Jun 28 00:21:53 2017 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Wed Jun 28 00:21:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7778277f

net-misc/s3cmd: bump.

Package-Manager: portage-2.3.6

 net-misc/s3cmd/Manifest   |  1 +
 net-misc/s3cmd/s3cmd-2.0.0.ebuild | 24 
 2 files changed, 25 insertions(+)

diff --git a/net-misc/s3cmd/Manifest b/net-misc/s3cmd/Manifest
index 8b9bb77d807..826c41bb1b5 100644
--- a/net-misc/s3cmd/Manifest
+++ b/net-misc/s3cmd/Manifest
@@ -1 +1,2 @@
 DIST s3cmd-1.6.1.tar.gz 102431 SHA256 
4675794f84d8744ee3d35873d180f41c7b2116895ccbe2738a9bc552e1cf214e SHA512 
0b1e3cf839144b24e42974f973a8ae97e9b4c79df3a40e38f61cc4b5284ea41a1fcbdc9dd45ff2b402915acb1ffc908a1e1c45c12f93243211ef2349c9acf70b
 WHIRLPOOL 
b470138448c589a89823e452bf3ea3e3801acf03d3cd01d152706557411db49db1714d633416b42fc9046d2a6bf6508363446cc881afb7e7b843c0bd8e60f93f
+DIST s3cmd-2.0.0.tar.gz 115290 SHA256 
bf2a50802f1031cba83e99be488965803899d8ab0228c800c833b55c7269cd48 SHA512 
77723c5fb20792b5202f689dcbd73025e3c8abdb4e2d773d4e653fb04935057bd49928d3ec40f3e3bab4b13af481ff7979d429dfff94f0cc10e5e3ba3ba1a0d9
 WHIRLPOOL 
a1e2a50cf71b89e86482265a9b863de568ab50b6f251d93e464d869018ffd564217ebba96026dddeaefe6c567ce8da087b26d9ef4b8a8d7b18d3dd31c54e0c6a

diff --git a/net-misc/s3cmd/s3cmd-2.0.0.ebuild 
b/net-misc/s3cmd/s3cmd-2.0.0.ebuild
new file mode 100644
index 000..39f8572f5a1
--- /dev/null
+++ b/net-misc/s3cmd/s3cmd-2.0.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{3,4,5,6}}  )
+PYTHON_REQ_USE="xml"
+
+inherit distutils-r1
+
+DESCRIPTION="Command line client for Amazon S3"
+HOMEPAGE="http://s3tools.org/s3cmd;
+SRC_URI="mirror://sourceforge/s3tools/${P/_/-}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~arm64 ~amd64 ~x86 ~x64-macos"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
+   dev-python/python-magic[${PYTHON_USEDEP}]"
+
+S="$WORKDIR/${P/_/-}"



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Locale-Maketext-Fuzzy/

2017-06-27 Thread Andreas Hüttel
commit: beade26c14a24342d2d6508d9b49456f0fa8b154
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jun 27 23:07:37 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Tue Jun 27 23:07:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beade26c

dev-perl/Locale-Maketext-Fuzzy: Fix build with Perl 5.26, bug 617046

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../Locale-Maketext-Fuzzy-0.110.0-r1.ebuild| 14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git 
a/dev-perl/Locale-Maketext-Fuzzy/Locale-Maketext-Fuzzy-0.110.0-r1.ebuild 
b/dev-perl/Locale-Maketext-Fuzzy/Locale-Maketext-Fuzzy-0.110.0-r1.ebuild
index 4528ab64c69..ae9e5507459 100644
--- a/dev-perl/Locale-Maketext-Fuzzy/Locale-Maketext-Fuzzy-0.110.0-r1.ebuild
+++ b/dev-perl/Locale-Maketext-Fuzzy/Locale-Maketext-Fuzzy-0.110.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-MODULE_AUTHOR=AUDREYT
-MODULE_VERSION=0.11
+DIST_AUTHOR=AUDREYT
+DIST_VERSION=0.11
 inherit perl-module
 
 DESCRIPTION="Maketext from already interpolated strings"
@@ -14,4 +14,8 @@ LICENSE="CC0-1.0"
 KEYWORDS="amd64 hppa ppc x86"
 IUSE=""
 
-SRC_TEST=do
+src_prepare() {
+   sed -i -e 's/use inc::Module::Package/use lib q[.];\nuse 
inc::Module::Package/' Makefile.PL ||
+   die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+   perl-module_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/HTML-RewriteAttributes/

2017-06-27 Thread Andreas Hüttel
commit: eacd19ccb92e9c5ff6546b910df5c9712599cc6e
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jun 27 23:02:42 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Tue Jun 27 23:02:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eacd19cc

dev-perl/HTML-RewriteAttributes: Fix build with Perl 5.26, bug 616978

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../HTML-RewriteAttributes-0.50.0-r1.ebuild  | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git 
a/dev-perl/HTML-RewriteAttributes/HTML-RewriteAttributes-0.50.0-r1.ebuild 
b/dev-perl/HTML-RewriteAttributes/HTML-RewriteAttributes-0.50.0-r1.ebuild
index 0a788498da2..c3485c7d916 100644
--- a/dev-perl/HTML-RewriteAttributes/HTML-RewriteAttributes-0.50.0-r1.ebuild
+++ b/dev-perl/HTML-RewriteAttributes/HTML-RewriteAttributes-0.50.0-r1.ebuild
@@ -1,10 +1,10 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-MODULE_AUTHOR=TSIBLEY
-MODULE_VERSION=0.05
+DIST_AUTHOR=TSIBLEY
+DIST_VERSION=0.05
 inherit perl-module
 
 DESCRIPTION="Perl module for concise attribute rewriting"
@@ -18,4 +18,8 @@ RDEPEND="dev-perl/URI
dev-perl/HTML-Parser"
 DEPEND="${RDEPEND}"
 
-SRC_TEST="do"
+src_prepare() {
+   sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse 
inc::Module::Install;/' Makefile.PL ||
+   die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+   perl-module_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/intltool/files/, dev-util/intltool/

2017-06-27 Thread Andreas Hüttel
commit: 1a0088dc98a2c556852ecd9b6284174893efae0b
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jun 27 22:56:01 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Tue Jun 27 22:56:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0088dc

dev-util/intltool: Remove old

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-util/intltool/Manifest |  1 -
 .../files/intltool-0.50.2-localedir-fix.patch  | 70 --
 dev-util/intltool/intltool-0.50.2-r1.ebuild| 32 --
 dev-util/intltool/intltool-0.51.0.ebuild   | 29 -
 4 files changed, 132 deletions(-)

diff --git a/dev-util/intltool/Manifest b/dev-util/intltool/Manifest
index 7e9e239e98e..2dfc13a3855 100644
--- a/dev-util/intltool/Manifest
+++ b/dev-util/intltool/Manifest
@@ -1,2 +1 @@
-DIST intltool-0.50.2.tar.gz 189483 SHA256 
67f25c5c6fb71d095793a7f895b245e65e829e8bde68c6c8b4c912144ff34406 SHA512 
9f7f0746e77a1a6765b49e16f65438103bc031f3fa8cac42c061deade4291703b95aa336eba2500c8f05d19e35620cf01a120c71a7b6816c1bfecbb9fd747b11
 WHIRLPOOL 
b026ab99921aaddb376823f1eb06e7d669bcc0a3cfb12431676e4e041343a370d7f715d39d60ef991e86e4f8441228713fc82a7ecb3cae2dc3273f7f01ce66a3
 DIST intltool-0.51.0.tar.gz 162286 SHA256 
67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd SHA512 
4c93cb26592ed0b1622d3b7800b5d6622ffa36f58ac73f2ef0bddfab522565fdfb8fa73d81914b9a202f1d62bc995a08960f8adb9f62c86918e75498e85fbfdf
 WHIRLPOOL 
f0cf9a23c7f7dd9d4ec504709c447de1895bf5bdb10fe2000f9ebc8d93b0be204bb4bc1a54a1c3e981a9f8754cc354224e8411711e4996fc7ffd56335cb300cd

diff --git a/dev-util/intltool/files/intltool-0.50.2-localedir-fix.patch 
b/dev-util/intltool/files/intltool-0.50.2-localedir-fix.patch
deleted file mode 100644
index a887c41d3b5..000
--- a/dev-util/intltool/files/intltool-0.50.2-localedir-fix.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-=== modified file 'Makefile.in.in'
 Makefile.in.in 2013-05-12 18:38:08 +
-+++ Makefile.in.in 2013-05-22 13:43:26 +
-@@ -33,8 +33,7 @@
- datadir = @datadir@
- datarootdir = @datarootdir@
- libdir = @libdir@
--DATADIRNAME = @DATADIRNAME@
--itlocaledir = $(prefix)/$(DATADIRNAME)/locale
-+localedir = @localedir@
- subdir = po
- install_sh = @install_sh@
- # Automake >= 1.8 provides @mkdir_p@.
-@@ -108,7 +107,7 @@
- install-data-yes: all
-   linguas="$(USE_LINGUAS)"; \
-   for lang in $$linguas; do \
--dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
-+dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
- $(mkdir_p) $$dir; \
- if test -r $$lang.gmo; then \
-   $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
-@@ -142,8 +141,8 @@
- uninstall:
-   linguas="$(USE_LINGUAS)"; \
-   for lang in $$linguas; do \
--rm -f 
$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
--rm -f 
$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
-+rm -f 
$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
-+rm -f 
$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
-   done
- 
- check: all $(GETTEXT_PACKAGE).pot
-
-=== modified file 'intltool.m4'
 intltool.m42012-02-20 14:50:33 +
-+++ intltool.m42013-05-12 17:08:09 +
-@@ -155,31 +155,6 @@
- # Substitute ALL_LINGUAS so we can use it in po/Makefile
- AC_SUBST(ALL_LINGUAS)
- 
--# Set DATADIRNAME correctly if it is not set yet
--# (copied from glib-gettext.m4)
--if test -z "$DATADIRNAME"; then
--  AC_LINK_IFELSE(
--[AC_LANG_PROGRAM([[]],
-- [[extern int _nl_msg_cat_cntr;
--   return _nl_msg_cat_cntr]])],
--[DATADIRNAME=share],
--[case $host in
--*-*-solaris*)
--dnl On Solaris, if bind_textdomain_codeset is in libc,
--dnl GNU format message catalog is always supported,
--dnl since both are added to the libc all together.
--dnl Hence, we'd like to go with DATADIRNAME=share
--dnl in this case.
--AC_CHECK_FUNC(bind_textdomain_codeset,
--  [DATADIRNAME=share], [DATADIRNAME=lib])
--;;
--*)
--[DATADIRNAME=lib]
--;;
--esac])
--fi
--AC_SUBST(DATADIRNAME)
--
- IT_PO_SUBDIR([po])
- 
- ])
-

diff --git a/dev-util/intltool/intltool-0.50.2-r1.ebuild 
b/dev-util/intltool/intltool-0.50.2-r1.ebuild
deleted file mode 100644
index ce380d8f20a..000
--- a/dev-util/intltool/intltool-0.50.2-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="Internationalization Tool Collection"
-HOMEPAGE="https://launchpad.net/intltool/;
-SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 

[gentoo-commits] repo/gentoo:master commit in: dev-util/intltool/, dev-util/intltool/files/

2017-06-27 Thread Andreas Hüttel
commit: 1105187fc65d8bf643e682fcef39620dcfd9326a
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jun 27 22:54:58 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Tue Jun 27 22:54:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1105187f

dev-util/intltool: Revision bump for bug 614698

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../intltool/files/intltool-0.51.0-perl-5.26.patch | 12 +
 dev-util/intltool/intltool-0.51.0-r2.ebuild| 30 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-util/intltool/files/intltool-0.51.0-perl-5.26.patch 
b/dev-util/intltool/files/intltool-0.51.0-perl-5.26.patch
new file mode 100644
index 000..4af2ed8647e
--- /dev/null
+++ b/dev-util/intltool/files/intltool-0.51.0-perl-5.26.patch
@@ -0,0 +1,12 @@
+diff -ruN intltool-0.51.0.orig/intltool-update.in 
intltool-0.51.0/intltool-update.in
+--- intltool-0.51.0.orig/intltool-update.in2017-06-28 00:47:20.889269294 
+0200
 intltool-0.51.0/intltool-update.in 2017-06-28 00:48:14.592271529 +0200
+@@ -1068,7 +1068,7 @@
+   my $untouched = $1;
+   my $sub = "";
+ # Ignore recursive definitions of variables
+-$sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ 
/\${?$2}?/;
++$sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ 
/\$\{?$2}?/;
+ 
+   return SubstituteVariable ("$untouched$sub$rest");
+ }

diff --git a/dev-util/intltool/intltool-0.51.0-r2.ebuild 
b/dev-util/intltool/intltool-0.51.0-r2.ebuild
new file mode 100644
index 000..d93d95a74f0
--- /dev/null
+++ b/dev-util/intltool/intltool-0.51.0-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Internationalization Tool Collection"
+HOMEPAGE="https://launchpad.net/intltool/;
+SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="
+   dev-lang/perl
+   dev-perl/XML-Parser
+"
+RDEPEND="${DEPEND}
+   sys-devel/gettext
+"
+DOCS=( AUTHORS ChangeLog NEWS README TODO doc/I18N-HOWTO )
+
+PATCHES=(
+   # Fix handling absolute paths in single file key output, bug #470040
+   # https://bugs.launchpad.net/intltool/+bug/1168941
+   "${FILESDIR}"/${PN}-0.50.2-absolute-paths.patch
+   "${FILESDIR}"/${PN}-0.51.0-perl-5.22.patch
+   "${FILESDIR}"/${PN}-0.51.0-perl-5.26.patch
+)



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

2017-06-27 Thread Brian Dolbec
commit: 1c0dd942127f141b493513674a97089b69142b48
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 17:38:48 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 22:05:07 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=1c0dd942

qa_data.py: Initial move of all configurable data to the repo

All this data was ported to a metadata/repoman/qa_data.yml file.

 repoman/pym/repoman/qa_data.py | 433 -
 1 file changed, 77 insertions(+), 356 deletions(-)

diff --git a/repoman/pym/repoman/qa_data.py b/repoman/pym/repoman/qa_data.py
index fed798f9f..c2721d94e 100644
--- a/repoman/pym/repoman/qa_data.py
+++ b/repoman/pym/repoman/qa_data.py
@@ -1,369 +1,90 @@
 # -*- coding:utf-8 -*-
 
 import logging
+import os
+import yaml
 
 from _emerge.Package import Package
 
 # import our initialized portage instance
 from repoman._portage import portage
 
-max_desc_len = 80
-allowed_filename_chars = "a-zA-Z0-9._-+:"
 
-qahelp = {
-   "CVS/Entries.IO_error": (
-   "Attempting to commit, and an IO error was encountered access 
the"
-   " Entries file"),
-   "ebuild.invalidname": (
-   "Ebuild files with a non-parseable or syntactically incorrect 
name"
-   " (or using 2.1 versioning extensions)"),
-   "ebuild.namenomatch": (
-   "Ebuild files that do not have the same name as their parent"
-   " directory"),
-   "changelog.ebuildadded": (
-   "An ebuild was added but the ChangeLog was not modified"),
-   "changelog.missing": (
-   "Missing ChangeLog files"),
-   "ebuild.notadded": (
-   "Ebuilds that exist but have not been added to cvs"),
-   "ebuild.patches": (
-   "PATCHES variable should be a bash array to ensure white space 
safety"),
-   "changelog.notadded": (
-   "ChangeLogs that exist but have not been added to cvs"),
-   "dependency.bad": (
-   "User-visible ebuilds with unsatisfied dependencies"
-   " (matched against *visible* ebuilds)"),
-   "dependency.badmasked": (
-   "Masked ebuilds with unsatisfied dependencies"
-   " (matched against *all* ebuilds)"),
-   "dependency.badindev": (
-   "User-visible ebuilds with unsatisfied dependencies"
-   " (matched against *visible* ebuilds) in developing arch"),
-   "dependency.badmaskedindev": (
-   "Masked ebuilds with unsatisfied dependencies"
-   " (matched against *all* ebuilds) in developing arch"),
-   "dependency.badtilde": (
-   "Uses the ~ dep operator with a non-zero revision part,"
-   " which is useless (the revision is ignored)"),
-   "dependency.missingslot": (
-   "RDEPEND matches more than one SLOT but does not specify a "
-   "slot and/or use the := or :* slot operator"),
-   "dependency.perlcore": (
-   "This ebuild directly depends on a package in perl-core;"
-   " it should use the corresponding virtual instead."),
-   "dependency.syntax": (
-   "Syntax error in dependency string"
-   " (usually an extra/missing space/parenthesis)"),
-   "dependency.unknown": (
-   "Ebuild has a dependency that refers to an unknown package"
-   " (which may be valid if it is a blocker for a renamed/removed 
package,"
-   " or is an alternative choice provided by an overlay)"),
-   "dependency.badslotop": (
-   "RDEPEND contains ':=' slot operator under '||' dependency."),
-   "file.executable": (
-   "Ebuilds, digests, metadata.xml, Manifest, and ChangeLog do not 
need"
-   " the executable bit"),
-   "file.size": (
-   "Files in the files directory must be under 20 KiB"),
-   "file.size.fatal": (
-   "Files in the files directory must be under 60 KiB"),
-   "file.empty": (
-   "Empty file in the files directory"),
-   "file.name": (
-   "File/dir name must be composed"
-   " of only the following chars: %s " % allowed_filename_chars),
-   "file.UTF8": (
-   "File is not UTF8 compliant"),
-   "inherit.deprecated": (
-   "Ebuild inherits a deprecated eclass"),
-   "inherit.missing": (
-   "Ebuild uses functions from an eclass but does not inherit it"),
-   "inherit.unused": (
-   "Ebuild inherits an eclass but does not use it"),
-   "java.eclassesnotused": (
-   "With virtual/jdk in DEPEND you must inherit a java eclass"),
-   "wxwidgets.eclassnotused": (
-   "Ebuild DEPENDs on x11-libs/wxGTK without inheriting 
wxwidgets.eclass"),
-   "KEYWORDS.dropped": (
-   "Ebuilds that appear to have dropped KEYWORDS for some arch"),

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

2017-06-27 Thread Brian Dolbec
commit: b3f787a967e91188b92df55db0cd16bd8fc6bbd3
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 17:49:01 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 22:05:14 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=b3f787a9

repoman: Move qa_data initialization and loading

Move the new QAData class instance init to repoman_main().
parse_args() remove unused qahelp parameter.
qa_tracker.py: Add default qacats and qawarnings parameters as None.
These will be assigned later due to circular init references.
repos.py: Perform the QAData class loading and complete intialization
assignments.

 repoman/pym/repoman/argparser.py  |  3 +--
 repoman/pym/repoman/main.py   | 26 ++
 repoman/pym/repoman/qa_tracker.py | 10 +-
 repoman/pym/repoman/repos.py  | 12 ++--
 4 files changed, 30 insertions(+), 21 deletions(-)

diff --git a/repoman/pym/repoman/argparser.py b/repoman/pym/repoman/argparser.py
index 2d56a87e6..68701378f 100644
--- a/repoman/pym/repoman/argparser.py
+++ b/repoman/pym/repoman/argparser.py
@@ -15,11 +15,10 @@ from portage import _unicode_decode
 from portage import util
 
 
-def parse_args(argv, qahelp, repoman_default_opts):
+def parse_args(argv, repoman_default_opts):
"""Use a customized optionParser to parse command line arguments for 
repoman
Args:
argv - a sequence of command line arguments
-   qahelp - a dict of qa warning to help message
Returns:
(opts, args), just like a call to parser.parse_args()
"""

diff --git a/repoman/pym/repoman/main.py b/repoman/pym/repoman/main.py
old mode 100755
new mode 100644
index ccc735c7d..3b628de00
--- a/repoman/pym/repoman/main.py
+++ b/repoman/pym/repoman/main.py
@@ -29,9 +29,8 @@ from portage.util.futures.extendedfutures import (
 
 from repoman.actions import Actions
 from repoman.argparser import parse_args
-from repoman.qa_data import (
-   format_qa_output, format_qa_output_column, qahelp,
-   qawarnings, qacats)
+from repoman.qa_data import QAData
+from repoman.qa_data import format_qa_output, format_qa_output_column
 from repoman.repos import RepoSettings
 from repoman.scanner import Scanner
 from repoman import utilities
@@ -60,7 +59,7 @@ def repoman_main(argv):
nocolor()
 
options, arguments = parse_args(
-   sys.argv, qahelp, repoman_settings.get("REPOMAN_DEFAULT_OPTS", 
""))
+   sys.argv, repoman_settings.get("REPOMAN_DEFAULT_OPTS", ""))
 
if options.version:
print("Repoman", VERSION, "(portage-%s)" % portage.VERSION)
@@ -73,10 +72,6 @@ def repoman_main(argv):
else:
logger.setLevel(LOGLEVEL)
 
-   if options.experimental_inherit == 'y':
-   # This is experimental, so it's non-fatal.
-   qawarnings.add("inherit.missing")
-
# Set this to False when an extraordinary issue (generally
# something other than a QA issue) makes it impossible to
# commit (like if Manifest generation fails).
@@ -91,14 +86,21 @@ def repoman_main(argv):
 
# avoid a circular parameter repo_settings
vcs_settings = VCSSettings(options, repoman_settings)
+   qadata = QAData()
 
+   logging.debug("repoman_main: RepoSettings init")
repo_settings = RepoSettings(
config_root, portdir, portdir_overlay,
-   repoman_settings, vcs_settings, options, qawarnings)
+   repoman_settings, vcs_settings, options, qadata)
repoman_settings = repo_settings.repoman_settings
 
# Now set repo_settings
vcs_settings.repo_settings = repo_settings
+   # set QATracker qacats, qawarnings
+   vcs_settings.qatracker.qacats = repo_settings.qadata.qacats
+   vcs_settings.qatracker.qawarnings = repo_settings.qadata.qawarnings
+   logging.debug("repoman_main: vcs_settings done")
+   logging.debug("repoman_main: qadata: %s", repo_settings.qadata)
 
if 'digest' in repoman_settings.features and options.digest != 'n':
options.digest = 'y'
@@ -133,11 +135,11 @@ def repoman_main(argv):
if options.mode == "manifest":
sys.exit(result['fail'])
 
-   for x in qacats:
+   for x in qadata.qacats:
if x not in vcs_settings.qatracker.fails:
continue
result['warn'] = 1
-   if x not in qawarnings:
+   if x not in qadata.qawarnings:
result['fail'] = 1
 
if result['fail'] or \
@@ -174,7 +176,7 @@ def repoman_main(argv):
format_output = format_outputs.get(
options.output_style, format_outputs['default'])
format_output(f, vcs_settings.qatracker.fails, result['full'],
-   result['fail'], options, qawarnings)
+   result['fail'], options, qadata.qawarnings)
 
  

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

2017-06-27 Thread Brian Dolbec
commit: cd01ff0d8760de7f1f64d124a9164e8536a8a874
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 18:08:50 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 22:05:14 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=cd01ff0d

repoman: main.py: Remove unused InvalidStateError import

 repoman/pym/repoman/main.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/repoman/pym/repoman/main.py b/repoman/pym/repoman/main.py
old mode 100644
new mode 100755
index 3b628de00..c1e3b99fe
--- a/repoman/pym/repoman/main.py
+++ b/repoman/pym/repoman/main.py
@@ -24,7 +24,6 @@ from portage.output import ConsoleStyleFile, StyleWriter
 from portage.util import formatter
 from portage.util.futures.extendedfutures import (
ExtendedFuture,
-   InvalidStateError,
 )
 
 from repoman.actions import Actions



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

2017-06-27 Thread Brian Dolbec
commit: 76e8ccbb1d8863fb4e1f8ec2404b6e407c410e1c
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 17:56:09 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 22:05:14 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=76e8ccbb

repoman: Update modules for the new QAData class

Rather than direct import, now the QAData instance is accessed via
repo_settings.  Add repo_settings need to all modules requiring QAData
access.

 repoman/pym/repoman/modules/scan/depend/_depend_checks.py| 9 -
 repoman/pym/repoman/modules/scan/depend/profile.py   | 3 ++-
 repoman/pym/repoman/modules/scan/ebuild/ebuild.py| 5 +++--
 repoman/pym/repoman/modules/scan/eclasses/__init__.py| 2 +-
 repoman/pym/repoman/modules/scan/eclasses/ruby.py| 5 +++--
 repoman/pym/repoman/modules/scan/metadata/__init__.py| 4 ++--
 repoman/pym/repoman/modules/scan/metadata/description.py | 6 +++---
 repoman/pym/repoman/modules/scan/metadata/ebuild_metadata.py | 6 +++---
 repoman/pym/repoman/modules/scan/metadata/restrict.py| 4 ++--
 9 files changed, 23 insertions(+), 21 deletions(-)

diff --git a/repoman/pym/repoman/modules/scan/depend/_depend_checks.py 
b/repoman/pym/repoman/modules/scan/depend/_depend_checks.py
index 11435f99e..cffacc55e 100644
--- a/repoman/pym/repoman/modules/scan/depend/_depend_checks.py
+++ b/repoman/pym/repoman/modules/scan/depend/_depend_checks.py
@@ -9,7 +9,6 @@ from portage.dep import Atom
 from repoman.check_missingslot import check_missingslot
 # import our initialized portage instance
 from repoman._portage import portage
-from repoman.qa_data import suspect_virtual, suspect_rdepend
 
 def check_slotop(depstr, is_valid_flag, badsyntax, mytype,
qatracker, relative_path):
@@ -51,7 +50,7 @@ def check_slotop(depstr, is_valid_flag, badsyntax, mytype,
_traverse_tree(branch, 
in_any_of=in_any_of)
_traverse_tree(my_dep_tree, False)
 
-def _depend_checks(ebuild, pkg, portdb, qatracker, repo_metadata):
+def _depend_checks(ebuild, pkg, portdb, qatracker, repo_metadata, qadata):
'''Checks the ebuild dependencies for errors
 
@param pkg: Package in which we check (object).
@@ -111,11 +110,11 @@ def _depend_checks(ebuild, pkg, portdb, qatracker, 
repo_metadata):
 
if pkg.category != "virtual":
if not is_blocker and \
-   atom.cp in suspect_virtual:
+   atom.cp in 
qadata.suspect_virtual:
qatracker.add_error(
'virtual.suspect', 
ebuild.relative_path +
": %s: consider using 
'%s' instead of '%s'" %
-   (mytype, 
suspect_virtual[atom.cp], atom))
+   (mytype, 
qadata.suspect_virtual[atom.cp], atom))
if not is_blocker and \

atom.cp.startswith("perl-core/"):

qatracker.add_error('dependency.perlcore',
@@ -141,7 +140,7 @@ def _depend_checks(ebuild, pkg, portdb, qatracker, 
repo_metadata):
" wxwidgets.eclass" % 
(ebuild.relative_path, mytype))
elif runtime:
if not is_blocker and \
-   atom.cp in suspect_rdepend:
+   atom.cp in 
qadata.suspect_rdepend:
qatracker.add_error(
mytype + '.suspect',
ebuild.relative_path + 
": '%s'" % atom)

diff --git a/repoman/pym/repoman/modules/scan/depend/profile.py 
b/repoman/pym/repoman/modules/scan/depend/profile.py
index cf3d9a8f4..1adda44bb 100644
--- a/repoman/pym/repoman/modules/scan/depend/profile.py
+++ b/repoman/pym/repoman/modules/scan/depend/profile.py
@@ -63,7 +63,8 @@ class ProfileDependsChecks(ScanBase):
ebuild = kwargs.get('ebuild').get()
pkg = kwargs.get('pkg').get()
unknown_pkgs, baddepsyntax = _depend_checks(
-   ebuild, pkg, self.portdb, self.qatracker, 
self.repo_metadata)
+   ebuild, pkg, self.portdb, self.qatracker, 
self.repo_metadata,
+   self.repo_settings.qadata)
 
relevant_profiles = []
for keyword, arch, groups in _gen_arches(ebuild, self.options,

diff --git a/repoman/pym/repoman/modules/scan/ebuild/ebuild.py 

[gentoo-commits] repo/gentoo:master commit in: app-admin/keepassxc/

2017-06-27 Thread Lars Wendler
commit: afc97537c47748f6402618f3089d8c95ac9782e1
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jun 27 21:42:54 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jun 27 21:44:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc97537

app-admin/keepassxc: Bump to version 2.2.0 (bug #622804).

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-admin/keepassxc/Manifest   |  1 +
 app-admin/keepassxc/keepassxc-2.2.0.ebuild | 63 ++
 app-admin/keepassxc/metadata.xml   |  1 +
 3 files changed, 65 insertions(+)

diff --git a/app-admin/keepassxc/Manifest b/app-admin/keepassxc/Manifest
index 5592066012d..91a1ebda349 100644
--- a/app-admin/keepassxc/Manifest
+++ b/app-admin/keepassxc/Manifest
@@ -1,2 +1,3 @@
 DIST keepassxc-2.1.3.tar.gz 3329237 SHA256 
9cfdcb519127197e4b35837160729a3f38c34771f869249b03fa88a8104fb0e4 SHA512 
dac030211f596265e5a70d508393bb88ad314a029112b4ce3ae9e4ad6e33ef82f94b616b73535aa45065e34fef819a5136401dd01808fa0b80d21f25b1a68b4a
 WHIRLPOOL 
454cdb17368db06b77b9325363de62654797e739c4417cb1ffc4965b3f12ed8537c488815d3af334986f55f15c42cbac8e841240fd3c472bf9deda8e6f06c331
 DIST keepassxc-2.1.4.tar.gz 3345520 SHA256 
40a990dbcf442eb3cad99452b58ffd36e5855b39e78f213ea20e99fbc7876701 SHA512 
48030eb6df595c73644f43d6222654c5f76962ae5aa2f44ca4dc9c8e45726380c6be4300af7a8279b07c06b70912da444f2b17c5b6c37a91cb239d695e7518d8
 WHIRLPOOL 
da2bdac3e334b48903c6b20532ea4a0af0fe057e10e702ba6a4221e828b8f416d666ff67407b434d38b4cbbe5119d3c8a49927e4d5092f4f62ab49e30981017c
+DIST keepassxc-2.2.0.tar.gz 3814252 SHA256 
9d9d39b9c056955fe5d7a5212efe1703be02fa4731c36e2b1e06a78174b0a7b8 SHA512 
e23968c259afade81c8dcf0786ed68ca77ca8e9726dffb12e1017f2f60afb29b60ec1b71450ce7e284d543bcaa72bbc79bec917dea852d5bb923dff7fc6edcb5
 WHIRLPOOL 
a993068922d8fd0bd1b06d434fff7340160c30992a166f15d9692d83e4a985939b88d20fce2b0425d3bab00de0e2ffce6fd2d34ff0bd92d08d95747ae03c9df9

diff --git a/app-admin/keepassxc/keepassxc-2.2.0.ebuild 
b/app-admin/keepassxc/keepassxc-2.2.0.ebuild
new file mode 100644
index 000..b237bab19a6
--- /dev/null
+++ b/app-admin/keepassxc/keepassxc-2.2.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+SCM=""
+[[ "${PV}" ==  ]] && SCM="git-r3"
+inherit cmake-utils ${SCM}
+unset SCM
+
+DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
+HOMEPAGE="https://github.com/keepassxreboot/keepassxc;
+
+if [[ "${PV}" !=  ]] ; then
+   
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+else
+   EGIT_REPO_URI="https://github.com/keepassxreboot/${PN};
+fi
+
+LICENSE="LGPL-2.1 GPL-2 GPL-3"
+SLOT="0"
+IUSE="autotype debug http test yubikey"
+
+RDEPEND="
+   dev-libs/libgcrypt:=
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+   sys-libs/zlib
+   autotype? (
+   dev-qt/qtx11extras:5
+   x11-libs/libXi
+   x11-libs/libXtst
+   )
+   yubikey? ( sys-auth/libyubikey )
+"
+
+DEPEND="
+   ${RDEPEND}
+   dev-qt/linguist-tools:5
+   dev-qt/qtconcurrent:5
+   test? ( dev-qt/qttest:5 )
+"
+
+src_prepare() {
+use test || \
+   sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
+
+cmake-utils_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DWITH_GUI_TESTS=OFF
+   -DWITH_TESTS="$(usex test)"
+   -DWITH_XC_AUTOTYPE="$(usex autotype)"
+   -DWITH_XC_HTTP="$(usex http)"
+   -DWITH_XC_YUBIKEY="$(usex yubikey)"
+   )
+   cmake-utils_src_configure
+}

diff --git a/app-admin/keepassxc/metadata.xml b/app-admin/keepassxc/metadata.xml
index fe942b6d254..80385e835f0 100644
--- a/app-admin/keepassxc/metadata.xml
+++ b/app-admin/keepassxc/metadata.xml
@@ -8,6 +8,7 @@
   
 Add support to autotype the passwords into other 
applications
 Add http support
+Enable database unlocking via YubiKey.
   
   
 KeePassXC provides a safe location for your passwords and similar



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepassxc/

2017-06-27 Thread Lars Wendler
commit: fcf4f007a1123d98d9c4ade8c7f1ced155637f1c
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jun 27 21:44:19 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jun 27 21:45:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcf4f007

app-admin/keepassxc: Sync live ebuild.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-admin/keepassxc/keepassxc-.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-admin/keepassxc/keepassxc-.ebuild 
b/app-admin/keepassxc/keepassxc-.ebuild
index ab7c275b1b2..b237bab19a6 100644
--- a/app-admin/keepassxc/keepassxc-.ebuild
+++ b/app-admin/keepassxc/keepassxc-.ebuild
@@ -20,7 +20,7 @@ fi
 
 LICENSE="LGPL-2.1 GPL-2 GPL-3"
 SLOT="0"
-IUSE="autotype debug http test"
+IUSE="autotype debug http test yubikey"
 
 RDEPEND="
dev-libs/libgcrypt:=
@@ -34,8 +34,8 @@ RDEPEND="
x11-libs/libXi
x11-libs/libXtst
)
+   yubikey? ( sys-auth/libyubikey )
 "
-#  yubikey? ( sys-auth/libyubikey )
 
 DEPEND="
${RDEPEND}
@@ -57,7 +57,7 @@ src_configure() {
-DWITH_TESTS="$(usex test)"
-DWITH_XC_AUTOTYPE="$(usex autotype)"
-DWITH_XC_HTTP="$(usex http)"
-   #-DWITH_XC_YUBIKEY="$(usex yubikey)"
+   -DWITH_XC_YUBIKEY="$(usex yubikey)"
)
cmake-utils_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: app-admin/keepassxc/

2017-06-27 Thread Lars Wendler
commit: 2da4b6bb801272734d3b7a88dedf2ad0c0e35296
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jun 27 21:44:46 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jun 27 21:45:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2da4b6bb

app-admin/keepassxc: Removed old.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-admin/keepassxc/Manifest   |  1 -
 app-admin/keepassxc/keepassxc-2.1.3.ebuild | 63 --
 2 files changed, 64 deletions(-)

diff --git a/app-admin/keepassxc/Manifest b/app-admin/keepassxc/Manifest
index 91a1ebda349..78263115bea 100644
--- a/app-admin/keepassxc/Manifest
+++ b/app-admin/keepassxc/Manifest
@@ -1,3 +1,2 @@
-DIST keepassxc-2.1.3.tar.gz 3329237 SHA256 
9cfdcb519127197e4b35837160729a3f38c34771f869249b03fa88a8104fb0e4 SHA512 
dac030211f596265e5a70d508393bb88ad314a029112b4ce3ae9e4ad6e33ef82f94b616b73535aa45065e34fef819a5136401dd01808fa0b80d21f25b1a68b4a
 WHIRLPOOL 
454cdb17368db06b77b9325363de62654797e739c4417cb1ffc4965b3f12ed8537c488815d3af334986f55f15c42cbac8e841240fd3c472bf9deda8e6f06c331
 DIST keepassxc-2.1.4.tar.gz 3345520 SHA256 
40a990dbcf442eb3cad99452b58ffd36e5855b39e78f213ea20e99fbc7876701 SHA512 
48030eb6df595c73644f43d6222654c5f76962ae5aa2f44ca4dc9c8e45726380c6be4300af7a8279b07c06b70912da444f2b17c5b6c37a91cb239d695e7518d8
 WHIRLPOOL 
da2bdac3e334b48903c6b20532ea4a0af0fe057e10e702ba6a4221e828b8f416d666ff67407b434d38b4cbbe5119d3c8a49927e4d5092f4f62ab49e30981017c
 DIST keepassxc-2.2.0.tar.gz 3814252 SHA256 
9d9d39b9c056955fe5d7a5212efe1703be02fa4731c36e2b1e06a78174b0a7b8 SHA512 
e23968c259afade81c8dcf0786ed68ca77ca8e9726dffb12e1017f2f60afb29b60ec1b71450ce7e284d543bcaa72bbc79bec917dea852d5bb923dff7fc6edcb5
 WHIRLPOOL 
a993068922d8fd0bd1b06d434fff7340160c30992a166f15d9692d83e4a985939b88d20fce2b0425d3bab00de0e2ffce6fd2d34ff0bd92d08d95747ae03c9df9

diff --git a/app-admin/keepassxc/keepassxc-2.1.3.ebuild 
b/app-admin/keepassxc/keepassxc-2.1.3.ebuild
deleted file mode 100644
index ab7c275b1b2..000
--- a/app-admin/keepassxc/keepassxc-2.1.3.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-SCM=""
-[[ "${PV}" ==  ]] && SCM="git-r3"
-inherit cmake-utils ${SCM}
-unset SCM
-
-DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
-HOMEPAGE="https://github.com/keepassxreboot/keepassxc;
-
-if [[ "${PV}" !=  ]] ; then
-   
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-else
-   EGIT_REPO_URI="https://github.com/keepassxreboot/${PN};
-fi
-
-LICENSE="LGPL-2.1 GPL-2 GPL-3"
-SLOT="0"
-IUSE="autotype debug http test"
-
-RDEPEND="
-   dev-libs/libgcrypt:=
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtwidgets:5
-   sys-libs/zlib
-   autotype? (
-   dev-qt/qtx11extras:5
-   x11-libs/libXi
-   x11-libs/libXtst
-   )
-"
-#  yubikey? ( sys-auth/libyubikey )
-
-DEPEND="
-   ${RDEPEND}
-   dev-qt/linguist-tools:5
-   dev-qt/qtconcurrent:5
-   test? ( dev-qt/qttest:5 )
-"
-
-src_prepare() {
-use test || \
-   sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
-
-cmake-utils_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DWITH_GUI_TESTS=OFF
-   -DWITH_TESTS="$(usex test)"
-   -DWITH_XC_AUTOTYPE="$(usex autotype)"
-   -DWITH_XC_HTTP="$(usex http)"
-   #-DWITH_XC_YUBIKEY="$(usex yubikey)"
-   )
-   cmake-utils_src_configure
-}



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

2017-06-27 Thread Brian Dolbec
commit: 7cc005b548feac3953e73a20d10df5bc89cb5b40
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 18:08:50 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 21:32:54 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=7cc005b5

repoman: main.py: Remove unused InvalidStateError import

 repoman/pym/repoman/main.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/repoman/pym/repoman/main.py b/repoman/pym/repoman/main.py
old mode 100644
new mode 100755
index 3b628de00..c1e3b99fe
--- a/repoman/pym/repoman/main.py
+++ b/repoman/pym/repoman/main.py
@@ -24,7 +24,6 @@ from portage.output import ConsoleStyleFile, StyleWriter
 from portage.util import formatter
 from portage.util.futures.extendedfutures import (
ExtendedFuture,
-   InvalidStateError,
 )
 
 from repoman.actions import Actions



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

2017-06-27 Thread Brian Dolbec
commit: c3be69803b3fa4eb1cd532252b28d6a57952e246
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 17:56:09 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 21:32:53 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=c3be6980

repoman: Update modules for the new QAData class

Rather than direct import, now the QAData instance is accessed via
repo_settings.  Add repo_settings need to all modules requiring QAData
access.

 repoman/pym/repoman/modules/scan/depend/_depend_checks.py| 9 -
 repoman/pym/repoman/modules/scan/depend/profile.py   | 3 ++-
 repoman/pym/repoman/modules/scan/ebuild/ebuild.py| 5 +++--
 repoman/pym/repoman/modules/scan/eclasses/__init__.py| 2 +-
 repoman/pym/repoman/modules/scan/eclasses/ruby.py| 5 +++--
 repoman/pym/repoman/modules/scan/metadata/__init__.py| 4 ++--
 repoman/pym/repoman/modules/scan/metadata/description.py | 6 +++---
 repoman/pym/repoman/modules/scan/metadata/ebuild_metadata.py | 6 +++---
 repoman/pym/repoman/modules/scan/metadata/restrict.py| 4 ++--
 9 files changed, 23 insertions(+), 21 deletions(-)

diff --git a/repoman/pym/repoman/modules/scan/depend/_depend_checks.py 
b/repoman/pym/repoman/modules/scan/depend/_depend_checks.py
index 11435f99e..cffacc55e 100644
--- a/repoman/pym/repoman/modules/scan/depend/_depend_checks.py
+++ b/repoman/pym/repoman/modules/scan/depend/_depend_checks.py
@@ -9,7 +9,6 @@ from portage.dep import Atom
 from repoman.check_missingslot import check_missingslot
 # import our initialized portage instance
 from repoman._portage import portage
-from repoman.qa_data import suspect_virtual, suspect_rdepend
 
 def check_slotop(depstr, is_valid_flag, badsyntax, mytype,
qatracker, relative_path):
@@ -51,7 +50,7 @@ def check_slotop(depstr, is_valid_flag, badsyntax, mytype,
_traverse_tree(branch, 
in_any_of=in_any_of)
_traverse_tree(my_dep_tree, False)
 
-def _depend_checks(ebuild, pkg, portdb, qatracker, repo_metadata):
+def _depend_checks(ebuild, pkg, portdb, qatracker, repo_metadata, qadata):
'''Checks the ebuild dependencies for errors
 
@param pkg: Package in which we check (object).
@@ -111,11 +110,11 @@ def _depend_checks(ebuild, pkg, portdb, qatracker, 
repo_metadata):
 
if pkg.category != "virtual":
if not is_blocker and \
-   atom.cp in suspect_virtual:
+   atom.cp in 
qadata.suspect_virtual:
qatracker.add_error(
'virtual.suspect', 
ebuild.relative_path +
": %s: consider using 
'%s' instead of '%s'" %
-   (mytype, 
suspect_virtual[atom.cp], atom))
+   (mytype, 
qadata.suspect_virtual[atom.cp], atom))
if not is_blocker and \

atom.cp.startswith("perl-core/"):

qatracker.add_error('dependency.perlcore',
@@ -141,7 +140,7 @@ def _depend_checks(ebuild, pkg, portdb, qatracker, 
repo_metadata):
" wxwidgets.eclass" % 
(ebuild.relative_path, mytype))
elif runtime:
if not is_blocker and \
-   atom.cp in suspect_rdepend:
+   atom.cp in 
qadata.suspect_rdepend:
qatracker.add_error(
mytype + '.suspect',
ebuild.relative_path + 
": '%s'" % atom)

diff --git a/repoman/pym/repoman/modules/scan/depend/profile.py 
b/repoman/pym/repoman/modules/scan/depend/profile.py
index cf3d9a8f4..1adda44bb 100644
--- a/repoman/pym/repoman/modules/scan/depend/profile.py
+++ b/repoman/pym/repoman/modules/scan/depend/profile.py
@@ -63,7 +63,8 @@ class ProfileDependsChecks(ScanBase):
ebuild = kwargs.get('ebuild').get()
pkg = kwargs.get('pkg').get()
unknown_pkgs, baddepsyntax = _depend_checks(
-   ebuild, pkg, self.portdb, self.qatracker, 
self.repo_metadata)
+   ebuild, pkg, self.portdb, self.qatracker, 
self.repo_metadata,
+   self.repo_settings.qadata)
 
relevant_profiles = []
for keyword, arch, groups in _gen_arches(ebuild, self.options,

diff --git a/repoman/pym/repoman/modules/scan/ebuild/ebuild.py 

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

2017-06-27 Thread Brian Dolbec
commit: 5cc3bc2f3fbe8c4ca2c078eb5709d61b5c3f94c9
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue May 30 10:18:58 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 21:29:26 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=5cc3bc2f

repoman: Mark ruby-2.0 as deprecated

 repoman/pym/repoman/qa_data.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/repoman/pym/repoman/qa_data.py b/repoman/pym/repoman/qa_data.py
index a59fed778..fed798f9f 100644
--- a/repoman/pym/repoman/qa_data.py
+++ b/repoman/pym/repoman/qa_data.py
@@ -358,6 +358,7 @@ ruby_deprecated = frozenset([
"ruby_targets_ree18",
"ruby_targets_ruby18",
"ruby_targets_ruby19",
+   "ruby_targets_ruby20",
 ])
 
 



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

2017-06-27 Thread Brian Dolbec
commit: 2c3728f246e5e38ea2d3611da4ca88efed34be78
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 17:38:48 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 21:32:53 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=2c3728f2

qa_data.py: Initial move of all configurable data to the repo

All this data was ported to a metadata/repoman/qa_data.yml file.

 repoman/pym/repoman/qa_data.py | 433 -
 1 file changed, 77 insertions(+), 356 deletions(-)

diff --git a/repoman/pym/repoman/qa_data.py b/repoman/pym/repoman/qa_data.py
index fed798f9f..2bbf460df 100644
--- a/repoman/pym/repoman/qa_data.py
+++ b/repoman/pym/repoman/qa_data.py
@@ -1,369 +1,90 @@
 # -*- coding:utf-8 -*-
 
 import logging
+import os
+import yaml
 
 from _emerge.Package import Package
 
 # import our initialized portage instance
 from repoman._portage import portage
 
-max_desc_len = 80
-allowed_filename_chars = "a-zA-Z0-9._-+:"
 
-qahelp = {
-   "CVS/Entries.IO_error": (
-   "Attempting to commit, and an IO error was encountered access 
the"
-   " Entries file"),
-   "ebuild.invalidname": (
-   "Ebuild files with a non-parseable or syntactically incorrect 
name"
-   " (or using 2.1 versioning extensions)"),
-   "ebuild.namenomatch": (
-   "Ebuild files that do not have the same name as their parent"
-   " directory"),
-   "changelog.ebuildadded": (
-   "An ebuild was added but the ChangeLog was not modified"),
-   "changelog.missing": (
-   "Missing ChangeLog files"),
-   "ebuild.notadded": (
-   "Ebuilds that exist but have not been added to cvs"),
-   "ebuild.patches": (
-   "PATCHES variable should be a bash array to ensure white space 
safety"),
-   "changelog.notadded": (
-   "ChangeLogs that exist but have not been added to cvs"),
-   "dependency.bad": (
-   "User-visible ebuilds with unsatisfied dependencies"
-   " (matched against *visible* ebuilds)"),
-   "dependency.badmasked": (
-   "Masked ebuilds with unsatisfied dependencies"
-   " (matched against *all* ebuilds)"),
-   "dependency.badindev": (
-   "User-visible ebuilds with unsatisfied dependencies"
-   " (matched against *visible* ebuilds) in developing arch"),
-   "dependency.badmaskedindev": (
-   "Masked ebuilds with unsatisfied dependencies"
-   " (matched against *all* ebuilds) in developing arch"),
-   "dependency.badtilde": (
-   "Uses the ~ dep operator with a non-zero revision part,"
-   " which is useless (the revision is ignored)"),
-   "dependency.missingslot": (
-   "RDEPEND matches more than one SLOT but does not specify a "
-   "slot and/or use the := or :* slot operator"),
-   "dependency.perlcore": (
-   "This ebuild directly depends on a package in perl-core;"
-   " it should use the corresponding virtual instead."),
-   "dependency.syntax": (
-   "Syntax error in dependency string"
-   " (usually an extra/missing space/parenthesis)"),
-   "dependency.unknown": (
-   "Ebuild has a dependency that refers to an unknown package"
-   " (which may be valid if it is a blocker for a renamed/removed 
package,"
-   " or is an alternative choice provided by an overlay)"),
-   "dependency.badslotop": (
-   "RDEPEND contains ':=' slot operator under '||' dependency."),
-   "file.executable": (
-   "Ebuilds, digests, metadata.xml, Manifest, and ChangeLog do not 
need"
-   " the executable bit"),
-   "file.size": (
-   "Files in the files directory must be under 20 KiB"),
-   "file.size.fatal": (
-   "Files in the files directory must be under 60 KiB"),
-   "file.empty": (
-   "Empty file in the files directory"),
-   "file.name": (
-   "File/dir name must be composed"
-   " of only the following chars: %s " % allowed_filename_chars),
-   "file.UTF8": (
-   "File is not UTF8 compliant"),
-   "inherit.deprecated": (
-   "Ebuild inherits a deprecated eclass"),
-   "inherit.missing": (
-   "Ebuild uses functions from an eclass but does not inherit it"),
-   "inherit.unused": (
-   "Ebuild inherits an eclass but does not use it"),
-   "java.eclassesnotused": (
-   "With virtual/jdk in DEPEND you must inherit a java eclass"),
-   "wxwidgets.eclassnotused": (
-   "Ebuild DEPENDs on x11-libs/wxGTK without inheriting 
wxwidgets.eclass"),
-   "KEYWORDS.dropped": (
-   "Ebuilds that appear to have dropped KEYWORDS for some arch"),

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

2017-06-27 Thread Brian Dolbec
commit: 12fab561d3b63093805107cfcff4a425048db2aa
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Jun 26 15:16:37 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 21:29:30 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=12fab561

repoman: Warn about dropped keywords only for latest in SLOT.

Rationale: There is no point in rekeywording non-latest and nobody ever does 
that.
Modified by: Brian Dolbec  gentoo.org> , shorten commit message, 
add missed docstring.

For example:
 $ epkginfo texlive-latex
 * dev-texlive/texlive-latex [gentoo]
Maintainer:  aballier  gentoo.org (Alexis Ballier)
Maintainer:  tex  gentoo.org (Gentoo TeX Project)
Upstream:None specified
Homepage:http://www.tug.org/texlive/
Location:/mnt/dev/gentoo-x86/dev-texlive/texlive-latex
Keywords:2012:0: s390 sh sparc
Keywords:2015:0: hppa ppc ppc64
Keywords:2016:0: alpha amd64 arm arm64 ia64 x86
Keywords:2017:0: ~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa 
~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~sparc-solaris ~x64-macos 
~x64-solaris ~x86 ~x86-fbsd ~x86-linux ~x86-macos ~x86-solaris

Before:
RepoMan scours the neighborhood...
  KEYWORDS.dropped  3
   dev-texlive/texlive-latex/texlive-latex-2014.ebuild: ia64 sparc
   dev-texlive/texlive-latex/texlive-latex-2015.ebuild: ia64 sparc
   dev-texlive/texlive-latex/texlive-latex-2016.ebuild: sparc
  repo.eapi.deprecated  1
   dev-texlive/texlive-latex/texlive-latex-2012.ebuild: 4

After:
RepoMan scours the neighborhood...
  repo.eapi.deprecated  1
   dev-texlive/texlive-latex/texlive-latex-2012.ebuild: 4

Or also:
 $ epkginfo ffmpeg
 * media-video/ffmpeg [gentoo]
Maintainer:  media-video  gentoo.org
Upstream:None specified
Homepage:http://ffmpeg.org/
Location:/mnt/dev/gentoo-x86/media-video/ffmpeg
Keywords:2.8.10:0/54.56.56: alpha amd64 arm hppa ia64 ppc ppc64 sparc x86
Keywords:2.8.11:0/54.56.56: ~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm 
~arm-linux ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-linux
Keywords:3.2.4:0/55.57.57: alpha amd64 arm hppa ia64 ppc ppc64 x86
Keywords:3.2.5:0/55.57.57:
Keywords:3.2.6:0/55.57.57: ~alpha ~ia64
Keywords:3.3.2:0/55.57.57: ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm-linux 
~arm64 ~hppa ~mips ~ppc ~ppc-macos ~ppc64 ~x64-macos ~x64-solaris ~x86 
~x86-fbsd ~x86-linux ~x86-macos ~x86-solaris
Keywords::0/55.57.57:

Before:
RepoMan scours the neighborhood...
  KEYWORDS.dropped  4
   media-video/ffmpeg/ffmpeg-3.2.4.ebuild: sparc
   media-video/ffmpeg/ffmpeg-3.2.5.ebuild: sparc
   media-video/ffmpeg/ffmpeg-3.2.6.ebuild: sparc
   media-video/ffmpeg/ffmpeg-3.3.2.ebuild: alpha ia64 sparc

After:
RepoMan scours the neighborhood...
  KEYWORDS.dropped  1
   media-video/ffmpeg/ffmpeg-3.3.2.ebuild: alpha ia64 sparc

X-Gentoo-Bug: 256189
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=256189

 .../pym/repoman/modules/scan/keywords/keywords.py  | 26 +-
 repoman/pym/repoman/scanner.py |  2 +-
 2 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/repoman/pym/repoman/modules/scan/keywords/keywords.py 
b/repoman/pym/repoman/modules/scan/keywords/keywords.py
index 7cb2fe912..1e9623906 100644
--- a/repoman/pym/repoman/modules/scan/keywords/keywords.py
+++ b/repoman/pym/repoman/modules/scan/keywords/keywords.py
@@ -26,6 +26,7 @@ class KeywordChecks(ScanBase):
def prepare(self, **kwargs):
'''Prepare the checks for the next package.'''
self.slot_keywords = {}
+   self.dropped_keywords = {}
return False
 
def check(self, **kwargs):
@@ -57,6 +58,19 @@ class KeywordChecks(ScanBase):
self.slot_keywords[pkg.slot].update(ebuild.archs)
return False
 
+   def check_dropped_keywords(self, **kwargs):
+   '''Report on any dropped keywords for the latest ebuild in a 
slot
+
+   @returns: boolean
+   '''
+   for ebuild, arches in self.dropped_keywords.values():
+   if arches:
+   self.qatracker.add_error(
+   "KEYWORDS.dropped", "%s: %s" % (
+   ebuild,
+   " ".join(sorted(arches
+   return False
+
@staticmethod
def _isKeywordStable(keyword):
return not keyword.startswith("~") and not 
keyword.startswith("-")
@@ -80,12 +94,9 @@ class KeywordChecks(ScanBase):
if previous_keywords is None:
self.slot_keywords[pkg.slot] = set()
elif ebuild_archs and "*" not in ebuild_archs and not 
ebuild.live_ebuild:
+   self.slot_keywords[pkg.slot].update(ebuild_archs)

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

2017-06-27 Thread Brian Dolbec
commit: 2ceec91cec02b94cad84fddaf29bbe884baa1b6d
Author: Louis Sautier  gmail  com>
AuthorDate: Mon Jun 19 12:31:50 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 21:29:30 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=2ceec91c

Repoman: detect inconsistent metadata.xml indentation

 repoman/pym/repoman/modules/scan/metadata/pkgmetadata.py | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/repoman/pym/repoman/modules/scan/metadata/pkgmetadata.py 
b/repoman/pym/repoman/modules/scan/metadata/pkgmetadata.py
index 92c74e6f8..6a0f501ec 100644
--- a/repoman/pym/repoman/modules/scan/metadata/pkgmetadata.py
+++ b/repoman/pym/repoman/modules/scan/metadata/pkgmetadata.py
@@ -3,8 +3,10 @@
 '''Package Metadata Checks operations'''
 
 import sys
+import re
 
 from itertools import chain
+from collections import Counter
 
 try:
from lxml import etree
@@ -96,6 +98,14 @@ class PkgMetadata(ScanBase, USEFlagChecks):
self.muselist = frozenset(self.musedict)
return False
 
+   indentation_chars = Counter()
+   for l in etree.tostring(_metadata_xml).splitlines():
+   indentation_chars.update(re.match(b"\s*", l).group(0))
+   if len(indentation_chars) > 1:
+   self.qatracker.add_error("metadata.warning", 
"%s/metadata.xml: %s" %
+   (xpkg, "inconsistent use of tabs and spaces in 
indentation")
+   )
+
xml_encoding = _metadata_xml.docinfo.encoding
if xml_encoding.upper() != metadata_xml_encoding:
self.qatracker.add_error(



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

2017-06-27 Thread Brian Dolbec
commit: e7da86559d42eb136b6c9caa13af26c64347c7ca
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 17:49:01 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 21:32:53 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=e7da8655

repoman: Move qa_data initialization and loading

Move the new QAData class instance init to repoman_main().
parse_args() remove unused qahelp parameter.
qa_tracker.py: Add default qacats and qawarnings parameters as None.
These will be assigned later due to circular init references.
repos.py: Perform the QAData class loading and complete intialization
assignments.

 repoman/pym/repoman/argparser.py  |  3 +--
 repoman/pym/repoman/main.py   | 26 ++
 repoman/pym/repoman/qa_tracker.py | 10 +-
 repoman/pym/repoman/repos.py  | 12 ++--
 4 files changed, 30 insertions(+), 21 deletions(-)

diff --git a/repoman/pym/repoman/argparser.py b/repoman/pym/repoman/argparser.py
index 2d56a87e6..68701378f 100644
--- a/repoman/pym/repoman/argparser.py
+++ b/repoman/pym/repoman/argparser.py
@@ -15,11 +15,10 @@ from portage import _unicode_decode
 from portage import util
 
 
-def parse_args(argv, qahelp, repoman_default_opts):
+def parse_args(argv, repoman_default_opts):
"""Use a customized optionParser to parse command line arguments for 
repoman
Args:
argv - a sequence of command line arguments
-   qahelp - a dict of qa warning to help message
Returns:
(opts, args), just like a call to parser.parse_args()
"""

diff --git a/repoman/pym/repoman/main.py b/repoman/pym/repoman/main.py
old mode 100755
new mode 100644
index ccc735c7d..3b628de00
--- a/repoman/pym/repoman/main.py
+++ b/repoman/pym/repoman/main.py
@@ -29,9 +29,8 @@ from portage.util.futures.extendedfutures import (
 
 from repoman.actions import Actions
 from repoman.argparser import parse_args
-from repoman.qa_data import (
-   format_qa_output, format_qa_output_column, qahelp,
-   qawarnings, qacats)
+from repoman.qa_data import QAData
+from repoman.qa_data import format_qa_output, format_qa_output_column
 from repoman.repos import RepoSettings
 from repoman.scanner import Scanner
 from repoman import utilities
@@ -60,7 +59,7 @@ def repoman_main(argv):
nocolor()
 
options, arguments = parse_args(
-   sys.argv, qahelp, repoman_settings.get("REPOMAN_DEFAULT_OPTS", 
""))
+   sys.argv, repoman_settings.get("REPOMAN_DEFAULT_OPTS", ""))
 
if options.version:
print("Repoman", VERSION, "(portage-%s)" % portage.VERSION)
@@ -73,10 +72,6 @@ def repoman_main(argv):
else:
logger.setLevel(LOGLEVEL)
 
-   if options.experimental_inherit == 'y':
-   # This is experimental, so it's non-fatal.
-   qawarnings.add("inherit.missing")
-
# Set this to False when an extraordinary issue (generally
# something other than a QA issue) makes it impossible to
# commit (like if Manifest generation fails).
@@ -91,14 +86,21 @@ def repoman_main(argv):
 
# avoid a circular parameter repo_settings
vcs_settings = VCSSettings(options, repoman_settings)
+   qadata = QAData()
 
+   logging.debug("repoman_main: RepoSettings init")
repo_settings = RepoSettings(
config_root, portdir, portdir_overlay,
-   repoman_settings, vcs_settings, options, qawarnings)
+   repoman_settings, vcs_settings, options, qadata)
repoman_settings = repo_settings.repoman_settings
 
# Now set repo_settings
vcs_settings.repo_settings = repo_settings
+   # set QATracker qacats, qawarnings
+   vcs_settings.qatracker.qacats = repo_settings.qadata.qacats
+   vcs_settings.qatracker.qawarnings = repo_settings.qadata.qawarnings
+   logging.debug("repoman_main: vcs_settings done")
+   logging.debug("repoman_main: qadata: %s", repo_settings.qadata)
 
if 'digest' in repoman_settings.features and options.digest != 'n':
options.digest = 'y'
@@ -133,11 +135,11 @@ def repoman_main(argv):
if options.mode == "manifest":
sys.exit(result['fail'])
 
-   for x in qacats:
+   for x in qadata.qacats:
if x not in vcs_settings.qatracker.fails:
continue
result['warn'] = 1
-   if x not in qawarnings:
+   if x not in qadata.qawarnings:
result['fail'] = 1
 
if result['fail'] or \
@@ -174,7 +176,7 @@ def repoman_main(argv):
format_output = format_outputs.get(
options.output_style, format_outputs['default'])
format_output(f, vcs_settings.qatracker.fails, result['full'],
-   result['fail'], options, qawarnings)
+   result['fail'], options, qadata.qawarnings)
 
  

[gentoo-commits] repo/gentoo:master commit in: app-text/libwps/

2017-06-27 Thread Andreas Sturmlechner
commit: 063251de61d68e48aa9f1687e5f95e2815d1eb65
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jun 27 20:46:42 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jun 27 21:28:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063251de

app-text/libwps: Drop old

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-text/libwps/Manifest|  1 -
 app-text/libwps/libwps-0.4.5.ebuild | 36 
 2 files changed, 37 deletions(-)

diff --git a/app-text/libwps/Manifest b/app-text/libwps/Manifest
index 519d273f4f2..1d3e8eefd84 100644
--- a/app-text/libwps/Manifest
+++ b/app-text/libwps/Manifest
@@ -1,3 +1,2 @@
 DIST libwps-0.4.4.tar.xz 574768 SHA256 
b7c564bba7bc9058c524eaf94cb43448832aa03e3d763b98e11ee12d25082df4 SHA512 
201b4a7d6788e4193aeff694e25bbda78678126b654907f4d20783afa343a069d7f6c12344b261496434df4fd1f3df933881a5ed5358f330cd15568c8710963d
 WHIRLPOOL 
de32feb8721771a5058b283b5dd6a59e005db1e53a8539c5e1268540cf3e9f5d0353babafcb42e82aade103dd1efc0834f0a80d7b3e995a8d5464ffbc0f538b7
-DIST libwps-0.4.5.tar.xz 588948 SHA256 
8e175ab9339d447a285a1533bfdc405432b9a275e4f3a98690ffaf12fe7f4d4a SHA512 
bed70efbd51bc18891e901810eba72e3b21050cde6ac170589cc0e55fb8cbef44de4be7b7ec657895715efaa30fb0ad1b6032cf507ca969d31cc03cc96973a94
 WHIRLPOOL 
91948ede9976c9d62865c76a93bc8779b14d9438dd5d64fd8f8d6fd98abe9bb748d19e0509c88b7f6d47770d5ce62c1e8ccb9a2281963166b4e93f465079a78c
 DIST libwps-0.4.6.tar.xz 592276 SHA256 
e48a7c2fd20048a0a8eaf69bad972575f8b9f06e7497c787463f127d332fccd0 SHA512 
00d1d9108f405cb5eeb67985057f0c6a5d9dd8ef9c3daeebb6739e10a38a5db7cbf22a9e4d09684452376896009993ba08cb015ec0616b56c44d87a3241e
 WHIRLPOOL 
31198a1889148c87357c0411cd7c28c75de69048ed9c589e98c8a9f866a18295a6d572308966bc1173f207499616bcd1e87eb48bbbec5193fef36228a23ca5c5

diff --git a/app-text/libwps/libwps-0.4.5.ebuild 
b/app-text/libwps/libwps-0.4.5.ebuild
deleted file mode 100644
index 93c2ec4fbaa..000
--- a/app-text/libwps/libwps-0.4.5.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Microsoft Works file word processor format import filter library"
-HOMEPAGE="https://sourceforge.net/p/libwps/wiki/Home/;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
-
-LICENSE="|| ( LGPL-2.1 MPL-2.0 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~x86"
-IUSE="doc debug static-libs tools"
-
-RDEPEND="
-   dev-libs/librevenge
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen )
-"
-
-src_configure() {
-   econf \
-   --disable-werror \
-   --with-sharedptr=c++11 \
-   $(use_enable debug) \
-   $(use_with doc docs) \
-   $(use_enable static-libs static) \
-   $(use_enable tools)
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/libwpg/

2017-06-27 Thread Andreas Sturmlechner
commit: 3ec1e1f9a1a702009e5dca739d62f81c960d112d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jun 27 20:45:39 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jun 27 21:28:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ec1e1f9

app-text/libwpg: Drop old

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-text/libwpg/Manifest|  1 -
 app-text/libwpg/libwpg-0.3.0.ebuild | 49 -
 2 files changed, 50 deletions(-)

diff --git a/app-text/libwpg/Manifest b/app-text/libwpg/Manifest
index ee2851f5387..838edca7dc2 100644
--- a/app-text/libwpg/Manifest
+++ b/app-text/libwpg/Manifest
@@ -1,3 +1,2 @@
 DIST libwpg-0.2.2.tar.xz 301000 SHA256 
b49bfd77b9447534dee0d43bbdc48b4dcb09339605be21c01726243d5069a6cd SHA512 
d60f8c0d29f7dbde2592d2afce1ccbe01ab10be4051d048fca0a2234f488a2764af2134ccf9ca150767d769d17dcd010433a3d977457b3a521be8f0dc628e65c
 WHIRLPOOL 
a52b90bd4c9aea2b72f615bcaaa43445dc72dad7e23f8f4667912ac3a95b729a7910b0c7608b3b47fd23a19399c72bb792432243e312d767d67c43b5c170e2f6
-DIST libwpg-0.3.0.tar.xz 300244 SHA256 
6f709199235f4c061c3ffe1a5112ce6430e8434e621bf7b3e3dca16114eaf224 SHA512 
5715a38f7c2b69123056288576073aa36a97f971a749cffb1b176a5c4a9f7da0b6568cdf62fc4e8ebd8204b681200c1a64e5e52cfd127af986580720914f973e
 WHIRLPOOL 
db0876540fde7533f1b73b4bd1cf08c09c9d845b822fcfa7a7d375014aee597aace4c5e4662c61449cd4c09747db4013ff225acd66c33b492d6348b7243945dc
 DIST libwpg-0.3.1.tar.xz 316576 SHA256 
620d888c10d7e1127d5123ff0065f1b62b86b91bac27d8ae10dcfbdb6bf4278f SHA512 
5222609510857d32250e25b1108ecf4c0ce1e58fba280b7c15d400bc8963112adaa9fffa3c21087d4984ec52176d69b30bfc9460ffef978d6b0d7ccc400063b2
 WHIRLPOOL 
c35c51b5098757a0de9a1288d185708775d4ecc2b69ad76e818df5308ec1cbcb870552d45edfe011f65aff141e12656bf98a8ce5207fc0f12ecbc9c705afb3e2

diff --git a/app-text/libwpg/libwpg-0.3.0.ebuild 
b/app-text/libwpg/libwpg-0.3.0.ebuild
deleted file mode 100644
index 1ed32103c76..000
--- a/app-text/libwpg/libwpg-0.3.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit alternatives eutils
-
-DESCRIPTION="C++ library to read and parse graphics in WPG"
-HOMEPAGE="http://libwpg.sourceforge.net/libwpg.htm;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
-
-LICENSE="|| ( LGPL-2.1 MPL-2.0 )"
-SLOT="0.3"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~mips x86"
-IUSE="doc static-libs"
-
-RDEPEND="
-   app-text/libwpd:0.10[tools]
-   dev-libs/librevenge
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( app-doc/doxygen )"
-
-src_configure() {
-   econf \
-   --disable-werror \
-   --program-suffix=-${SLOT} \
-   --docdir="${EPREFIX%/}/usr/share/doc/${PF}" \
-   $(use_with doc docs) \
-   $(use_enable static-libs static)
-}
-
-src_install() {
-   default
-   prune_libtool_files --all
-}
-
-pkg_postinst() {
-   alternatives_auto_makesym /usr/bin/wpg2svgbatch.pl 
"/usr/bin/wpg2svgbatch.pl-[0-9].[0-9]"
-   alternatives_auto_makesym /usr/bin/wpg2svg 
"/usr/bin/wpg2svg-[0-9].[0-9]"
-   alternatives_auto_makesym /usr/bin/wpg2raw 
"/usr/bin/wpg2raw-[0-9].[0-9]"
-}
-
-pkg_postrm() {
-   alternatives_auto_makesym /usr/bin/wpg2svgbatch.pl 
"/usr/bin/wpg2svgbatch.pl-[0-9].[0-9]"
-   alternatives_auto_makesym /usr/bin/wpg2svg 
"/usr/bin/wpg2svg-[0-9].[0-9]"
-   alternatives_auto_makesym /usr/bin/wpg2raw 
"/usr/bin/wpg2raw-[0-9].[0-9]"
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/djbfft/

2017-06-27 Thread Alexis Ballier
commit: 816a306a09ea08df2eea41958f4a72c07fd4423a
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jun 27 20:08:22 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jun 27 20:35:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=816a306a

sci-libs/djbfft: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-libs/djbfft/djbfft-0.76-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/djbfft/djbfft-0.76-r2.ebuild 
b/sci-libs/djbfft/djbfft-0.76-r2.ebuild
index b15f46931b9..f2e4cc74f11 100644
--- a/sci-libs/djbfft/djbfft-0.76-r2.ebuild
+++ b/sci-libs/djbfft/djbfft-0.76-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -10,7 +10,7 @@ SRC_URI="http://cr.yp.to/djbfft/${P}.tar.gz;
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sh sparc x86 ~amd64-fbsd 
~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE=""
 DOCS=( CHANGES README TODO VERSION )
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/libmikmod/

2017-06-27 Thread Alexis Ballier
commit: 0c19af664e5a8608440a0c9bfe9e1f6b18992b79
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jun 27 20:22:48 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jun 27 20:35:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c19af66

media-libs/libmikmod: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-libs/libmikmod/libmikmod-3.3.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild 
b/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild
index 7ab9e60a597..51da30fe747 100644
--- a/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild
+++ b/media-libs/libmikmod/libmikmod-3.3.11.1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/mikmod/${P}.tar.gz"
 
 LICENSE="LGPL-2+ LGPL-2.1"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 
~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="+alsa altivec coreaudio debug nas openal oss pulseaudio 
cpu_flags_x86_sse2 static-libs +threads"
 
 REQUIRED_USE="|| ( alsa coreaudio nas openal oss pulseaudio )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/ilmbase/

2017-06-27 Thread Alexis Ballier
commit: 1ed99ff93bcba0dd84fb5fd58c5093ad8c63262f
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jun 27 18:14:42 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jun 27 20:35:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed99ff9

media-libs/ilmbase: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-libs/ilmbase/ilmbase-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/ilmbase/ilmbase-2.2.0.ebuild 
b/media-libs/ilmbase/ilmbase-2.2.0.ebuild
index 030e8642755..ed86d10473a 100644
--- a/media-libs/ilmbase/ilmbase-2.2.0.ebuild
+++ b/media-libs/ilmbase/ilmbase-2.2.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz;
 
 LICENSE="BSD"
 SLOT="0/12" # based on SONAME
-KEYWORDS="~amd64 -arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd 
~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+KEYWORDS="~amd64 -arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd 
~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
 IUSE="static-libs"
 
 DOCS=( AUTHORS ChangeLog NEWS README )



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

2017-06-27 Thread Alexis Ballier
commit: bec8b862abe5392b5811fe912d9cd99bc4cc754f
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jun 27 20:08:51 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jun 27 20:35:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bec8b862

media-sound/fluidsynth: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-sound/fluidsynth/fluidsynth-1.1.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/fluidsynth/fluidsynth-1.1.6-r1.ebuild 
b/media-sound/fluidsynth/fluidsynth-1.1.6-r1.ebuild
index 586780d19bf..548b8638386 100644
--- a/media-sound/fluidsynth/fluidsynth-1.1.6-r1.ebuild
+++ b/media-sound/fluidsynth/fluidsynth-1.1.6-r1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ppc ppc64 sparc x86 ~x86-fbsd"
 IUSE="alsa dbus debug examples jack ladspa lash portaudio pulseaudio readline 
sndfile"
 
 RDEPEND=">=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: media-libs/smpeg/

2017-06-27 Thread Alexis Ballier
commit: 0dfaf5d90226623f1df23049aef8318826582125
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jun 27 20:24:30 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jun 27 20:35:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dfaf5d9

media-libs/smpeg: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-libs/smpeg/smpeg-0.4.4-r10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/smpeg/smpeg-0.4.4-r10.ebuild 
b/media-libs/smpeg/smpeg-0.4.4-r10.ebuild
index 7873c4bf25d..c04fe245e8d 100644
--- a/media-libs/smpeg/smpeg-0.4.4-r10.ebuild
+++ b/media-libs/smpeg/smpeg-0.4.4-r10.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="ftp://ftp.lokigames.com/pub/open-source/smpeg/${P}.tar.gz
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux ~x86-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
 IUSE="X debug cpu_flags_x86_mmx opengl static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/libaacs/

2017-06-27 Thread Alexis Ballier
commit: 90b35eb36a764c2bde118e63849850cb003ca9aa
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jun 27 20:08:35 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jun 27 20:35:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90b35eb3

media-libs/libaacs: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-libs/libaacs/libaacs-0.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/libaacs/libaacs-0.9.0.ebuild 
b/media-libs/libaacs/libaacs-0.9.0.ebuild
index a07f24176bf..f56038307c6 100644
--- a/media-libs/libaacs/libaacs-0.9.0.ebuild
+++ b/media-libs/libaacs/libaacs-0.9.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="ftp://ftp.videolan.org/pub/videolan/libaacs/${PV}/${P}.tar.bz2;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
 IUSE="static-libs"
 
 RDEPEND=">=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-games/physfs/

2017-06-27 Thread Alexis Ballier
commit: 2ef9373921121e27087a9e810c055ca67e3f8521
Author: Alexis Ballier  gentoo  org>
AuthorDate: Tue Jun 27 20:28:47 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Jun 27 20:35:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef93739

dev-games/physfs: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-games/physfs/physfs-2.0.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-games/physfs/physfs-2.0.3-r2.ebuild 
b/dev-games/physfs/physfs-2.0.3-r2.ebuild
index 4da03fd68b4..397810f32f8 100644
--- a/dev-games/physfs/physfs-2.0.3-r2.ebuild
+++ b/dev-games/physfs/physfs-2.0.3-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://icculus.org/physfs/downloads/${P}.tar.bz2;
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~x86-fbsd"
 IUSE="doc grp hog mvl qpak static-libs wad +zip"
 
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: dev-libs/pegtl/

2017-06-27 Thread Christoph Junghans
commit: fa4f124019f284cfef66ecd02744cede3f8db071
Author: Christoph Junghans  gentoo  org>
AuthorDate: Tue Jun 27 20:32:18 2017 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Tue Jun 27 20:31:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa4f1240

dev-libs/pegtl: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-libs/pegtl/Manifest   |  1 +
 dev-libs/pegtl/pegtl-2.1.4.ebuild | 20 
 2 files changed, 21 insertions(+)

diff --git a/dev-libs/pegtl/Manifest b/dev-libs/pegtl/Manifest
index c963ebcc1a5..64ab2ecef71 100644
--- a/dev-libs/pegtl/Manifest
+++ b/dev-libs/pegtl/Manifest
@@ -1,3 +1,4 @@
 DIST pegtl-1.3.1.tar.gz 67183 SHA256 
34201d56284a449c72798a0536020c6b46684c371a0a886f4c3c586c9372e9bc SHA512 
6655be7806112878e2da00916b348c28939bc96e2a317eb00089be341fd5306ce5a1388ca5dbba21bcd7be2d6c24e3964b6a730031a16a7dd8ef6ec6acd6899e
 WHIRLPOOL 
b5582ac29ad6c1b24ee8f9c4c525c8c944fbe9e8d38a45353ae01574c479a2f70a0ac75271e58cc6332780594224524fc5dca7f36fa170f2b5b283bcb3728280
 DIST pegtl-2.0.0.tar.gz 154718 SHA256 
50d66d715d47a5eadc7e5fd74a229752b42dde5d0c8215e6caa8011837fd1e17 SHA512 
30d48bd4a02b7d089c09a6265cd52442d5d9812cf24ae992ea3f264ef8ea27b605771675558f5510e96aec425577beebeb150361001bbce58bd06217ee587f58
 WHIRLPOOL 
b13f78c7fd53d57a23a79b55ea5eef5d2488fa650e06639f251d7db1994e912737e84d0ae452c60642b4f5502034bf7585ebf1b840a47d35221306a846c9
 DIST pegtl-2.0_pre1.tar.gz 146966 SHA256 
25708e0553ce8c95b5cd8dd7f3fbe53859dfaacf83fb174e6d247d72d30f232e SHA512 
180bd8b44ccfe406c818af6b3f5f22eb4cfc7bea6043af5141c6c5ed9b2770624326e67d6dfc47a22aaee3697e5cf1d2744d0a3d3d01a4ce47457189f2b19839
 WHIRLPOOL 
eed51d7c090cfab6b90566a30f20ee36873987b9dc41a1a3c5976106ff1e989078dfd9e6d9abe7511e6c8a94c88d5c75a63af2cf68fc2981ed3b5467c14b9d99
+DIST pegtl-2.1.4.tar.gz 157890 SHA256 
5699558ce06e8fad0530143199eeaefd29128fb4584879975c87947c8ad0395f SHA512 
b4c227e795ab29221bce91b520c5965d48fec85ba53bb070b93e966dc20792189682850b106585ad8bd3e4f34ce8bdb72b576f5f329b2f160f9034b412c93768
 WHIRLPOOL 
c714054d03291ee07f67dfe4163cae3506770166d07b907211b6bca91def277b7c9a88cd338be6bd83db1490037a5cb6c8d826ddad4838fb026deb7b5d091521

diff --git a/dev-libs/pegtl/pegtl-2.1.4.ebuild 
b/dev-libs/pegtl/pegtl-2.1.4.ebuild
new file mode 100644
index 000..ebadbdeda81
--- /dev/null
+++ b/dev-libs/pegtl/pegtl-2.1.4.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="header-only library for creating parsers according to Parsing 
Expression Grammar"
+HOMEPAGE="https://github.com/taocpp/PEGTL;
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/PEGTL-${PV}"



[gentoo-commits] repo/gentoo:master commit in: app-misc/yq/

2017-06-27 Thread Zac Medico
commit: c899e82068fa47833561512151d0159763421f5c
Author: Zac Medico  gentoo  org>
AuthorDate: Tue Jun 27 20:25:07 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Tue Jun 27 20:27:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c899e820

app-misc/yq: add package

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-misc/yq/Manifest|  1 +
 app-misc/yq/metadata.xml| 11 +++
 app-misc/yq/yq-2.1.2.ebuild | 24 
 3 files changed, 36 insertions(+)

diff --git a/app-misc/yq/Manifest b/app-misc/yq/Manifest
new file mode 100644
index 000..0e2c8a0cec2
--- /dev/null
+++ b/app-misc/yq/Manifest
@@ -0,0 +1 @@
+DIST yq-2.1.2.tar.gz 4704 SHA256 
daa2fcde26220382527c68bac353a7d972d81ea4f348d20eea3ffa981991f8dc SHA512 
88f32e58aacd82deb06deee6910f5a145e54d20829f438cd47248d560119dd8112e0813ea8d55708664ac29ef011bbc3fd6b882e1c538ef44aaa9aa119584e99
 WHIRLPOOL 
5fd88627fafdd03318baab0b99aae4c980e8b1517808aa700c0be60e6bda61d655072bf60ce01435b5299108ae253f76b68858a9f990bb144616c4efae7e3a41

diff --git a/app-misc/yq/metadata.xml b/app-misc/yq/metadata.xml
new file mode 100644
index 000..37885efab09
--- /dev/null
+++ b/app-misc/yq/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   yq
+   kislyuk/yq
+   
+   
+   zmed...@gentoo.org
+   
+

diff --git a/app-misc/yq/yq-2.1.2.ebuild b/app-misc/yq/yq-2.1.2.ebuild
new file mode 100644
index 000..d8a9cfb27e5
--- /dev/null
+++ b/app-misc/yq/yq-2.1.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Command-line YAML processor - jq wrapper for YAML documents"
+HOMEPAGE="https://${PN}.readthedocs.io/ https://github.com/kislyuk/${PN}/ 
https://pypi.python.org/pypi/${PN};
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-misc/jq
+   >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+   ./test/test.py || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ada/gnatcoll/

2017-06-27 Thread Alfredo Tupone
commit: 51f0ec98d03d7ec65ee4366ebb4d4c5073be42c6
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Tue Jun 27 20:11:18 2017 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Jun 27 20:11:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51f0ec98

dev-ada/gnatcoll: Add use flags gnat_2016 & gnat_2017

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-ada/gnatcoll/gnatcoll-2016.ebuild | 40 +--
 dev-ada/gnatcoll/gnatcoll-2017.ebuild | 20 +-
 dev-ada/gnatcoll/metadata.xml |  2 ++
 3 files changed, 27 insertions(+), 35 deletions(-)

diff --git a/dev-ada/gnatcoll/gnatcoll-2016.ebuild 
b/dev-ada/gnatcoll/gnatcoll-2016.ebuild
index 0f4d7a0062b..77e71b22795 100644
--- a/dev-ada/gnatcoll/gnatcoll-2016.ebuild
+++ b/dev-ada/gnatcoll/gnatcoll-2016.ebuild
@@ -15,10 +15,11 @@ 
SRC_URI="http://mirrors.cdn.adacore.com/art/5739942ac7a447658d00e1e7
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="gmp gtk iconv postgresql pygobject projects readline +shared sqlite
-   static syslog"
+IUSE="gmp gnat_2016 gnat_2017 gtk iconv postgresql pygobject projects readline
+   +shared sqlite static syslog"
 
-RDEPEND="dev-lang/gnat-gpl:*
+RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
+   gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )
${PYTHON_DEPS}
gmp? ( dev-libs/gmp:* )
gtk? (
@@ -37,28 +38,16 @@ RDEPEND="dev-lang/gnat-gpl:*
=dev-ada/gprbuild-2016[static?,shared?]
)"
 DEPEND="${RDEPEND}
-   dev-ada/gprbuild"
+   dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   pygobject? ( gtk )"
+   pygobject? ( gtk )
+   ^^ ( gnat_2016 gnat_2017 )"
 
 S="${WORKDIR}"/${MYP}-src
 
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
-pkg_setup() {
-   GCC=${ADA:-$(tc-getCC)}
-   GNATMAKE="${GCC/gcc/gnatmake}"
-   GNATCHOP="${GCC/gcc/gnatchop}"
-   if [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then
-   eerror "You need a gcc compiler that provides the Ada Compiler:"
-   eerror "1) use gcc-config to select the right compiler or"
-   eerror "2) set ADA=gcc-4.9.4 in make.conf"
-   die "ada compiler not available"
-   fi
-   python-single-r1_pkg_setup
-}
-
 src_prepare() {
default
mv configure.{in,ac} || die
@@ -66,6 +55,14 @@ src_prepare() {
 }
 
 src_configure() {
+   if use gnat_2016; then
+   GCC_PV=4.9.4
+   else
+   GCC_PV=6.3.0
+   fi
+   GCC=${CHOST}-gcc-${GCC_PV}
+   GNATMAKE=${CHOST}-gnatmake-${GCC_PV}
+   GNATCHOP=${CHOST}-gnatchop-${GCC_PV}
if use sqlite; then
myConf="--with-sqlite=$(get_libdir)"
else
@@ -91,15 +88,18 @@ src_configure() {
--with-python-exec=${EPYTHON} \
--enable-shared-python \
--disable-pygtk \
+   CC=${GCC} \
$myConf
 }
 
 src_compile() {
if use shared; then
-   emake PROCESSORS=$(makeopts_jobs) build_library_type/relocatable
+   emake PROCESSORS=$(makeopts_jobs) GPRBUILD_OPTIONS=-v 
GCC=${GCC} \
+   build_library_type/relocatable
fi
if use static; then
-   emake PROCESSORS=$(makeopts_jobs) build_library_type/static
+   emake PROCESSORS=$(makeopts_jobs) GPRBUILD_OPTIONS=-v 
GCC=${GCC} \
+   build_library_type/static
fi
python_fix_shebang .
 }

diff --git a/dev-ada/gnatcoll/gnatcoll-2017.ebuild 
b/dev-ada/gnatcoll/gnatcoll-2017.ebuild
index 64a817fd92c..e62932cebe4 100644
--- a/dev-ada/gnatcoll/gnatcoll-2017.ebuild
+++ b/dev-ada/gnatcoll/gnatcoll-2017.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~amd64"
 IUSE="gmp gtk iconv postgresql pygobject projects readline +shared sqlite
static syslog"
 
-RDEPEND="dev-lang/gnat-gpl:*
+RDEPEND="dev-lang/gnat-gpl:6.3.0
${PYTHON_DEPS}
gmp? ( dev-libs/gmp:* )
gtk? (
@@ -37,7 +37,7 @@ RDEPEND="dev-lang/gnat-gpl:*
>=dev-ada/gprbuild-2017[static?,shared?]
)"
 DEPEND="${RDEPEND}
-   dev-ada/gprbuild"
+   dev-ada/gprbuild[gnat_2017]"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
pygobject? ( gtk )"
@@ -46,19 +46,6 @@ S="${WORKDIR}"/${MYP}-src
 
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
-pkg_setup() {
-   GCC=${ADA:-$(tc-getCC)}
-   GNATMAKE="${GCC/gcc/gnatmake}"
-   GNATCHOP="${GCC/gcc/gnatchop}"
-   if [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then
-   eerror "You need a gcc compiler that provides the Ada Compiler:"
-   eerror "1) use gcc-config to select the right compiler or"
-   eerror "2) set ADA=gcc-4.9.4 in make.conf"
-   die "ada compiler not available"
-   fi
-   python-single-r1_pkg_setup
-}
-
 src_prepare() {
default
mv configure.{in,ac} || die
@@ -66,6 +53,9 

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

2017-06-27 Thread Brian Dolbec
commit: 2366c903bab8f44463106e878f4e0c1ba81f42f8
Author: Zac Medico  gentoo  org>
AuthorDate: Wed Apr 19 04:17:50 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Thu Apr 20 19:39:00 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=2366c903

depgraph._in_blocker_conflict: call _validate_blockers if needed (bug 615982)

Sometimes _complete_graph calls _slot_operator_update_probe, which
sometimes calls _in_blocker_conflict. This case occurs infrequently,
so call _validate_blockers only if needed.

Fixes: a83bb83909c5 ("depgraph: trigger slot operator rebuilds via 
_complete_graph (bug 614390)")
X-Gentoo-bug: 615982
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=615982
Acked-by: Brian Dolbec  gentoo.org>

 pym/_emerge/depgraph.py | 15 +++
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 3232816d5..e1119af3c 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2176,9 +2176,9 @@ class depgraph(object):
only works after the _validate_blockers method has been called.
"""
 
-   if self._dynamic_config._blocked_pkgs is None:
-   raise AssertionError(
-   '_in_blocker_conflict called before 
_validate_blockers')
+   if (self._dynamic_config._blocked_pkgs is None
+   and not self._validate_blockers()):
+   raise self._unknown_internal_error()
 
if pkg in self._dynamic_config._blocked_pkgs:
return True
@@ -6728,7 +6728,14 @@ class depgraph(object):
packages within the graph.  If necessary, create hard deps to 
ensure
correct merge order such that mutually blocking packages are 
never
installed simultaneously. Also add runtime blockers from all 
installed
-   packages if any of them haven't been added already (bug 
128809)."""
+   packages if any of them haven't been added already (bug 128809).
+
+   Normally, this method is called only after the graph is 
complete, and
+   after _solve_non_slot_operator_slot_conflicts has had an 
opportunity
+   to solve slot conflicts (possibly removing some blockers). It 
can also
+   be called earlier, in order to get a preview of the blocker 
data, but
+   then it needs to be called again after the graph is complete.
+   """
 
# The _in_blocker_conflict method needs to assert that this 
method
# has been called before it, by checking that it is not None.



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

2017-06-27 Thread Brian Dolbec
commit: 674ed22900df3e6a2054adb1b49f3e0fddbd64b2
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 15 10:43:13 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Thu Apr 20 20:38:48 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=674ed229

repoman: Add a check for relative dosym candidates

Add a check for dosym with target path matching absolute paths
controlled by the package manager, e.g. /bin, /etc...

Example output:

  ebuild.absdosym   5
   app-editors/nano/nano-2.5.3.ebuild: dosym '/bin/nano'... could use relative 
path on line: 81

Approved-by: Brian Dolbec  gentoo.org> (on IRC)

 repoman/man/repoman.1 |  4 
 repoman/pym/repoman/modules/scan/ebuild/checks.py | 13 +
 repoman/pym/repoman/qa_data.py|  4 
 3 files changed, 21 insertions(+)

diff --git a/repoman/man/repoman.1 b/repoman/man/repoman.1
index 9b106906f..78e4b7275 100644
--- a/repoman/man/repoman.1
+++ b/repoman/man/repoman.1
@@ -292,6 +292,10 @@ Some files listed in SRC_URI aren't referenced in the 
Manifest
 .B digest.unused
 Some files listed in the Manifest aren't referenced in SRC_URI
 .TP
+.B ebuild.absdosym
+Ebuild uses 'dosym' with explicit absolute path where relative path
+could be used
+.TP
 .B ebuild.badheader
 This ebuild has a malformed header
 .TP

diff --git a/repoman/pym/repoman/modules/scan/ebuild/checks.py 
b/repoman/pym/repoman/modules/scan/ebuild/checks.py
index db6b6c8b4..e6e5d78ba 100644
--- a/repoman/pym/repoman/modules/scan/ebuild/checks.py
+++ b/repoman/pym/repoman/modules/scan/ebuild/checks.py
@@ -911,6 +911,19 @@ class PortageInternalVariableAssignment(LineCheck):
e += ' on line: %d'
return e
 
+
+class EbuildNonRelativeDosym(LineCheck):
+   """Check ebuild for dosym using absolute paths instead of relative."""
+   repoman_check_name = 'ebuild.absdosym'
+   regex = re.compile(
+   r'^\s*dosym\s+["\']?(/(bin|etc|lib|opt|sbin|srv|usr|var)\S*)')
+
+   def check(self, num, line):
+   match = self.regex.match(line)
+   if match:
+   return "dosym '%s'... could use relative path" % 
(match.group(1), ) + " on line: %d"
+
+
 _base_check_classes = (InheritEclass, LineCheck, PhaseCheck)
 _constant_checks = None
 

diff --git a/repoman/pym/repoman/qa_data.py b/repoman/pym/repoman/qa_data.py
index 132a55be3..a59fed778 100644
--- a/repoman/pym/repoman/qa_data.py
+++ b/repoman/pym/repoman/qa_data.py
@@ -195,6 +195,9 @@ qahelp = {
"Some files listed in SRC_URI aren't referenced in the 
Manifest"),
"digest.unused": (
"Some files listed in the Manifest aren't referenced in 
SRC_URI"),
+   "ebuild.absdosym": (
+   "This ebuild uses absolute target to dosym where relative 
symlink"
+   " could be used instead"),
"ebuild.majorsyn": (
"This ebuild has a major syntax error"
" that may cause the ebuild to fail partially or fully"),
@@ -262,6 +265,7 @@ qawarnings = set((
"RDEPEND.suspect",
"virtual.suspect",
"RESTRICT.invalid",
+   "ebuild.absdosym",
"ebuild.minorsyn",
"ebuild.badheader",
"ebuild.patches",



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

2017-06-27 Thread Brian Dolbec
commit: 02eeaa4bd0c5bb4a22120bb5aca378cb0935d5c7
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Jun 24 18:28:29 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Sat Jun 24 18:29:39 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=02eeaa4b

repoman/man/repoman.1: refer to the vcs instead of cvs

Reported-by: Devan Franchini  gentoo.org>

 repoman/man/repoman.1 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/repoman/man/repoman.1 b/repoman/man/repoman.1
index 78e4b7275..4101c283f 100644
--- a/repoman/man/repoman.1
+++ b/repoman/man/repoman.1
@@ -1,4 +1,4 @@
-.TH "REPOMAN" "1" "Feb 2017" "Repoman VERSION" "Repoman"
+.TH "REPOMAN" "1" "Jun 2017" "Repoman VERSION" "Repoman"
 .SH NAME
 repoman \- Gentoo's program to enforce a minimal level of quality assurance in
 packages added to the portage tree
@@ -254,7 +254,7 @@ An ebuild was added but the ChangeLog was not modified
 Missing ChangeLog files
 .TP
 .B changelog.notadded
-ChangeLogs that exist but have not been added to cvs
+ChangeLogs that exist but have not been added to the vcs
 .TP
 .B dependency.bad
 User-visible ebuilds with unsatisfied dependencies (matched against *visible*
@@ -317,7 +317,7 @@ Ebuild files that do not have the same name as their parent 
directory
 Placing 'die' inside ( ) prints an error, but doesn't stop the ebuild.
 .TP
 .B ebuild.notadded
-Ebuilds that exist but have not been added to cvs
+Ebuilds that exist but have not been added to the vcs
 .TP
 .B ebuild.output
 A simple sourcing of the ebuild produces output; this breaks ebuild policy.



[gentoo-commits] proj/portage:repoman commit in: man/, pym/portage/tests/resolver/, pym/_emerge/

2017-06-27 Thread Brian Dolbec
commit: 26a8ea6889190b6a0ec110f76fa49834d53771e9
Author: William Throwe  cornell  edu>
AuthorDate: Sun Mar 12 01:41:59 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Sun May 14 18:13:10 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=26a8ea68

emerge: add --onlydeps-with-rdeps= option (bug 294719)

Add --onlydeps-with-rdeps=n option in order to omit pure
run-time dependencies with --onlydeps. The dependencies
that get pulled in are those that are necessary for the
equivalent --buildpkgonly command to succeed. The default
--onlydeps behavior remains unchanged.

X-Gentoo-bug: 294719
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=294719
Acked-by: Brian Dolbec  gentoo.org>

 man/emerge.1   |  5 +++
 pym/_emerge/depgraph.py|  5 +++
 pym/_emerge/main.py|  6 +++
 .../tests/resolver/test_onlydeps_minimal.py| 47 ++
 4 files changed, 63 insertions(+)

diff --git a/man/emerge.1 b/man/emerge.1
index 240d4de7e..ffb453efb 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -724,6 +724,11 @@ it possible for \fB\-\-deep\fR to be disabled by default.
 Only merge (or pretend to merge) the dependencies of the packages
 specified, not the packages themselves.
 .TP
+.BR "\-\-onlydeps\-with\-rdeps < y | n >"
+Include run time dependencies when \fB\-\-onlydeps\fR is specified.
+When this is disabled only build time dependencies are included. This
+option is enabled by default.
+.TP
 .BR "\-\-package\-moves [ y | n ]"
 Perform package moves when necessary. This option is enabled
 by default. Package moves are typically applied immediately

diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index cda497b1d..726835dd4 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -3066,6 +3066,11 @@ class depgraph(object):
edepend["RDEPEND"] = ""
edepend["PDEPEND"] = ""
 
+   if pkg.onlydeps and \
+   self._frozen_config.myopts.get("--onlydeps-with-rdeps") 
== 'n':
+   edepend["RDEPEND"] = ""
+   edepend["PDEPEND"] = ""
+
ignore_build_time_deps = False
if pkg.built and not removal_action:
if self._dynamic_config.myparams.get("bdeps") in ("y", 
"auto"):

diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index 808496722..2132aa63c 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -147,6 +147,7 @@ def insert_optional_args(args):
'--jobs'   : valid_integers,
'--keep-going'   : y_or_n,
'--load-average' : valid_floats,
+   '--onlydeps-with-rdeps'  : y_or_n,
'--package-moves': y_or_n,
'--quiet': y_or_n,
'--quiet-build'  : y_or_n,
@@ -565,6 +566,11 @@ def parse_opts(tmpcmdline, silent=False):
"action" : "append",
},
 
+   "--onlydeps-with-rdeps": {
+   "help": "modify interpretation of depedencies",
+   "choices" : true_y_or_n
+   },
+
"--rebuild-exclude": {
"help"   :"A space separated list of package names or 
slot atoms. " + \
"Emerge will not rebuild these packages due to 
the " + \

diff --git a/pym/portage/tests/resolver/test_onlydeps_minimal.py 
b/pym/portage/tests/resolver/test_onlydeps_minimal.py
new file mode 100644
index 0..13c79ed55
--- /dev/null
+++ b/pym/portage/tests/resolver/test_onlydeps_minimal.py
@@ -0,0 +1,47 @@
+# Copyright 2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+from portage.tests import TestCase
+from portage.tests.resolver.ResolverPlayground import ResolverPlayground, 
ResolverPlaygroundTestCase
+
+class OnlydepsMinimalTestCase(TestCase):
+
+   def testOnlydepsMinimal(self):
+   ebuilds = {
+   "dev-libs/A-1": { "DEPEND": "dev-libs/B",
+ "RDEPEND": "dev-libs/C",
+ "PDEPEND": "dev-libs/D" },
+   "dev-libs/B-1": { },
+   "dev-libs/C-1": { },
+   "dev-libs/D-1": { },
+   }
+   installed = {
+   }
+
+   test_cases = (
+   ResolverPlaygroundTestCase(
+   ["dev-libs/A"],
+   all_permutations = True,
+   success = True,
+   options = { "--onlydeps": True,
+   "--onlydeps-with-rdeps": "y" },
+   mergelist = 

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

2017-06-27 Thread Brian Dolbec
commit: cbf9f3c0167a68de7901b2a0992c2d0a264b9b22
Author: Zac Medico  gentoo  org>
AuthorDate: Wed May 10 03:45:10 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Sun May 14 18:11:51 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=cbf9f3c0

emerge: default --backtrack=10 (bug 540562)

Since the default behavior is now for emerge to terminate early for
autounmask changes (unless either --autounmask-backtrack=y or
--autounmask-continue is enabled), it is much less likely that time
will be wasted by fruitless backtracking. Therefore, raise the default
backtrack value from 3 to 10, restoring it to the value it had prior
to commit 1891388ea0ae0dd58903a71a3adc779731523601 (see bug 536926).
This will allow many users to avoid having to manually raise the
--backtrack value.

X-Gentoo-bug: 540562
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=540562
Acked-by: Brian Dolbec  gentoo.org>

 man/emerge.1| 2 +-
 pym/_emerge/depgraph.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/emerge.1 b/man/emerge.1
index 94edc9095..240d4de7e 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -412,7 +412,7 @@ precedence over existing changes. This option is 
automatically enabled with
 .BR \-\-backtrack=COUNT
 Specifies an integer number of times to backtrack if
 dependency calculation fails due to a conflict or an
-unsatisfied dependency (default: \'3\').
+unsatisfied dependency (default: \'10\').
 .TP
 .BR "\-\-binpkg\-changed\-deps [ y | n ]"
 Tells emerge to ignore binary packages for which the corresponding

diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 53910dd25..cda497b1d 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -9460,7 +9460,7 @@ def _backtrack_depgraph(settings, trees, myopts, 
myparams, myaction, myfiles, sp
 
debug = "--debug" in myopts
mydepgraph = None
-   max_retries = myopts.get('--backtrack', 3)
+   max_retries = myopts.get('--backtrack', 10)
max_depth = max(1, (max_retries + 1) // 2)
allow_backtracking = max_retries > 0
backtracker = Backtracker(max_depth)



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

2017-06-27 Thread Brian Dolbec
commit: fbce9594e14dfccf0b67e8edea68fcd1b7639f51
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sat May 20 06:33:51 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Sat May 20 06:33:51 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=fbce9594

Fix typo in RELEASE-NOTES

 RELEASE-NOTES | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index a9bcd2f6f..56e9c8923 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -1,7 +1,7 @@
 Release Notes; upgrade information mainly.
 Features/major bugfixes are listed in NEWS
 
-portage-2.3.5
+portage-2.3.6
 ==
 * Bug Fixes:
 - Bug 612874 depgraph: avoid missed update with slot operator and circ dep



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

2017-06-27 Thread Brian Dolbec
commit: 882008b713238da4ba9483dab13069c5a80bc354
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 17:56:09 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 19:51:21 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=882008b7

repoman: Update modules for the new QAData class

Rather than direct import, now the QAData instance is accessed via
repo_settings.  Add repo_settings need to all modules requiring QAData
access.

 repoman/pym/repoman/modules/scan/depend/_depend_checks.py| 9 -
 repoman/pym/repoman/modules/scan/depend/profile.py   | 3 ++-
 repoman/pym/repoman/modules/scan/ebuild/ebuild.py| 5 +++--
 repoman/pym/repoman/modules/scan/eclasses/__init__.py| 2 +-
 repoman/pym/repoman/modules/scan/eclasses/ruby.py| 5 +++--
 repoman/pym/repoman/modules/scan/metadata/__init__.py| 4 ++--
 repoman/pym/repoman/modules/scan/metadata/description.py | 6 +++---
 repoman/pym/repoman/modules/scan/metadata/ebuild_metadata.py | 6 +++---
 repoman/pym/repoman/modules/scan/metadata/restrict.py| 4 ++--
 9 files changed, 23 insertions(+), 21 deletions(-)

diff --git a/repoman/pym/repoman/modules/scan/depend/_depend_checks.py 
b/repoman/pym/repoman/modules/scan/depend/_depend_checks.py
index 11435f99e..cffacc55e 100644
--- a/repoman/pym/repoman/modules/scan/depend/_depend_checks.py
+++ b/repoman/pym/repoman/modules/scan/depend/_depend_checks.py
@@ -9,7 +9,6 @@ from portage.dep import Atom
 from repoman.check_missingslot import check_missingslot
 # import our initialized portage instance
 from repoman._portage import portage
-from repoman.qa_data import suspect_virtual, suspect_rdepend
 
 def check_slotop(depstr, is_valid_flag, badsyntax, mytype,
qatracker, relative_path):
@@ -51,7 +50,7 @@ def check_slotop(depstr, is_valid_flag, badsyntax, mytype,
_traverse_tree(branch, 
in_any_of=in_any_of)
_traverse_tree(my_dep_tree, False)
 
-def _depend_checks(ebuild, pkg, portdb, qatracker, repo_metadata):
+def _depend_checks(ebuild, pkg, portdb, qatracker, repo_metadata, qadata):
'''Checks the ebuild dependencies for errors
 
@param pkg: Package in which we check (object).
@@ -111,11 +110,11 @@ def _depend_checks(ebuild, pkg, portdb, qatracker, 
repo_metadata):
 
if pkg.category != "virtual":
if not is_blocker and \
-   atom.cp in suspect_virtual:
+   atom.cp in 
qadata.suspect_virtual:
qatracker.add_error(
'virtual.suspect', 
ebuild.relative_path +
": %s: consider using 
'%s' instead of '%s'" %
-   (mytype, 
suspect_virtual[atom.cp], atom))
+   (mytype, 
qadata.suspect_virtual[atom.cp], atom))
if not is_blocker and \

atom.cp.startswith("perl-core/"):

qatracker.add_error('dependency.perlcore',
@@ -141,7 +140,7 @@ def _depend_checks(ebuild, pkg, portdb, qatracker, 
repo_metadata):
" wxwidgets.eclass" % 
(ebuild.relative_path, mytype))
elif runtime:
if not is_blocker and \
-   atom.cp in suspect_rdepend:
+   atom.cp in 
qadata.suspect_rdepend:
qatracker.add_error(
mytype + '.suspect',
ebuild.relative_path + 
": '%s'" % atom)

diff --git a/repoman/pym/repoman/modules/scan/depend/profile.py 
b/repoman/pym/repoman/modules/scan/depend/profile.py
index cf3d9a8f4..1adda44bb 100644
--- a/repoman/pym/repoman/modules/scan/depend/profile.py
+++ b/repoman/pym/repoman/modules/scan/depend/profile.py
@@ -63,7 +63,8 @@ class ProfileDependsChecks(ScanBase):
ebuild = kwargs.get('ebuild').get()
pkg = kwargs.get('pkg').get()
unknown_pkgs, baddepsyntax = _depend_checks(
-   ebuild, pkg, self.portdb, self.qatracker, 
self.repo_metadata)
+   ebuild, pkg, self.portdb, self.qatracker, 
self.repo_metadata,
+   self.repo_settings.qadata)
 
relevant_profiles = []
for keyword, arch, groups in _gen_arches(ebuild, self.options,

diff --git a/repoman/pym/repoman/modules/scan/ebuild/ebuild.py 

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

2017-06-27 Thread Brian Dolbec
commit: 8aa1a070921dc643d615a3c38b4f60e55e709850
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri May 26 11:59:27 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun  6 01:56:05 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=8aa1a070

GitSync: Support setting environment variables for git

This can be used to provide private SSH keys to portage in order to
clone repositories from a non-public repository.

An exemplary usage would be setting this in the repositories' repos.conf:
sync-git-env = "GIT_SSH_COMMAND=ssh -i /etc/portage/.ssh/id_rsa -o 
UserKnownHostsFile=/etc/portage/.ssh/known_hosts" GIT_TRACE=false
sync-git-pull-env = "GIT_SSH_COMMAND=ssh -i /etc/portage/.ssh/id_rsa -o 
UserKnownHostsFile=/etc/portage/.ssh/known_hosts" GIT_TRACE=true
sync-git-clone-env = "GIT_SSH_COMMAND=ssh -i /etc/portage/.ssh/id_rsa -o 
UserKnownHostsFile=/etc/portage/.ssh/known_hosts" GIT_TRACE=true

Closes: https://github.com/gentoo/portage/pull/165
Acked-by: Brian Dolbec  gentoo.org>

 man/portage.5| 24 +++-
 pym/portage/sync/modules/git/__init__.py |  5 -
 pym/portage/sync/modules/git/git.py  | 24 ++--
 3 files changed, 49 insertions(+), 4 deletions(-)

diff --git a/man/portage.5 b/man/portage.5
index 366a1fa85..5f1f2bbb0 100644
--- a/man/portage.5
+++ b/man/portage.5
@@ -1,4 +1,4 @@
-.TH "PORTAGE" "5" "Jan 2017" "Portage VERSION" "Portage"
+.TH "PORTAGE" "31" "May 2017" "Portage VERSION" "Portage"
 .SH NAME
 portage \- the heart of Gentoo
 .SH "DESCRIPTION"
@@ -979,9 +979,31 @@ Specifies CVS repository.
 .B sync\-depth
 This is a deprecated alias for the \fBclone\-depth\fR option.
 .TP
+.B sync\-git\-clone\-env
+Set environment variables for git when cloning repository (git clone).
+This will override settings from sync-git-env.
+.RS
+.TP
+.I Example:
+sync-git-clone-env="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6"
+.br
+Gives three variables "VAR1", "VAR2", "VAR3" with the values "word1 word2",
+"word3", "$word 5 6".
+.RE
+.TP
 .B sync\-git\-clone\-extra\-opts
 Extra options to give to git when cloning repository (git clone).
 .TP
+.B sync\-git\-env
+Set environment variables for git when cloning or pulling the repository.
+These will be overridden by setting them again in sync-git-clone-env and 
sync-git-pull-env.
+See also example for sync-git-clone-env.
+.TP
+.B sync\-git\-pull\-env
+Set environment variables for git when updating repository (git pull).
+This will override settings from sync-git-env.
+See also example for sync-git-clone-env.
+.TP
 .B sync\-git\-pull\-extra\-opts
 Extra options to give to git when updating repository (git pull).
 .TP

diff --git a/pym/portage/sync/modules/git/__init__.py 
b/pym/portage/sync/modules/git/__init__.py
index 60b7395b8..e7206e12d 100644
--- a/pym/portage/sync/modules/git/__init__.py
+++ b/pym/portage/sync/modules/git/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2014 Gentoo Foundation
+# Copyright 2014-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 doc = """Git plug-in module for portage.
@@ -52,7 +52,10 @@ module_spec = {
},
'validate_config': CheckGitConfig,
'module_specific_options': (
+   'sync-git-clone-env',
'sync-git-clone-extra-opts',
+   'sync-git-env',
+   'sync-git-pull-env',
'sync-git-pull-extra-opts',
),
}

diff --git a/pym/portage/sync/modules/git/git.py 
b/pym/portage/sync/modules/git/git.py
index d432886dd..bea79c7e7 100644
--- a/pym/portage/sync/modules/git/git.py
+++ b/pym/portage/sync/modules/git/git.py
@@ -1,4 +1,4 @@
-# Copyright 2005-2015 Gentoo Foundation
+# Copyright 2005-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 import logging
@@ -6,7 +6,7 @@ import subprocess
 
 import portage
 from portage import os
-from portage.util import writemsg_level
+from portage.util import writemsg_level, shlex_split
 from portage.output import create_color_func
 good = create_color_func("GOOD")
 bad = create_color_func("BAD")
@@ -50,6 +50,16 @@ class GitSync(NewBase):
sync_uri = sync_uri[6:]
 
git_cmd_opts = ""
+   if self.repo.module_specific_options.get('sync-git-env'):
+   shlexed_env = 
shlex_split(self.repo.module_specific_options['sync-git-env'])
+   env = dict((k, v) for k, _, v in 
(assignment.partition('=') for assignment in shlexed_env) if k)
+   self.spawn_kwargs['env'].update(env)
+
+   if self.repo.module_specific_options.get('sync-git-clone-env'):
+   shlexed_env = 

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

2017-06-27 Thread Brian Dolbec
commit: dac5089eb7908e9fd643f46c913515082077281e
Author: Zac Medico  gentoo  org>
AuthorDate: Fri May  5 09:07:38 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Fri May  5 18:32:45 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=dac5089e

Eventloop: fix deadlock involving idle_add/call_soon (bug 617550)

Guarantee that newly added idle_add/call_soon callbacks have an
opportunity to execute before the event loop decides to wait on
self._thread_condition without a timeout. This fixes a case where
the event loop would wait on self._thread_condition indefinitely,
even though a callback scheduled by the AsynchronousTask._async_wait
method needed to be executed first.

X-Gentoo-bug: 617550
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=617550
Acked-by: Brian Dolbec  gentoo.org>

 pym/portage/util/_eventloop/EventLoop.py | 18 --
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/pym/portage/util/_eventloop/EventLoop.py 
b/pym/portage/util/_eventloop/EventLoop.py
index 712838e3d..cd154005f 100644
--- a/pym/portage/util/_eventloop/EventLoop.py
+++ b/pym/portage/util/_eventloop/EventLoop.py
@@ -108,6 +108,15 @@ class EventLoop(object):
self._poll_event_handler_ids = {}
# Increment id for each new handler.
self._event_handler_id = 0
+   # New call_soon callbacks must have an opportunity to
+   # execute before it's safe to wait on self._thread_condition
+   # without a timeout, since delaying its execution indefinitely
+   # could lead to a deadlock. The following attribute stores the
+   # event handler id of the most recently added call_soon 
callback.
+   # If this attribute has changed since the last time that the
+   # call_soon callbacks have been called, then it's not safe to
+   # wait on self._thread_condition without a timeout.
+   self._call_soon_id = 0
# Use OrderedDict in order to emulate the FIFO queue behavior
# of the AbstractEventLoop.call_soon method.
self._idle_callbacks = OrderedDict()
@@ -250,10 +259,15 @@ class EventLoop(object):
 
if not event_handlers:
with self._thread_condition:
+   prev_call_soon_id = self._call_soon_id
if self._run_timeouts():
events_handled += 1
timeouts_checked = True
-   if not event_handlers and not events_handled 
and may_block:
+
+   call_soon = prev_call_soon_id != 
self._call_soon_id
+
+   if (not call_soon and not event_handlers
+   and not events_handled and may_block):
# Block so that we don't waste cpu time 
by looping too
# quickly. This makes EventLoop useful 
for code that needs
# to wait for timeout callbacks 
regardless of whether or
@@ -457,7 +471,7 @@ class EventLoop(object):
@return: an integer ID
"""
with self._thread_condition:
-   source_id = self._new_source_id()
+   source_id = self._call_soon_id = self._new_source_id()
self._idle_callbacks[source_id] = 
self._idle_callback_class(
args=args, callback=callback, 
source_id=source_id)
self._thread_condition.notify()



[gentoo-commits] proj/portage:repoman commit in: pym/_emerge/, pym/portage/tests/resolver/

2017-06-27 Thread Brian Dolbec
commit: 60af7e2696b96b47b0cd9e70caabd10546206b8b
Author: Zac Medico  gentoo  org>
AuthorDate: Mon May 29 08:22:40 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Fri Jun  2 05:38:02 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=60af7e26

depgraph: prune unnecessary rebuilds for --autounmask-continue (bug 619626)

When there are autounmask USE changes, avoid unnecessary rebuilds
by accepting binary packages that were rejected due to the preexisting
USE configuration. This reuses the prune_rebuilds backtracker support
which was added for bug 439688.

X-Gentoo-bug: 619626
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=619626
Acked-by: Brian Dolbec  gentoo.org>

 pym/_emerge/depgraph.py| 96 ++
 .../tests/resolver/test_autounmask_binpkg_use.py   | 64 +++
 2 files changed, 142 insertions(+), 18 deletions(-)

diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 2dc432431..abe2cb1bd 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -5,6 +5,7 @@ from __future__ import division, print_function, 
unicode_literals
 
 import collections
 import errno
+import functools
 import io
 import logging
 import stat
@@ -856,17 +857,11 @@ class depgraph(object):
for parent in 
self._forced_rebuilds[root][child]:
writemsg_stdout("%s\n" % (parent,), 
noiselevel=-1)
 
-   def _show_ignored_binaries(self):
+   def _eliminate_ignored_binaries(self):
"""
-   Show binaries that have been ignored because their USE didn't
-   match the user's config.
+   Eliminate any package from self._dynamic_config.ignored_binaries
+   for which a more optimal alternative exists.
"""
-   if not self._dynamic_config.ignored_binaries \
-   or '--quiet' in self._frozen_config.myopts:
-   return
-
-   ignored_binaries = {}
-
for pkg in list(self._dynamic_config.ignored_binaries):
 
for selected_pkg in 
self._dynamic_config._package_tracker.match(
@@ -894,10 +889,67 @@ class depgraph(object):

self._dynamic_config.ignored_binaries.pop(pkg)
break
 
-   else:
-   for reason, info in self._dynamic_config.\
-   ignored_binaries[pkg].items():
-   ignored_binaries.setdefault(reason, 
{})[pkg] = info
+   def _ignored_binaries_autounmask_backtrack(self):
+   """
+   Check if there are ignored binaries that would have been
+   accepted with the current autounmask USE changes.
+
+   @rtype: bool
+   @return: True if there are unnecessary rebuilds that
+   can be avoided by backtracking
+   """
+   if not all([
+   self._dynamic_config._allow_backtracking,
+   self._dynamic_config._needed_use_config_changes,
+   self._dynamic_config.ignored_binaries]):
+   return False
+
+   self._eliminate_ignored_binaries()
+
+   # _eliminate_ignored_binaries may have eliminated
+   # all of the ignored binaries
+   if not self._dynamic_config.ignored_binaries:
+   return False
+
+   use_changes = collections.defaultdict(
+   functools.partial(collections.defaultdict, dict))
+   for pkg, (new_use, changes) in 
self._dynamic_config._needed_use_config_changes.items():
+   if pkg in self._dynamic_config.digraph:
+   use_changes[pkg.root][pkg.slot_atom] = (pkg, 
new_use)
+
+   for pkg in self._dynamic_config.ignored_binaries:
+   selected_pkg, new_use = use_changes[pkg.root].get(
+   pkg.slot_atom, (None, None))
+   if new_use is None:
+   continue
+
+   if new_use != pkg.use.enabled:
+   continue
+
+   if selected_pkg > pkg:
+   continue
+
+   return True
+
+   return False
+
+   def _show_ignored_binaries(self):
+   """
+   Show binaries that have been ignored because their USE didn't
+   match the user's config.
+   """
+   if not self._dynamic_config.ignored_binaries \
+   or '--quiet' in self._frozen_config.myopts:
+   return
+
+   self._eliminate_ignored_binaries()
+
+ 

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

2017-06-27 Thread Brian Dolbec
commit: a04ef3863d39f84d70bf72bc5ed6d24aa28f7e92
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 17:38:48 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 19:51:07 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=a04ef386

qa_data.py: Initial move of all configurable data to the repo

All this data was ported to a metadata/repoman/qa_data.yml file.

 repoman/pym/repoman/qa_data.py | 432 -
 1 file changed, 77 insertions(+), 355 deletions(-)

diff --git a/repoman/pym/repoman/qa_data.py b/repoman/pym/repoman/qa_data.py
index a59fed778..2bbf460df 100644
--- a/repoman/pym/repoman/qa_data.py
+++ b/repoman/pym/repoman/qa_data.py
@@ -1,368 +1,90 @@
 # -*- coding:utf-8 -*-
 
 import logging
+import os
+import yaml
 
 from _emerge.Package import Package
 
 # import our initialized portage instance
 from repoman._portage import portage
 
-max_desc_len = 80
-allowed_filename_chars = "a-zA-Z0-9._-+:"
 
-qahelp = {
-   "CVS/Entries.IO_error": (
-   "Attempting to commit, and an IO error was encountered access 
the"
-   " Entries file"),
-   "ebuild.invalidname": (
-   "Ebuild files with a non-parseable or syntactically incorrect 
name"
-   " (or using 2.1 versioning extensions)"),
-   "ebuild.namenomatch": (
-   "Ebuild files that do not have the same name as their parent"
-   " directory"),
-   "changelog.ebuildadded": (
-   "An ebuild was added but the ChangeLog was not modified"),
-   "changelog.missing": (
-   "Missing ChangeLog files"),
-   "ebuild.notadded": (
-   "Ebuilds that exist but have not been added to cvs"),
-   "ebuild.patches": (
-   "PATCHES variable should be a bash array to ensure white space 
safety"),
-   "changelog.notadded": (
-   "ChangeLogs that exist but have not been added to cvs"),
-   "dependency.bad": (
-   "User-visible ebuilds with unsatisfied dependencies"
-   " (matched against *visible* ebuilds)"),
-   "dependency.badmasked": (
-   "Masked ebuilds with unsatisfied dependencies"
-   " (matched against *all* ebuilds)"),
-   "dependency.badindev": (
-   "User-visible ebuilds with unsatisfied dependencies"
-   " (matched against *visible* ebuilds) in developing arch"),
-   "dependency.badmaskedindev": (
-   "Masked ebuilds with unsatisfied dependencies"
-   " (matched against *all* ebuilds) in developing arch"),
-   "dependency.badtilde": (
-   "Uses the ~ dep operator with a non-zero revision part,"
-   " which is useless (the revision is ignored)"),
-   "dependency.missingslot": (
-   "RDEPEND matches more than one SLOT but does not specify a "
-   "slot and/or use the := or :* slot operator"),
-   "dependency.perlcore": (
-   "This ebuild directly depends on a package in perl-core;"
-   " it should use the corresponding virtual instead."),
-   "dependency.syntax": (
-   "Syntax error in dependency string"
-   " (usually an extra/missing space/parenthesis)"),
-   "dependency.unknown": (
-   "Ebuild has a dependency that refers to an unknown package"
-   " (which may be valid if it is a blocker for a renamed/removed 
package,"
-   " or is an alternative choice provided by an overlay)"),
-   "dependency.badslotop": (
-   "RDEPEND contains ':=' slot operator under '||' dependency."),
-   "file.executable": (
-   "Ebuilds, digests, metadata.xml, Manifest, and ChangeLog do not 
need"
-   " the executable bit"),
-   "file.size": (
-   "Files in the files directory must be under 20 KiB"),
-   "file.size.fatal": (
-   "Files in the files directory must be under 60 KiB"),
-   "file.empty": (
-   "Empty file in the files directory"),
-   "file.name": (
-   "File/dir name must be composed"
-   " of only the following chars: %s " % allowed_filename_chars),
-   "file.UTF8": (
-   "File is not UTF8 compliant"),
-   "inherit.deprecated": (
-   "Ebuild inherits a deprecated eclass"),
-   "inherit.missing": (
-   "Ebuild uses functions from an eclass but does not inherit it"),
-   "inherit.unused": (
-   "Ebuild inherits an eclass but does not use it"),
-   "java.eclassesnotused": (
-   "With virtual/jdk in DEPEND you must inherit a java eclass"),
-   "wxwidgets.eclassnotused": (
-   "Ebuild DEPENDs on x11-libs/wxGTK without inheriting 
wxwidgets.eclass"),
-   "KEYWORDS.dropped": (
-   "Ebuilds that appear to have dropped KEYWORDS for some arch"),

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

2017-06-27 Thread Brian Dolbec
commit: da2a8745c7870c57c2b4025238c0b48acab09c5d
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 17:49:01 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 19:51:21 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=da2a8745

repoman: Move qa_data initialization and loading

Move the new QAData class instance init to repoman_main().
parse_args() remove unused qahelp parameter.
qa_tracker.py: Add default qacats and qawarnings parameters as None.
These will be assigned later due to circular init references.
repos.py: Perform the QAData class loading and complete intialization
assignments.

 repoman/pym/repoman/argparser.py  |  3 +--
 repoman/pym/repoman/main.py   | 26 ++
 repoman/pym/repoman/qa_tracker.py | 10 +-
 repoman/pym/repoman/repos.py  | 12 ++--
 4 files changed, 30 insertions(+), 21 deletions(-)

diff --git a/repoman/pym/repoman/argparser.py b/repoman/pym/repoman/argparser.py
index 2d56a87e6..68701378f 100644
--- a/repoman/pym/repoman/argparser.py
+++ b/repoman/pym/repoman/argparser.py
@@ -15,11 +15,10 @@ from portage import _unicode_decode
 from portage import util
 
 
-def parse_args(argv, qahelp, repoman_default_opts):
+def parse_args(argv, repoman_default_opts):
"""Use a customized optionParser to parse command line arguments for 
repoman
Args:
argv - a sequence of command line arguments
-   qahelp - a dict of qa warning to help message
Returns:
(opts, args), just like a call to parser.parse_args()
"""

diff --git a/repoman/pym/repoman/main.py b/repoman/pym/repoman/main.py
old mode 100755
new mode 100644
index ccc735c7d..3b628de00
--- a/repoman/pym/repoman/main.py
+++ b/repoman/pym/repoman/main.py
@@ -29,9 +29,8 @@ from portage.util.futures.extendedfutures import (
 
 from repoman.actions import Actions
 from repoman.argparser import parse_args
-from repoman.qa_data import (
-   format_qa_output, format_qa_output_column, qahelp,
-   qawarnings, qacats)
+from repoman.qa_data import QAData
+from repoman.qa_data import format_qa_output, format_qa_output_column
 from repoman.repos import RepoSettings
 from repoman.scanner import Scanner
 from repoman import utilities
@@ -60,7 +59,7 @@ def repoman_main(argv):
nocolor()
 
options, arguments = parse_args(
-   sys.argv, qahelp, repoman_settings.get("REPOMAN_DEFAULT_OPTS", 
""))
+   sys.argv, repoman_settings.get("REPOMAN_DEFAULT_OPTS", ""))
 
if options.version:
print("Repoman", VERSION, "(portage-%s)" % portage.VERSION)
@@ -73,10 +72,6 @@ def repoman_main(argv):
else:
logger.setLevel(LOGLEVEL)
 
-   if options.experimental_inherit == 'y':
-   # This is experimental, so it's non-fatal.
-   qawarnings.add("inherit.missing")
-
# Set this to False when an extraordinary issue (generally
# something other than a QA issue) makes it impossible to
# commit (like if Manifest generation fails).
@@ -91,14 +86,21 @@ def repoman_main(argv):
 
# avoid a circular parameter repo_settings
vcs_settings = VCSSettings(options, repoman_settings)
+   qadata = QAData()
 
+   logging.debug("repoman_main: RepoSettings init")
repo_settings = RepoSettings(
config_root, portdir, portdir_overlay,
-   repoman_settings, vcs_settings, options, qawarnings)
+   repoman_settings, vcs_settings, options, qadata)
repoman_settings = repo_settings.repoman_settings
 
# Now set repo_settings
vcs_settings.repo_settings = repo_settings
+   # set QATracker qacats, qawarnings
+   vcs_settings.qatracker.qacats = repo_settings.qadata.qacats
+   vcs_settings.qatracker.qawarnings = repo_settings.qadata.qawarnings
+   logging.debug("repoman_main: vcs_settings done")
+   logging.debug("repoman_main: qadata: %s", repo_settings.qadata)
 
if 'digest' in repoman_settings.features and options.digest != 'n':
options.digest = 'y'
@@ -133,11 +135,11 @@ def repoman_main(argv):
if options.mode == "manifest":
sys.exit(result['fail'])
 
-   for x in qacats:
+   for x in qadata.qacats:
if x not in vcs_settings.qatracker.fails:
continue
result['warn'] = 1
-   if x not in qawarnings:
+   if x not in qadata.qawarnings:
result['fail'] = 1
 
if result['fail'] or \
@@ -174,7 +176,7 @@ def repoman_main(argv):
format_output = format_outputs.get(
options.output_style, format_outputs['default'])
format_output(f, vcs_settings.qatracker.fails, result['full'],
-   result['fail'], options, qawarnings)
+   result['fail'], options, qadata.qawarnings)
 
  

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

2017-06-27 Thread Brian Dolbec
commit: b7deb4dec0a6c3516050a87179aee37b2a6b70c8
Author: Brian Dolbec  gaikai  com>
AuthorDate: Tue Jun 27 18:08:50 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue Jun 27 19:51:21 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=b7deb4de

repoman: main.py: Remove unused InvalidStateError import

 repoman/pym/repoman/main.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/repoman/pym/repoman/main.py b/repoman/pym/repoman/main.py
old mode 100644
new mode 100755
index 3b628de00..c1e3b99fe
--- a/repoman/pym/repoman/main.py
+++ b/repoman/pym/repoman/main.py
@@ -24,7 +24,6 @@ from portage.output import ConsoleStyleFile, StyleWriter
 from portage.util import formatter
 from portage.util.futures.extendedfutures import (
ExtendedFuture,
-   InvalidStateError,
 )
 
 from repoman.actions import Actions



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

2017-06-27 Thread Brian Dolbec
commit: e6abcc0b7cbdca481862a5c7cca946c01c471ffb
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 15 07:27:47 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Thu Jun 15 17:15:05 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=e6abcc0b

const: Change the MANIFEST2_REQUIRED_HASH to SHA512

Following the plan established in GLEP 59, we're long overdue
deprecating SHA256. Since we have finally got rid of the last packages
lacking SHA512 checksums, we can proceed with that. In order to prepare
for it, however, we need to change the required hash to SHA512 and make
sure developers install the new Portage & repoman versions first.

Of course, a better course of action would be to kill
MANIFEST2_REQUIRED_HASH entirely and make Portage capable of dealing
with any hash set. However, that's a larger piece of work and it would
delay the immediate goal.

Reviewed-by: Zac Medico  gentoo.org>

 pym/portage/const.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/portage/const.py b/pym/portage/const.py
index 052d4ca2f..cbd2b6042 100644
--- a/pym/portage/const.py
+++ b/pym/portage/const.py
@@ -234,7 +234,7 @@ MANIFEST2_HASH_FUNCTIONS = ("SHA256", "SHA512", "WHIRLPOOL",
"BLAKE2B", "BLAKE2S", "SHA3_256", "SHA3_512",
"STREEBOG256", "STREEBOG512")
 MANIFEST2_HASH_DEFAULTS = frozenset(["SHA256", "SHA512", "WHIRLPOOL"])
-MANIFEST2_REQUIRED_HASH  = "SHA256"
+MANIFEST2_REQUIRED_HASH  = "SHA512"
 
 MANIFEST2_IDENTIFIERS= ("AUX", "MISC", "DIST", "EBUILD")
 



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

2017-06-27 Thread Brian Dolbec
commit: 0f9bc8659094fe6a100a64e51cc9d51e95c5d659
Author: Zac Medico  gentoo  org>
AuthorDate: Sun May 28 10:03:34 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue May 30 07:21:05 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=0f9bc865

depgraph: account for binpkg-multi-instance in unused warning (bug 619620)

With FEATURES=binpkg-multi-instance, it is normal to have some
unused binary packages, so don't warn if the selected package
is the latest version and the most recent build.

X-Gentoo-bug: 619620
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=619620
Acked-by: Brian Dolbec  gentoo.org>

 pym/_emerge/depgraph.py | 9 +
 1 file changed, 9 insertions(+)

diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 726835dd4..2dc432431 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -876,6 +876,15 @@ class depgraph(object):

self._dynamic_config.ignored_binaries.pop(pkg)
break
 
+   # NOTE: The Package.__ge__ implementation 
accounts for
+   # differences in build_time, so the warning 
about "ignored"
+   # packages will be triggered if both packages 
are the same
+   # version and selected_pkg is not the most 
recent build.
+   if (selected_pkg.type_name == "binary" and
+   selected_pkg >= pkg):
+   
self._dynamic_config.ignored_binaries.pop(pkg)
+   break
+
if selected_pkg.installed and \
selected_pkg.cpv == pkg.cpv and \
selected_pkg.build_time == 
pkg.build_time:



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

2017-06-27 Thread Brian Dolbec
commit: a3c87da25dc1944e6b7720e304318ae5474dff95
Author: Zac Medico  gentoo  org>
AuthorDate: Wed May 10 06:25:01 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Sun May 14 18:07:44 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=a3c87da2

file_copy: fix lseek offset after EINTR (bug 618086)

Fix the lseek offset for the plain read/write loop to account
for buffered data that has not been written to to the output
file yet (due to previous interruption by EINTR). This code
only affects Linux 2.6.32 and earlier (newer kernels use
copy_file_range or sendfile).

X-Gentoo-bug: 618086
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=618086
Acked-by: Brian Dolbec  gentoo.org>

 src/portage_util_file_copy_reflink_linux.c | 13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/portage_util_file_copy_reflink_linux.c 
b/src/portage_util_file_copy_reflink_linux.c
index 2fb17a0f5..4be9e0568 100644
--- a/src/portage_util_file_copy_reflink_linux.c
+++ b/src/portage_util_file_copy_reflink_linux.c
@@ -323,12 +323,14 @@ _reflink_linux_file_copy(PyObject *self, PyObject *args)
 if (buf == NULL) {
 error = errno;
 
-/* For the read call, the fd_in file offset must be
- * exactly equal to offset_out. Use lseek to ensure
- * correct state, in case an EINTR retry caused it to
- * get out of sync somewhow.
+/* For the read call, the fd_in file offset must be exactly
+ * equal to offset_out + buf_bytes, where buf_bytes is the
+ * amount of buffered data that has not been written to
+ * to the output file yet. Use lseek to ensure correct state,
+ * in case an EINTR retry caused it to get out of sync
+ * somewhow.
  */
-} else if (lseek(fd_in, offset_out, SEEK_SET) < 0) {
+} else if (lseek(fd_in, offset_out + buf_bytes, SEEK_SET) < 0) 
{
 error = errno;
 } else {
 while (1) {
@@ -345,6 +347,7 @@ _reflink_linux_file_copy(PyObject *self, PyObject *args)
 
 } else if (buf_bytes < 0) {
 error = errno;
+buf_bytes = 0;
 break;
 }
 }



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

2017-06-27 Thread Brian Dolbec
commit: ff2c1d017cf2f8aa6a8eba4e0495089c5d73f277
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 15 07:25:23 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Thu Jun 15 17:05:30 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=ff2c1d01

const: Remove unused MANIFEST1_REQUIRED_HASH

The MANIFEST1_REQUIRED_HASH constant is not used anywhere, so it should
be possible to remove it safely.

Reviewed-by: Zac Medico  gentoo.org>

 pym/portage/const.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pym/portage/const.py b/pym/portage/const.py
index 7e415ba9c..052d4ca2f 100644
--- a/pym/portage/const.py
+++ b/pym/portage/const.py
@@ -206,7 +206,6 @@ EAPI = 6
 
 HASHING_BLOCKSIZE= 32768
 MANIFEST1_HASH_FUNCTIONS = ("MD5", "SHA256", "RMD160")
-MANIFEST1_REQUIRED_HASH  = "MD5"
 
 # Past events:
 #



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

2017-06-27 Thread Brian Dolbec
commit: 1e43cb98a2d03d34cb79b3ebac94fc980ef47d8d
Author: Brian Dolbec  gentoo  org>
AuthorDate: Sat May 20 06:27:08 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Sat May 20 06:27:08 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=1e43cb98

Updates for a release

 RELEASE-NOTES | 29 +
 setup.py  |  2 +-
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 2c1cf4058..a9bcd2f6f 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -4,6 +4,35 @@ Features/major bugfixes are listed in NEWS
 portage-2.3.5
 ==
 * Bug Fixes:
+- Bug 612874 depgraph: avoid missed update with slot operator and circ dep
+- Bug 612960 emerge: fix --use-ebuild-visibility to reject binary packages
+- Bug 613360 emerge: fix --usepkg when ebuild is not available
+- Bug 591760 EventLoop: implement call_soon for asyncio compat
+ Future: implement add_done_callback for asyncio compat
+ emerge: use asyncio interfaces for spinner during owner lookup
+- Bug 613132 phase-helpers.sh: Loop over A rather than SRC_URI in 
__eapi0_pkg_nofetch
+- Bug 313990 SpawnProcess: fix event loop recursion in _pipe_logger_exit
+- Bug 490562 pkg_use_display: show masked/forced state of USE_EXPAND flags
+- Bug 614390 depgraph: trigger slot operator rebuilds via _complete_graph
+- Bug 614474 emerge: fix --autounmask-continue to work with --getbinpkg
+- Bug 614108 AsynchronousLock: add async_unlock method
+- Bug 614116 EbuildBuild: eliminate call to digestgen
+ EbuildBuild: async spawn_nofetch in _fetchonly_exit
+- Bug 615238 Prevent crash if os.nice() fails
+- Bug 379899 dosym: Make implicit basename a fatal error
+- Bug 615982 depgraph._in_blocker_conflict: call _validate_blockers if 
needed
+- Bug 612262 man/emerge.1: fix quickpkg input in tb2file section
+- Bug 617550 Eventloop: fix deadlock involving idle_add/call_soon
+- Bug 617778 file_copy: replace loff_t with off_t for portability
+- Bug 618086 file_copy: fix lseek offset after EINTR
+- Bug 615680 emerge: terminate backtracking early for autounmask changes
+- Bug 540562 emerge: default --backtrack=10
+- Bug 294719 emerge: add --onlydeps-with-rdeps= option
+
+
+portage-2.3.5
+==
+* Bug Fixes:
 - Bug 598444 auto-enable --with-bdeps if --usepkg is not enabled
 - Bug 611838 use_reduce: reserve missing_white_space_check for invalid 
tokens
 - Bug 612042 depgraph: fix backtracking for slot operator rebuilds

diff --git a/setup.py b/setup.py
index 1ba6f87f8..e47eb7390 100755
--- a/setup.py
+++ b/setup.py
@@ -655,7 +655,7 @@ class build_ext(_build_ext):
 
 setup(
name = 'portage',
-   version = '2.3.5',
+   version = '2.3.6',
url = 'https://wiki.gentoo.org/wiki/Project:Portage',
author = 'Gentoo Portage Development Team',
author_email = 'dev-port...@gentoo.org',



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

2017-06-27 Thread Brian Dolbec
commit: 62a3b1acfd7e8d488cb3fa0761e7f810fb208167
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr 30 07:42:13 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Sat May 27 14:30:45 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=62a3b1ac

repoman: Make all shebangs prefix friendly

* Simplifies the repoman ebuild, as the
  prefixifying can be made redundant.
* See also:
  https://blogs.gentoo.org/mgorny/2016/02/08/a-quick-note-on-portable-shebangs/

 repoman/bin/repoman   | 4 ++--
 repoman/pym/repoman/main.py   | 4 ++--
 repoman/pym/repoman/tests/runTests.py | 4 ++--
 repoman/runtests  | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/repoman/bin/repoman b/repoman/bin/repoman
index 7082a968f..7084ff918 100755
--- a/repoman/bin/repoman
+++ b/repoman/bin/repoman
@@ -1,5 +1,5 @@
-#!/usr/bin/python -bO
-# Copyright 1999-2014 Gentoo Foundation
+#!/usr/bin/env python
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 """Ebuild and tree health checks and maintenance utilities.

diff --git a/repoman/pym/repoman/main.py b/repoman/pym/repoman/main.py
index 825a82e61..ccc735c7d 100755
--- a/repoman/pym/repoman/main.py
+++ b/repoman/pym/repoman/main.py
@@ -1,6 +1,6 @@
-#!/usr/bin/python -bO
+#!/usr/bin/env python
 # -*- coding:utf-8 -*-
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 from __future__ import print_function, unicode_literals

diff --git a/repoman/pym/repoman/tests/runTests.py 
b/repoman/pym/repoman/tests/runTests.py
index 83e3d35f5..759abdd82 100644
--- a/repoman/pym/repoman/tests/runTests.py
+++ b/repoman/pym/repoman/tests/runTests.py
@@ -1,6 +1,6 @@
-#!/usr/bin/python -bWd
+#!/usr/bin/env python
 # runTests.py -- Portage Unit Test Functionality
-# Copyright 2006-2014 Gentoo Foundation
+# Copyright 2006-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 import os, sys

diff --git a/repoman/runtests b/repoman/runtests
index 53eb64510..c1825301a 100755
--- a/repoman/runtests
+++ b/repoman/runtests
@@ -1,5 +1,5 @@
-#!/usr/bin/python
-# Copyright 2010-2015 Gentoo Foundation
+#!/usr/bin/env python
+# Copyright 2010-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 #
 # Note: We don't want to import portage modules directly because we do things



[gentoo-commits] proj/portage:repoman commit in: pym/_emerge/, man/, pym/portage/tests/resolver/

2017-06-27 Thread Brian Dolbec
commit: 40505ceeadc769f4f01c66e52a19ce0bf2f59761
Author: Zac Medico  gentoo  org>
AuthorDate: Wed May 10 03:44:56 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Sun May 14 18:11:45 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=40505cee

emerge: terminate backtracking early for autounmask changes (bug 615680)

Since autounmask changes are a strong indicator that backtracking
will ultimately fail to produce a solution, terminate early for
autounmask changes, and add a --autounmask-backtrack= option
to modify this behavior. The --autounmask-continue option implies
--autounmask-backtrack=y behavior, for backward compatibility.

When backtracking terminates early, the following warning message
is displayed after the autounmask change(s):

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.

With this change, five of the existing cases fail unless
--autounmask-backtrack=y is added to the options. For each of
these cases, comments below the test case document how it behaves
with and without --autounmask-backtrack=y enabled.

X-Gentoo-bug: 615680
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=615680
Acked-by: Brian Dolbec  gentoo.org>

 man/emerge.1   | 10 ++-
 pym/_emerge/depgraph.py| 80 ++
 pym/_emerge/main.py|  6 ++
 pym/portage/tests/resolver/test_autounmask.py  | 57 ++-
 .../tests/resolver/test_autounmask_use_breakage.py | 40 +++
 .../test_slot_conflict_unsatisfied_deep_deps.py| 61 +
 6 files changed, 237 insertions(+), 17 deletions(-)

diff --git a/man/emerge.1 b/man/emerge.1
index f1a9d4f3f..94edc9095 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -363,12 +363,20 @@ the specified configuration file(s), or enable the
 \fBEMERGE_DEFAULT_OPTS\fR variable may be used to
 disable this option by default in \fBmake.conf\fR(5).
 .TP
+.BR "\-\-autounmask\-backtrack < y | n >"
+Allow backtracking after autounmask has detected that
+configuration changes are necessary. This option is not
+recommended, since it can cause a large amount of time to
+be wasted by backtracking calculations, even though there
+is no guarantee that it will produce a solution. This
+option is disabled by default.
+.TP
 .BR "\-\-autounmask\-continue [ y | n ]"
 Automatically apply autounmask changes to configuration
 files, and continue to execute the specified command. If
 the dependency calculation is not entirely successful, then
 emerge will simply abort without modifying any configuration
-files.
+files. This option implies \fB\-\-autounmask\-backtrack=y\fR.
 \fBWARNING:\fR
 This option is intended to be used only with great caution,
 since it is possible for it to make nonsensical configuration

diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index e1119af3c..53910dd25 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -444,6 +444,7 @@ class _dynamic_depgraph_config(object):
self._autounmask = 
depgraph._frozen_config.myopts.get('--autounmask') != 'n'
self._displayed_autounmask = False
self._success_without_autounmask = False
+   self._autounmask_backtrack_disabled = False
self._required_use_unsatisfied = False
self._traverse_ignored_deps = False
self._complete_mode = False
@@ -1129,7 +1130,8 @@ class depgraph(object):
 
self._show_merge_list()
 
-   self._dynamic_config._slot_conflict_handler = 
slot_conflict_handler(self)
+   if self._dynamic_config._slot_conflict_handler is None:
+   self._dynamic_config._slot_conflict_handler = 
slot_conflict_handler(self)
handler = self._dynamic_config._slot_conflict_handler
 
conflict = handler.get_conflict()
@@ -4243,17 +4245,7 @@ class depgraph(object):
# set below is reserved for cases where there are *zero* other
# problems. For reference, see backtrack_depgraph, where it 
skips the
# get_best_run() call when success_without_autounmask is True.
-
-   digraph_nodes = self._dynamic_config.digraph.nodes
-
-   if any(x in digraph_nodes for x in
-   self._dynamic_config._needed_unstable_keywords) or \
-   any(x in digraph_nodes for x in
-   self._dynamic_config._needed_p_mask_changes) or \
-   any(x in digraph_nodes for x in
-   self._dynamic_config._needed_use_config_changes) or \
-   any(x in digraph_nodes for x in
-   

[gentoo-commits] proj/portage:repoman commit in: bin/ebuild-helpers/

2017-06-27 Thread Brian Dolbec
commit: 18712aa6924862bbab5814c6199e7d7ab416d005
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 19 13:36:02 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Thu Apr 20 20:39:51 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=18712aa6

dosym: protect Prefix hack from double EPREFIX

Add an additional conditional to the dosym Prefix hack to ensure that
the symlink is not using double Prefix when the ebuild uses ${EPREFIX}
explicitly. This ensures that Portage on Prefix systems is both
compatible with the ebuilds relying on the hack, and using dosym
in the PMS-defined manner.

Approved-by: Brian Dolbec  gentoo.org> (on IRC)
Approved-by: Ulrich Müller  gentoo.org>

 bin/ebuild-helpers/dosym | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/bin/ebuild-helpers/dosym b/bin/ebuild-helpers/dosym
index b9c70ce9c..e96039146 100755
--- a/bin/ebuild-helpers/dosym
+++ b/bin/ebuild-helpers/dosym
@@ -20,9 +20,15 @@ fi
 
 destdir=${2%/*}
 [[ ! -d ${ED}${destdir} ]] && dodir "${destdir}"
-# when absolute, prefix with offset for Gentoo Prefix
 target="${1}"
-[[ ${target:0:1} == "/" ]] && target="${EPREFIX}${target}"
+# DEPRECATED HACK: when absolute, prefix with offset for Gentoo Prefix
+# (but only if ${EPREFIX} is not there already)
+# this will eventually be removed, #615594
+if [[ ${target:0:1} == "/" && ${target}/ != "${EPREFIX}"/* ]]; then
+   eqawarn "dosym: prepending EPREFIX to path implicitly. If this is 
desired,"
+   eqawarn "   please fix the ebuild to use \${EPREFIX} explicitly."
+   target="${EPREFIX}${target}"
+fi
 ln -snf "${target}" "${ED}${2}"
 
 ret=$?



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

2017-06-27 Thread Brian Dolbec
commit: 90a15aad608c87a7a03dade22592fa95a0ac4fbd
Author: Zac Medico  gentoo  org>
AuthorDate: Sun May 28 04:17:03 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue May 30 09:56:34 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=90a15aad

man/portage.5: document -* in profile "packages" files (bug 610670)

The -* wildcard has been supported since portage-2.3.4, but it was
not explicitly documented.

X-Gentoo-Bug: 610670
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=610670
Acked-by: Brian Dolbec  gentoo.org>

 man/portage.5 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/man/portage.5 b/man/portage.5
index 82e979ecf..366a1fa85 100644
--- a/man/portage.5
+++ b/man/portage.5
@@ -369,7 +369,8 @@ hurt \fBemerge\fR's ability to parallelize.
 .I Note:
 In a cascading profile setup, you can remove packages in children
 profiles which were added by parent profiles by prefixing the atom with
-a '\-'.
+a '\-'. The '\-*' wildcard discards all @system and @profile packages
+added by parent profiles.
 
 .I Example:
 .nf



[gentoo-commits] proj/portage:repoman commit in: pym/portage/tests/emerge/, pym/_emerge/

2017-06-27 Thread Brian Dolbec
commit: 565ceb1bebc83ec1a5572a672e2e08ea7d91e7a8
Author: Zac Medico  gentoo  org>
AuthorDate: Sun May 28 08:55:27 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue May 30 03:30:50 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=565ceb1b

emerge: warn for --autounmask-continue with --autounmask=n (bug 619612)

In order to avoid possible confusion when the user has specified
--autounmask-continue and EMERGE_DEFAULT_OPTS contains
--autounmask=n, display a warning message as follows:

 * --autounmask-continue has been disabled by --autounmask=n

X-Gentoo-bug: 619612
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=619612
Acked-by: Brian Dolbec  gentoo.org>

 pym/_emerge/actions.py  | 6 ++
 pym/portage/tests/emerge/test_simple.py | 5 -
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 1bc20c3ed..c8a62fb01 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -2862,6 +2862,12 @@ def run_action(emerge_config):
adjust_configs(emerge_config.opts, emerge_config.trees)
apply_priorities(emerge_config.target_config.settings)
 
+   if ("--autounmask-continue" in emerge_config.opts and
+   emerge_config.opts.get("--autounmask") == "n"):
+   writemsg_level(
+   " %s --autounmask-continue has been disabled by 
--autounmask=n\n" %
+   warn("*"), level=logging.WARNING, noiselevel=-1)
+
for fmt in 
emerge_config.target_config.settings.get("PORTAGE_BINPKG_FORMAT", "").split():
if not fmt in portage.const.SUPPORTED_BINPKG_FORMATS:
if "--pkg-format" in emerge_config.opts:

diff --git a/pym/portage/tests/emerge/test_simple.py 
b/pym/portage/tests/emerge/test_simple.py
index 5930f6cc8..f99c77927 100644
--- a/pym/portage/tests/emerge/test_simple.py
+++ b/pym/portage/tests/emerge/test_simple.py
@@ -311,7 +311,10 @@ pkg_preinst() {
emerge_cmd + ("--unmerge", "--quiet", "dev-libs/A"),
emerge_cmd + ("-C", "--quiet", "dev-libs/B"),
 
-   emerge_cmd + ("--autounmask-continue", "dev-libs/C",),
+   # If EMERGE_DEFAULT_OPTS contains --autounmask=n, then 
--autounmask
+   # must be specified with --autounmask-continue.
+   ({"EMERGE_DEFAULT_OPTS" : "--autounmask=n"},) + \
+   emerge_cmd + ("--autounmask", 
"--autounmask-continue", "dev-libs/C",),
# Verify that the above --autounmask-continue command 
caused
# USE=flag to be applied correctly to dev-libs/D.
portageq_cmd + ("match", eroot, "dev-libs/D[flag]"),



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

2017-06-27 Thread Brian Dolbec
commit: 8889360554e80e2ca461ee67bbbc11de8a9a5a1a
Author: Brenton Horne  gmail  com>
AuthorDate: Sat Apr 22 06:50:37 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Sat Apr 22 07:55:00 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=88893605

man/emerge.1: fix quickpkg input in tb2file section (bug 616262)

quickpkg takes atom input, not /var/db/pkg//.

X-Gentoo-bug: 616262
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=616262

 man/emerge.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/emerge.1 b/man/emerge.1
index 7db427199..f1a9d4f3f 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -50,7 +50,7 @@ so this syntax shouldn't be used.
 .BR tbz2file
 A \fItbz2file\fR must be a valid .tbz2 created with \fBebuild
 \-.ebuild package\fR or \fBemerge \-\-buildpkg
-[category/]\fR or \fBquickpkg /var/db/pkg//\fR.
+[category/]\fR or \fBquickpkg [category/]\fR.
 .TP
 .BR file
 A \fIfile\fR must be a file or directory that has been installed by one or



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

2017-06-27 Thread Brian Dolbec
commit: 1a7aeb58c4e687e4d4012054b56373f27941a067
Author: Zac Medico  gentoo  org>
AuthorDate: Sun May  7 23:32:19 2017 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Tue May  9 16:22:45 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=1a7aeb58

file_copy: replace loff_t with off_t for portability (bug 617778)

The loff_t type is a GNU extension, so use the portable off_t
type instead. Also, enable Large File Support macros in setup.py,
for 64-bit offsets.

Reported-by: Patrick Steinhardt  pks.im>
X-Gentoo-bug: 617778
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=617778
Acked-by: Anthony G. Basile  gentoo.org>
Acked-by: Brian Dolbec  gentoo.org>

 setup.py   | 5 -
 src/portage_util_file_copy_reflink_linux.c | 6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/setup.py b/setup.py
index e99317792..1ba6f87f8 100755
--- a/setup.py
+++ b/setup.py
@@ -676,7 +676,10 @@ setup(
['$sysconfdir/portage/repo.postsync.d', 
['cnf/repo.postsync.d/example']],
],
 
-   ext_modules = [Extension(name=n, sources=m) for n, m in 
x_c_helpers.items()],
+   ext_modules = [Extension(name=n, sources=m,
+   extra_compile_args=['-D_FILE_OFFSET_BITS=64',
+   '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE'])
+   for n, m in x_c_helpers.items()],
 
cmdclass = {
'build': x_build,

diff --git a/src/portage_util_file_copy_reflink_linux.c 
b/src/portage_util_file_copy_reflink_linux.c
index b031d962d..2fb17a0f5 100644
--- a/src/portage_util_file_copy_reflink_linux.c
+++ b/src/portage_util_file_copy_reflink_linux.c
@@ -66,7 +66,7 @@ initreflink_linux(void)
  * (errno is set appropriately).
  */
 static ssize_t
-cfr_wrapper(int fd_out, int fd_in, loff_t *off_out, size_t len)
+cfr_wrapper(int fd_out, int fd_in, off_t *off_out, size_t len)
 {
 #ifdef __NR_copy_file_range
 return syscall(__NR_copy_file_range, fd_in, NULL, fd_out,
@@ -96,7 +96,7 @@ cfr_wrapper(int fd_out, int fd_in, loff_t *off_out, size_t 
len)
  * reaches EOF.
  */
 static off_t
-do_lseek_data(int fd_out, int fd_in, loff_t *off_out) {
+do_lseek_data(int fd_out, int fd_in, off_t *off_out) {
 #ifdef SEEK_DATA
 /* Use lseek SEEK_DATA/SEEK_HOLE for sparse file support,
  * as suggested in the copy_file_range man page.
@@ -189,7 +189,7 @@ _reflink_linux_file_copy(PyObject *self, PyObject *args)
 ssize_t buf_bytes, buf_offset, copyfunc_ret;
 struct stat stat_in, stat_out;
 char* buf;
-ssize_t (*copyfunc)(int, int, loff_t *, size_t);
+ssize_t (*copyfunc)(int, int, off_t *, size_t);
 
 if (!PyArg_ParseTuple(args, "ii", _in, _out))
 return NULL;



[gentoo-commits] repo/gentoo:master commit in: media-libs/libvisio/files/, media-libs/libvisio/

2017-06-27 Thread Andreas Sturmlechner
commit: 57d85e5c844a1c176546827367685e4c6758fa47
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jun 27 19:57:34 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jun 27 19:58:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d85e5c

media-libs/libvisio: Fix tests, drop unused DEPEND

Reported-by: Mart Raudsepp  gentoo.org>
Gentoo-bug: 611452

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 .../libvisio/files/libvisio-0.1.5-fix-test.patch   | 41 +++
 .../libvisio/files/libvisio-0.1.5-no-zlib.patch| 46 +
 media-libs/libvisio/libvisio-0.1.5-r1.ebuild   | 59 ++
 3 files changed, 146 insertions(+)

diff --git a/media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch 
b/media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch
new file mode 100644
index 000..801421a689c
--- /dev/null
+++ b/media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch
@@ -0,0 +1,41 @@
+From a97d30ad693374deab404ec31fe00665882cc949 Mon Sep 17 00:00:00 2001
+From: David Tardon 
+Date: Mon, 18 Jan 2016 13:53:19 +0100
+Subject: [PATCH] tdf#92396 test must be run in specific time zone
+
+Change-Id: Idc9d85ae8c5c1a6eccca7e830baa05a867ac4402
+Change-Id: I03b40e2746ad90f2c7cf09560c218aab2a18090d
+---
+ src/test/Makefile.am | 3 +++
+ src/test/importtest.cpp | 4 ++--
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/src/test/Makefile.am b/src/test/Makefile.am
+index 59d3419..23049b5 100644
+--- a/src/test/Makefile.am
 b/src/test/Makefile.am
+@@ -29,4 +29,7 @@ EXTRA_DIST = \
+data/dwg.vsdx \
+$(test_SOURCES)
+ 
++# ImportTest::testVsdMetadataTitleUtf8 checks formatted date string
++AM_TESTS_ENVIRONMENT = TZ=UTC; export TZ;
++
+ TESTS = test
+diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp
+index e05b3c1..32fb185 100644
+--- a/src/test/importtest.cpp
 b/src/test/importtest.cpp
+@@ -242,8 +242,8 @@ void ImportTest::testVsdMetadataTitleUtf8()
+   // Test the case when the string is UTF-8 encoded already in the file.
+   assertXPath(m_doc, "/document/setDocumentMetaData", "title", 
"mytitle\xC3\xA9\xC3\xA1\xC5\x91\xC5\xB1");
+   // Test  and .
+-  assertXPath(m_doc, "/document/setDocumentMetaData", "creation-date", 
"2014-11-26T09:24:56Z");
+-  assertXPath(m_doc, "/document/setDocumentMetaData", "date", 
"2014-11-26T09:24:56Z");
++  assertXPath(m_doc, "/document/setDocumentMetaData", "creation-date", 
"2014-11-26T08:24:56Z");
++  assertXPath(m_doc, "/document/setDocumentMetaData", "date", 
"2014-11-26T08:24:56Z");
+ }
+ 
+ void ImportTest::testVsdUserDefinedMetadata()
+-- 
+2.1.4

diff --git a/media-libs/libvisio/files/libvisio-0.1.5-no-zlib.patch 
b/media-libs/libvisio/files/libvisio-0.1.5-no-zlib.patch
new file mode 100644
index 000..c119ce619da
--- /dev/null
+++ b/media-libs/libvisio/files/libvisio-0.1.5-no-zlib.patch
@@ -0,0 +1,46 @@
+From 8bfb5e3c19ab4e8aea09132881963facb76cfcda Mon Sep 17 00:00:00 2001
+From: David Tardon 
+Date: Thu, 23 Feb 2017 14:30:15 +0100
+Subject: [PATCH] zlib is not needed since the move to librevenge
+
+Change-Id: Ib83663e9cc7a808db966cd8dfb3fbcd1ee195da6
+---
+ configure.ac   | 12 
+ libvisio.pc.in |  2 +-
+ 2 files changed, 1 insertion(+), 13 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index a5b..2aa8ece 100644
+--- a/configure.ac
 b/configure.ac
+@@ -76,18 +76,6 @@ PKG_CHECK_MODULES([ICU],[icu-i18n],[
+ AC_SUBST(ICU_CFLAGS)
+ AC_SUBST(ICU_LIBS)
+ 
+-# =
+-# Find zlib
+-# =
+-PKG_CHECK_MODULES([ZLIB],[zlib],[],[
+-AC_CHECK_HEADER(zlib.h, [ZLIB_CFLAGS=],
+-[AC_MSG_ERROR(zlib.h not found. install zlib)], [])
+-AC_CHECK_LIB(z, inflate, [ ZLIB_LIBS=-lz ],
+-[AC_MSG_ERROR(zlib not found or functional)], [])
+-])
+-AC_SUBST(ZLIB_CFLAGS)
+-AC_SUBST(ZLIB_LIBS)
+-
+ # ===
+ # Find required boost headers
+ # ===
+diff --git a/libvisio.pc.in b/libvisio.pc.in
+index ce68e6f..638930b 100644
+--- a/libvisio.pc.in
 b/libvisio.pc.in
+@@ -10,4 +10,4 @@ Requires: librevenge-0.0
+ Libs: -L${libdir} -lvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@
+ Cflags: -I${includedir}/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@
+ 
+-Requires.private: icu-i18n libxml-2.0 zlib
++Requires.private: icu-i18n libxml-2.0
+-- 
+2.1.4

diff --git a/media-libs/libvisio/libvisio-0.1.5-r1.ebuild 
b/media-libs/libvisio/libvisio-0.1.5-r1.ebuild
new file mode 100644
index 000..ac645d8ae41
--- /dev/null
+++ b/media-libs/libvisio/libvisio-0.1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libvisio/"
+inherit autotools
+[[ ${PV} ==  ]] && inherit git-r3
+
+DESCRIPTION="Library parsing the visio documents"

[gentoo-commits] repo/gentoo:master commit in: media-libs/libvisio/

2017-06-27 Thread Andreas Sturmlechner
commit: 8919c366856cd1d1d2ebb709070dabbe36f0d9b6
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jun 27 19:43:44 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jun 27 19:58:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8919c366

media-libs/libvisio: Drop unused DEPEND

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 media-libs/libvisio/libvisio-.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/media-libs/libvisio/libvisio-.ebuild 
b/media-libs/libvisio/libvisio-.ebuild
index bddd7fe6c3b..4033acc10c5 100644
--- a/media-libs/libvisio/libvisio-.ebuild
+++ b/media-libs/libvisio/libvisio-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,7 +20,6 @@ RDEPEND="
dev-libs/icu:=
dev-libs/librevenge
dev-libs/libxml2
-   sys-libs/zlib
 "
 DEPEND="${RDEPEND}
dev-lang/perl
@@ -40,7 +39,6 @@ src_prepare() {
 
 src_configure() {
econf \
-   --disable-werror \
$(use_with doc docs) \
$(use_enable static-libs static) \
$(use_enable test tests) \



[gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-screenshooter/

2017-06-27 Thread Michał Górny
commit: 99a50ed232c8970b7ff71d04dfab43ba841cd4af
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 27 19:19:33 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:22:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a50ed2

xfce-extra/xfce4-screenshooter: Bump to 1.9.1

 xfce-extra/xfce4-screenshooter/Manifest | 2 +-
 ...fce4-screenshooter-1.9.0.ebuild => xfce4-screenshooter-1.9.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfce-extra/xfce4-screenshooter/Manifest 
b/xfce-extra/xfce4-screenshooter/Manifest
index 0e051f90f7e..c9e2d306c0b 100644
--- a/xfce-extra/xfce4-screenshooter/Manifest
+++ b/xfce-extra/xfce4-screenshooter/Manifest
@@ -1,2 +1,2 @@
 DIST xfce4-screenshooter-1.8.2.tar.bz2 492524 SHA256 
9dce2ddfaa87f703e870e29bae13f3fc82a1b3f06b44f8386640e45a135f5f69 SHA512 
e43dce108c7bacfeebdc39b0c9948b348c77faf358fb0ab5f26d59c96980f1c5473ef87895fe53387340202813935ddad6e200010e61aa27c2c56b662ee56b1e
 WHIRLPOOL 
9a4b5553c0b55d5bd8458f6ff4ac85d5eb07541a940fe038d25b29f021ed4f74a89da7fc006ff06a53652fa630740b42ebc3542bc589f4766bf2401825cb6a8e
-DIST xfce4-screenshooter-1.9.0.tar.bz2 514276 SHA256 
8fe41025096a5e0d54dfb5f1d2bc9645e9a4512ccd8d3bcc9f5ff1da4e8bd69e SHA512 
f75f2a28853748915b525fa862329aae52473e52c63c1adcbd92a3875694621d8c73e253d024cb7c7ce8f5466c699ddf5145c8cffd4a42ba8e1d5ed555ef11d5
 WHIRLPOOL 
768616016820404fc9c7ef1571783c52052af04f5a340a988c6a5efc372c5ae40be59c8302556482d46e39b21054bef22c66f68ea7b5c3c25bd3ba7225a01d56
+DIST xfce4-screenshooter-1.9.1.tar.bz2 514979 SHA256 
e62b31d9cf06a7414a26400c2ebe7a2ae7c2b22aa60f997f25145ea9ebe6e0db SHA512 
e95385f65dfe5fdd1d7045a18c9404ab400db9ddd06a35de2b11c0a955b390a6d278903a3558c135ee9744c8062860f491339b5d035f53cac74a49c366bd8bb2
 WHIRLPOOL 
80982e12a17b195c23c7a51d53ee36843bc3ef798f247e49bb350e560f3d0243f924ab76e037d35e8e6b118dc351f7d44c736a628e67bc8a551c698432788c60

diff --git a/xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.9.0.ebuild 
b/xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.9.1.ebuild
similarity index 100%
rename from xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.9.0.ebuild
rename to xfce-extra/xfce4-screenshooter/xfce4-screenshooter-1.9.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-perl/PDL-Graphics-Gnuplot/, dev-perl/PDL-Graphics-Gnuplot/files/

2017-06-27 Thread Andreas Hüttel
commit: 11c654c81c21d89f741b2218932237e9f5267df6
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Tue Jun 27 19:20:35 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Tue Jun 27 19:20:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c654c8

dev-perl/PDL-Graphics-Gnuplot: Add bugfix patch to escape output file name

See also https://github.com/drzowie/PDL-Graphics-Gnuplot/issues/65
See also https://github.com/lab-measurement/lab-measurement/issues/10

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../PDL-Graphics-Gnuplot-2.11.0-r1.ebuild  | 35 ++
 .../PDL-Graphics-Gnuplot-2.11.0-outputfile.patch   | 23 ++
 2 files changed, 58 insertions(+)

diff --git 
a/dev-perl/PDL-Graphics-Gnuplot/PDL-Graphics-Gnuplot-2.11.0-r1.ebuild 
b/dev-perl/PDL-Graphics-Gnuplot/PDL-Graphics-Gnuplot-2.11.0-r1.ebuild
new file mode 100644
index 000..bc50a70b839
--- /dev/null
+++ b/dev-perl/PDL-Graphics-Gnuplot/PDL-Graphics-Gnuplot-2.11.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_VERSION=2.011
+DIST_AUTHOR=ZOWIE
+inherit perl-module
+
+DESCRIPTION="Gnuplot-based plotting for PDL"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+PATCHES=(
+   "${FILESDIR}/${P}-outputfile.patch"
+)
+
+RDEPEND="
+   dev-perl/Alien-Gnuplot
+   virtual/perl-IO
+   dev-perl/IPC-Run
+   virtual/perl-Scalar-List-Utils
+   dev-perl/PDL
+   dev-perl/PDL-Transform-Color
+   dev-perl/Safe-Isa
+   virtual/perl-Storable
+   virtual/perl-Time-HiRes
+   || ( sci-visualization/gnuplot[X] sci-visualization/gnuplot[qt4] )
+"
+DEPEND="${RDEPEND}
+   >=virtual/perl-ExtUtils-MakeMaker-6.480.0
+   test? ( virtual/perl-Test-Simple )
+"

diff --git 
a/dev-perl/PDL-Graphics-Gnuplot/files/PDL-Graphics-Gnuplot-2.11.0-outputfile.patch
 
b/dev-perl/PDL-Graphics-Gnuplot/files/PDL-Graphics-Gnuplot-2.11.0-outputfile.patch
new file mode 100644
index 000..7d33370584a
--- /dev/null
+++ 
b/dev-perl/PDL-Graphics-Gnuplot/files/PDL-Graphics-Gnuplot-2.11.0-outputfile.patch
@@ -0,0 +1,23 @@
+From b12c3f5de6340b997e5a2992710828f3e89308a0 Mon Sep 17 00:00:00 2001
+From: Simon Reinhardt 
+Date: Mon, 26 Jun 2017 14:57:32 +0200
+Subject: [PATCH] Fix #65: No quoting for output filenames.
+
+Insert missing call to quote_escape (escape backslashes and such for gnuplot
+double-quote strings).
+---
+ lib/PDL/Graphics/Gnuplot.pm | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/PDL/Graphics/Gnuplot.pm b/lib/PDL/Graphics/Gnuplot.pm
+index 0edf7ef..ff96cc9 100644
+--- a/lib/PDL/Graphics/Gnuplot.pm
 b/lib/PDL/Graphics/Gnuplot.pm
+@@ -5188,6 +5188,7 @@ our $pOptionsTable =
+ if($vv ne $v) {
+ carp "INFO: Plotting to '$vv'\n";
+ }
++$vv = quote_escape($vv);
+ return "set $k \"$vv\"\n";
+   },
+   undef,3,



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt-sanitizers/

2017-06-27 Thread Michał Górny
commit: d359c29180da093c4dce4d9b7547737a69c2a2d0
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:48:05 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:17:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d359c291

sys-libs/compiler-rt-sanitizers: Bump to 4.0.1

 sys-libs/compiler-rt-sanitizers/Manifest   |   2 +
 .../compiler-rt-sanitizers-4.0.1.ebuild| 127 +
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/compiler-rt-sanitizers/Manifest 
b/sys-libs/compiler-rt-sanitizers/Manifest
index 2e74b3b46ca..440de3834d8 100644
--- a/sys-libs/compiler-rt-sanitizers/Manifest
+++ b/sys-libs/compiler-rt-sanitizers/Manifest
@@ -1,2 +1,4 @@
 DIST compiler-rt-4.0.0.src.tar.xz 1435104 SHA256 
d3f25b23bef24c305137e6b44f7e81c51bbec764c119e01512a9bd2330be3115 SHA512 
ed52436a2399ca82c1af46a523e89e88c23367f74cd110f0267af49a72aa4912ae8f48c6093e6b01c9ea68c48354a12201d26baf721d254fb017ddb98af2e3dd
 WHIRLPOOL 
ea5d6fbb34809067825306b1158979946c43c8aec458d946f8c853f3c0e0cd72a6c92a8e4ad8d1b35e10f9bd079a73dd26fde368f919937ad413bdfd83ab4018
+DIST compiler-rt-4.0.1.src.tar.xz 1434100 SHA256 
a3c87794334887b93b7a766c507244a7cdcce1d48b2e9249fc9a94f2c3beb440 SHA512 
cfeb625884b273f7c0e6767b81a8d3e5f24e0b96a510d5764d9d47a0e215fc841b4cb9d1843c8fb428cd21def720cfbfe8d3593ff5bb390548ebc8c32a902649
 WHIRLPOOL 
8b33c6841cacefe98da92435418b13b8f8ed97a982903be827e5c37f937dc9001975d6a709d60423b21509dd5670ee2e90cb34c96473fb4a66c2ab6f47af09e5
 DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 
8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 
cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704
 WHIRLPOOL 
9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
+DIST llvm-4.0.1.src.tar.xz 21065652 SHA256 
da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 SHA512 
16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
 WHIRLPOOL 
1626ff270f7ce4801d02a0797b227fda9314ff5c0c01d653111599e9a4d2854c4d9edc3c698a7abee8d79d6bce8b18dc619fbced3c07ca610d44a248d65830cc

diff --git 
a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.1.ebuild 
b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.1.ebuild
new file mode 100644
index 000..70c0d1d6fde
--- /dev/null
+++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-4.0.1.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit check-reqs cmake-utils flag-o-matic llvm python-any-r1 versionator
+
+DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
+HOMEPAGE="http://llvm.org/;
+SRC_URI="http://releases.llvm.org/${PV/_//}/compiler-rt-${PV/_/}.src.tar.xz
+   test? ( http://releases.llvm.org/${PV/_//}/llvm-${PV/_/}.src.tar.xz )"
+
+LICENSE="|| ( UoI-NCSA MIT )"
+SLOT="${PV%_*}"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+LLVM_SLOT=${SLOT%%.*}
+RDEPEND="!=sys-libs/compiler-rt-sanitizers-${SLOT}*:0"
+# llvm-4 needed for --cmakedir
+DEPEND="
+   >=sys-devel/llvm-4
+   test? (
+   app-portage/unsandbox
+   $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]")
+   =sys-devel/clang-${PV%_*}*:${LLVM_SLOT}
+   sys-libs/compiler-rt:${SLOT} )
+   ${PYTHON_DEPS}"
+
+S=${WORKDIR}/compiler-rt-${PV/_/}.src
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+check_space() {
+   if use test; then
+   local CHECKREQS_DISK_BUILD=11G
+   check-reqs_pkg_pretend
+   fi
+}
+
+pkg_pretend() {
+   check_space
+}
+
+pkg_setup() {
+   check_space
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_unpack() {
+   default
+
+   if use test; then
+   mv llvm-* llvm || die
+   fi
+}
+
+src_configure() {
+   # pre-set since we need to pass it to cmake
+   BUILD_DIR=${WORKDIR}/${P}_build
+
+   local mycmakeargs=(
+   -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}"
+   # use a build dir structure consistent with install
+   # this makes it possible to easily deploy test-friendly clang
+   -DCOMPILER_RT_OUTPUT_DIR="${BUILD_DIR}/lib/clang/${SLOT}"
+
+   -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
+   # built-ins installed by sys-libs/compiler-rt
+   -DCOMPILER_RT_BUILD_BUILTINS=OFF
+   -DCOMPILER_RT_BUILD_SANITIZERS=ON
+   -DCOMPILER_RT_BUILD_XRAY=ON
+   )
+   if use test; then
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/files/4.0.1/, sys-libs/libomp/, sys-libs/libomp/files/4.0.0/

2017-06-27 Thread Michał Górny
commit: c275d824c956c7053527cd9a382f46790117935e
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:48:15 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:18:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c275d824

sys-libs/libomp: Bump to 4.0.1

 sys-libs/libomp/Manifest| 1 +
 .../0001-test-Try-to-link-latomic-to-provide-atomics-when-ava.patch | 0
 sys-libs/libomp/libomp-4.0.0.ebuild | 2 +-
 sys-libs/libomp/{libomp-4.0.0.ebuild => libomp-4.0.1.ebuild}| 2 +-
 4 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libomp/Manifest b/sys-libs/libomp/Manifest
index da81f7b26c2..2fdf0c199d2 100644
--- a/sys-libs/libomp/Manifest
+++ b/sys-libs/libomp/Manifest
@@ -3,3 +3,4 @@ DIST openmp-3.8.1.src.tar.xz 2009572 SHA256 
68fcde6ef34e0275884a2de3450a31e931ca
 DIST openmp-3.9.0.src.tar.xz 2257596 SHA256 
df88f90d7e5b5e9525a35fa2e2b93cbbb83c4882f91df494e87ee3ceddacac91 SHA512 
030432bb10d86016f0f1c4f4d8b25f78acdb4aed33c604baf07c825bbcc6198306f2f71a3e56030f20864a92ab0187357aff94d34e47f7166991faf539c0104d
 WHIRLPOOL 
7bfb362c0f087d3867c8cab04ebba23c8e6337d34ddcdfeda1cbe960611eacf1e4356e99bf4d6316b60c9f4b9f9fb23eecdb346feaae72b9cd168ee0aa3cca2a
 DIST openmp-3.9.1.src.tar.xz 2031588 SHA256 
d23b324e422c0d5f3d64bae5f550ff1132c37a070e43c7ca93991676c86c7766 SHA512 
80924a6f9765f634d24d7b0aa036d92c912dbd8e067487a14bdd03b4c587fdfc92e83eb29926bfa637ef45be3f133a924f77ab12099ea3706c18e9c42774708b
 WHIRLPOOL 
b6ec75d4f9d2b86bb8e2927791cb46e61ff8657fc21f9e0ba9893d81d3382522aca330564f3156c1fbbf765de0499e875e41e11199abe2da8ed1bef057d5e8d8
 DIST openmp-4.0.0.src.tar.xz 2040104 SHA256 
db55d85a7bb289804dc42fc5c8e35ca24dfc3885782261b675a194fd7e206e26 SHA512 
3f17014a81dbaa7e8d1d0e5c0493d6cdec7ffce3f43a08ec010312ab5dfbd706d194a8fea24b9a38003b18a0824ee16f39fa72cabe22ad995773f278d27ad8f8
 WHIRLPOOL 
cec645575370ce728546c39f999e01dd353e8f4d241ab3b920a56f71421b7ea0d288c7e7ccea54ea62a777d96d3c56725e2d2bd509a6f933ff49a37dfcfbb59f
+DIST openmp-4.0.1.src.tar.xz 2275240 SHA256 
ec693b170e0600daa7b372240a06e66341ace790d89eaf4a843e8d56d5f4ada4 SHA512 
0b737dde832c5907a0cac41fe1d594b61e85dd405eee42b39f09233db62b44543204ccc775e52e2981f9c9f0683b234526e288a3a7a04f712280fb3a575abcaf
 WHIRLPOOL 
102f4b6984e6bc4dc08349e7f1f0ff31646bad923018cfd342e0bee760d8b1036f0c54c565af3b0730c470d584e37ed905bcbfa1ffc2325dafa0a02d91088b05

diff --git 
a/sys-libs/libomp/files/4.0.0/0001-test-Try-to-link-latomic-to-provide-atomics-when-ava.patch
 
b/sys-libs/libomp/files/4.0.1/0001-test-Try-to-link-latomic-to-provide-atomics-when-ava.patch
similarity index 100%
rename from 
sys-libs/libomp/files/4.0.0/0001-test-Try-to-link-latomic-to-provide-atomics-when-ava.patch
rename to 
sys-libs/libomp/files/4.0.1/0001-test-Try-to-link-latomic-to-provide-atomics-when-ava.patch

diff --git a/sys-libs/libomp/libomp-4.0.0.ebuild 
b/sys-libs/libomp/libomp-4.0.0.ebuild
index 2f3cb1da9d0..fbc4a90862c 100644
--- a/sys-libs/libomp/libomp-4.0.0.ebuild
+++ b/sys-libs/libomp/libomp-4.0.0.ebuild
@@ -51,7 +51,7 @@ pkg_setup() {
 
 src_prepare() {
# fix atomic tests with gcc
-   eapply 
"${FILESDIR}"/4.0.0/0001-test-Try-to-link-latomic-to-provide-atomics-when-ava.patch
+   eapply 
"${FILESDIR}"/4.0.1/0001-test-Try-to-link-latomic-to-provide-atomics-when-ava.patch
 
eapply_user
 }

diff --git a/sys-libs/libomp/libomp-4.0.0.ebuild 
b/sys-libs/libomp/libomp-4.0.1.ebuild
similarity index 96%
copy from sys-libs/libomp/libomp-4.0.0.ebuild
copy to sys-libs/libomp/libomp-4.0.1.ebuild
index 2f3cb1da9d0..fbc4a90862c 100644
--- a/sys-libs/libomp/libomp-4.0.0.ebuild
+++ b/sys-libs/libomp/libomp-4.0.1.ebuild
@@ -51,7 +51,7 @@ pkg_setup() {
 
 src_prepare() {
# fix atomic tests with gcc
-   eapply 
"${FILESDIR}"/4.0.0/0001-test-Try-to-link-latomic-to-provide-atomics-when-ava.patch
+   eapply 
"${FILESDIR}"/4.0.1/0001-test-Try-to-link-latomic-to-provide-atomics-when-ava.patch
 
eapply_user
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcxx/

2017-06-27 Thread Michał Górny
commit: d98964c73596565cbab64a7689e2d5f95e6471fd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:48:12 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:18:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98964c7

sys-libs/libcxx: Bump to 4.0.1

 sys-libs/libcxx/Manifest|   1 +
 sys-libs/libcxx/libcxx-4.0.1.ebuild | 199 
 2 files changed, 200 insertions(+)

diff --git a/sys-libs/libcxx/Manifest b/sys-libs/libcxx/Manifest
index 02075e1b46f..7a4869aee1d 100644
--- a/sys-libs/libcxx/Manifest
+++ b/sys-libs/libcxx/Manifest
@@ -3,3 +3,4 @@ DIST libcxx-3.8.1.src.tar.xz 1074164 SHA256 
77d7f3784c88096d785bd705fa1bab7031ce
 DIST libcxx-3.9.0.src.tar.xz 1198308 SHA256 
d0b38d51365c6322f5666a2a8105785f2e114430858de4c25a86b49f227f5b06 SHA512 
55d5c4adff378ee02b0b99d732bc9f326910f9e49ab8c320a588eccdd0362fe009bc9a6a4337d29faf6338420c91b10d0d7d67f66128268f01258d30502c4f4a
 WHIRLPOOL 
3ee3519acfe95287a862a6c44e30ed52ced1204332913007797da4e4da40dfdc5991ae120f5686827cc208b559936da5bc5485dab75617bdd5cbbd9e95a6032a
 DIST libcxx-3.9.1.src.tar.xz 1209020 SHA256 
25e615e428f60e651ed09ffd79e563864e3f4bc69a9e93ee41505c419d1a7461 SHA512 
a5976e4096624a7307b3e43f4a22ac2dc74572226e0f57af9f3ef537a14c3cff1601b7042aef9dc40a0ee53ca76b08d72eb9c253dcf34f115d3153c302db7070
 WHIRLPOOL 
cad439979570192b195338d752a24fb0ad8704c0c8efed3b6d7724437763eab7bc3b8baaf2f0e6fff55c6d9be211dff6f7baf18dec55e3a29ad3b8a423cefb1e
 DIST libcxx-4.0.0.src.tar.xz 1450376 SHA256 
4f4d33c4ad69bf9e360eebe6b29b7b19486948b1a41decf89d4adec12473cf96 SHA512 
6dad794c00919955e14710def169cdcde8a1743431479e993c4a6a3c87c2fd9f5dbd6e17542e524981eed0783dce70384c356b74ef3c6d70598c6ff03454b1dd
 WHIRLPOOL 
2c5074087e306d100c96ae5b7175e1e1792f0317c7be6231692c80423ec716732c08293fe14fe6da5cd52d8709d6ce0a240009df24e717ab0eb9093ac7679af7
+DIST libcxx-4.0.1.src.tar.xz 1446380 SHA256 
520a1171f272c9ff82f324d5d89accadcec9bc9f3c78de11f5575cdb99accc4c SHA512 
91f3f397be606989be99865d0b279557f9afb93f7a74ed10c3a74f4440e38b5694ddf452bbf2f487cacd4391606dd5c7edfe5130f2de19e2acfd6cce619d028a
 WHIRLPOOL 
fe7c71e8dc2d17d14e94896837229c5ed872e7c04aea79a207e8fa98aa4539a7445e402b848d0c0d009f154f00d970159ad009d16bfdb9ae012ce5c7c6d9ba51

diff --git a/sys-libs/libcxx/libcxx-4.0.1.ebuild 
b/sys-libs/libcxx/libcxx-4.0.1.ebuild
new file mode 100644
index 000..ce256df08e8
--- /dev/null
+++ b/sys-libs/libcxx/libcxx-4.0.1.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# Ninja provides better scalability and cleaner verbose output, and is used
+# throughout all LLVM projects.
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-multilib llvm python-any-r1 toolchain-funcs
+
+DESCRIPTION="New implementation of the C++ standard library, targeting C++11"
+HOMEPAGE="http://libcxx.llvm.org/;
+SRC_URI="http://releases.llvm.org/${PV/_//}/${P/_/}.src.tar.xz;
+
+LICENSE="|| ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="elibc_glibc elibc_musl +libcxxabi libcxxrt +libunwind +static-libs test"
+REQUIRED_USE="libunwind? ( || ( libcxxabi libcxxrt ) )
+   ?? ( libcxxabi libcxxrt )"
+
+RDEPEND="
+   libcxxabi? ( 
~sys-libs/libcxxabi-${PV}[libunwind=,static-libs?,${MULTILIB_USEDEP}] )
+   libcxxrt? ( 
sys-libs/libcxxrt[libunwind=,static-libs?,${MULTILIB_USEDEP}] )
+   !libcxxabi? ( !libcxxrt? ( >=sys-devel/gcc-4.7:=[cxx] ) )"
+# LLVM 4 required for llvm-config --cmakedir
+# clang-3.9.0 installs necessary target symlinks unconditionally
+# which removes the need for MULTILIB_USEDEP
+DEPEND="${RDEPEND}
+   test? ( >=sys-devel/clang-3.9.0
+   $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )
+   app-arch/xz-utils
+   >=sys-devel/llvm-4"
+
+S=${WORKDIR}/${P/_/}.src
+
+DOCS=( CREDITS.TXT )
+
+PATCHES=(
+   # Add link flag "-Wl,-z,defs" to avoid underlinking; this is needed in a
+   # out-of-tree build.
+   "${FILESDIR}/${PN}-3.9-cmake-link-flags.patch"
+)
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+   has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   llvm_pkg_setup
+   use test && python-any-r1_pkg_setup
+
+   if ! use libcxxabi && ! use libcxxrt && ! tc-is-gcc ; then
+   eerror "To build ${PN} against libsupc++, you have to use gcc. 
Other"
+   eerror "compilers are not supported. Please set CC=gcc and 
CXX=g++"
+   eerror "and try again."
+   die
+   fi
+   if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
+   eerror "${PN} needs to be built with gcc-4.7 or later (or other"
+   eerror "conformant compilers). Please use gcc-config to switch 
to"
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/lit/

2017-06-27 Thread Michał Górny
commit: 22c9bac90e35241ffe06e58a0a3de52ecfe100b3
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:47:44 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:17:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c9bac9

dev-python/lit: Bump to 4.0.1

 dev-python/lit/Manifest |  1 +
 dev-python/lit/lit-4.0.1.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest
index febef386483..b420d4d07bc 100644
--- a/dev-python/lit/Manifest
+++ b/dev-python/lit/Manifest
@@ -1,2 +1,3 @@
 DIST llvm-3.9.0.src.tar.xz 18235716 SHA256 
66c73179da42cee1386371641241f79ded250e117a79f571bbd69e56daa48948 SHA512 
f18ae32531218ab156c3e56c11826be0fd05f0799c82eaf2e6a043b38e1277560b4d921987513b88b11d97ea2619feaf277eec72181dd2ae4f4108c2836bf7b2
 WHIRLPOOL 
a36c1bcee6e7995067a9a7a51e3fdb0f10d51d0239250eefab92ed2e46b024a203fa10a17a25a5aca69046bcb413628e288427f1a6690d0862e07cd95694c8a8
 DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 
8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 
cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704
 WHIRLPOOL 
9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
+DIST llvm-4.0.1.src.tar.xz 21065652 SHA256 
da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 SHA512 
16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
 WHIRLPOOL 
1626ff270f7ce4801d02a0797b227fda9314ff5c0c01d653111599e9a4d2854c4d9edc3c698a7abee8d79d6bce8b18dc619fbced3c07ca610d44a248d65830cc

diff --git a/dev-python/lit/lit-4.0.1.ebuild b/dev-python/lit/lit-4.0.1.ebuild
new file mode 100644
index 000..82d603dc00d
--- /dev/null
+++ b/dev-python/lit/lit-4.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+MY_P=llvm-${PV/_/}
+DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
+HOMEPAGE="http://llvm.org/;
+SRC_URI="http://releases.llvm.org/${PV/_//}/${MY_P}.src.tar.xz;
+
+LICENSE="UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+
+S=${WORKDIR}/${MY_P}.src/utils/lit
+
+# Tests require 'FileCheck' and 'not' utilities (from llvm)
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/psutil[${PYTHON_USEDEP}]
+   sys-devel/llvm )"
+
+# TODO: move the manpage generation here (from sys-devel/llvm)
+
+python_test() {
+   ./lit.py -sv tests || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt/

2017-06-27 Thread Michał Górny
commit: 9cb59a513422600810ca59870ec76fc3d3d7e7c1
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:48:02 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:17:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cb59a51

sys-libs/compiler-rt: Bump to 4.0.1

 sys-libs/compiler-rt/Manifest |   1 +
 sys-libs/compiler-rt/compiler-rt-4.0.1.ebuild | 137 ++
 2 files changed, 138 insertions(+)

diff --git a/sys-libs/compiler-rt/Manifest b/sys-libs/compiler-rt/Manifest
index cd5ce0eae32..f9fb630a53b 100644
--- a/sys-libs/compiler-rt/Manifest
+++ b/sys-libs/compiler-rt/Manifest
@@ -1 +1,2 @@
 DIST compiler-rt-4.0.0.src.tar.xz 1435104 SHA256 
d3f25b23bef24c305137e6b44f7e81c51bbec764c119e01512a9bd2330be3115 SHA512 
ed52436a2399ca82c1af46a523e89e88c23367f74cd110f0267af49a72aa4912ae8f48c6093e6b01c9ea68c48354a12201d26baf721d254fb017ddb98af2e3dd
 WHIRLPOOL 
ea5d6fbb34809067825306b1158979946c43c8aec458d946f8c853f3c0e0cd72a6c92a8e4ad8d1b35e10f9bd079a73dd26fde368f919937ad413bdfd83ab4018
+DIST compiler-rt-4.0.1.src.tar.xz 1434100 SHA256 
a3c87794334887b93b7a766c507244a7cdcce1d48b2e9249fc9a94f2c3beb440 SHA512 
cfeb625884b273f7c0e6767b81a8d3e5f24e0b96a510d5764d9d47a0e215fc841b4cb9d1843c8fb428cd21def720cfbfe8d3593ff5bb390548ebc8c32a902649
 WHIRLPOOL 
8b33c6841cacefe98da92435418b13b8f8ed97a982903be827e5c37f937dc9001975d6a709d60423b21509dd5670ee2e90cb34c96473fb4a66c2ab6f47af09e5

diff --git a/sys-libs/compiler-rt/compiler-rt-4.0.1.ebuild 
b/sys-libs/compiler-rt/compiler-rt-4.0.1.ebuild
new file mode 100644
index 000..f448e2740c7
--- /dev/null
+++ b/sys-libs/compiler-rt/compiler-rt-4.0.1.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+# TODO: fix unnecessary dep on Python upstream
+inherit cmake-utils flag-o-matic llvm python-any-r1 toolchain-funcs
+
+DESCRIPTION="Compiler runtime library for clang (built-in part)"
+HOMEPAGE="http://llvm.org/;
+SRC_URI="http://releases.llvm.org/${PV/_//}/${P/_/}.src.tar.xz;
+
+LICENSE="|| ( UoI-NCSA MIT )"
+SLOT="${PV%_*}"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+clang test"
+
+LLVM_SLOT=${SLOT%%.*}
+RDEPEND="!=sys-libs/compiler-rt-${SLOT}*:0"
+# llvm-4 needed for --cmakedir
+DEPEND="
+   >=sys-devel/llvm-4
+   clang? ( sys-devel/clang )
+   test? ( =sys-devel/clang-${PV%_*}*:${LLVM_SLOT} )
+   ${PYTHON_DEPS}"
+
+S=${WORKDIR}/${P/_/}.src
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+pkg_setup() {
+   llvm_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+test_compiler() {
+   $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
+   <<<'int main() { return 0; }' &>/dev/null
+}
+
+src_configure() {
+   # pre-set since we need to pass it to cmake
+   BUILD_DIR=${WORKDIR}/${P}_build
+
+   if use clang; then
+   local -x CC=${CHOST}-clang
+   local -x CXX=${CHOST}-clang++
+   # ensure we can use clang before installing compiler-rt
+   local -x LDFLAGS="${LDFLAGS} -nodefaultlibs -lc"
+   strip-unsupported-flags
+   elif ! test_compiler; then
+   local extra_flags=( -nodefaultlibs -lc )
+   if test_compiler "${extra_flags[@]}"; then
+   local -x LDFLAGS="${LDFLAGS} ${extra_flags[*]}"
+   ewarn "${CC} seems to lack runtime, trying with 
${extra_flags[*]}"
+   fi
+   fi
+
+   local mycmakeargs=(
+   -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}"
+   # use a build dir structure consistent with install
+   # this makes it possible to easily deploy test-friendly clang
+   -DCOMPILER_RT_OUTPUT_DIR="${BUILD_DIR}/lib/clang/${SLOT}"
+
+   # currently lit covers only sanitizer tests
+   -DCOMPILER_RT_INCLUDE_TESTS=OFF
+   -DCOMPILER_RT_BUILD_SANITIZERS=OFF
+   -DCOMPILER_RT_BUILD_XRAY=OFF
+   )
+
+   cmake-utils_src_configure
+}
+
+src_test() {
+   # prepare a test compiler
+   # copy clang over since resource_dir is located relatively to binary
+   # therefore, we can put our new libraries in it
+   mkdir -p 
"${BUILD_DIR}"/lib/{llvm/${LLVM_SLOT}{/bin,$(get_libdir)},clang/${SLOT}/include}
 || die
+   cp "${EPREFIX}"/usr/lib/llvm/${LLVM_SLOT}/bin/clang{,++} \
+   "${BUILD_DIR}"/lib/llvm/${LLVM_SLOT}/bin/ || die
+   cp "${EPREFIX}/usr/lib/clang/${SLOT}/include"/*.h \
+   "${BUILD_DIR}/lib/clang/${SLOT}/include/" || die
+
+   # builtins are not converted to lit yet, so run them manually
+   local tests=() f
+   cd "${S}"/test/builtins/Unit || die
+   while read -r -d 

[gentoo-commits] repo/gentoo:master commit in: dev-util/lldb/, dev-util/lldb/files/4.0.1/, dev-util/lldb/files/4.0.0/

2017-06-27 Thread Michał Górny
commit: 2e8723112fc185b3276cd31777a4149e81ceeb9c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:48:00 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:17:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e872311

dev-util/lldb: Bump to 4.0.1

 dev-util/lldb/Manifest| 2 ++
 .../0001-test-Fix-finding-LLDB-tools-when-building-stand-alon.patch   | 0
 dev-util/lldb/files/{4.0.0 => 4.0.1}/0002-Fix-bug-28898.patch | 0
 dev-util/lldb/lldb-4.0.0-r1.ebuild| 4 ++--
 dev-util/lldb/{lldb-4.0.0-r1.ebuild => lldb-4.0.1.ebuild} | 4 ++--
 5 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-util/lldb/Manifest b/dev-util/lldb/Manifest
index 9e6cf7788aa..0fbcebc9da3 100644
--- a/dev-util/lldb/Manifest
+++ b/dev-util/lldb/Manifest
@@ -1,2 +1,4 @@
 DIST lldb-4.0.0.src.tar.xz 19122324 SHA256 
2dbd8f05c662c1c9f11270fc9d0c63b419ddc988095e0ad107ed911cf882033d SHA512 
931e8c6e74b66c4ac1c56c9d067309a319aa9a9f4c72d4ed9703be3decefeb8730084ad8c3581e4e31d61cdd4074518d2ed72bacce1e689e087b2f62ad4bb2e8
 WHIRLPOOL 
db05202570e7fa3cba58155f6b181f55e5866cf3c71721d5ef398f22e8e3caca554767b1876c47e9de93edd4337148c514c91723b4833fc8e4c0eafa61b037c4
+DIST lldb-4.0.1.src.tar.xz 19088212 SHA256 
8432d2dfd86044a0fc21713e0b5c1d98e1d8aad863cf67562879f47f841ac47b SHA512 
1d94d7dfcc0614b16d0ef83436bbe814b39e34ba18394361bb9f13ad408ae9b29affa9a5d58c50c8dcd83765a39ae4d59ffabb7d8cd1358fd2fbd198b2de2ab6
 WHIRLPOOL 
d7897416b89c683702bec9bd244caa911e24e5801270b64b119caf0e617f4bdc714d10bcea3963f229273d040ffdebcb8c5737a71ca17fc92e2bbbf93af002bb
 DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 
8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 
cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704
 WHIRLPOOL 
9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
+DIST llvm-4.0.1.src.tar.xz 21065652 SHA256 
da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 SHA512 
16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
 WHIRLPOOL 
1626ff270f7ce4801d02a0797b227fda9314ff5c0c01d653111599e9a4d2854c4d9edc3c698a7abee8d79d6bce8b18dc619fbced3c07ca610d44a248d65830cc

diff --git 
a/dev-util/lldb/files/4.0.0/0001-test-Fix-finding-LLDB-tools-when-building-stand-alon.patch
 
b/dev-util/lldb/files/4.0.1/0001-test-Fix-finding-LLDB-tools-when-building-stand-alon.patch
similarity index 100%
rename from 
dev-util/lldb/files/4.0.0/0001-test-Fix-finding-LLDB-tools-when-building-stand-alon.patch
rename to 
dev-util/lldb/files/4.0.1/0001-test-Fix-finding-LLDB-tools-when-building-stand-alon.patch

diff --git a/dev-util/lldb/files/4.0.0/0002-Fix-bug-28898.patch 
b/dev-util/lldb/files/4.0.1/0002-Fix-bug-28898.patch
similarity index 100%
rename from dev-util/lldb/files/4.0.0/0002-Fix-bug-28898.patch
rename to dev-util/lldb/files/4.0.1/0002-Fix-bug-28898.patch

diff --git a/dev-util/lldb/lldb-4.0.0-r1.ebuild 
b/dev-util/lldb/lldb-4.0.0-r1.ebuild
index fac097e7f54..c247c6f25c9 100644
--- a/dev-util/lldb/lldb-4.0.0-r1.ebuild
+++ b/dev-util/lldb/lldb-4.0.0-r1.ebuild
@@ -57,9 +57,9 @@ src_unpack() {
 
 src_prepare() {
# fix tests in stand-alone build
-   eapply 
"${FILESDIR}"/4.0.0/0001-test-Fix-finding-LLDB-tools-when-building-stand-alon.patch
+   eapply 
"${FILESDIR}"/4.0.1/0001-test-Fix-finding-LLDB-tools-when-building-stand-alon.patch
# fix compatibility with new libedit
-   eapply "${FILESDIR}"/4.0.0/0002-Fix-bug-28898.patch
+   eapply "${FILESDIR}"/4.0.1/0002-Fix-bug-28898.patch
 
eapply_user
 }

diff --git a/dev-util/lldb/lldb-4.0.0-r1.ebuild 
b/dev-util/lldb/lldb-4.0.1.ebuild
similarity index 96%
copy from dev-util/lldb/lldb-4.0.0-r1.ebuild
copy to dev-util/lldb/lldb-4.0.1.ebuild
index fac097e7f54..c247c6f25c9 100644
--- a/dev-util/lldb/lldb-4.0.0-r1.ebuild
+++ b/dev-util/lldb/lldb-4.0.1.ebuild
@@ -57,9 +57,9 @@ src_unpack() {
 
 src_prepare() {
# fix tests in stand-alone build
-   eapply 
"${FILESDIR}"/4.0.0/0001-test-Fix-finding-LLDB-tools-when-building-stand-alon.patch
+   eapply 
"${FILESDIR}"/4.0.1/0001-test-Fix-finding-LLDB-tools-when-building-stand-alon.patch
# fix compatibility with new libedit
-   eapply "${FILESDIR}"/4.0.0/0002-Fix-bug-28898.patch
+   eapply "${FILESDIR}"/4.0.1/0002-Fix-bug-28898.patch
 
eapply_user
 }



[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/

2017-06-27 Thread Michał Górny
commit: becb5fc53bed283a5b0d79fd9bad7d41d8b48db6
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:48:17 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:18:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=becb5fc5

sys-devel/clang-runtime: Bump to 4.0.1

 sys-devel/clang-runtime/clang-runtime-4.0.1.ebuild | 25 ++
 1 file changed, 25 insertions(+)

diff --git a/sys-devel/clang-runtime/clang-runtime-4.0.1.ebuild 
b/sys-devel/clang-runtime/clang-runtime-4.0.1.ebuild
new file mode 100644
index 000..511e1c11c4b
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-4.0.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-build
+
+DESCRIPTION="Meta-ebuild for clang runtime libraries"
+HOMEPAGE="http://clang.llvm.org/;
+SRC_URI=""
+
+LICENSE="metapackage"
+SLOT="${PV%_*}"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+compiler-rt libcxx openmp +sanitize"
+
+RDEPEND="
+   compiler-rt? (
+   ~sys-libs/compiler-rt-${PV}:${SLOT}
+   sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT} )
+   )
+   libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+   openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] )"
+
+REQUIRED_USE="sanitize? ( compiler-rt )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/

2017-06-27 Thread Michał Górny
commit: 297420f23bb06600b58630662b4d055c7d8dcfac
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:47:57 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:17:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297420f2

dev-python/clang-python: Bump to 4.0.1

 dev-python/clang-python/Manifest  |  1 +
 dev-python/clang-python/clang-python-4.0.1.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index d66895d99ca..e0d8ff1dc9b 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -1 +1,2 @@
 DIST cfe-4.0.0.src.tar.xz 10900916 SHA256 
cea5f88ebddb30e296ca89130c83b9d46c2d833685e2912303c828054c4dc98a SHA512 
a0d9972ec337a5c105fcbe7abc4076ba1e580f28908a3318f43bbfe59143f446ed5b78dad210f624145d7e5a3d56c15bfead78826c068422b60120fa1cfa482a
 WHIRLPOOL 
fe04b6955b82915bba09726947fceff92e67ffaac97de4b8c32c18546262f60a4307fdaccd3c9540710392658ed47f3bcfe44791de8d7d30786d56576f339aee
+DIST cfe-4.0.1.src.tar.xz 10933628 SHA256 
61738a735852c23c3bdbe52d035488cdb2083013f384d67c1ba36fabebd8769b SHA512 
936c9e1626b27e63a4fb11f3c0cb998eeaf9a520ad6e2bcd67cb4352e59e7781ecc700df79794f3fd70473d90b7e2ba418a39038eb0146b68e843f0705c1f964
 WHIRLPOOL 
1cb56b36e21eab8004eec43d9c0f7377588cdbcd1d654cd0e6d836d43bc68dc0759993215439c1607e09ed3fa1f68b80504a222f73c1b76d3841cdf638dcbef2

diff --git a/dev-python/clang-python/clang-python-4.0.1.ebuild 
b/dev-python/clang-python/clang-python-4.0.1.ebuild
new file mode 100644
index 000..4f169ecc239
--- /dev/null
+++ b/dev-python/clang-python/clang-python-4.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit python-r1
+
+DESCRIPTION="Python bindings for sys-devel/clang"
+HOMEPAGE="http://llvm.org/;
+SRC_URI="http://releases.llvm.org/${PV/_//}/cfe-${PV/_/}.src.tar.xz;
+
+LICENSE="UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# The module is opening libclang.so directly, and doing some blasphemy
+# on top of it.
+RDEPEND="
+   >=sys-devel/clang-${PV}:*
+   !sys-devel/llvm:0[clang(-),python(-)]
+   !sys-devel/clang:0[python(-)]
+   ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+   test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+S=${WORKDIR}/cfe-${PV/_/}.src/bindings/python
+
+src_test() {
+   python_foreach_impl nosetests -v
+}
+
+src_install() {
+   python_foreach_impl python_domodule clang
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ml/llvm-ocaml/

2017-06-27 Thread Michał Górny
commit: 8ebdf97ca34a1f1d892dabd601932895b2334eb9
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:47:50 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:17:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ebdf97c

dev-ml/llvm-ocaml: Bump to 4.0.1

 dev-ml/llvm-ocaml/Manifest|   1 +
 dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild | 130 ++
 2 files changed, 131 insertions(+)

diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest
index fc11f231595..a0a5bf2ee81 100644
--- a/dev-ml/llvm-ocaml/Manifest
+++ b/dev-ml/llvm-ocaml/Manifest
@@ -1 +1,2 @@
 DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 
8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 
cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704
 WHIRLPOOL 
9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
+DIST llvm-4.0.1.src.tar.xz 21065652 SHA256 
da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 SHA512 
16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
 WHIRLPOOL 
1626ff270f7ce4801d02a0797b227fda9314ff5c0c01d653111599e9a4d2854c4d9edc3c698a7abee8d79d6bce8b18dc619fbced3c07ca610d44a248d65830cc

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild
new file mode 100644
index 000..0f2af09760f
--- /dev/null
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-4.0.1.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils llvm python-any-r1
+
+MY_P=llvm-${PV/_/}
+DESCRIPTION="OCaml bindings for LLVM"
+HOMEPAGE="http://llvm.org/;
+SRC_URI="http://releases.llvm.org/${PV/_//}/${MY_P/_/}.src.tar.xz;
+
+# Keep in sync with sys-devel/llvm
+ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
+   NVPTX PowerPC RISCV Sparc SystemZ X86 XCore )
+ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
+LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
+
+LICENSE="UoI-NCSA"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test ${ALL_LLVM_TARGETS[*]}"
+
+RDEPEND="
+   >=dev-lang/ocaml-4.00.0:0=
+   dev-ml/ocaml-ctypes:=
+   ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,}]
+   !sys-devel/llvm[ocaml(-)]"
+# configparser-3.2 breaks the build (3.3 or none at all are fine)
+DEPEND="${RDEPEND}
+   dev-lang/perl
+   dev-ml/findlib
+   test? ( dev-ml/ounit
+   $(python_gen_any_dep 
"~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )
+   !!

[gentoo-commits] repo/gentoo:master commit in: sys-libs/llvm-libunwind/

2017-06-27 Thread Michał Górny
commit: 7e7a4b9d2bca61bb5f06aeb86d32fc043bef535a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:48:07 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:18:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e7a4b9d

sys-libs/llvm-libunwind: Bump to 4.0.1

 sys-libs/llvm-libunwind/Manifest   |  1 +
 .../llvm-libunwind/llvm-libunwind-4.0.1.ebuild | 46 ++
 2 files changed, 47 insertions(+)

diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
index 27eb807d485..506c117f2ad 100644
--- a/sys-libs/llvm-libunwind/Manifest
+++ b/sys-libs/llvm-libunwind/Manifest
@@ -2,3 +2,4 @@ DIST libunwind-3.8.1.src.tar.xz 60596 SHA256 
21e58ce09a5982255ecf86b86359179ddb0
 DIST libunwind-3.9.0.src.tar.xz 61764 SHA256 
66675ddec5ba0d36689757da6008cb2596ee1a9067f4f598d89ce5a3b43f4c2b SHA512 
dce384bea99ed61b363b847e20946fc9d70377389a227cc7054fbaa916e7cb5ba0b9d89f0df6ed33409dbf38beefd3654c18c1abcf0e50b5d0315ce0135a1d25
 WHIRLPOOL 
3fddaf6a06390143beee04d0e73ac0b66fb27c5497b80309ca314a52fd67d49ae3806b2b7588f07185c49339a75b7549bbf303f50224916f1ed65f6ad82415d0
 DIST libunwind-3.9.1.src.tar.xz 61788 SHA256 
0b0bc73264d7ab77d384f8a7498729e3c4da8ffee00e1c85ad02a2f85e91f0e6 SHA512 
a80f5d0660e209f5bf709316b5df2ca63b9f0db49f5f74dfe9c9e580c654f61a15acc071a739fdb84baf5ffa9420b92498f8560331173642d80f6b74e1e2afb7
 WHIRLPOOL 
d79928771468e344bd4c73ec458f4994fbfa04b4f625e559f3ef20c75d504d06f8edc1051d1444d8b4260f253716333ecd4bc7a18e8aca822dd77245a5a99ac2
 DIST libunwind-4.0.0.src.tar.xz 63748 SHA256 
0755efa9f969373d4d543123bbed4b3f9a835f6302875c1379c5745857725973 SHA512 
c3c934b70830ef5496c9d24c469b702eb4408abd4fe4dd9e0832230b064dc78d23b02ed2a5ce9a099dea76c3d43cbf41d59c6cda189f990d5593c7d3cd5c79dd
 WHIRLPOOL 
3c8756a6b16ea14f7b223e304219e637a7515faf06616fa85e0f48e206b72931f563a9f07799039e39467f9ffd2ac89d6f624638fddfcae962170baa3fcab63b
+DIST libunwind-4.0.1.src.tar.xz 63388 SHA256 
3b072e33b764b4f9b5172698e080886d1f4d606531ab227772a7fc08d6a92555 SHA512 
8a0552a8ab830010d81420f4b778a3b831bff85b19bcce972958fc30e1ba5a2fa26a3deba499985a43dd7a103690775f6a20e7b3edda55f4eaff3541002d6b59
 WHIRLPOOL 
2544b14afb6a2d545ed68c267389e7438c3dd4d244dd1cce8583f2aba2e90017a027c27c87a9a7336ea3c5ada3388414d4e357ad1c1db0d23ee52b178f45b563

diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-4.0.1.ebuild 
b/sys-libs/llvm-libunwind/llvm-libunwind-4.0.1.ebuild
new file mode 100644
index 000..76ccc916619
--- /dev/null
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-4.0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+inherit cmake-multilib llvm
+
+DESCRIPTION="C++ runtime stack unwinder from LLVM"
+HOMEPAGE="https://github.com/llvm-mirror/libunwind;
+SRC_URI="http://releases.llvm.org/${PV/_//}/libunwind-${PV/_/}.src.tar.xz;
+
+LICENSE="|| ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="debug +static-libs"
+
+RDEPEND="!sys-libs/libunwind"
+# LLVM 4 required for llvm-config --cmakedir
+DEPEND=">=sys-devel/llvm-4"
+
+S=${WORKDIR}/libunwind-${PV/_/}.src
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+multilib_src_configure() {
+   local libdir=$(get_libdir)
+
+   local mycmakeargs=(
+   -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+   -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
+   -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
+   )
+
+   cmake-utils_src_configure
+}
+
+multilib_src_install() {
+   cmake-utils_src_install
+
+   # install headers like sys-libs/libunwind
+   doheader "${S}"/include/*.h
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libcxxabi/

2017-06-27 Thread Michał Górny
commit: 57f52856577f5b6140e78b878d29033014638043
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:48:10 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:18:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f52856

sys-libs/libcxxabi: Bump to 4.0.1

 sys-libs/libcxxabi/Manifest   |  2 +
 sys-libs/libcxxabi/libcxxabi-4.0.1.ebuild | 94 +++
 2 files changed, 96 insertions(+)

diff --git a/sys-libs/libcxxabi/Manifest b/sys-libs/libcxxabi/Manifest
index 0c7f426f06b..ae1b69318fb 100644
--- a/sys-libs/libcxxabi/Manifest
+++ b/sys-libs/libcxxabi/Manifest
@@ -1,6 +1,8 @@
 DIST libcxx-3.9.0.src.tar.xz 1198308 SHA256 
d0b38d51365c6322f5666a2a8105785f2e114430858de4c25a86b49f227f5b06 SHA512 
55d5c4adff378ee02b0b99d732bc9f326910f9e49ab8c320a588eccdd0362fe009bc9a6a4337d29faf6338420c91b10d0d7d67f66128268f01258d30502c4f4a
 WHIRLPOOL 
3ee3519acfe95287a862a6c44e30ed52ced1204332913007797da4e4da40dfdc5991ae120f5686827cc208b559936da5bc5485dab75617bdd5cbbd9e95a6032a
 DIST libcxx-3.9.1.src.tar.xz 1209020 SHA256 
25e615e428f60e651ed09ffd79e563864e3f4bc69a9e93ee41505c419d1a7461 SHA512 
a5976e4096624a7307b3e43f4a22ac2dc74572226e0f57af9f3ef537a14c3cff1601b7042aef9dc40a0ee53ca76b08d72eb9c253dcf34f115d3153c302db7070
 WHIRLPOOL 
cad439979570192b195338d752a24fb0ad8704c0c8efed3b6d7724437763eab7bc3b8baaf2f0e6fff55c6d9be211dff6f7baf18dec55e3a29ad3b8a423cefb1e
 DIST libcxx-4.0.0.src.tar.xz 1450376 SHA256 
4f4d33c4ad69bf9e360eebe6b29b7b19486948b1a41decf89d4adec12473cf96 SHA512 
6dad794c00919955e14710def169cdcde8a1743431479e993c4a6a3c87c2fd9f5dbd6e17542e524981eed0783dce70384c356b74ef3c6d70598c6ff03454b1dd
 WHIRLPOOL 
2c5074087e306d100c96ae5b7175e1e1792f0317c7be6231692c80423ec716732c08293fe14fe6da5cd52d8709d6ce0a240009df24e717ab0eb9093ac7679af7
+DIST libcxx-4.0.1.src.tar.xz 1446380 SHA256 
520a1171f272c9ff82f324d5d89accadcec9bc9f3c78de11f5575cdb99accc4c SHA512 
91f3f397be606989be99865d0b279557f9afb93f7a74ed10c3a74f4440e38b5694ddf452bbf2f487cacd4391606dd5c7edfe5130f2de19e2acfd6cce619d028a
 WHIRLPOOL 
fe7c71e8dc2d17d14e94896837229c5ed872e7c04aea79a207e8fa98aa4539a7445e402b848d0c0d009f154f00d970159ad009d16bfdb9ae012ce5c7c6d9ba51
 DIST libcxxabi-3.9.0.src.tar.xz 511324 SHA256 
b037a92717856882e05df57221e087d7d595a2ae9f170f7bc1a23ec7a92c8019 SHA512 
500207bfd59664bd42d920741d6b467c4b88569453742db6470af081c77be04894e097a14b8419e333b51abce484566366e35cbc3ed2607cd86dfc0ec0ddd0c5
 WHIRLPOOL 
7b2d3b022c4c539596ce7be0afac724df929f19fb80e6f5b14074e240fb252b04389fe121f987ceaf6f3567d59735238b2940546475e4107f3c32eb55a5f8a80
 DIST libcxxabi-3.9.1.src.tar.xz 510964 SHA256 
920d8be32e6f5574a3fb293f93a31225eeba15086820fcb942155bf50dc029e2 SHA512 
4f5603f1476b759c86d4784728fbdd212c59b30dc56d787c1834bf68a9cd83071fa22658d24e5a58beb94c0c656b0e4457d7da6e3048715dd36bd68380fc336e
 WHIRLPOOL 
8ff9d0a2d5657e384f3b624fe514ae4074552c34672e8b7caeb4870d700e71913447af75d56021d393c6eebd45018e5e80b706747b1433d9ec608a1d5b0b3051
 DIST libcxxabi-4.0.0.src.tar.xz 515560 SHA256 
dca9cb619662ad2d3a0d685c4366078345247218c3702dd35bcaaa23f63481d8 SHA512 
b69933a0bde00321323e98962cd54b78a48bc5e93448d7a5124cb5ef844497ba7648cd92fcbe476186c60c7742e3121841f150c142c2a14c1bf2aa26a8b93d64
 WHIRLPOOL 
1ec297df8fd7d2e8910f2db006cc5ae53abcca37cfab3f03c5371156f69fff39c1f9193eafa0cd907bb881c35948381b85cd86710e17c83e5b90be90e3841256
+DIST libcxxabi-4.0.1.src.tar.xz 515820 SHA256 
8f08178989a06c66cd19e771ff9d8ca526dd4a23d1382d63e416c04ea9fa1b33 SHA512 
e94315ba8a507d8481d70c33e7ab2d724d51726edb8412c70a1b5f59e3f15d5825f1502dc2db138b20e5293fb90a184050be94d5ac270fd7ce78b502efb9f86a
 WHIRLPOOL 
8771bb1f5ac8cb1d22a4606bfd3b448e1e3b942be0d5639a7c8c36abcc550a59cf2e530558aeb486294b642fdcd10c56695b59d094bed41e0115980cb587c8af

diff --git a/sys-libs/libcxxabi/libcxxabi-4.0.1.ebuild 
b/sys-libs/libcxxabi/libcxxabi-4.0.1.ebuild
new file mode 100644
index 000..6a16cd68c94
--- /dev/null
+++ b/sys-libs/libcxxabi/libcxxabi-4.0.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-multilib llvm python-any-r1
+
+DESCRIPTION="Low level support for a standard C++ library"
+HOMEPAGE="http://libcxxabi.llvm.org/;
+SRC_URI="http://releases.llvm.org/${PV/_//}/${P/_/}.src.tar.xz
+   http://releases.llvm.org/${PV/_//}/libcxx-${PV/_/}.src.tar.xz;
+
+LICENSE="|| ( UoI-NCSA MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+libunwind +static-libs test"
+
+RDEPEND="
+   libunwind? (
+   || (
+   
>=sys-libs/libunwind-1.0.1-r1[static-libs?,${MULTILIB_USEDEP}]
+   
>=sys-libs/llvm-libunwind-3.9.0-r1[static-libs?,${MULTILIB_USEDEP}]
+   )
+   )"
+# LLVM 4 required for llvm-config 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/files/4.0.1/, sys-devel/clang/files/4.0.0/, ...

2017-06-27 Thread Michał Górny
commit: c10ad3a958bcb3e46e70070d80da3818e2d67b8d
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:47:55 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:17:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10ad3a9

sys-devel/clang: Bump to 4.0.1

 sys-devel/clang/Manifest  | 4 
 sys-devel/clang/clang-4.0.0-r2.ebuild | 6 +++---
 sys-devel/clang/{clang-4.0.0-r2.ebuild => clang-4.0.1.ebuild} | 8 
 ...001-Frontend-Correct-values-of-ATOMIC_-_LOCK_FREE-to-mat.patch | 0
 ...001-test-Fix-test-dependencies-when-using-installed-tool.patch | 0
 ...002-test-Fix-clang-library-dir-in-LD_LIBRARY_PATH-For-st.patch | 0
 6 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 8347a5b1d1f..c8b75fa909b 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -1,4 +1,8 @@
 DIST cfe-4.0.0.src.tar.xz 10900916 SHA256 
cea5f88ebddb30e296ca89130c83b9d46c2d833685e2912303c828054c4dc98a SHA512 
a0d9972ec337a5c105fcbe7abc4076ba1e580f28908a3318f43bbfe59143f446ed5b78dad210f624145d7e5a3d56c15bfead78826c068422b60120fa1cfa482a
 WHIRLPOOL 
fe04b6955b82915bba09726947fceff92e67ffaac97de4b8c32c18546262f60a4307fdaccd3c9540710392658ed47f3bcfe44791de8d7d30786d56576f339aee
+DIST cfe-4.0.1.src.tar.xz 10933628 SHA256 
61738a735852c23c3bdbe52d035488cdb2083013f384d67c1ba36fabebd8769b SHA512 
936c9e1626b27e63a4fb11f3c0cb998eeaf9a520ad6e2bcd67cb4352e59e7781ecc700df79794f3fd70473d90b7e2ba418a39038eb0146b68e843f0705c1f964
 WHIRLPOOL 
1cb56b36e21eab8004eec43d9c0f7377588cdbcd1d654cd0e6d836d43bc68dc0759993215439c1607e09ed3fa1f68b80504a222f73c1b76d3841cdf638dcbef2
 DIST clang-tools-extra-4.0.0.src.tar.xz 583088 SHA256 
41b7d37eb128fd362ab3431be5244cf50325bb3bb153895735c5bacede647c99 SHA512 
2f9aed5ff7e175b730802961f9ce0aa6376ce78d905839e60536b6d166f68dc31d4420a668ed1e08f3601a5fefa8f7514172daaf77eb325fecd00e55f56e5af4
 WHIRLPOOL 
76dfa2854eabccfa93357b56d65a993d1a2fe3f4beb2c513369efabb78f6d4be583781c06d60ab0d2898df202fbf391d00818ec618c413dadea52b443c6026d6
+DIST clang-tools-extra-4.0.1.src.tar.xz 581788 SHA256 
35d1e64efc108076acbe7392566a52c35df9ec19778eb9eb12245fc7d8b915b6 SHA512 
ea26d926f428e62e76cf8a073e63ffe05645f6592e05d7717d5c257908870ae9217727d3e1578227b14eda5937085872463f1a8e99970256179c68b8a92e69e0
 WHIRLPOOL 
7db97e7164657af786ec49975e730e8731bece87cfeb1e45894be6d5e3455530c17461ce894b263a0cdfee917d97566db49225374112a543f6355419f15c1d8f
 DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 
8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 
cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704
 WHIRLPOOL 
9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
+DIST llvm-4.0.1.src.tar.xz 21065652 SHA256 
da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 SHA512 
16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
 WHIRLPOOL 
1626ff270f7ce4801d02a0797b227fda9314ff5c0c01d653111599e9a4d2854c4d9edc3c698a7abee8d79d6bce8b18dc619fbced3c07ca610d44a248d65830cc
 DIST llvm-manpages-4.0.0.tar.bz2 84861 SHA256 
4676b3a18e95ddba19e868bfac0753154be2b57bc0d557f90270e4d2b0913d37 SHA512 
7a04ffb607203aca099c816fe6e143779062610935f501786bd64bad6001741fb7a55adebe4e52e0611aa70fa04b22e1a7cab7b3da9dc2ed996fd0baf1ae8916
 WHIRLPOOL 
e2ce15c26008995d71b830d74c5e6ca7dd862ed8208168facc0be6e7f855e5f59b143057ec2bbbaa70ed54dc77ad31279239886d25fe67c0853a9dee7baff31b
+DIST llvm-manpages-4.0.1.tar.bz2 87981 SHA256 
28fa1dcd4774156247ba253d2d79c81796ef0f0763b4f37c9c5ae27af93f4320 SHA512 
d5b3213567c25db58ef364d272314a79c311a80fc21d98c09a5540af45a8190a38f489228663fe9a9b63bf0f2b952c460c4196a8fc8d6f221619f6e7ed2fc415
 WHIRLPOOL 
da897ea8d3713a5c4c10a6320f0e7dd13e0125e942e3444b0e8a2a062b83a8e86e3754be025b89ae00f63f557ec0518ab62d8cd21237962e93c708ca72c8e3f5

diff --git a/sys-devel/clang/clang-4.0.0-r2.ebuild 
b/sys-devel/clang/clang-4.0.0-r2.ebuild
index 43fec7af397..23bb42cb567 100644
--- a/sys-devel/clang/clang-4.0.0-r2.ebuild
+++ b/sys-devel/clang/clang-4.0.0-r2.ebuild
@@ -98,12 +98,12 @@ src_prepare() {
 
# fix value of ATOMIC_*_LOCK_FREE
# (backport, temporary reverted upstream because of FreeBSD issues)
-   eapply 
"${FILESDIR}"/4.0.0/0001-Frontend-Correct-values-of-ATOMIC_-_LOCK_FREE-to-mat.patch
+   eapply 
"${FILESDIR}"/4.0.1/0001-Frontend-Correct-values-of-ATOMIC_-_LOCK_FREE-to-mat.patch
 
cd tools/extra || die
# fix stand-alone test build for extra tools
-   eapply 
"${FILESDIR}"/4.0.0/extra/0001-test-Fix-test-dependencies-when-using-installed-tool.patch
-   eapply 

[gentoo-commits] repo/gentoo:master commit in: sys-devel/lld/files/4.0.1/, sys-devel/lld/, sys-devel/lld/files/4.0.0/

2017-06-27 Thread Michał Górny
commit: f43c5ca70c09cfc9ebef41c8f50b2074e153b1c2
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:47:52 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:17:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f43c5ca7

sys-devel/lld: Bump to 4.0.1

 sys-devel/lld/Manifest   | 2 ++
 .../0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch  | 0
 .../0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch  | 0
 sys-devel/lld/lld-4.0.0.ebuild   | 4 ++--
 sys-devel/lld/{lld-4.0.0.ebuild => lld-4.0.1.ebuild} | 5 ++---
 5 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/sys-devel/lld/Manifest b/sys-devel/lld/Manifest
index 774c61c3e34..415216e8d04 100644
--- a/sys-devel/lld/Manifest
+++ b/sys-devel/lld/Manifest
@@ -1,2 +1,4 @@
 DIST lld-4.0.0.src.tar.xz 592728 SHA256 
33e06457b9ce0563c89b11ccc7ccabf9cff71b83571985a5bf8684c9150e7502 SHA512 
66b2c9cc57f5e94ad7e7da1b1bcc08cbbaee1b55c6efa64b2424b9d8776c70b842c2a31c188a99b447be6a8621ad1b1e70573bbfcf5d6b1aa986b03b3b3350f3
 WHIRLPOOL 
5bc86e7aa67a519939780e0d3792f4bebc69f1748b919c1919f1afc1715e21bbf7be2a0f771948dd551861186c3171589a1843f817de7cb9d8bac81b077e8844
+DIST lld-4.0.1.src.tar.xz 593796 SHA256 
63ce10e533276ca353941ce5ab5cc8e8dcd99dbdd9c4fa49f344a212f29d36ed SHA512 
63bd0813094dc7fa9a95fdee93eb7b97026882a15548f819b5c67f3f0f9fa2a582d968af27ad8f802dbff1f6cd1b8c2fb26b3c7c80379488d05c4a4984d7af68
 WHIRLPOOL 
e7adca75f7f5fbb6136d01544798e969cba69b86c5b76a7fdcf7918564aa13eb868f4fa41102d7a4c501f741664ae309d6842c821ac974503431722ae963f93f
 DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 
8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 
cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704
 WHIRLPOOL 
9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
+DIST llvm-4.0.1.src.tar.xz 21065652 SHA256 
da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 SHA512 
16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
 WHIRLPOOL 
1626ff270f7ce4801d02a0797b227fda9314ff5c0c01d653111599e9a4d2854c4d9edc3c698a7abee8d79d6bce8b18dc619fbced3c07ca610d44a248d65830cc

diff --git 
a/sys-devel/lld/files/4.0.0/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch
 
b/sys-devel/lld/files/4.0.1/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch
similarity index 100%
rename from 
sys-devel/lld/files/4.0.0/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch
rename to 
sys-devel/lld/files/4.0.1/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch

diff --git 
a/sys-devel/lld/files/4.0.0/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch
 
b/sys-devel/lld/files/4.0.1/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch
similarity index 100%
rename from 
sys-devel/lld/files/4.0.0/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch
rename to 
sys-devel/lld/files/4.0.1/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch

diff --git a/sys-devel/lld/lld-4.0.0.ebuild b/sys-devel/lld/lld-4.0.0.ebuild
index cf54f0cc62a..01ebc3f10f0 100644
--- a/sys-devel/lld/lld-4.0.0.ebuild
+++ b/sys-devel/lld/lld-4.0.0.ebuild
@@ -49,8 +49,8 @@ src_unpack() {
 src_prepare() {
# backport stand-alone build test fixes from master
eapply 
"${FILESDIR}/4.0.0/0001-cmake-Support-running-tests-in-stand-alone-builds.patch"
-   eapply 
"${FILESDIR}/4.0.0/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch"
-   eapply 
"${FILESDIR}/4.0.0/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch"
+   eapply 
"${FILESDIR}/4.0.1/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch"
+   eapply 
"${FILESDIR}/4.0.1/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch"
 
eapply_user
 }

diff --git a/sys-devel/lld/lld-4.0.0.ebuild b/sys-devel/lld/lld-4.0.1.ebuild
similarity index 87%
copy from sys-devel/lld/lld-4.0.0.ebuild
copy to sys-devel/lld/lld-4.0.1.ebuild
index cf54f0cc62a..91cb68a1749 100644
--- a/sys-devel/lld/lld-4.0.0.ebuild
+++ b/sys-devel/lld/lld-4.0.1.ebuild
@@ -48,9 +48,8 @@ src_unpack() {
 
 src_prepare() {
# backport stand-alone build test fixes from master
-   eapply 
"${FILESDIR}/4.0.0/0001-cmake-Support-running-tests-in-stand-alone-builds.patch"
-   eapply 
"${FILESDIR}/4.0.0/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch"
-   eapply 
"${FILESDIR}/4.0.0/0003-test-Fix-zlib-cond-when-building-stand-alone-clean-u.patch"
+   eapply 
"${FILESDIR}/4.0.1/0002-test-Use-LLD-specific-binary-library-dirs-when-build.patch"
+   eapply 

[gentoo-commits] repo/gentoo:master commit in: app-vim/llvm-vim/

2017-06-27 Thread Michał Górny
commit: 54fd4d7c4197dd4d971f4bce76b9e03144783670
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:47:37 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:17:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54fd4d7c

app-vim/llvm-vim: Bump to 4.0.1

 app-vim/llvm-vim/Manifest  |  1 +
 app-vim/llvm-vim/llvm-vim-4.0.1.ebuild | 24 
 2 files changed, 25 insertions(+)

diff --git a/app-vim/llvm-vim/Manifest b/app-vim/llvm-vim/Manifest
index fc11f231595..a0a5bf2ee81 100644
--- a/app-vim/llvm-vim/Manifest
+++ b/app-vim/llvm-vim/Manifest
@@ -1 +1,2 @@
 DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 
8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 
cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704
 WHIRLPOOL 
9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
+DIST llvm-4.0.1.src.tar.xz 21065652 SHA256 
da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 SHA512 
16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
 WHIRLPOOL 
1626ff270f7ce4801d02a0797b227fda9314ff5c0c01d653111599e9a4d2854c4d9edc3c698a7abee8d79d6bce8b18dc619fbced3c07ca610d44a248d65830cc

diff --git a/app-vim/llvm-vim/llvm-vim-4.0.1.ebuild 
b/app-vim/llvm-vim/llvm-vim-4.0.1.ebuild
new file mode 100644
index 000..bd68c2ceecc
--- /dev/null
+++ b/app-vim/llvm-vim/llvm-vim-4.0.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Vim support files for LLVM"
+HOMEPAGE="http://llvm.org/;
+SRC_URI="http://releases.llvm.org/${PV/_//}/llvm-${PV/_/}.src.tar.xz;
+
+LICENSE="UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="!sys-devel/llvm:0"
+
+S=${WORKDIR}/llvm-${PV/_/}.src/utils/vim
+
+src_install() {
+   insinto /usr/share/vim/vimfiles
+   doins -r */
+   # some users may find it useful
+   dodoc README vimrc
+}



[gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/

2017-06-27 Thread Michał Górny
commit: 303caa4c508d0fb5278af165acce6ae2e912e091
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 26 14:47:47 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 19:17:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=303caa4c

sys-devel/llvm: Bump to 4.0.1

 sys-devel/llvm/Manifest  |   2 +
 sys-devel/llvm/llvm-4.0.1.ebuild | 237 +++
 2 files changed, 239 insertions(+)

diff --git a/sys-devel/llvm/Manifest b/sys-devel/llvm/Manifest
index f7b800f41b6..f395ce10617 100644
--- a/sys-devel/llvm/Manifest
+++ b/sys-devel/llvm/Manifest
@@ -35,4 +35,6 @@ DIST llvm-3.9.0_rc3-manpages.tar.bz2 80007 SHA256 
991f5238d23c0aee2fd303d1adecd6
 DIST llvm-3.9.1-patchset.tar.xz 16404 SHA256 
a4b3e5887b53af47984ea39ff8640f11e8a9accbafd1be20fb9cf25f2980b16c SHA512 
dcae89ba910b5195bb455924242912f526b6994f0f236571b6364fd594bf9ca03cc74e116a44ae4372e34ce63b21f1351125157e7af7a957aee115f400b54089
 WHIRLPOOL 
a9ec4315e8bb9593e6734e22a0d81fbe0398adedcfe7f6b81de852c1a1092593e07624a5ce7b67bca8be8b34c7453fda9f7eb33be41d11f51458800248a15649
 DIST llvm-3.9.1.src.tar.xz 18130436 SHA256 
1fd90354b9cf19232e8f168faf2220e79be555df3aa743242700879e8fd329ee SHA512 
50cbe8ee911080f586e77861c442348701bd02e2de0c090c54c34f82ac275ecfcd712af0f41e387c33b4a6057778a4258a27554292fe68ab4af3fd9dd6d90683
 WHIRLPOOL 
1cd1a25befcb178bec4a4aace4367167f3838d32edbe9db9de8c6e558c01c1fcf123f6d6f80b7ec9ff32b3d6dcf2de2f4eb4201d417c3d17a5c8a69934832903
 DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 
8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 
cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704
 WHIRLPOOL 
9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
+DIST llvm-4.0.1.src.tar.xz 21065652 SHA256 
da783db1f82d516791179fe103c71706046561f7972b18f0049242dee6712b51 SHA512 
16adc39b34ddb628f81b171119a8e2a0e9138b25011e803ef0b688e2fbea116fc4953d3a1b61b90a98a75e33619f81566b7cb06a9a2ea4d04ac5e0eb303a2d1d
 WHIRLPOOL 
1626ff270f7ce4801d02a0797b227fda9314ff5c0c01d653111599e9a4d2854c4d9edc3c698a7abee8d79d6bce8b18dc619fbced3c07ca610d44a248d65830cc
 DIST llvm-manpages-4.0.0.tar.bz2 84861 SHA256 
4676b3a18e95ddba19e868bfac0753154be2b57bc0d557f90270e4d2b0913d37 SHA512 
7a04ffb607203aca099c816fe6e143779062610935f501786bd64bad6001741fb7a55adebe4e52e0611aa70fa04b22e1a7cab7b3da9dc2ed996fd0baf1ae8916
 WHIRLPOOL 
e2ce15c26008995d71b830d74c5e6ca7dd862ed8208168facc0be6e7f855e5f59b143057ec2bbbaa70ed54dc77ad31279239886d25fe67c0853a9dee7baff31b
+DIST llvm-manpages-4.0.1.tar.bz2 87981 SHA256 
28fa1dcd4774156247ba253d2d79c81796ef0f0763b4f37c9c5ae27af93f4320 SHA512 
d5b3213567c25db58ef364d272314a79c311a80fc21d98c09a5540af45a8190a38f489228663fe9a9b63bf0f2b952c460c4196a8fc8d6f221619f6e7ed2fc415
 WHIRLPOOL 
da897ea8d3713a5c4c10a6320f0e7dd13e0125e942e3444b0e8a2a062b83a8e86e3754be025b89ae00f63f557ec0518ab62d8cd21237962e93c708ca72c8e3f5

diff --git a/sys-devel/llvm/llvm-4.0.1.ebuild b/sys-devel/llvm/llvm-4.0.1.ebuild
new file mode 100644
index 000..6c93c3a8f1b
--- /dev/null
+++ b/sys-devel/llvm/llvm-4.0.1.ebuild
@@ -0,0 +1,237 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils flag-o-matic multilib-minimal pax-utils \
+   python-any-r1 toolchain-funcs versionator
+
+DESCRIPTION="Low Level Virtual Machine"
+HOMEPAGE="http://llvm.org/;
+SRC_URI="http://releases.llvm.org/${PV/_//}/${P/_/}.src.tar.xz
+   !doc? ( 
https://dev.gentoo.org/~mgorny/dist/llvm/llvm-manpages-${PV}.tar.bz2 )"
+
+# Keep in sync with CMakeLists.txt
+ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
+   NVPTX PowerPC RISCV Sparc SystemZ X86 XCore )
+ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
+
+# Additional licenses:
+# 1. OpenBSD regex: Henry Spencer's license ('rc' in Gentoo) + BSD.
+# 2. ARM backend: LLVM Software Grant by ARM.
+# 3. MD5 code: public-domain.
+# 4. Tests (not installed):
+#  a. gtest: BSD.
+#  b. YAML tests: MIT.
+
+LICENSE="UoI-NCSA rc BSD public-domain
+   llvm_targets_ARM? ( LLVM-Grant )"
+SLOT="$(get_major_version)"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="debug +doc gold libedit +libffi ncurses test
+   elibc_musl kernel_Darwin ${ALL_LLVM_TARGETS[*]}"
+
+RDEPEND="
+   sys-libs/zlib:0=
+   gold? ( >=sys-devel/binutils-2.22:*[cxx] )
+   libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] )
+   libffi? ( >=virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] )
+   ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )"
+# configparser-3.2 breaks the build (3.3 or none at all are fine)
+DEPEND="${RDEPEND}
+   

  1   2   3   >