[gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-Mix/

2017-10-04 Thread Kent Fredric
commit: db265e167180a53939e9f24eebba540e4175009c
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct  5 03:34:07 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct  5 05:01:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db265e16

dev-perl/Class-Mix: Bump to 0.6.0

- EAPI6
- Parallel Tests
- Cleanup dud tests

Upstream:
- Packaging/Documentation changes

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Class-Mix/Class-Mix-0.6.0.ebuild | 31 +++
 dev-perl/Class-Mix/Manifest   |  1 +
 2 files changed, 32 insertions(+)

diff --git a/dev-perl/Class-Mix/Class-Mix-0.6.0.ebuild 
b/dev-perl/Class-Mix/Class-Mix-0.6.0.ebuild
new file mode 100644
index 000..0b5043a41e6
--- /dev/null
+++ b/dev-perl/Class-Mix/Class-Mix-0.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+DIST_AUTHOR=ZEFRAM
+DIST_VERSION=0.006
+inherit perl-module
+
+DESCRIPTION="dynamic class mixing"
+LICENSE=" || ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+   virtual/perl-Carp
+   dev-perl/Params-Classify
+   virtual/perl-Exporter
+   virtual/perl-if
+   virtual/perl-parent
+"
+DEPEND="${RDEPEND}
+   dev-perl/Module-Build
+   test? (
+   virtual/perl-Test-Simple
+   )
+"
+src_test() {
+   perl_rm_files t/pod_cvg.t t/pod_syn.t
+   perl-module_src_test
+}

diff --git a/dev-perl/Class-Mix/Manifest b/dev-perl/Class-Mix/Manifest
index 0e8f4736ccc..149639ee7ae 100644
--- a/dev-perl/Class-Mix/Manifest
+++ b/dev-perl/Class-Mix/Manifest
@@ -1 +1,2 @@
 DIST Class-Mix-0.005.tar.gz 8676 SHA256 
054d0db62df90f22601f2a18fc84e9ca026d81601f5940b2fcc543e39d69b36b SHA512 
9486a8ec4f6b1a5483610cdac110eed219bb849e8895a350309167206f8caef4209abbbc340a467f4c3b2ca3afc6e2b49b66601110517b66684689f4d88d20c9
 WHIRLPOOL 
c7f798fa3435374809b1f5c68db167e2af5a972569b131ee28925aba8168abd0705a03087306c412197efaa6b31de9ffbf2a61226aec4912ffde4a91ef6781a4
+DIST Class-Mix-0.006.tar.gz 8328 SHA256 
8747f643893914f8c44979f1716d0c1ec8a41394796555447944e860f1ff7c0b SHA512 
f1e52d189a57b4a6e4b7b093cd561881bcccec03dcf7286d69b592865343ab413ab35e42c14dd92ceb0089df1df33df4ff2a502026fde060ef246e77c8d21af1
 WHIRLPOOL 
5d1b6afbd0cccac265e1eb1213beb650e6b062a5127f02d3812e444526c24c53baacfab78d7abd27757c310bbe4df832a6962fcdfb7c5365573e0b6ef591daca



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Config-IniFiles/

2017-10-04 Thread Kent Fredric
commit: b60baae9bf36f242d2b52c388f00a0fab8acf8d2
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct  5 04:57:00 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct  5 05:01:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b60baae9

dev-perl/Config-IniFiles: Bump to version 2.940.0

Upstream:
- Packaging fixes
- Documentation/Spelling fixes

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../Config-IniFiles/Config-IniFiles-2.940.0.ebuild | 39 ++
 dev-perl/Config-IniFiles/Manifest  |  1 +
 2 files changed, 40 insertions(+)

diff --git a/dev-perl/Config-IniFiles/Config-IniFiles-2.940.0.ebuild 
b/dev-perl/Config-IniFiles/Config-IniFiles-2.940.0.ebuild
new file mode 100644
index 000..65518b6f186
--- /dev/null
+++ b/dev-perl/Config-IniFiles/Config-IniFiles-2.940.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=SHLOMIF
+DIST_VERSION=2.94
+inherit perl-module
+
+DESCRIPTION="A module for reading .ini-style configuration files"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="test"
+
+# needs List::Util and Scalar::Util
+RDEPEND="
+   virtual/perl-Carp
+   virtual/perl-File-Temp
+   dev-perl/IO-stringy
+   >=virtual/perl-Scalar-List-Utils-1.330.0
+"
+DEPEND="${RDEPEND}
+   >=dev-perl/Module-Build-0.280.0
+   virtual/perl-ExtUtils-MakeMaker
+   test? (
+   virtual/perl-Exporter
+   virtual/perl-File-Spec
+   virtual/perl-IO
+   virtual/perl-Test-Simple
+   )
+"
+src_test() {
+   perl_rm_files t/pod.t t/pod-coverage.t   \
+   t/author-{pod-syntax,pod-coverage}.t \
+   t/release-{cpan-changes,kwalitee}.t  \
+   t/cpan-changes.t t/style-trailing-space.t
+   perl-module_src_test
+}

diff --git a/dev-perl/Config-IniFiles/Manifest 
b/dev-perl/Config-IniFiles/Manifest
index 7255c464da5..e48f19cb80e 100644
--- a/dev-perl/Config-IniFiles/Manifest
+++ b/dev-perl/Config-IniFiles/Manifest
@@ -1,2 +1,3 @@
 DIST Config-IniFiles-2.88.tar.gz 80137 SHA256 
8223d6d21efd752ef4f9cc1c17a9084976b66369b979ce9c895b7ca3997fa8dc SHA512 
f6cd704ee60760860e3404a5f964cee367b55ab0900781c09b3d5eebb9fac6f458cf0c865a8edb1d3ec647c6923aa33e60b8a6e966fc9a6fb2f33bd9b3d73d04
 WHIRLPOOL 
3bedd6cd9831454958c1fdc11167254b7bde8db81cb939deb4e2621de39ce22dacd415abd35f661c3971b7ba3016ddc759270f49d857b491bcd36a42b6ca67c5
 DIST Config-IniFiles-2.92.tar.gz 64569 SHA256 
522e832c2cefca9b9eebb2a8090417bc395616e05cca1e29fea5ab0113eecb15 SHA512 
198613fec1a175f30003968960f17f95e558abee25106d87b1fab73f443686437a2e45e64d9f4bc358e05b56a445df9f864008e7b4a39a81013c9bcb3bbd98d9
 WHIRLPOOL 
d30edf0383583e708cc22b06f6a31096d8c098d135c4a70c4748a650c24f26cf0cdfd323e416a1427061617951c0de91febd31dc16ddc3a56015e89dc7a46765
+DIST Config-IniFiles-2.94.tar.gz 65322 SHA256 
d6d38a416da79de874c5f1825221f22e972ad500b6527d190cc6e9ebc45194b4 SHA512 
9ca9950f31a00bde580dc73b5120971070aa053f36f9a0ee29532b17b9a070de8ad3184631427ad442dbcbe087a9680366849b5e10f264e20694ddade7e3ca7c
 WHIRLPOOL 
4054907be8b686b4ac4c1f30d72a8e915dbcbc2accb7407f10bc0ec1ef867a45999143683112e4307478d0c806ff0c97536785b7ef0b4eacb3cd241d80363cae



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-Virtual/

2017-10-04 Thread Kent Fredric
commit: 6c253ca4180bd4b04a0ebbc72f909210b00b6bad
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct  5 03:53:59 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct  5 05:01:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c253ca4

dev-perl/Class-Virtual: Bump to version 0.80.0

Upstream:
- Improve strict/warnings usage.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Class-Virtual/Class-Virtual-0.80.0.ebuild | 22 ++
 dev-perl/Class-Virtual/Manifest|  1 +
 2 files changed, 23 insertions(+)

diff --git a/dev-perl/Class-Virtual/Class-Virtual-0.80.0.ebuild 
b/dev-perl/Class-Virtual/Class-Virtual-0.80.0.ebuild
new file mode 100644
index 000..d34950700f0
--- /dev/null
+++ b/dev-perl/Class-Virtual/Class-Virtual-0.80.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MSCHWERN
+DIST_VERSION=0.08
+inherit perl-module
+
+DESCRIPTION="Base class for virtual base classes"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-solaris"
+IUSE="test"
+
+RDEPEND=">=dev-perl/Class-Data-Inheritable-0.20.0
+   >=dev-perl/Carp-Assert-0.100.0
+   >=dev-perl/Class-ISA-0.31"
+DEPEND="${RDEPEND}
+   virtual/perl-ExtUtils-MakeMaker
+   test? ( virtual/perl-Test-Simple )
+"

diff --git a/dev-perl/Class-Virtual/Manifest b/dev-perl/Class-Virtual/Manifest
index 3e5cd8a1884..a895182a2bd 100644
--- a/dev-perl/Class-Virtual/Manifest
+++ b/dev-perl/Class-Virtual/Manifest
@@ -1,2 +1,3 @@
 DIST Class-Virtual-0.06.tar.gz 5770 SHA256 
d84d5aead233f248374e6d4773d3da1c387378a02234f23fcafc2ce251337b24 SHA512 
b90255f3e98c48480ece0826acd9d204e0bb4b7ba742ddd3cac6d8113dcbeb5a35c4f2a32a69088cdc889c2551ffbf2bd35fc75a3f67906de329ee33290accaf
 WHIRLPOOL 
e433529ca0ce2f09f15a67aa5fce59b718b186ec3f884c16f821c40f00cfe717bfa781b62723456e671a0be6e9c220b6ef81cf08d8b7c491259112c6caba3495
 DIST Class-Virtual-0.07.tar.gz 6357 SHA256 
7f5e9f313edbb5dd77325ab09eeda2fe376101dca13e37f7ee49f5be24e22e6c SHA512 
7d71b2d293bb765120dd1a2718ffb83de9cf078b311e24012994c1a7d7ca44bc3f8c8ce83a61fe059c2dc6b5b6fdbe865b0187780393400aa37b92c87d1bb062
 WHIRLPOOL 
ea3f7335f0fccdd2caf5823961a4752036c14a83d7da6d9cd0b210da9d4cf3f36791330cb247dcf2f78747a6b735d63fcd70ef703337ce8044322fe669c247b9
+DIST Class-Virtual-0.08.tar.gz 6864 SHA256 
c6499b42d3b4e5c6488a5e82fbc28698e6c9860165072dddfa6749355a9cfbb2 SHA512 
43a95d1339724b9b6392ab7c13eba502938cfee9ad29eaeaae0dc84549f29ecc700af38a7f04bbd357fc76c30b878532c919edc69bc986d791556eea46ef4439
 WHIRLPOOL 
714560fea0a63d30460cecfb4bf62bb049cd864a8539f4beba03909d243068b1f93c4b82f1cc4dfbd007acaa72b7423558f5de183538376e75df759a0ad969b3



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Cookie-Baker-XS/

2017-10-04 Thread Kent Fredric
commit: 995d9db73e2381ea5329b8e7b27f1be4f8035320
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct  5 05:04:16 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct  5 05:06:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995d9db7

dev-perl/Cookie-Baker-XS: Bump to version 0.80.0

Upstream:
- Disallow , as delimter

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../Cookie-Baker-XS/Cookie-Baker-XS-0.80.0.ebuild  | 23 ++
 dev-perl/Cookie-Baker-XS/Manifest  |  1 +
 2 files changed, 24 insertions(+)

diff --git a/dev-perl/Cookie-Baker-XS/Cookie-Baker-XS-0.80.0.ebuild 
b/dev-perl/Cookie-Baker-XS/Cookie-Baker-XS-0.80.0.ebuild
new file mode 100644
index 000..263b09363a7
--- /dev/null
+++ b/dev-perl/Cookie-Baker-XS/Cookie-Baker-XS-0.80.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=KAZEBURO
+DIST_VERSION=0.08
+inherit perl-module
+
+DESCRIPTION="Accelerate Cookie::Baker's crush_cookie"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+RDEPEND="
+   virtual/perl-Exporter
+"
+DEPEND="${RDEPEND}
+   >=virtual/perl-ExtUtils-MakeMaker-6.640.0
+   test? (
+   >=virtual/perl-Test-Simple-0.980.0
+   )
+"

diff --git a/dev-perl/Cookie-Baker-XS/Manifest 
b/dev-perl/Cookie-Baker-XS/Manifest
index f1d86fca0b7..4cea8ae536c 100644
--- a/dev-perl/Cookie-Baker-XS/Manifest
+++ b/dev-perl/Cookie-Baker-XS/Manifest
@@ -1 +1,2 @@
 DIST Cookie-Baker-XS-0.07.tar.gz 56785 SHA256 
0d4687863bcd34fa753c79ad891468492d5beebfd56de87c53e5ee01138be1ca SHA512 
2e3ec9cb6e420be839b59878b7ec30d9a3f50013e5b45467f61724ad1d9c3a2192a4204cf35616b0a7256b52b55722516dfae5581833471070963f90f7026667
 WHIRLPOOL 
144e84f58cb870c900207e7e527ebe1231485578ce4f5ce88a0106f9f256c0a903786ebeb423d3475248b70a8f0531758e890b3c4745bad9726828c8bd35f9e1
+DIST Cookie-Baker-XS-0.08.tar.gz 56729 SHA256 
4b3d5b70390824307a99f97dd9cd19fcb256f3f88a1c08f5d82fed479c20a5c8 SHA512 
ac51a13f0cedb329b15abefd4f4eefd6f40729f0dcc0458154ddba30fff53e9b5ae994a8d6051c1da2105c0901480c22ae99845d46a7fc5ba980cc447f98ee34
 WHIRLPOOL 
40eca98578ce3e63fc2378dac0bb4f54630ab6e3da4127f81bcf1e127227fd552f089ec628d47e9024c08ddda1436b6e8b5cc28905d91dfe948fa5f3d87374af



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-Tiny/

2017-10-04 Thread Kent Fredric
commit: adee9e8c6b94b1e9c819c890fdb4d1cb02836697
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct  5 03:39:00 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct  5 05:01:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adee9e8c

dev-perl/Class-Tiny: Bump to version 1.6.0

Upstream:
- Optimize generated accessors

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Class-Tiny/Class-Tiny-1.6.0.ebuild | 31 +
 dev-perl/Class-Tiny/Manifest|  1 +
 2 files changed, 32 insertions(+)

diff --git a/dev-perl/Class-Tiny/Class-Tiny-1.6.0.ebuild 
b/dev-perl/Class-Tiny/Class-Tiny-1.6.0.ebuild
new file mode 100644
index 000..cd3ebc6e310
--- /dev/null
+++ b/dev-perl/Class-Tiny/Class-Tiny-1.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=DAGOLDEN
+DIST_VERSION=1.006
+inherit perl-module
+
+DESCRIPTION="Minimalist class construction"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+LICENSE="Apache-2.0"
+IUSE="test minimal"
+
+RDEPEND="
+   virtual/perl-Carp
+"
+DEPEND="${RDEPEND}
+   >=virtual/perl-ExtUtils-MakeMaker-6.170.0
+   test? (
+   !minimal? (
+   >=virtual/perl-CPAN-Meta-2.120.900
+   dev-perl/Test-FailWarnings
+   )
+   virtual/perl-Exporter
+   virtual/perl-File-Spec
+   >=virtual/perl-Test-Simple-0.960.0
+   )
+"

diff --git a/dev-perl/Class-Tiny/Manifest b/dev-perl/Class-Tiny/Manifest
index 0671b80a8ce..2f9938fe67e 100644
--- a/dev-perl/Class-Tiny/Manifest
+++ b/dev-perl/Class-Tiny/Manifest
@@ -1,2 +1,3 @@
 DIST Class-Tiny-1.000.tar.gz 25674 SHA256 
625d874db1608bd317b52b482d5b94a35812499948b8cba109d402e91748944a SHA512 
e008d7db4086259850e0e02bb4b2dc2786fc1078e2c3c599a03f94a445169b7d15dd3d27721a52a6c47b16c9d066d9c15c16d68c4a83f0b25a512b407704ff6c
 WHIRLPOOL 
a3eb1eb7e95cfab5285aa0e85860e4125b974350b56a1accd682f21a3e3f93580c04341fc7dd507b669a7bb06e24bd7913a7541bb54e26c1200d2451246b099d
 DIST Class-Tiny-1.004.tar.gz 27506 SHA256 
9d8c54db74a0cbbc7328bb304f5be6c3e4c6d18e061442bfa63e8a145b541679 SHA512 
e5a30cea0c4518e257c2298a421128941d8e6969daeeae2edca2e99566b12ace9880249accad8434d72cc6073dbad754782502d220a21213a7b3f2dbbf53e97b
 WHIRLPOOL 
20a475a49848653dc60997801d67f6217b025851971378e34001f80db1954d15aa51cb0460551a0c93634bd98d4634b17e2c08727b84f2e11bb8ba00055f9145
+DIST Class-Tiny-1.006.tar.gz 27773 SHA256 
2efcbd31528be51d3022c616768558b78c6172df5f03c5dc698939f65488cb4e SHA512 
0a6ca0b99bd10a39445bb582bcf89f3668747f05b13b1f7271e934a73781c855a0418ae19a41593c64288b74710f49c1dcda0005be4edf9965e8020139ca0c7e
 WHIRLPOOL 
c505e80937de41d00c93553f39c80c099c14f7307530b1bbbcfe60de2c874f6e289a2b393226cc5bb9814591203bb04025a7361c5df8f75d8743c97fedadf3ff



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Config-AutoConf/

2017-10-04 Thread Kent Fredric
commit: c7c6952dd41ca1112ed478f2b7d1aa067486966b
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct  5 04:38:55 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct  5 05:01:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7c6952d

dev-perl/Config-AutoConf: Bump to version 0.315.0

Upstream:
- add check_builtin function
- ensure check_* are correctly passed into config.h
- fix check_dirent_header caches to be independent for headers

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../Config-AutoConf/Config-AutoConf-0.315.0.ebuild | 30 ++
 dev-perl/Config-AutoConf/Manifest  |  1 +
 2 files changed, 31 insertions(+)

diff --git a/dev-perl/Config-AutoConf/Config-AutoConf-0.315.0.ebuild 
b/dev-perl/Config-AutoConf/Config-AutoConf-0.315.0.ebuild
new file mode 100644
index 000..44c6f83e314
--- /dev/null
+++ b/dev-perl/Config-AutoConf/Config-AutoConf-0.315.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR="REHSACK"
+DIST_VERSION=${PV%.0}
+
+inherit perl-module
+
+DESCRIPTION="A module to implement some of AutoConf macros in pure perl"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+RDEPEND="
+   dev-perl/Capture-Tiny
+   virtual/perl-Carp
+   virtual/perl-Exporter
+   >=virtual/perl-ExtUtils-CBuilder-0.280.220
+   virtual/perl-File-Spec
+   virtual/perl-File-Temp
+   >=virtual/perl-Scalar-List-Utils-1.180.0
+   virtual/perl-Text-ParseWords
+"
+DEPEND="${RDEPEND}
+   virtual/perl-ExtUtils-MakeMaker
+   test? ( >=virtual/perl-Test-Simple-0.900.0 )
+"

diff --git a/dev-perl/Config-AutoConf/Manifest 
b/dev-perl/Config-AutoConf/Manifest
index 62366674336..3f1321e4d4d 100644
--- a/dev-perl/Config-AutoConf/Manifest
+++ b/dev-perl/Config-AutoConf/Manifest
@@ -1,3 +1,4 @@
 DIST Config-AutoConf-0.311.tar.gz 41255 SHA256 
80151a8f1346e61f66523f33c783962e23c8bd66a7b93dca79fe531dd075bc50 SHA512 
36ab86fdf2ede03c3e5dc0ba77a80ac19441aeaed2d51a1469d14f8c433fb0908f938d0d33d9e9fd34b978f97b96481596fa3c4c49a7d2960c8132d2f4cd5e20
 WHIRLPOOL 
8397e8c5f5e72e24b2afe23171ee955b033b74682281591f7fe7dfa21bce382cfef02eca93c4cbbd1635332ac00e7d6302556f3b31faf51ea16ccee76e0c22c9
 DIST Config-AutoConf-0.313.tar.gz 48660 SHA256 
3728867041d1bdbc00dffae5658b831e53f99068d3fbf0e8fb95b82a1953aeee SHA512 
6867c862b6a6ee534f7a693102e37ea86426b10f6fb58e1206a2de8abe0fbe88728faedb11aad7202f7614b3fc24b5faf21a768037c12aff671d7d97dfd0d8ef
 WHIRLPOOL 
be39d842baeeb4aba75a29bf32396c27ac1da1f127f696799bd984484f246dd09a669fb7dfc24b5954fcdb3f9f8d1e77863a8b4bb53df3e7a64764dd352d1499
 DIST Config-AutoConf-0.314.tar.gz 48730 SHA256 
83e0b0d96e508bcc0c8c54c1b5f5a862821c0a4a644d81517e08f462c2a4a509 SHA512 
7c7e411356a690172e78c360962bd92a77eea4ed835cf445ffb81c78f6d5179354d7246909ca55462b137de75b0ad86e21d3a50fe630518f83e70e6e0de8dbca
 WHIRLPOOL 
8fc2b7a747b12b1ea7cd0632fd5ff7cfe52330ee6dd147c2c56809e123c3aa10bd1c4a8d0a6c1fd026a38ec3b05d8157d14a2734c7d8697b5906bee2a181e7e3
+DIST Config-AutoConf-0.315.tar.gz 49738 SHA256 
4b3cd1e1a698ba9e5660c047f0a4fe192723d4bc9f768fdea511c2fc73ea6940 SHA512 
ab52d4d19ede25b1f7030b461b931f5cd5bc5f0af50a584a015b367ff2085b2e58826f079290a22194f50ef063c2ba8b469ced913e4c306f788ef28efa41f2e1
 WHIRLPOOL 
d7e0db7fbca29534b1d3c0b16aeb1b7283cfbf0f786546d86ce7fef79b593ded6c344bd6fa437c4041784e7b7c18398a6526213bdba8d9275d5fb4fe622c577e



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Class-Unload/

2017-10-04 Thread Kent Fredric
commit: 286bd0b5af9c5651f482b330139f2bcaebcf0768
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct  5 03:49:35 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct  5 05:01:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=286bd0b5

dev-perl/Class-Unload: Bump to version 0.110.0

Upstream:
- Add support for removing Moose classes properly

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Class-Unload/Class-Unload-0.110.0.ebuild | 33 +++
 dev-perl/Class-Unload/Manifest|  1 +
 2 files changed, 34 insertions(+)

diff --git a/dev-perl/Class-Unload/Class-Unload-0.110.0.ebuild 
b/dev-perl/Class-Unload/Class-Unload-0.110.0.ebuild
new file mode 100644
index 000..1d5cb1bcaab
--- /dev/null
+++ b/dev-perl/Class-Unload/Class-Unload-0.110.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=ILMARI
+DIST_VERSION=0.11
+inherit perl-module
+
+DESCRIPTION="Unload a class"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-perl/Class-Inspector"
+DEPEND="${RDEPEND}
+   virtual/perl-ExtUtils-MakeMaker
+   test? (
+   >=virtual/perl-Test-Simple-0.880
+   dev-perl/Test-Requires
+   )
+"
+src_test() {
+   local i;
+   elog "Install the following optional dependencies for comprehensive 
tests:"
+   i="$(if has_version 'dev-perl/Moose'; then echo '[I]'; else echo '[ ]'; 
fi)"
+   elog " $i dev-perl/Moose"
+   elog " - Test unloadability of Moose Classes and Meta-Classes";
+   elog
+   perl_rm_files t/author-{eol,no-tabs}.t t/author-pod-{coverage,syntax}.t
+   perl-module_src_test
+}

diff --git a/dev-perl/Class-Unload/Manifest b/dev-perl/Class-Unload/Manifest
index 980cf4aa9c0..2f812e4dbec 100644
--- a/dev-perl/Class-Unload/Manifest
+++ b/dev-perl/Class-Unload/Manifest
@@ -1,2 +1,3 @@
 DIST Class-Unload-0.07.tar.gz 10088 SHA256 
392374182b53a2538c928e1ef7818d1fae0a304b4f2450bdf7ee712049b29baa SHA512 
33df1559d1adf288c88ec6f3c4a9c7edd237978416e7d1c636856793ced3eb0383475074541d27aef7d3e9ca8770da9c635db20526328edf86ed113133f5fa62
 WHIRLPOOL 
27b0dbb36201f537f91f73df073e2a639d4edefe03ad86439c9a57c51a63ad6254251466c09a560143151473452fd9aa2a8475f29b69cfc39612cc4d84d795a7
 DIST Class-Unload-0.09.tar.gz 11085 SHA256 
afc4d729a2245df42bace73f4a5af5e8104750277f9fdbd50e94ce130487a0e0 SHA512 
313079257b5e5b1029c92271c0ba5e2506f2f9c27a16b895816f2339066e4733553d5011ad7b9ed0f439cb0afdccef0e7dcd49ab100d34dc7869ad1d12794378
 WHIRLPOOL 
efa812f254f32473f3be68998c679c9f9bfb82d084363104fc38943e7742524dfe1610df78f60c327cc5d649695efb1647db2f724abc9a93b13ceabd5a4a6ffd
+DIST Class-Unload-0.11.tar.gz 11607 SHA256 
52e29747a7e4d2e1a289c0e1de8107634f10c8426cd7c9d31ecac8383e4a0a5f SHA512 
464e5c82578bf43ac97a9c434bb1b4889a7b2d5e97d51b5f6965c3de44d81016177d2b1596a93d09bfac382667bd668b1f15d11444c692530894df9348e8
 WHIRLPOOL 
eef7eabea69f268913e1a5df04fefaf26f8c4170c0d3d029a03d1a47ec029430f4d87bed1be2f06fa077b4d1bea08597315a26d421230fd4334c50bc183c2344



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Cookie-Baker/

2017-10-04 Thread Kent Fredric
commit: d3fb2b1f6e67b634f190e8e4b42e6fd31f1dd2bd
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct  5 05:00:00 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct  5 05:06:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3fb2b1f

dev-perl/Cookie-Baker: Bump to version 0.80.0

Upstream:
- Disallow , as a delimiter
- max-age=0 now accepted

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Cookie-Baker/Cookie-Baker-0.80.0.ebuild | 27 
 dev-perl/Cookie-Baker/Manifest   |  1 +
 2 files changed, 28 insertions(+)

diff --git a/dev-perl/Cookie-Baker/Cookie-Baker-0.80.0.ebuild 
b/dev-perl/Cookie-Baker/Cookie-Baker-0.80.0.ebuild
new file mode 100644
index 000..a038f94f032
--- /dev/null
+++ b/dev-perl/Cookie-Baker/Cookie-Baker-0.80.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=KAZEBURO
+DIST_VERSION=0.08
+inherit perl-module
+
+DESCRIPTION="Cookie string generator / parser"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="test +xs"
+
+RDEPEND="
+   virtual/perl-Exporter
+   dev-perl/URI
+   xs? ( >=dev-perl/Cookie-Baker-XS-0.80.0 )
+"
+DEPEND="${RDEPEND}
+   >=dev-perl/Module-Build-Tiny-0.35.0
+   test? (
+   >=virtual/perl-Test-Simple-0.980.0
+   dev-perl/Test-Time
+   )
+"

diff --git a/dev-perl/Cookie-Baker/Manifest b/dev-perl/Cookie-Baker/Manifest
index 7baad655971..bb0cf43eb68 100644
--- a/dev-perl/Cookie-Baker/Manifest
+++ b/dev-perl/Cookie-Baker/Manifest
@@ -1,2 +1,3 @@
 DIST Cookie-Baker-0.06.tar.gz 11976 SHA256 
4b1fb173d6977af902fa018242a0b28099e5612a2fa43e0160380781f5d76ea0 SHA512 
f8bc6f57f9318dd43e014a548a345a5c4def0ed0fe77dabff6ff6a7e77e497a496fc542f48f7defcb961aa53a78b06cf5f25b3011c22abad142dfeefc723f2b3
 WHIRLPOOL 
aa81dbf58b9a2b902575a3ba2ba771201c50bd301732e7c420b028e4bcef99ce029525ad8f9bfd6e82ed0082718d6d6abdedbec9549df54ab9d33a063e614c6e
 DIST Cookie-Baker-0.07.tar.gz 12351 SHA256 
178babfb341fa1b168db9863f109740f01bb95b4d90e4c57cb48160c52082d27 SHA512 
ddaa9777df1bc73321b696c74beb9ca245bfb516895df5631994f10c6f724bc69d087af278fdc3860ee3f712274467c287594396428d78bdccbb17573ab90b32
 WHIRLPOOL 
ebb39ccae55ce2b1518d5bd7fe3553d776ec105bbe618e4f585427f1112de7fcf8bad56873068efe1cc61a34bc1d356366c8bf90a4fbb420dc0fb45ae19b1854
+DIST Cookie-Baker-0.08.tar.gz 11981 SHA256 
184211f2dc9d3458d90eddb823e79d7be017560b2f872e662ce43bd536320153 SHA512 
5beeac6ff3a2d2ae73d5efd49490af240c2580201a87e739882f3c7d8fc20ee77c225349d130752b52ddbabf7bd173015d8d5cedb609c30a748e3d9e41efda51
 WHIRLPOOL 
2238a885ce06fc4c094743909817a7f948b26ca31a31085dc14fb629edd6992b0a028c945b9a7f45e69549fbbe30d1fa54b62ddfe02bf1b3faa117bada5deed2



[gentoo-commits] repo/gentoo:master commit in: dev-perl/Config-Grammar/

2017-10-04 Thread Kent Fredric
commit: 4c4f25d766ace8686ec9b0f5231beb994ff6cff6
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Oct  5 04:51:07 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Oct  5 05:01:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c4f25d7

dev-perl/Config-Grammar: Bump to version 1.120.0

Upstream:
- Fix used-only-once warnings
- Doc spell fixes

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../Config-Grammar/Config-Grammar-1.120.0.ebuild   | 25 ++
 dev-perl/Config-Grammar/Manifest   |  1 +
 2 files changed, 26 insertions(+)

diff --git a/dev-perl/Config-Grammar/Config-Grammar-1.120.0.ebuild 
b/dev-perl/Config-Grammar/Config-Grammar-1.120.0.ebuild
new file mode 100644
index 000..342a47454d1
--- /dev/null
+++ b/dev-perl/Config-Grammar/Config-Grammar-1.120.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=DSCHWEI
+DIST_VERSION=1.12
+inherit perl-module
+
+DESCRIPTION="A grammar-based, user-friendly config parser"
+
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="virtual/perl-ExtUtils-MakeMaker
+   test? (
+   virtual/perl-Test
+   virtual/perl-Test-Simple
+   )
+"
+PERL_RM_FILES=(
+   "lib/Config/Grammar.pm~"
+)

diff --git a/dev-perl/Config-Grammar/Manifest b/dev-perl/Config-Grammar/Manifest
index 779ccf6d827..9a6ed4d252d 100644
--- a/dev-perl/Config-Grammar/Manifest
+++ b/dev-perl/Config-Grammar/Manifest
@@ -1,2 +1,3 @@
 DIST Config-Grammar-1.10.tar.gz 17877 SHA256 
b81d7600e06564c87e90974db8fe9db02c16c19d7ef0e066f166d2537c37 SHA512 
0891984da560a9dd758fff0678cd577898f4b1796d275dfbed27d411941aca7830f7b6f8a4a4a913572bf0ea7b62414b3d852c0a37b5e629db6ae437c1db0690
 WHIRLPOOL 
8282d152576c037191f217d6e29375c23c1f62aa173481e4a9f60d7b4ce00e8d57e30644e7d7b9b33bd5ee333ae268b0673086317c1832426bf1e09a4bb10b7b
 DIST Config-Grammar-1.11.tar.gz 18955 SHA256 
dd819f89b19c51e9fac6965360cd9db54436e1328968c802416ac34188ca65ee SHA512 
d80f63fdad8f30cef914842299a491a4abcd1ed0e122e9cb61375a22ea0261fc4e8b3b7b928086a4bacccb511b96cd52ea7f31e14bdd8ee78beff69ed2e9ccc4
 WHIRLPOOL 
76a8cef90cbc40d063fcd6eebecbcf5a444b616f7028e72674b4187206fe89cd6bd6d925cd69f7cb5e69888d260bb0488a185ec139f1583ac1b6aec93e070f8f
+DIST Config-Grammar-1.12.tar.gz 26163 SHA256 
7a52a3657d96e6f1f529caaa09ec3bf7dd6a245b47875382c323902f6d9590b0 SHA512 
44d46019b32d891830d224b6002c2c73fd59c772b0308ac27ab68b5899bb921c74184a0c354a41c8bef3eb876eb1fdc0f07334bcaf4394d907059fae903ba12e
 WHIRLPOOL 
472b7550798377d483f83db7c87a6680b6bbc9265bc3ffce2af92f0a24fcb7931fd28dddb1bc98bcc03bc57f699b7aeaab950e43a309cc5ec8296e9253b1



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

2017-10-04 Thread Hans de Graaff
commit: 964ed82305b69c65fe6d64103d4b8cc0d0ef496c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Oct  5 05:00:49 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Oct  5 05:00:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964ed823

net-p2p/gtk-gnutella: add 1.1.12

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-p2p/gtk-gnutella/Manifest   |  1 +
 net-p2p/gtk-gnutella/gtk-gnutella-1.1.12.ebuild | 88 +
 2 files changed, 89 insertions(+)

diff --git a/net-p2p/gtk-gnutella/Manifest b/net-p2p/gtk-gnutella/Manifest
index 99081bd7aef..6dfabf3125f 100644
--- a/net-p2p/gtk-gnutella/Manifest
+++ b/net-p2p/gtk-gnutella/Manifest
@@ -1 +1,2 @@
 DIST gtk-gnutella-1.1.11.tar.bz2 19966423 SHA256 
e46ffa3905831828f867709aa346cd88576075bd1299ef396962ad860e2589d5 SHA512 
87d2d66b555180c0db7c360106377133b9e1f8ad8d28fc0f9a38498f3b4502a817650f9683cf92919b7d3a1b3602f7136143d2f1c920e10727576c703e233d07
 WHIRLPOOL 
d70a4dd39ac25856fd3fbe4b4d4f2447f1ed8448e672fb64ab1e66bcc59a2e36b30112db0123aed1b52a6fa00c274d17ac47bb2ac9a775182516558e9d38dd08
+DIST gtk-gnutella-1.1.12.tar.bz2 20075956 SHA256 
ca65f9c56a5e17e6cb84246d5e2db453f1c73863ef937b8a1772ff4572d562ff SHA512 
3b95f66389ed45f45ff8cc1c5f4eda0d03d5a4060a083f23fd5318ec004c3e96a37a6909688828cd8de97067d18280cc533146ce6de2129c83f9aeb8a3c5a589
 WHIRLPOOL 
a7efc554ee6aad289444aa59e73ed4b0b7701c7a87a98b2f9cd45ef1439fe53cfa8d4f9722854ea90600d37e225e3be80533971f056d9ef831fec0b151629218

diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-1.1.12.ebuild 
b/net-p2p/gtk-gnutella/gtk-gnutella-1.1.12.ebuild
new file mode 100644
index 000..6cbf0a7e365
--- /dev/null
+++ b/net-p2p/gtk-gnutella/gtk-gnutella-1.1.12.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+IUSE="nls dbus ssl +gtk"
+
+DESCRIPTION="A GTK+ Gnutella client"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://gtk-gnutella.sourceforge.net/;
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RDEPEND="
+   sys-libs/binutils-libs:=
+   dev-libs/glib:2
+   sys-libs/zlib
+   gtk? ( >=x11-libs/gtk+-2.2.1:2 )
+   dbus? ( >=sys-apps/dbus-0.35.2 )
+   ssl? ( >=net-libs/gnutls-2.2.5 )
+   nls? ( >=sys-devel/gettext-0.11.5 )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+src_prepare() {
+   strip-linguas -i po
+
+   echo "# Gentoo-selected LINGUAS" > po/LINGUAS
+   for ling in ${LINGUAS}; do
+   echo $ling >> po/LINGUAS
+   done
+
+   default
+}
+
+src_configure() {
+   # There is no option to turn off optimization through the build.sh
+   # script.
+   sed -i -e "s/Configure -Oder/Configure -Oder -Doptimize=none/" build.sh 
|| die
+
+   # The build script does not support the equivalent --enable
+   # options so we must construct the configuration by hand.
+
+   local myconf
+
+   if ! use nls; then
+   myconf="${myconf} --disable-nls"
+   fi
+
+   if ! use dbus; then
+   myconf="${myconf} --disable-dbus"
+   fi
+
+   if ! use ssl; then
+   myconf="${myconf} --disable-gnutls"
+   fi
+
+   if use gtk; then
+   myconf="${myconf} --gtk2"
+   else
+   myconf="${myconf} --topless"
+   fi
+
+   ./build.sh \
+   --configure-only \
+   --prefix="/usr" \
+   --cc=$(tc-getCC) \
+   ${myconf}
+}
+
+src_compile() {
+   # Build system is not parallel-safe, bug 500760
+   emake -j1
+}
+
+src_install() {
+   dodir /usr/bin
+   emake INSTALL_PREFIX="${D}" install || die "Install failed"
+   dodoc AUTHORS ChangeLog README TODO
+
+   # Touch the symbols file into the future to avoid warnings from
+   # gtk-gnutella later on, since we will most likely strip the binary.
+   touch --date="next minute" "${D}/usr/lib/gtk-gnutella/gtk-gnutella.nm" 
|| die
+}



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

2017-10-04 Thread Hans de Graaff
commit: 2c1449122287b6b35ec924c2a22fd99da2aedb39
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Oct  5 04:44:27 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Oct  5 04:45:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c144912

dev-ruby/factory_girl: add 4.8.1

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-ruby/factory_girl/Manifest  |  1 +
 dev-ruby/factory_girl/factory_girl-4.8.1.ebuild | 49 +
 2 files changed, 50 insertions(+)

diff --git a/dev-ruby/factory_girl/Manifest b/dev-ruby/factory_girl/Manifest
index e016cc077a5..0f85c83abb1 100644
--- a/dev-ruby/factory_girl/Manifest
+++ b/dev-ruby/factory_girl/Manifest
@@ -1 +1,2 @@
 DIST factory_girl-4.8.0.tar.gz 66025 SHA256 
81149a7466ead3f3ecd5e9a4cecd19ca20646901669b2892a62413f54a24036b SHA512 
c1e89b25c0dc3292b647179c3cfb487ae235d8049f936beb926c3799e0348ee66e4e6a5d3904fd1a11660477f4c2c993e5d2640a8f54f7cfc5779027d76cca61
 WHIRLPOOL 
075e04007a9e98c62ca09c4798cfd3dc3e1ebe7025d5b2ae1a2510f9d1a2d34ae9f9fbd56730c09757461d5c546f36517fb914c6c375bebb494409c8db268a4b
+DIST factory_girl-4.8.1.tar.gz 66262 SHA256 
874255baaadcd8bedd289b3d8c39343f7ac228a6f43464e7f67f1085fabc6228 SHA512 
2c27eaec8351b009bf200e10829128c5fd3e73b0383cebf7f3ccbe062ba362b29f25e5c054ed25245202c85c6ab60c637547a8f3719e2f079c86c83c30db48a0
 WHIRLPOOL 
d3e702547015b75ce51295a1838c9aa757ee1a8c855498a8a0395258c05abba3f5a237a201aaf4e4cf371b9a71b8c5ff9362e0f605937bf9af1aba4b442bb633

diff --git a/dev-ruby/factory_girl/factory_girl-4.8.1.ebuild 
b/dev-ruby/factory_girl/factory_girl-4.8.1.ebuild
new file mode 100644
index 000..936a4af3f63
--- /dev/null
+++ b/dev-ruby/factory_girl/factory_girl-4.8.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+
+# Tests depend on unpackaged appraisal, for now we just run the specs
+# with the version of Rails that is installed.
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="GETTING_STARTED.md NEWS README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="features"
+
+inherit ruby-fakegem
+
+DESCRIPTION="factory_girl provides a framework and DSL for defining and using 
factories"
+HOMEPAGE="https://github.com/thoughtbot/factory_girl;
+SRC_URI="https://github.com/thoughtbot/factory_girl/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/activesupport-3.0.0:*"
+
+ruby_add_bdepend "
+   test? (
+   >=dev-ruby/activerecord-3.1[sqlite]
+   dev-ruby/bourne
+   >=dev-ruby/mocha-0.12.8
+   dev-ruby/rspec-its
+   dev-ruby/timecop
+   )
+"
+
+all_ruby_prepare() {
+   # Avoid unneeded test dependencies
+   sed -i -e '/simplecov/ s:^:#:' \
+   -e '1irequire "fileutils"' spec/spec_helper.rb || die
+
+   # Avoid specs that may fail due to more strict rspec 2.99
+   # interpretation.
+   sed -i -e '/callbacks using syntax methods without referencing 
FactoryGirl explicitly/,/^end/ s:^:#:' spec/acceptance/callbacks_spec.rb || die
+}



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

2017-10-04 Thread Hans de Graaff
commit: 8fb7c068612519e00e6e6737679c912972ed75d1
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Oct  5 04:39:38 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Oct  5 04:45:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fb7c068

dev-ruby/patron: add 0.10.0

Package-Manager: Portage-2.3.8, Repoman-2.3.3

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

diff --git a/dev-ruby/patron/Manifest b/dev-ruby/patron/Manifest
index 57553db1fd8..30236a1a6c9 100644
--- a/dev-ruby/patron/Manifest
+++ b/dev-ruby/patron/Manifest
@@ -1,3 +1,4 @@
+DIST patron-0.10.0.gem 59904 SHA256 
caf53e63a1c0729d8a66d62cabb794e93d35bd8f3054a93856b5786fe26a2da2 SHA512 
bfe5fabbcbfa3d1c73ef6f79d100547de7e4121bcbd1f427423a127f0bc698bb8b6ade06c0e2eb1f529d1524e95fc36245b8be9d6e2c12b7e8d18b5f03ae6606
 WHIRLPOOL 
fcec13aefaf9cc8fbaa9de9367aea822444f8f973e6195a3248040dd99219e50af286d18b644d476c8dfede263d1e00a63cc20d1df114ab1f97bd406d069657b
 DIST patron-0.4.18.gem 35840 SHA256 
700ffba09ea854bc26fdde08998d8310ed59b0721098d4a7dc9a85845c71bd81 SHA512 
0069f42378b0dfe03e6f86003b7927b099fd15be4d4b5eeba51958774380bf7a9ddbd8a83b30942d02e95b923f9ae0a1c1abf5bcda8ca8490671208e0ae8ecb4
 WHIRLPOOL 
c709bcd65033288fc55d8d5c044c001afa8ac34d098466e017c5adc3a08314897e86f021a09f61abcc5153893152518dc1843ba7dfa79fc271067b708283b75c
 DIST patron-0.8.0.gem 57856 SHA256 
954db224e16421c78c55d190b2310c3201c68e72767908faead76a9c5a5159df SHA512 
43d6ae99aa3db3c5dabd2c3ec7fe5371a204d6e6ccec2c50b0cc126878b0db583e8a266b2b8e0f3ce7cdfde046bd36622e26d653e7ccae7b493ec924021b5f16
 WHIRLPOOL 
b176ced2464b52c3a1bd4412e8c5d0ca7c3c8ee6da2c7c59cf4442c04eeefd07cd6c1c76d93cb2c6ba63c51326d8e1c317e760bf7bbf7506f43ca923a105c04a
 DIST patron-0.9.1.gem 59904 SHA256 
6d5d2e89ab551d081dce572d2fbfed4e98ee7e7dccc144a69bcc17c7ad955ef3 SHA512 
649ee01517369d44009ccf5af4ac5f758893df84259b604be2f5015f9a9015a20a60eb2d6de9873ffa800c49a080e458d2a451222af4783261991c6c134785f7
 WHIRLPOOL 
c10234d797e3a52e49fb25a9be6c468066e3792bedd00fe14165b514e91712a9b19accc4a1d5c1741da2ba5cc6541f25e4f62ccab77248fcfd9bac5ec55daf19

diff --git a/dev-ruby/patron/patron-0.10.0.ebuild 
b/dev-ruby/patron/patron-0.10.0.ebuild
new file mode 100644
index 000..f98916d6fc5
--- /dev/null
+++ b/dev-ruby/patron/patron-0.10.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl"
+HOMEPAGE="https://toland.github.com/patron/;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND+=" net-misc/curl"
+RDEPEND+=" net-misc/curl"
+
+all_ruby_prepare() {
+   # Fix Rakefile
+   sed -i -e 's:rake/rdoctask:rdoc/task:' \
+   -e 's/README.txt/README.md/' \
+   -e '/bundler/I s:^:#:' \
+   -e '/extensiontask/ s:^:#:' \
+   -e '/ExtensionTask/,/^end/ s:^:#:' \
+   Rakefile || die
+
+   # Avoid specs with failures. We were not running any specs before.
+   rm spec/session_ssl_spec.rb spec/session_spec.rb spec/response_spec.rb 
|| die
+}
+
+each_ruby_configure() {
+   ${RUBY} -Cext/patron extconf.rb || die
+}
+
+each_ruby_compile() {
+   emake -Cext/patron V=1
+   cp ext/patron/session_ext$(get_modname) lib/patron/ || die "Unable to 
cp shared object file"
+}



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

2017-10-04 Thread Markus Meier
commit: 5652fddbf1368dad3fe22e0b343593db0f14e236
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Oct  5 04:35:26 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Oct  5 04:35:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5652fddb

dev-python/gmpy: arm stable, bug #624990

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

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

diff --git a/dev-python/gmpy/gmpy-2.0.8.ebuild 
b/dev-python/gmpy/gmpy-2.0.8.ebuild
index d18603c75c1..0aa9fd3a119 100644
--- a/dev-python/gmpy/gmpy-2.0.8.ebuild
+++ b/dev-python/gmpy/gmpy-2.0.8.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.zip"
 
 LICENSE="LGPL-2.1"
 SLOT="2"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ppc ppc64 x86 ~amd64-linux 
~x86-linux ~ppc-macos"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 x86 ~amd64-linux 
~x86-linux ~ppc-macos"
 IUSE="doc mpir"
 
 RDEPEND="



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

2017-10-04 Thread Markus Meier
commit: a6d5fa7f3dfd399404a8c039594ed579cba023b7
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Oct  5 04:35:40 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Oct  5 04:35:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d5fa7f

dev-python/pynacl: arm stable, bug #624990

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

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

diff --git a/dev-python/pynacl/pynacl-1.1.2.ebuild 
b/dev-python/pynacl/pynacl-1.1.2.ebuild
index 248371ff624..56ae4040b9b 100644
--- a/dev-python/pynacl/pynacl-1.1.2.ebuild
+++ b/dev-python/pynacl/pynacl-1.1.2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/pyca/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm ia64 ppc ppc64 x86"
+KEYWORDS="amd64 arm ia64 ppc ppc64 x86"
 IUSE="test"
 
 RDEPEND="dev-python/six[${PYTHON_USEDEP}]



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

2017-10-04 Thread Markus Meier
commit: edb1e5b88e7c2f03b1a1d4fc5b040e9706290066
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Oct  5 04:35:31 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Oct  5 04:35:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edb1e5b8

dev-python/twisted: arm stable, bug #624990

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 dev-python/twisted/twisted-16.6.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/twisted/twisted-16.6.0-r3.ebuild 
b/dev-python/twisted/twisted-16.6.0-r3.ebuild
index 2ae2e0c005e..a7c29333281 100644
--- a/dev-python/twisted/twisted-16.6.0-r3.ebuild
+++ b/dev-python/twisted/twisted-16.6.0-r3.ebuild
@@ -19,7 +19,7 @@ SRC_URI="${SRC_URI}/${TWISTED_RELEASE}/${TWISTED_P}.tar.bz2
 
 # Dropped keywords due to new deps not keyworded
 #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh 
~x86 ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~mips ppc ppc64 x86"
 
 LICENSE="MIT"
 SLOT="0"



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

2017-10-04 Thread Markus Meier
commit: 3d9465d4bec18140f53e1acb90a1545cf1bc022f
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Oct  5 04:35:45 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Oct  5 04:35:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9465d4

dev-python/cbor: arm stable, bug #624990

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

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

diff --git a/dev-python/cbor/cbor-1.0.0.ebuild 
b/dev-python/cbor/cbor-1.0.0.ebuild
index 18a019b7af3..c651b7d6be5 100644
--- a/dev-python/cbor/cbor-1.0.0.ebuild
+++ b/dev-python/cbor/cbor-1.0.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm x86"
+KEYWORDS="amd64 arm x86"
 IUSE=""
 
 DEPEND=""



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

2017-10-04 Thread Markus Meier
commit: f87662f280099b6ff0a554feccce146968fd5448
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Oct  5 04:35:35 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Oct  5 04:35:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87662f2

dev-python/py-ubjson: arm stable, bug #624990

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 dev-python/py-ubjson/py-ubjson-0.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/py-ubjson/py-ubjson-0.9.0.ebuild 
b/dev-python/py-ubjson/py-ubjson-0.9.0.ebuild
index 0bc1ef3c2a9..57e0fd09c78 100644
--- a/dev-python/py-ubjson/py-ubjson-0.9.0.ebuild
+++ b/dev-python/py-ubjson/py-ubjson-0.9.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm x86"
+KEYWORDS="amd64 arm x86"
 IUSE=""
 
 DEPEND=""



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

2017-10-04 Thread Markus Meier
commit: 0255f505d110dc3ef3e560dbbf6bbeb35b745589
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Oct  5 04:34:42 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Oct  5 04:34:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0255f505

dev-python/incremental: arm stable, bug #624990

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

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

diff --git a/dev-python/incremental/incremental-17.5.0.ebuild 
b/dev-python/incremental/incremental-17.5.0.ebuild
index 36315ca483c..3cd50a50b55 100644
--- a/dev-python/incremental/incremental-17.5.0.ebuild
+++ b/dev-python/incremental/incremental-17.5.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86"
 IUSE=""
 
 RDEPEND=""



[gentoo-commits] repo/gentoo:master commit in: app-portage/mirrorselect/

2017-10-04 Thread Markus Meier
commit: 07f699e17b9d780e332e0803e2f14feb0edf1514
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Oct  5 04:33:11 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Oct  5 04:33:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f699e1

app-portage/mirrorselect: arm stable, bug #631998

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 app-portage/mirrorselect/mirrorselect-2.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-portage/mirrorselect/mirrorselect-2.2.3.ebuild 
b/app-portage/mirrorselect/mirrorselect-2.2.3.ebuild
index 7219527ce8a..639ef00e7a8 100644
--- a/app-portage/mirrorselect/mirrorselect-2.2.3.ebuild
+++ b/app-portage/mirrorselect/mirrorselect-2.2.3.ebuild
@@ -18,7 +18,7 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE=""
 
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc x86 
~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc x86 
~x86-fbsd"
 
 RDEPEND="
dev-util/dialog



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

2017-10-04 Thread Markus Meier
commit: e47bc2dbb720307376c0caed2881ffa094c122db
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Oct  5 04:33:34 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Oct  5 04:33:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e47bc2db

dev-python/python-systemd: arm stable, bug #606308

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

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

diff --git a/dev-python/python-systemd/python-systemd-233.ebuild 
b/dev-python/python-systemd/python-systemd-233.ebuild
index 0e844cc6a04..080d0a4a9fe 100644
--- a/dev-python/python-systemd/python-systemd-233.ebuild
+++ b/dev-python/python-systemd/python-systemd-233.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/systemd/python-systemd/archive/v${PV}.tar.gz -> ${P}
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86"
 IUSE="test"
 
 COMMON_DEPEND="



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

2017-10-04 Thread Matt Thode
commit: 613cff73ba2e73197a8f47f16e32bbda5ef368ed
Author: Matthew Thode  gentoo  org>
AuthorDate: Thu Oct  5 04:10:39 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Thu Oct  5 04:10:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=613cff73

net-misc/openvswitch: match upstream kernel versions supported

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-misc/openvswitch/openvswitch-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openvswitch/openvswitch-2.8.1.ebuild 
b/net-misc/openvswitch/openvswitch-2.8.1.ebuild
index 35188c9569d..99125f9190f 100644
--- a/net-misc/openvswitch/openvswitch-2.8.1.ebuild
+++ b/net-misc/openvswitch/openvswitch-2.8.1.ebuild
@@ -44,7 +44,7 @@ pkg_setup() {
if use modules ; then
CONFIG_CHECK+=" ~!OPENVSWITCH"
kernel_is ge 3 10 0 || die "Linux >= 3.10.0 and <= 4.8 required 
for userspace modules"
-   kernel_is le 4 9 999 || die "Linux >= 3.10.0 and <= 4.8 
required for userspace modules"
+   kernel_is le 4 12 999 || die "Linux >= 3.10.0 and <= 4.12 
required for userspace modules"
linux-mod_pkg_setup
else
CONFIG_CHECK+=" ~OPENVSWITCH"



[gentoo-commits] repo/gentoo:master commit in: x11-base/xorg-server/

2017-10-04 Thread Matt Turner
commit: 996e76bc4c5ef5b8926aa204dedfd4ab81b23af3
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Oct  5 03:54:51 2017 +
Commit: Matt Turner  gentoo  org>
CommitDate: Thu Oct  5 03:54:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=996e76bc

x11-base/xorg-server: Version bump to 1.19.4

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 x11-base/xorg-server/Manifest  |   1 +
 x11-base/xorg-server/xorg-server-1.19.4.ebuild | 251 +
 2 files changed, 252 insertions(+)

diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest
index 8e127a4849d..451e2696bf0 100644
--- a/x11-base/xorg-server/Manifest
+++ b/x11-base/xorg-server/Manifest
@@ -5,3 +5,4 @@ DIST xorg-server-1.16-cve-2014-8091..8103.patches.tar.xz 27892 
SHA256 47d8c9bb79
 DIST xorg-server-1.18.4.tar.bz2 6009508 SHA256 
278459b2c31d61a15655d95a72fb79930c480a6bb8cf9226e48a07df8b1d31c8 SHA512 
2055948caa1437547ea823a70d8b24584b65338bb9f1bbf75e3ad7fd60ec9684378facaffa05b7ce496d904213cd192085a43ba889a1476d5fbc813b7e41b56b
 WHIRLPOOL 
f9ba5ffb49e6ac7ca20d64d27712a0a8f10c6560256a20e9f944d6438dc5f5eebe53daf6af110084da67a622e92874969047518e72ff181de0d64d83030d629f
 DIST xorg-server-1.19.2.tar.bz2 5969543 SHA256 
4f8ab9f4a1a885fe7550080555381b34b82858582559e8e3c4da96e3a85884bb SHA512 
258c5d615efda28170bf0fd4a19e24fd2cefe086d5ef1aada7a407b8dc2ddaa7d74ad0245e0b13155a3e6d30c65fedf054326e191b6dfe800aae881664d63f16
 WHIRLPOOL 
6ffca7dc695d9551efecbf9061e40862a187f16afba113467640a506c7becdb2e37d7fe042cbfe08af8ba9f2e8f538fd50460ef46a34452796436de15fa463fd
 DIST xorg-server-1.19.3.tar.bz2 6050221 SHA256 
677a8166e03474719238dfe396ce673c4234735464d6dadf2959b600d20e5a98 SHA512 
b988897418399e1361fdcca9465a781f55f8f6fbfdc5a59edfaee9046a0c6ad7a76f348d88b6004ce3d3fb3966b4c5af0b854f6549c32b2b8d7a43758809f669
 WHIRLPOOL 
acbac6db7ba0aff8d0b906e52a783b38b1ce43a342159becb2fc696e34274c98e546e9712d59cf3360ad74416e6be89575523285e1ca3954f9e60a5cf079
+DIST xorg-server-1.19.4.tar.bz2 5962834 SHA256 
aa758acea91deaf1f95069ddc5ea3818e13675fb14fef40ad1b3d0b2bf03c9a8 SHA512 
ff80934e42a7dd2d437e947fe02c74c3b25bdbb3002b7005191d52272d5eae8cb3a83377fa32f4011be88405830e796f6bd3b914bd7fc163ea8ece76226b
 WHIRLPOOL 
75d82daf7fa87b70182ed5d81fe785b4909b82f838530c0318444bc05ccb2a4073f4bebb2a8dd0d283dfbb5d1498dc98a9098176eff16c7a31b801bd179e3c00

diff --git a/x11-base/xorg-server/xorg-server-1.19.4.ebuild 
b/x11-base/xorg-server/xorg-server-1.19.4.ebuild
new file mode 100644
index 000..0af384a05bb
--- /dev/null
+++ b/x11-base/xorg-server/xorg-server-1.19.4.ebuild
@@ -0,0 +1,251 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_DOC=doc
+inherit xorg-2 multilib versionator flag-o-matic
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/xserver.git;
+
+DESCRIPTION="X.Org X servers"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+
+IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb"
+IUSE="${IUSE_SERVERS} debug glamor ipv6 libressl minimal selinux +suid systemd 
tslib +udev unwind xcsecurity"
+
+CDEPEND=">=app-eselect/eselect-opengl-1.3.0
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl )
+   >=x11-apps/iceauth-1.0.2
+   >=x11-apps/rgb-1.0.3
+   >=x11-apps/xauth-1.0.3
+   x11-apps/xkbcomp
+   >=x11-libs/libdrm-2.4.46
+   >=x11-libs/libpciaccess-0.12.901
+   >=x11-libs/libXau-1.0.4
+   >=x11-libs/libXdmcp-1.0.2
+   >=x11-libs/libXfont2-2.0.1
+   >=x11-libs/libxkbfile-1.0.4
+   >=x11-libs/libxshmfence-1.1
+   >=x11-libs/pixman-0.27.2
+   >=x11-libs/xtrans-1.3.5
+   >=x11-misc/xbitmaps-1.0.1
+   >=x11-misc/xkeyboard-config-2.4.1-r3
+   dmx? (
+   x11-libs/libXt
+   >=x11-libs/libdmx-1.0.99.1
+   >=x11-libs/libX11-1.1.5
+   >=x11-libs/libXaw-1.0.4
+   >=x11-libs/libXext-1.0.99.4
+   >=x11-libs/libXfixes-5.0
+   >=x11-libs/libXi-1.2.99.1
+   >=x11-libs/libXmu-1.0.3
+   x11-libs/libXrender
+   >=x11-libs/libXres-1.0.3
+   >=x11-libs/libXtst-1.0.99.2
+   )
+   glamor? (
+   media-libs/libepoxy[X]
+   >=media-libs/mesa-10.3.4-r1[egl,gbm]
+   !x11-libs/glamor
+   )
+   kdrive? (
+   >=x11-libs/libXext-1.0.5
+   x11-libs/libXv
+   )
+   xephyr? (
+   x11-libs/libxcb[xkb]
+   x11-libs/xcb-util
+   x11-libs/xcb-util-image
+   x11-libs/xcb-util-keysyms
+   x11-libs/xcb-util-renderutil
+   x11-libs/xcb-util-wm
+   )
+   !minimal? (
+   >=x11-libs/libX11-1.1.5
+   

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

2017-10-04 Thread Tim Harder
commit: 51e15613be6a92e5960e6f61a6a1e05a3154396d
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Oct  4 23:21:58 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Oct  4 23:23:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51e15613

dev-python/pychroot: remove old

 dev-python/pychroot/Manifest   |  2 --
 dev-python/pychroot/pychroot-0.9.16.ebuild | 46 
 dev-python/pychroot/pychroot-0.9.17.ebuild | 49 --
 3 files changed, 97 deletions(-)

diff --git a/dev-python/pychroot/Manifest b/dev-python/pychroot/Manifest
index 003ab19017c..3c082c660c2 100644
--- a/dev-python/pychroot/Manifest
+++ b/dev-python/pychroot/Manifest
@@ -1,3 +1 @@
-DIST pychroot-0.9.16.tar.gz 31027 SHA256 
8bcfde4f045d34181ab6ec869abb6608c1340de4dd15ceac003287ec610d221d SHA512 
6e35c7b40ad27d234c855abf1857aa6579583d848b111559de21edfa0bc6987e08d1d122924101e2e9bdf37886591b7291a607ed22cf2c50aa11b32f7ea65495
 WHIRLPOOL 
234cdd15e1cda4473d061ec03f8be75560785ca53c441750372d34545e6e0a1d068a2bf9f652cc60486793fb294d3af1d68834602ab0e0160e4194a2a0f6a98d
-DIST pychroot-0.9.17.tar.gz 32036 SHA256 
4556d110ab3270c2eec817c1e9573e14fe851a9034ee45b4d96b2695f812c467 SHA512 
d99b3875e72fc8553d29cc87c4a30b714cc5dcfbff717eb79be26b1cb0590a1c7dab8dcf66528b2805e5eb91a7619c4015b08ff2194470d9d41e94d82bc44971
 WHIRLPOOL 
7790adeaa8d7699e01a79adfc6c51d9bdf40cec03c1609b1446d8c18b0db2002492a36671d4b37e4ac1e51ef347c663a8e91033722dd4276044a6fe6424f9d38
 DIST pychroot-0.9.18.tar.gz 32879 SHA256 
ec78082c9ea8a30733ac1cf9773431fe118fb4cbeaf1098572c3b8e4e16eb7aa SHA512 
59c8750c9ba8d601eca485079c04d4153bba92531dbd30fba0104694e4435d76e65b762b76ef89a6a6f8908dd6054d1d95fe4be74825ac1c5a56e473370dfa41
 WHIRLPOOL 
6e69c740bbb93ab8e88555e0c7e72ec5e4cde577c6b687055385df0ad7174e992f5a9410e03dd041309e57924fb70b92f14078c665c06d05d6c87571815b29e1

diff --git a/dev-python/pychroot/pychroot-0.9.16.ebuild 
b/dev-python/pychroot/pychroot-0.9.16.ebuild
deleted file mode 100644
index 1e54653972d..000
--- a/dev-python/pychroot/pychroot-0.9.16.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-inherit distutils-r1
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/pkgcore/pychroot.git;
-   inherit git-r3
-else
-   KEYWORDS="~amd64 ~x86"
-   
SRC_URI="https://github.com/pkgcore/${PN}/releases/download/v${PV}/${P}.tar.gz;
-fi
-
-DESCRIPTION="a python library and cli tool that simplify chroot handling"
-HOMEPAGE="https://github.com/pkgcore/pychroot;
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-RDEPEND="
-   >=dev-python/snakeoil-0.7.1[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 
python2_7)
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-[[ ${PV} == * ]] && DEPEND+=" dev-python/sphinx[${PYTHON_USEDEP}]"
-
-python_compile_all() {
-   esetup.py build_man
-}
-
-python_test() {
-   esetup.py test
-}
-
-python_install_all() {
-   local DOCS=( NEWS.rst README.rst )
-   distutils-r1_python_install install_man
-   distutils-r1_python_install_all
-}

diff --git a/dev-python/pychroot/pychroot-0.9.17.ebuild 
b/dev-python/pychroot/pychroot-0.9.17.ebuild
deleted file mode 100644
index fe3de49275b..000
--- a/dev-python/pychroot/pychroot-0.9.17.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-inherit distutils-r1
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/pkgcore/pychroot.git;
-   inherit git-r3
-else
-   KEYWORDS="~amd64 ~x86"
-   SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-fi
-
-DESCRIPTION="a python library and cli tool that simplify chroot handling"
-HOMEPAGE="https://github.com/pkgcore/pychroot;
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-if [[ ${PV} == * ]]; then
-   RDEPEND="=dev-python/snakeoil-[${PYTHON_USEDEP}]"
-else
-   RDEPEND=">=dev-python/snakeoil-0.7.2[${PYTHON_USEDEP}]"
-fi
-
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 
python2_7)
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )"
-[[ ${PV} == * ]] && DEPEND+=" dev-python/sphinx[${PYTHON_USEDEP}]"
-
-python_compile_all() {
-   esetup.py build_man
-}
-
-python_test() {
-   esetup.py test
-}
-
-python_install_all() {
-   local DOCS=( NEWS.rst README.rst )
-   distutils-r1_python_install install_man
-   distutils-r1_python_install_all
-}



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

2017-10-04 Thread Tim Harder
commit: 02e1d32778be622a7069154af6669107756c540b
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Oct  4 23:21:01 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Oct  4 23:23:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02e1d327

dev-python/snakeoil: remove old

 dev-python/snakeoil/Manifest   |  2 --
 .../snakeoil/files/snakeoil-0.7.1-test.patch   | 31 ---
 dev-python/snakeoil/snakeoil-0.7.1.ebuild  | 36 --
 dev-python/snakeoil/snakeoil-0.7.3.ebuild  | 35 -
 4 files changed, 104 deletions(-)

diff --git a/dev-python/snakeoil/Manifest b/dev-python/snakeoil/Manifest
index d964b0cc7f6..4e79c6a54b5 100644
--- a/dev-python/snakeoil/Manifest
+++ b/dev-python/snakeoil/Manifest
@@ -1,3 +1 @@
-DIST snakeoil-0.7.1.tar.gz 214261 SHA256 
e210db2713da8431eea6b6b3afc98bea829c6612733e6309871b2614d08dcc5b SHA512 
1c0d03d50a1738cbb3cceecec9445585d089ea535657467871930cca7282d3426780451fb45774e16b05714a1da13766d68f62def7a2d957e2124bd71335d0a0
 WHIRLPOOL 
aa20cabbceaae564802b8ed5a7a6e5dc1039d27021d477179bcad28d4317b875cbddb889e7196fc1c091a802dd28f8c7efe1c6680b170a54c5e2b07c23052623
-DIST snakeoil-0.7.3.tar.gz 301229 SHA256 
c51ba2e3e6f59b7988afd9ad49bf37e9b155fe4a54da3fa11fc728e02ebf5ea3 SHA512 
a3b303a6b5da9e12b2eef8ffbd86bae173ef5cd8c2c2d36e818af8c228519fa44bf79c7f8122cc5e3c555f47e904dc766ceb8393dbef6f2edd9a218c7080b95e
 WHIRLPOOL 
988c3a9eb07e251908628f4c899827b868432979759fd8a935386ed843f89cca855f1262cd88b8ba5aa1a0ad088e3942ec94d818282d086036ac03add58c0e23
 DIST snakeoil-0.7.4.tar.gz 301878 SHA256 
67280c86e4b02c34100603d7525270c0017e0d182df54ad31ec2e5c145e69ceb SHA512 
b3ae2223a267fa74699664470a4c4f6888cf2b68e688fe61d3acca85e00a138c3a037482ef304ee26f326cba252b473d265dcd72d0e0ab5723f4b0ed6e5e04ce
 WHIRLPOOL 
c76905b7540ad1ab2186d2ce9a75a55660eb343a1cfefc835f8012f3cf10ad706ee837a995085fa327f38de8f790cc2155c540e5b0d2a6f90a0aebbf7198c7bb

diff --git a/dev-python/snakeoil/files/snakeoil-0.7.1-test.patch 
b/dev-python/snakeoil/files/snakeoil-0.7.1-test.patch
deleted file mode 100644
index 73e2701b0eb..000
--- a/dev-python/snakeoil/files/snakeoil-0.7.1-test.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 8ee72903bc714725fbcfdcc38b9228772758b890 Mon Sep 17 00:00:00 2001
-From: Tim Harder 
-Date: Fri, 27 Jan 2017 11:54:39 -0500
-Subject: [PATCH] test: fix delayed instantiation tests for py3.6
-

- snakeoil/test/test_obj.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/snakeoil/test/test_obj.py b/snakeoil/test/test_obj.py
-index abcad55..f8aafd2 100644
 a/snakeoil/test/test_obj.py
-+++ b/snakeoil/test/test_obj.py
-@@ -29,7 +29,7 @@ def test_simple(self):
- 
- def test_descriptor_awareness(self):
- def assertKls(cls, ignores=(),
--  default_ignores=("__new__", "__init__",
-+  default_ignores=("__new__", "__init__", 
"__init_subclass__",
-"__getattribute__", "__class__",
-"__getnewargs__", "__doc__")):
- required = set(x for x in dir(cls)
-@@ -53,7 +53,7 @@ def test_BaseDelayedObject(self):
- # assert that all methods/descriptors of object
- # are covered via the base.
- o = set(dir(object)).difference("__%s__" % x for x in [
--"class", "getattribute", "new", "init", "doc"])
-+"class", "getattribute", "new", "init", "init_subclass", "doc"])
- diff = o.difference(obj.base_kls_descriptors)
- self.assertFalse(diff, msg=(
- "base delayed instantiation class should cover all of object, but 
"

diff --git a/dev-python/snakeoil/snakeoil-0.7.1.ebuild 
b/dev-python/snakeoil/snakeoil-0.7.1.ebuild
deleted file mode 100644
index 080b0c89c38..000
--- a/dev-python/snakeoil/snakeoil-0.7.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-PYTHON_REQ_USE="threads(+)"
-inherit distutils-r1
-
-if [[ ${PV} == * ]] ; then
-   EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git;
-   inherit git-r3
-else
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86"
-   
SRC_URI="https://github.com/pkgcore/${PN}/releases/download/v${PV}/${P}.tar.gz;
-fi
-
-DESCRIPTION="misc common functionality and useful optimizations"
-HOMEPAGE="https://github.com/pkgcore/snakeoil;
-
-LICENSE="BSD"
-SLOT="0"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
-PATCHES=(
-   "${FILESDIR}/${P}-test.patch"
-)
-
-python_configure_all() {
-   # disable snakeoil 2to3 caching
-   unset PY2TO3_CACHEDIR
-}
-
-python_test() {
-   esetup.py test
-}

diff --git a/dev-python/snakeoil/snakeoil-0.7.3.ebuild 

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

2017-10-04 Thread Thomas Deutschmann
commit: 6b8816922a25a1a88562460ab964d45a34fe448d
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Oct  4 23:14:57 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Oct  4 23:14:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b881692

dev-libs/liblognorm: Bump to v2.0.4

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-libs/liblognorm/Manifest|  1 +
 dev-libs/liblognorm/liblognorm-2.0.4.ebuild | 72 +
 2 files changed, 73 insertions(+)

diff --git a/dev-libs/liblognorm/Manifest b/dev-libs/liblognorm/Manifest
index 55696d33fe0..0062c736feb 100644
--- a/dev-libs/liblognorm/Manifest
+++ b/dev-libs/liblognorm/Manifest
@@ -3,3 +3,4 @@ DIST liblognorm-1.1.2.tar.gz 547224 SHA256 
935a112fb5310877aaa5046ac8bd2ec7d0e9f
 DIST liblognorm-2.0.1.tar.gz 657390 SHA256 
6a7fda0da2791a87c808fbfde1af20e6463e3ff73496aae7756e3440f3bc5b75 SHA512 
557ba4180d764c04edabe6292a44f5340c5b1f7ac2390a4068711be4ad6da7429e651bc2230d6ff9cc6c58cd6a6c59149f20083de8cf4d8239d95f86db39565f
 WHIRLPOOL 
ae89d7f34b673f14103574966e72b508d69a00e7f8d13eb5e9665c83303606da729001d7bb0712f96de8c4df63b3c75df90f52ec937b793a503d0062912acd6a
 DIST liblognorm-2.0.2.tar.gz 658976 SHA256 
1689453feb4fa5343475cc08379d9e3f0f4c767a3669aa6adb553905d14447db SHA512 
7cb1e20c895859072b9d6f0b3c2dd89874192dce6d11878a4c3eb0b0d9f1691d97205a61290e9cd07deeaa71c58f5fb6a4c1f14bd206119d690cf84c107ccbe4
 WHIRLPOOL 
46484771236067fd903d71ab17f25a513378f5aba0f59a8b3f563873aa5b56908f23ff668dfe2a4f30ade415cc7dc26b12934ccf2bad5d2521bcf6505d45a8e8
 DIST liblognorm-2.0.3.tar.gz 660680 SHA256 
a0c670b1f4ad0cb79dba0a4c16d9c3e8109596b5cdd744990e2924b79fd3dab3 SHA512 
8f343f3029c506a9c060b1b55e478da9ceedc1fbf27ca53a991ffbddb397383adfee2d79beb174a6c997599ee3c0fa4bbc9925fa850e5bf4f4d7b181ddae7cdb
 WHIRLPOOL 
cef991d499ad893e67c0bd7c98b35ed41bf729104ec1d7d3cf7c23b0f59cadc3b95722cab7e487b09ba376f14b400cadc2f5b7731800f7da9cd1ad4b7c8b83eb
+DIST liblognorm-2.0.4.tar.gz 665898 SHA256 
730175b6e4e8818c31a60f614f8ba38aae4f8edbeb50d0e34236749e5d20b3a3 SHA512 
3c7cbf0c8c320708615218009354d198ba0893632ca464a07270f59d137753dfc7ad6dae66b565660f14e9285f9c8964824d36070b1872b6c633589b4996ba02
 WHIRLPOOL 
369d8d037155a19f4b70859d0bc3cc356cdf60e38ef0d153815fa33ecb690e67feff0e0cd79a5c870ed455f7d969d037c0aaf82728e5e0fe72f3a100469cf0d5

diff --git a/dev-libs/liblognorm/liblognorm-2.0.4.ebuild 
b/dev-libs/liblognorm/liblognorm-2.0.4.ebuild
new file mode 100644
index 000..35c8f1f974c
--- /dev/null
+++ b/dev-libs/liblognorm/liblognorm-2.0.4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools
+
+DESCRIPTION="Fast samples-based log normalization library"
+HOMEPAGE="http://www.liblognorm.com;
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git;
+
+   inherit git-r3
+else
+   SRC_URI="http://www.liblognorm.com/files/download/${P}.tar.gz;
+   KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86 ~amd64-linux"
+fi
+
+LICENSE="LGPL-2.1 Apache-2.0"
+SLOT="0/5.1.0"
+IUSE="debug doc static-libs test"
+
+RDEPEND="
+   >=dev-libs/libestr-0.1.3
+   >=dev-libs/libfastjson-0.99.2:=
+"
+
+DEPEND="
+   ${RDEPEND}
+   >=sys-devel/autoconf-archive-2015.02.04
+   virtual/pkgconfig
+   doc? ( >=dev-python/sphinx-1.2.2 )
+"
+
+DOCS=( ChangeLog )
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   # regexp disabled due to 
https://github.com/rsyslog/liblognorm/issues/143
+   local myeconfargs=(
+   --enable-compile-warnings=yes
+   --disable-Werror
+   $(use_enable doc docs)
+   $(use_enable test testbench)
+   $(use_enable debug)
+   $(use_enable static-libs static)
+   --disable-regexp
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_test() {
+   # When adding new tests via patches we have to make them executable
+   einfo "Adjusting permissions of test scripts ..."
+   find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x 
'{}' \; || \
+   die "Failed to adjust test scripts permission"
+
+   emake --jobs 1 check
+}
+
+src_install() {
+   default
+
+   find "${ED}"usr/lib* -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/

2017-10-04 Thread Thomas Deutschmann
commit: f2e41ab13150fd6c03c255002b5ce803d8f7c504
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Oct  4 22:39:17 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Oct  4 22:39:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2e41ab1

dev-lang/go: x86 stable (bug #632408)

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-lang/go/go-1.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/go/go-1.9.1.ebuild b/dev-lang/go/go-1.9.1.ebuild
index b22bdb39015..ba6f541436c 100644
--- a/dev-lang/go/go-1.9.1.ebuild
+++ b/dev-lang/go/go-1.9.1.ebuild
@@ -39,7 +39,7 @@ case ${PV}  in
case ${PV} in
*_beta*|*_rc*) ;;
*)
-   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd 
~x86-fbsd ~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-fbsd ~x86-fbsd 
~x64-macos ~x64-solaris"
# The upstream tests fail under portage but pass if the build is
# run according to their documentation [1].
# I am restricting the tests on released versions until this is



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

2017-10-04 Thread Thomas Deutschmann
commit: 67876967d2003ad9f8be69ba5bcd3f99d682c41d
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Oct  4 22:40:08 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Oct  4 22:40:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67876967

sys-devel/gcc-config: x86 stable (bug #626646)

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 sys-devel/gcc-config/gcc-config-1.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gcc-config/gcc-config-1.8-r1.ebuild 
b/sys-devel/gcc-config/gcc-config-1.8-r1.ebuild
index 798029c8a3f..48324fc6aec 100644
--- a/sys-devel/gcc-config/gcc-config-1.8-r1.ebuild
+++ b/sys-devel/gcc-config/gcc-config-1.8-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
 IUSE=""
 
 RDEPEND=">=sys-apps/gentoo-functions-0.10"



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

2017-10-04 Thread Thomas Deutschmann
commit: 3199e8469839494dd24cb7404afabc2dd80c4cdb
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Oct  4 22:46:42 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Oct  4 22:46:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3199e846

dev-libs/botan: x86 stable (bug #632104)

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-libs/botan/botan-1.10.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/botan/botan-1.10.17.ebuild 
b/dev-libs/botan/botan-1.10.17.ebuild
index 4045d948b7b..ae89ce3d419 100644
--- a/dev-libs/botan/botan-1.10.17.ebuild
+++ b/dev-libs/botan/botan-1.10.17.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="A C++ crypto library"
 HOMEPAGE="http://botan.randombit.net/;
 SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz;
 
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~sparc ~x86 ~ppc-macos"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~sparc x86 ~ppc-macos"
 SLOT="0"
 LICENSE="BSD"
 IUSE="bindist doc python bzip2 gmp libressl ssl static-libs threads zlib"



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

2017-10-04 Thread Thomas Deutschmann
commit: bfbdf7702a5b0a7b316687f478ad5459f733f9e3
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Oct  4 22:41:04 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Oct  4 22:41:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfbdf770

dev-vcs/git: x86 stable (bug #632036)

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-vcs/git/git-2.13.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-vcs/git/git-2.13.6.ebuild b/dev-vcs/git/git-2.13.6.ebuild
index c6e03f2bf29..d1022f3a5ab 100644
--- a/dev-vcs/git/git-2.13.6.ebuild
+++ b/dev-vcs/git/git-2.13.6.ebuild
@@ -38,7 +38,7 @@ if [[ ${PV} != * ]]; then

${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
)"
[[ "${PV}" = *_rc* ]] || \
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~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 ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~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 ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] proj/baselayout:master commit in: etc/env.d/, etc/

2017-10-04 Thread William Hubbs
commit: 9cac4dd130637fa2c1f1a64bf3c9d2509284e6dd
Author: William Hubbs  gentoo  org>
AuthorDate: Wed Oct  4 22:17:40 2017 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Oct  4 22:17:40 2017 +
URL:https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=9cac4dd1

Drop support for ROOTPATH

The following is taken from /etc/profile:

> Set up PATH depending on whether we're root or a normal user.
> There's no real reason to exclude sbin paths from the normal user,
> but it can make tab-completion easier when they aren't in the
> user's PATH to pollute the executable namespace.

This seems like a minor inconvenience, and excluding sbin paths for the
normal user can cause bigger issues which will offset this inconvenience.

commit ac52b58e7a8a7f8085de9f806645881740b22c5e
Author: William Hubbs  gentoo.org>
Date:   Wed Oct 4 17:12:33 2017 -0500

Drop support for ROOTPATH

The following is taken from /etc/profile:

This seems like a minor inconvenience, and not having *sbin in the path
can cause bigger compatibility issues which offset this inconvenience.

diff --git a/etc/env.d/50baselayout b/etc/env.d/50baselayout
index e8662e0e..b10a2c4d 100644
--- a/etc/env.d/50baselayout
+++ b/etc/env.d/50baselayout
@@ -1,8 +1,7 @@
 # /etc/env.d/50baselayout
 # Do not edit this file

-PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin"
-ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
+PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
 MANPATH="/usr/local/share/man:/usr/share/man"
 INFOPATH="/usr/share/info"
 CONFIG_PROTECT_MASK="/etc/gentoo-release"
diff --git a/etc/profile b/etc/profile
index 8e92e824..4579bd17 100644
--- a/etc/profile
+++ b/etc/profile
@@ -18,16 +18,6 @@ export PAGER=${PAGER:-/usr/bin/less}
 # 077 would be more secure, but 022 is generally quite realistic
 umask 022

-# Set up PATH depending on whether we're root or a normal user.
-# There's no real reason to exclude sbin paths from the normal user,
-# but it can make tab-completion easier when they aren't in the
-# user's PATH to pollute the executable namespace.
-if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then
-   PATH="${ROOTPATH}"
-fi
-export PATH
-unset ROOTPATH
-
 # process *.sh files in /etc/profiled.d
 for sh in /etc/profile.d/*.sh ; do
[ -r "$sh" ] && . "$sh"

 etc/env.d/50baselayout |  3 +--
 etc/profile| 10 --
 2 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/etc/env.d/50baselayout b/etc/env.d/50baselayout
index e8662e0e..b10a2c4d 100644
--- a/etc/env.d/50baselayout
+++ b/etc/env.d/50baselayout
@@ -1,8 +1,7 @@
 # /etc/env.d/50baselayout
 # Do not edit this file
 
-PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin"
-ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
+PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
 MANPATH="/usr/local/share/man:/usr/share/man"
 INFOPATH="/usr/share/info"
 CONFIG_PROTECT_MASK="/etc/gentoo-release"

diff --git a/etc/profile b/etc/profile
index 8e92e824..4579bd17 100644
--- a/etc/profile
+++ b/etc/profile
@@ -18,16 +18,6 @@ export PAGER=${PAGER:-/usr/bin/less}
 # 077 would be more secure, but 022 is generally quite realistic
 umask 022
 
-# Set up PATH depending on whether we're root or a normal user.
-# There's no real reason to exclude sbin paths from the normal user,
-# but it can make tab-completion easier when they aren't in the
-# user's PATH to pollute the executable namespace.
-if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then
-   PATH="${ROOTPATH}"
-fi
-export PATH
-unset ROOTPATH
-
 # process *.sh files in /etc/profiled.d
 for sh in /etc/profile.d/*.sh ; do
[ -r "$sh" ] && . "$sh"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/go/

2017-10-04 Thread William Hubbs
commit: 7a11bc14b699ad8cd003731d4cda79bec5ec84d1
Author: William Hubbs  gentoo  org>
AuthorDate: Wed Oct  4 22:00:01 2017 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Oct  4 22:00:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a11bc14

dev-lang/go: 1.9.1 version bump

Committed straight to stable on amd64 for volnerabilities discussed
here:

 https://groups.google.com/forum/m/#!topic/golang-nuts/sHfMg4gZNps

 Bug: https://bugs.gentoo.org/show_bug.cgi?id=632408

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --force

 dev-lang/go/Manifest|   1 +
 dev-lang/go/go-1.9.1.ebuild | 227 
 2 files changed, 228 insertions(+)

diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest
index 38ab2d58e51..6294b6a058f 100644
--- a/dev-lang/go/Manifest
+++ b/dev-lang/go/Manifest
@@ -10,4 +10,5 @@ DIST go-linux-ppc64le-bootstrap-1.8.tbz 52211575 SHA256 
4e05b8830a473756cfee3fc2
 DIST go-linux-s390x-bootstrap-1.8.tbz 57124869 SHA256 
70bb859e80268b3421587d85189a807b14449b8c5e7b23606b87dfab54189634 SHA512 
d429cae870d66217ab2e07c74209d3031d97baa4f899b4d70ae6283a1a5b1434b037904c4cfca0b2bc798d5ba0b358c3739e000eccbc74809baf564c5686df5a
 WHIRLPOOL 
d0475efcbc2c1cbb3c6db452dbeb2a5fe709fa56b65eba2fbbcce2296b6a04ba89b9e33579d6eab192cd63b45ad78a0d7afd458229e4b252e80bd2db260abf11
 DIST go-solaris-amd64-bootstrap-1.8.tbz 54926326 SHA256 
83053f333d56d72ddbe9a8f293f8afeff31739806d49ebaa144811a5438b17bc SHA512 
52b849e5b9a940e10de7ba3df0ebdf6e1c5d631de9581d936c9edf8f38e6bb3314acbc2b2d5202b0528fde2a359d52bc0c6f39acf9b1b614725e4b4a947ed10d
 WHIRLPOOL 
2d58085d88fa612a7dfb087df33d2c5ee6b6d4c0b0c0363d5dcef014a6e3e9703816e8a111d1348e1e1a4ebcdde58694a869a27ae42e0deec154529f1a794991
 DIST go1.8.3.src.tar.gz 15345996 SHA256 
5f5dea2447e7dcfdc50fa6b94c512e58bfba5673c039259fd843f68829d99fa6 SHA512 
c6e67dd9e3acdf2aa776d920f91f3fb1802d624ba5d51e06b2c7c6b71bcfaf91f4024f7a442cecde69175c589f7f1163f0ae86d887e15ddde710e53ce0961284
 WHIRLPOOL 
918a13b5323c77093428890ac4759daa3f40bd9379df0b862f9ba0fcf7f0f99eb83e37294dec25329a792573b97ddccb417a43dc8cccbd41bf17df6b01ea77f2
+DIST go1.9.1.src.tar.gz 16377700 SHA256 
a84afc9dc7d64fe0fa84d4d735e2ece23831a22117b50dafc75c1484f1cb550e SHA512 
3c5d11089a54c61acd1a4fad9618ddb2058cc783a54564407ee50e37c864deaadfd5effeab623080c136a599096f448aae091ef41d0afca1abfcdb98adf4a793
 WHIRLPOOL 
1cdfddfbe2b432a783d821bf6caf6615868de7eeb71667fd38d77a115b87c0d5321d6928f271bbe7edd6e05d56f5a0e05b6fceeec5dd025673c0a0ad9224ad3e
 DIST go1.9.src.tar.gz 16377363 SHA256 
a4ab229028ed167ba1986825751463605264e44868362ca8e7accc8be057e993 SHA512 
70c4b892b6883fb21fc1a547a2b8d174df8c7aca282a3906e3816b4442b16c5da578b69c19443122a4a45e66fc95d170528d826b70932af09f4afd2a46615d74
 WHIRLPOOL 
ffd7c37ac49ac55546f0712cdfae9eda83c6cbc10a6b495b021d7a5076bac1063f0a322622692f1b67142a995da2de7e297a43727502331788adac43163848a2

diff --git a/dev-lang/go/go-1.9.1.ebuild b/dev-lang/go/go-1.9.1.ebuild
new file mode 100644
index 000..b22bdb39015
--- /dev/null
+++ b/dev-lang/go/go-1.9.1.ebuild
@@ -0,0 +1,227 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+
+MY_PV=${PV/_/}
+
+inherit toolchain-funcs
+
+BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist;
+BOOTSTRAP_VERSION="bootstrap-1.8"
+BOOTSTRAP_URI="
+amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-${BOOTSTRAP_VERSION}.tbz )
+arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-${BOOTSTRAP_VERSION}.tbz )
+arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-${BOOTSTRAP_VERSION}.tbz )
+ppc64? (
+   ${BOOTSTRAP_DIST}/go-linux-ppc64-${BOOTSTRAP_VERSION}.tbz
+   ${BOOTSTRAP_DIST}/go-linux-ppc64le-${BOOTSTRAP_VERSION}.tbz
+)
+s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-${BOOTSTRAP_VERSION}.tbz )
+x86? ( ${BOOTSTRAP_DIST}/go-linux-386-${BOOTSTRAP_VERSION}.tbz )
+amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-${BOOTSTRAP_VERSION}.tbz )
+x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-${BOOTSTRAP_VERSION}.tbz )
+x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-${BOOTSTRAP_VERSION}.tbz )
+x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-${BOOTSTRAP_VERSION}.tbz )
+"
+
+case ${PV}  in
+**)
+   EGIT_REPO_URI="https://github.com/golang/go.git;
+   inherit git-r3
+   ;;
+*)
+   SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz "
+   S="${WORKDIR}"/go
+   case ${PV} in
+   *_beta*|*_rc*) ;;
+   *)
+   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd 
~x86-fbsd ~x64-macos ~x64-solaris"
+   # The upstream tests fail under portage but pass if the build is
+   # run according to their documentation [1].
+   # I am restricting the tests on released versions until this is
+   # solved.
+   # [1] https://golang.org/issues/18442
+

[gentoo-commits] repo/gentoo:master commit in: net-p2p/go-ipfs-bin/

2017-10-04 Thread Patrice Clement
commit: 926359fd5e9d4fdd4e902f0cc91ee6b35ef526e8
Author: David Roman  gmail  com>
AuthorDate: Wed Oct  4 19:02:03 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Oct  4 21:33:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=926359fd

net-p2p/go-ipfs-bin: version bump to 0.4.11.

Closes: https://github.com/gentoo/gentoo/pull/5860

 net-p2p/go-ipfs-bin/Manifest  |  2 ++
 net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.11.ebuild | 25 +
 2 files changed, 27 insertions(+)

diff --git a/net-p2p/go-ipfs-bin/Manifest b/net-p2p/go-ipfs-bin/Manifest
index 55b4f888216..200089da040 100644
--- a/net-p2p/go-ipfs-bin/Manifest
+++ b/net-p2p/go-ipfs-bin/Manifest
@@ -1,5 +1,7 @@
 DIST go-ipfs_v0.4.10_linux-386.tar.gz 8134700 SHA256 
d0e2bb7f725dc08407a217b93518bf150468a830a4c202f4298e834b134038f6 SHA512 
97b9aca8a3bfcaa219ede33ed7ac53c0b5b75987bd3e63af5311ff9058a96e2d5cf983529c849d2191a9dee6d7907a4bf412b853aab8ea6f542c7c9c1881e136
 WHIRLPOOL 
8bed53f8220b446b528bbb3fcf01e8ed30f5074f7f86322b10fb459f9679381f8a436d1d1a7e4ee95fa5e40afa6db4a590b295b87eda20e27f1a9917f0fcf389
 DIST go-ipfs_v0.4.10_linux-amd64.tar.gz 8580949 SHA256 
c9d4ee36c3d8ea84c56243e63ee4873f43b0fca77d5afa5053ef2c21f286e9cb SHA512 
4c19392e1c144e0e95713c5a37211fbf8b0c8f483da2afb577538467a1752a9e51720d7360d38b4864efb69c8b66cb577e4f250fcdfde8e13da771efe83be14d
 WHIRLPOOL 
277a9ea7428283db78320b68eded8fa268f06346935a9545c75dce7d525c95970129c3dc4fadb738390b380f20437d557be6bb7460b201ed6ac4ada02c45f8ce
+DIST go-ipfs_v0.4.11_linux-386.tar.gz 10036071 SHA256 
e5929c5cdf3a48158b06c465a94f807aaea1b8ff0c6ddaf107b0dd28d348e9d8 SHA512 
ffeb43a7baf9f74a8be7d832105ad81e04057026a06ba33425d03804ec33429021ab7ef1f7c427426326d1b87213b867bec5ac3a96f2ada6e1f090f5b36e90a3
 WHIRLPOOL 
6d7e0be1fca8a0e42f43515105cbffe2c6a5944497810e89577ce64cf4247271d2025ba2e7919445fbf2d9be4e113dfeb5b44e566afba3f34ae3d4f61667676c
+DIST go-ipfs_v0.4.11_linux-amd64.tar.gz 12578502 SHA256 
a638ac436597ba20b1a25b289b8c89cfa31a1fc7399de66a35ba04e45562b482 SHA512 
b30772902c82b1ef7271e1e498133f2e605763a648674967e27e71d5c098dbcae227852da652018f6beac984371b04b9fa77b90286dbbb3f39b6efa2a181c5f0
 WHIRLPOOL 
d0c848f67d1b9241c680f2ff280d9bd57af5a8b383224826dcc9de9a3a574094ed946f91aaab918e3be9c6d85e54cafe4bede338dbd88590697d6f75859acb1f
 DIST go-ipfs_v0.4.1_linux-386.tar.gz 6653590 SHA256 
fcac75275327d9309f6370b06dc5c23516019ed06fb0e41a601c620ecc1a SHA512 
34ffe88359a12efd3f951b967cc03a7e279270d95b8e00958cfe08c07c0669cbfbf8d01ed68f69be86e39caa20b82893ac17bf868ce56de4c486ac80bed0ab59
 WHIRLPOOL 
80c5f6b921df53969c5d0b7d0045bfe766bab15d2221ae21c1bec8f87f1bdc9988f53bbb70968afe9ce0b01c8d0f1394299c7c9d51539f8c82387bd8c6461454
 DIST go-ipfs_v0.4.1_linux-amd64.tar.gz 7112859 SHA256 
145b32f49e971eeb1545dc36321ae52e7b4ae4362b5b8aca6e4f6ab407aa5498 SHA512 
1bee2c5b744d0727b95c1151da1d3e02c0c4b1c439e8d813de740571c667f83ee6e535fb66ba74714355c5edff5bd9b19425429c65cc50eaeee813f6479e0d5e
 WHIRLPOOL 
58f666faa7793d5a2e7ca2430e58d6e2363769cc90015ed2be0e5f3759ac617842f45ad588a8fb6dacafb9e0299f4cf25313b4ac89dba2eb78d295f9db25
 DIST go-ipfs_v0.4.2_linux-386.tar.gz 7141495 SHA256 
db015247e500289533ce5b514e8f8649d26ffd0d45d993f6941065b9759e393e SHA512 
02aa3bc06727da4084219f51de8a384e4a4ab351fae17cc0bda0e1255629dd69443eb5a9665c901660490ca1116876f6ad879420edf20df02172513ddfcb3025
 WHIRLPOOL 
0cd26f8fb625262fa0b6dfcff0a2745b59085498bbf24f84018c939de16ee6ccdfa2817b30328aa37f50bee8b4a79c34a751ded877fe207309a540f59ae86ed9

diff --git a/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.11.ebuild 
b/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.11.ebuild
new file mode 100644
index 000..8e07ed6fc87
--- /dev/null
+++ b/net-p2p/go-ipfs-bin/go-ipfs-bin-0.4.11.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="go-ipfs is the main implementation of IPFS."
+HOMEPAGE="https://ipfs.io/;
+SRC_URI="amd64? ( 
https://dist.ipfs.io/go-ipfs/v${PV}/go-ipfs_v${PV}_linux-amd64.tar.gz )
+   x86? ( 
https://dist.ipfs.io/go-ipfs/v${PV}/go-ipfs_v${PV}_linux-386.tar.gz )"
+# Also available arches:
+#  arm? ( 
https://dist.ipfs.io/go-ipfs/v${PV}/go-ipfs_v${PV}_linux-arm.tar.gz )
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~x86 ~amd64"
+IUSE="+fuse"
+
+RDEPEND="fuse? ( sys-fs/fuse )"
+S="${WORKDIR}/go-ipfs"
+
+QA_PREBUILT="/usr/bin/ipfs"
+
+src_install() {
+   dobin ipfs
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/files/, app-admin/logrotate/

2017-10-04 Thread José María Alonso
commit: 23207c9e7edc2e79ba8675c5bfbe891611a785b3
Author: Chema Alonso Josa  gentoo  org>
AuthorDate: Wed Oct  4 20:48:06 2017 +
Commit: José María Alonso  gentoo  org>
CommitDate: Wed Oct  4 20:48:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23207c9e

app-admin/logrotate: Adds temporary directory for systemd

Gentoo-Bug: 357275
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-admin/logrotate/files/logrotate.tmpfiles   |  1 +
 app-admin/logrotate/logrotate-3.12.3-r2.ebuild | 95 ++
 2 files changed, 96 insertions(+)

diff --git a/app-admin/logrotate/files/logrotate.tmpfiles 
b/app-admin/logrotate/files/logrotate.tmpfiles
new file mode 100644
index 000..dfb4ab66c13
--- /dev/null
+++ b/app-admin/logrotate/files/logrotate.tmpfiles
@@ -0,0 +1 @@
+d /var/lib/misc

diff --git a/app-admin/logrotate/logrotate-3.12.3-r2.ebuild 
b/app-admin/logrotate/logrotate-3.12.3-r2.ebuild
new file mode 100644
index 000..89ad370fbf1
--- /dev/null
+++ b/app-admin/logrotate/logrotate-3.12.3-r2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd
+
+DESCRIPTION="Rotates, compresses, and mails system logs"
+HOMEPAGE="https://github.com/logrotate/logrotate;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="acl +cron selinux"
+
+CDEPEND="
+   >=dev-libs/popt-1.5
+   selinux? ( sys-libs/libselinux )
+   acl? ( virtual/acl )"
+
+DEPEND="${CDEPEND}
+   >=sys-apps/sed-4"
+
+RDEPEND="${CDEPEND}
+   selinux? ( sec-policy/selinux-logrotate )
+   cron? ( virtual/cron )"
+
+STATEFILE="/var/lib/misc/logrotate.status"
+OLDSTATEFILE="/var/lib/logrotate.status"
+
+move_old_state_file() {
+   elog "logrotate state file is now located at ${STATEFILE}"
+   elog "See bug #357275"
+   if [[ -e "${OLDSTATEFILE}" ]] ; then
+   elog "Moving your current state file to new location: 
${STATEFILE}"
+   mv -n "${OLDSTATEFILE}" "${STATEFILE}"
+   fi
+}
+
+install_cron_file() {
+   exeinto /etc/cron.daily
+   newexe "${S}"/examples/logrotate.cron "${PN}"
+}
+
+PATCHES=(
+   "${FILESDIR}/${P}-ignore-hidden.patch"
+   "${FILESDIR}/${P}-fbsd.patch"
+)
+
+src_prepare() {
+   default
+   sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' 
"${S}"/examples/logrotate.{cron,service} || die
+}
+
+src_configure() {
+   econf $(use_with acl) $(use_with selinux) 
--with-state-file-path="${STATEFILE}"
+}
+
+src_test() {
+   emake test
+}
+
+src_install() {
+   insinto /usr
+   dobin logrotate
+   doman logrotate.8
+   dodoc ChangeLog.md examples/logrotate-default
+
+   insinto /etc
+   doins "${FILESDIR}"/logrotate.conf
+
+   use cron && install_cron_file
+
+   systemd_dounit examples/logrotate.{service,timer}
+   systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}".conf
+
+   keepdir /etc/logrotate.d
+}
+
+pkg_postinst() {
+   elog "The ${PN} binary is now installed under /usr/bin. Please"
+   elog "update your links"
+   elog
+   move_old_state_file
+   elog
+   if [[ -z ${REPLACING_VERSIONS} ]] ; then
+   elog "If you wish to have logrotate e-mail you updates, please"
+   elog "emerge virtual/mailx and configure logrotate in"
+   elog "/etc/logrotate.conf appropriately"
+   elog
+   elog "Additionally, /etc/logrotate.conf may need to be modified"
+   elog "for your particular needs. See man logrotate for details."
+   fi
+}



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

2017-10-04 Thread Tim Harder
commit: db3a5a70d0520dfc37b8d1fb8357f713074b1c34
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Oct  4 20:28:06 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Oct  4 20:31:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db3a5a70

dev-python/snakeoil: version bump to 0.7.4

 dev-python/snakeoil/Manifest  |  1 +
 dev-python/snakeoil/snakeoil-0.7.4.ebuild | 35 +++
 2 files changed, 36 insertions(+)

diff --git a/dev-python/snakeoil/Manifest b/dev-python/snakeoil/Manifest
index 6933a862420..d964b0cc7f6 100644
--- a/dev-python/snakeoil/Manifest
+++ b/dev-python/snakeoil/Manifest
@@ -1,2 +1,3 @@
 DIST snakeoil-0.7.1.tar.gz 214261 SHA256 
e210db2713da8431eea6b6b3afc98bea829c6612733e6309871b2614d08dcc5b SHA512 
1c0d03d50a1738cbb3cceecec9445585d089ea535657467871930cca7282d3426780451fb45774e16b05714a1da13766d68f62def7a2d957e2124bd71335d0a0
 WHIRLPOOL 
aa20cabbceaae564802b8ed5a7a6e5dc1039d27021d477179bcad28d4317b875cbddb889e7196fc1c091a802dd28f8c7efe1c6680b170a54c5e2b07c23052623
 DIST snakeoil-0.7.3.tar.gz 301229 SHA256 
c51ba2e3e6f59b7988afd9ad49bf37e9b155fe4a54da3fa11fc728e02ebf5ea3 SHA512 
a3b303a6b5da9e12b2eef8ffbd86bae173ef5cd8c2c2d36e818af8c228519fa44bf79c7f8122cc5e3c555f47e904dc766ceb8393dbef6f2edd9a218c7080b95e
 WHIRLPOOL 
988c3a9eb07e251908628f4c899827b868432979759fd8a935386ed843f89cca855f1262cd88b8ba5aa1a0ad088e3942ec94d818282d086036ac03add58c0e23
+DIST snakeoil-0.7.4.tar.gz 301878 SHA256 
67280c86e4b02c34100603d7525270c0017e0d182df54ad31ec2e5c145e69ceb SHA512 
b3ae2223a267fa74699664470a4c4f6888cf2b68e688fe61d3acca85e00a138c3a037482ef304ee26f326cba252b473d265dcd72d0e0ab5723f4b0ed6e5e04ce
 WHIRLPOOL 
c76905b7540ad1ab2186d2ce9a75a55660eb343a1cfefc835f8012f3cf10ad706ee837a995085fa327f38de8f790cc2155c540e5b0d2a6f90a0aebbf7198c7bb

diff --git a/dev-python/snakeoil/snakeoil-0.7.4.ebuild 
b/dev-python/snakeoil/snakeoil-0.7.4.ebuild
new file mode 100644
index 000..c037456a6eb
--- /dev/null
+++ b/dev-python/snakeoil/snakeoil-0.7.4.ebuild
@@ -0,0 +1,35 @@
+# 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} )
+PYTHON_REQ_USE="threads(+)"
+inherit distutils-r1
+
+if [[ ${PV} == * ]] ; then
+   EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git;
+   inherit git-r3
+else
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86"
+   SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+fi
+
+DESCRIPTION="misc common functionality and useful optimizations"
+HOMEPAGE="https://github.com/pkgcore/snakeoil;
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/mock[${PYTHON_USEDEP}] )"
+[[ ${PV} ==  ]] && DEPEND+=" $(python_gen_cond_dep 
'dev-python/cython[${PYTHON_USEDEP}]' 'python3*')"
+
+python_configure_all() {
+   # disable snakeoil 2to3 caching
+   unset PY2TO3_CACHEDIR
+}
+
+python_test() {
+   esetup.py test
+}



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

2017-10-04 Thread Tim Harder
commit: 01d14e2821bf684570c5365e7253739d2620c573
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Oct  4 20:30:13 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Oct  4 20:31:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d14e28

dev-python/pychroot: version bump to 0.9.18

 dev-python/pychroot/Manifest | 1 +
 dev-python/pychroot/{pychroot-.ebuild => pychroot-0.9.18.ebuild} | 2 +-
 dev-python/pychroot/pychroot-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/pychroot/Manifest b/dev-python/pychroot/Manifest
index 296755c78e0..003ab19017c 100644
--- a/dev-python/pychroot/Manifest
+++ b/dev-python/pychroot/Manifest
@@ -1,2 +1,3 @@
 DIST pychroot-0.9.16.tar.gz 31027 SHA256 
8bcfde4f045d34181ab6ec869abb6608c1340de4dd15ceac003287ec610d221d SHA512 
6e35c7b40ad27d234c855abf1857aa6579583d848b111559de21edfa0bc6987e08d1d122924101e2e9bdf37886591b7291a607ed22cf2c50aa11b32f7ea65495
 WHIRLPOOL 
234cdd15e1cda4473d061ec03f8be75560785ca53c441750372d34545e6e0a1d068a2bf9f652cc60486793fb294d3af1d68834602ab0e0160e4194a2a0f6a98d
 DIST pychroot-0.9.17.tar.gz 32036 SHA256 
4556d110ab3270c2eec817c1e9573e14fe851a9034ee45b4d96b2695f812c467 SHA512 
d99b3875e72fc8553d29cc87c4a30b714cc5dcfbff717eb79be26b1cb0590a1c7dab8dcf66528b2805e5eb91a7619c4015b08ff2194470d9d41e94d82bc44971
 WHIRLPOOL 
7790adeaa8d7699e01a79adfc6c51d9bdf40cec03c1609b1446d8c18b0db2002492a36671d4b37e4ac1e51ef347c663a8e91033722dd4276044a6fe6424f9d38
+DIST pychroot-0.9.18.tar.gz 32879 SHA256 
ec78082c9ea8a30733ac1cf9773431fe118fb4cbeaf1098572c3b8e4e16eb7aa SHA512 
59c8750c9ba8d601eca485079c04d4153bba92531dbd30fba0104694e4435d76e65b762b76ef89a6a6f8908dd6054d1d95fe4be74825ac1c5a56e473370dfa41
 WHIRLPOOL 
6e69c740bbb93ab8e88555e0c7e72ec5e4cde577c6b687055385df0ad7174e992f5a9410e03dd041309e57924fb70b92f14078c665c06d05d6c87571815b29e1

diff --git a/dev-python/pychroot/pychroot-.ebuild 
b/dev-python/pychroot/pychroot-0.9.18.ebuild
similarity index 95%
copy from dev-python/pychroot/pychroot-.ebuild
copy to dev-python/pychroot/pychroot-0.9.18.ebuild
index fe3de49275b..6cb401faea5 100644
--- a/dev-python/pychroot/pychroot-.ebuild
+++ b/dev-python/pychroot/pychroot-0.9.18.ebuild
@@ -23,7 +23,7 @@ IUSE="test"
 if [[ ${PV} == * ]]; then
RDEPEND="=dev-python/snakeoil-[${PYTHON_USEDEP}]"
 else
-   RDEPEND=">=dev-python/snakeoil-0.7.2[${PYTHON_USEDEP}]"
+   RDEPEND=">=dev-python/snakeoil-0.7.4[${PYTHON_USEDEP}]"
 fi
 
 DEPEND="${RDEPEND}

diff --git a/dev-python/pychroot/pychroot-.ebuild 
b/dev-python/pychroot/pychroot-.ebuild
index fe3de49275b..6cb401faea5 100644
--- a/dev-python/pychroot/pychroot-.ebuild
+++ b/dev-python/pychroot/pychroot-.ebuild
@@ -23,7 +23,7 @@ IUSE="test"
 if [[ ${PV} == * ]]; then
RDEPEND="=dev-python/snakeoil-[${PYTHON_USEDEP}]"
 else
-   RDEPEND=">=dev-python/snakeoil-0.7.2[${PYTHON_USEDEP}]"
+   RDEPEND=">=dev-python/snakeoil-0.7.4[${PYTHON_USEDEP}]"
 fi
 
 DEPEND="${RDEPEND}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: f6417996b3f032b0cf7587921f7946bdd1444ff6
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Sep 17 21:39:27 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=f6417996

EAPI 7 has BROOT

Bug: https://bugs.gentoo.org/317337

 eapi-differences.tex |  4 
 ebuild-env-vars.tex  | 33 +
 2 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 9205125..af28b7a 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{BROOT} & \compactfeatureref{broot} &
+No & No & No & No & Yes \\
+
 \t{BDEPEND} & \compactfeatureref{bdepend} &
 No & No & No & No & Yes \\
 
@@ -413,6 +416,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{SYSROOT} and \t{ESYSROOT} added, \featureref{sysroot}.
 \item \t{econf} adds \t{-{}-with-sysroot}, \featureref{econf-options}.
 \item \t{BDEPEND}, \featureref{bdepend}.
+\item \t{BROOT}, \featureref{broot}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index e24a065..e91f36e 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -144,6 +144,13 @@ variable.
 for convenience.  See also the \t{EPREFIX} variable. Only for EAPIs listed
 in table~\ref{tab:offset-env-vars-table} as supporting \t{ESYSROOT}. The 
presence of a trailing
 slash EAPI-dependent as listed in table~\ref{tab:trailing-slash}. \\
+\t{BROOT} &
+\t{src_*} &
+No &
+\featurelabel{broot} The absolute path to the root directory containing 
build dependencies
+satisfied by BDEPEND, typically executable build tools. This includes any 
applicable offset
+prefix. Only for EAPIs listed in table~\ref{tab:offset-env-vars-table} as 
supporting \t{BROOT}.
+The presence of a trailing slash EAPI-dependent as listed in 
table~\ref{tab:trailing-slash}. \\
 \t{T} &
 All &
 Partially\footnote{Consistent and preserved across a single connected 
sequence of install or
@@ -253,19 +260,20 @@ variable.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting various added env variables}
 \label{tab:added-env-vars-table}
-\begin{tabular}{ll}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{\t{MERGE_TYPE}?}} &
   \multicolumn{1}{P{6em}}{\textbf{\t{REPLACING_VERSIONS}?}} &
   \multicolumn{1}{P{6em}}{\textbf{\t{REPLACED_BY_VERSION}?}} &
   \multicolumn{1}{P{6em}}{\textbf{\t{EBUILD_PHASE_FUNC}?}} &
-  \multicolumn{1}{P{6em}}{\textbf{\t{SYSROOT}?}} \\
+  \multicolumn{1}{P{6em}}{\textbf{\t{SYSROOT}?}} &
+  \multicolumn{1}{P{6em}}{\textbf{\t{BROOT}?}} \\
   \midrule
-  0, 1, 2, 3& No  & No  & No  & No  & No  \\
-  4 & Yes & Yes & Yes & No  & No  \\
-  5, 6  & Yes & Yes & Yes & Yes & No  \\
-  7 & Yes & Yes & Yes & Yes & Yes \\
+  0, 1, 2, 3& No  & No  & No  & No  & No  & No  \\
+  4 & Yes & Yes & Yes & No  & No  & No  \\
+  5, 6  & Yes & Yes & Yes & Yes & No  & No  \\
+  7 & Yes & Yes & Yes & Yes & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}
@@ -288,7 +296,7 @@ variable.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting offset-prefix env variables}
 \label{tab:offset-env-vars-table}
-\begin{tabular}{l}
+\begin{tabular}{ll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{\t{EPREFIX}?}} &
@@ -460,17 +468,18 @@ If the path specifies the system root directory, it will 
be empty.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{Variables that always or never end with a trailing slash}
 \label{tab:trailing-slash}
-\begin{tabular}{}
+\begin{tabular}{l}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{3}{c}{\textbf{Ends with a trailing slash?}} \\
+  \multicolumn{4}{c}{\textbf{Ends with a trailing slash?}} \\
   &
   \t{ROOT}, \t{EROOT} &
   \t{D}, \t{ED} &
-  \t{SYSROOT}, \t{ESYSROOT} \\
+  \t{SYSROOT}, \t{ESYSROOT} &
+  \t{BROOT} \\
   \midrule
-  0, 1, 2, 3, 4, 5, 6 & always & always & n/a\\
-  7   & never  & never  & never  \\
+  0, 1, 2, 3, 4, 5, 6 & always & always & n/a& n/a\\
+  7   & never  & never  & never  & never  \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 7f8bb327a19ae6b510cee1df7613f2570ade01e0
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 16:42:13 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:25:38 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=7f8bb327

EAPI 7 has binding leftmost-of dep groups (||=).

Bug: https://bugs.gentoo.org/489458

 dependencies.tex | 45 ++---
 eapi-differences.tex |  4 
 2 files changed, 42 insertions(+), 7 deletions(-)

diff --git a/dependencies.tex b/dependencies.tex
index 5773aef..d9592d9 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -98,6 +98,12 @@ be surrounded on both sides by whitespace, except at the 
start and end of the st
 of (a dependency item of any kind followed by whitespace), followed by a 
close parenthesis.
 More formally: \t{any-of} \t{::=} \t{'||' whitespace '(' whitespace (item 
whitespace)* ')'}.
 Permitted in \t{DEPEND}, \t{BDEPEND}, \t{RDEPEND}, \t{PDEPEND}, 
\t{LICENSE}, \t{REQUIRED_USE}.
+\item \featurelabel{binding-leftmost-of} A binding leftmost-of group, which 
consists of the string
+\t{||=}, followed by whitespace, followed by an open parenthesis, followed 
by whitespace,
+followed by zero or more of (a dependency item of any kind followed by 
whitespace), followed by
+a close parenthesis.  More formally: \t{any-of} \t{::=} \t{'||=' 
whitespace '(' whitespace (item
+whitespace)* ')'}.  Permitted in \t{DEPEND}, \t{BDEPEND}, \t{RDEPEND}, 
\t{PDEPEND} in EAPIs
+listed in table~\ref{tab:dep-group-table} as supporting \t{||=}\ groups.
 \item An exactly-one-of group, which consists of the string 
\t{\textasciicircum\textasciicircum},
 followed by whitespace, followed by an open parenthesis, followed by 
whitespace, followed by
 zero or more of (a dependency item of any kind followed by whitespace), 
followed by a close
@@ -109,7 +115,7 @@ be surrounded on both sides by whitespace, except at the 
start and end of the st
 zero or more of (a dependency item of any kind followed by whitespace), 
followed by a close
 parenthesis. More formally: \t{at-most-one-of} \t{::=} \t{'??'\ whitespace 
'(' whitespace
 (item whitespace)* ')'}. Permitted in \t{REQUIRED_USE} in EAPIs listed in
-table~\ref{tab:at-most-one-of-table} as supporting \t{REQUIRED_USE ??}\ 
groups.
+table~\ref{tab:dep-group-table} as supporting \t{REQUIRED_USE ??}\ groups.
 \item A use-conditional group, which consists of an optional exclamation mark, 
followed by
 a use flag name, followed by a question mark, followed by whitespace, 
followed by
 an open parenthesis, followed by whitespace, followed by zero or more of 
(a dependency item
@@ -150,15 +156,17 @@ In particular, note that whitespace is not optional.
 \end{centertable}
 
 \ChangeWhenAddingAnEAPI{7}
-\begin{centertable}{EAPIs supporting \t{REQUIRED_USE ??}\ groups}
-\label{tab:at-most-one-of-table}
-\begin{tabular}{ll}
+\begin{centertable}{EAPIs supporting additional group types}
+\label{tab:dep-group-table}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{1}{c}{\textbf{Supports \t{REQUIRED_USE ??}\ groups?}} \\
+  \multicolumn{1}{c}{\textbf{Supports \t{REQUIRED_USE ??}\ groups?}} &
+  \multicolumn{1}{c}{\textbf{Supports \t{||=}\ groups?}} \\
   \midrule
-  0, 1, 2, 3, 4 & No  \\
-  5, 6, 7   & Yes \\
+  0, 1, 2, 3, 4 & No  & No  \\
+  5, 6  & Yes & No  \\
+  7 & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}
@@ -186,6 +194,29 @@ considered to be matched if its associated package 
dependency specification is n
 
 An empty any-of group counts as being matched.
 
+\subsection{Binding leftmost-of dependency specifications}
+
+Any use-conditional group that is an immediate child of a binding leftmost-of 
group, if not enabled
+(disabled for an exclamation mark prefixed use flag name), is not considered a 
member of the binding
+leftmost-of group for match purposes.
+
+In a binding leftmost-of group, at least one immediate child element must be 
matched. A blocker is
+considered to be matched if its associated package dependency specification is 
not matched.
+In addition, for runtime dependencies, indicates that the package will break 
unless the dependency
+corresponding to the first immediate child (in order of listing) matched in 
\t{ESYSROOT} at the time
+the package was built is satisfied.
+
+An empty binding leftmost-of group counts as being matched.
+
+To implement the binding leftmost-of operator, the package manager will need 
to store which of
+the immediate child elements were matched. This syntax is only for package 
manager use and must not
+be used by ebuilds. Only the first matched child element needs to be indicated.
+
+Whenever the binding leftmost-of group is used in an enabled dependency group, 
the 

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 89207aec09bf4c82c8dc1abbc4feb11792ed5400
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 17:44:06 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:25:38 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=89207aec

EAPI 7 has sandbox directory removal functions.

Bug: https://bugs.gentoo.org/630422

 eapi-differences.tex |  4 
 pkg-mgr-commands.tex | 29 +
 2 files changed, 33 insertions(+)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 441de70..0055070 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{rm*} sandbox functions & \compactfeatureref{sandbox-rm} &
+No & No & No & No & Yes \\
+
 \t{IUSE_RUNTIME} & \compactfeatureref{iuse-runtime} &
 No & No & No & No & Yes \\
 
@@ -475,6 +478,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item automatic enforcing of \t{REQUIRED_USE} is supported, 
\featureref{auto-req-use}.
 \item binding leftmost-of (\t{||=}) dependency group is supported, 
\featureref{binding-leftmost-of}.
 \item runtime-modifiable USE flags (\t{IUSE_RUNTIME}) are supported, 
\featureref{iuse-runtime}.
+\item sandbox path removal flags (\t{rm*}) are supported, 
\featureref{sandbox-rm}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index eac9bc8..70f4d5b 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -88,6 +88,35 @@ argument. Ebuilds must not run any of these commands once 
the current phase func
 \item[adddeny] Add a directory to the deny list.
 \end{description}
 
+\featurelabel{sandbox-rm} Additionally, in EAPIs listed in 
table~\ref{tab:sandbox-command-table}
+as supporting the respective commands, the following commands are available:
+\begin{description}
+\item[rmread] Remove a directory from the permitted read list.
+\item[rmwrite] Remove a directory from the permitted write list.
+\item[rmpredict] Remove a directory from the predict list.
+\item[rmdeny] Remove a directory from the deny list.
+\end{description}
+
+All of those commands match paths exactly. Removing a directory that is not 
present on the list
+is silently ignored.
+
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{Additional sandbox commands by EAPI}
+\label{tab:sandbox-command-table}
+\begin{tabular}{l}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{\t{rmread}?}} &
+  \multicolumn{1}{c}{\textbf{\t{rmwrite}?}} &
+  \multicolumn{1}{c}{\textbf{\t{rmpredict}?}} &
+  \multicolumn{1}{c}{\textbf{\t{rmdeny}?}} \\
+  \midrule
+  0, 1, 2, 3, 4, 5, 6 & No  & No  & No  & No  \\
+  7   & Yes & Yes & Yes & Yes \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
 \subsubsection{Package manager query commands}
 These commands are used to extract information about the system. Ebuilds must 
not run any of
 these commands in parallel with any other package manager command. Ebuilds 
must not run any of



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: a7ee638eb9db7c6a31a2b9a14f051616c8944e22
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Sep 28 16:20:11 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=a7ee638e

EAPI 7 no longer adds trailing slash to ROOT, EROOT, D, ED.

Bug: https://bugs.gentoo.org/465772

 eapi-differences.tex |  5 +
 ebuild-env-vars.tex  | 58 ++--
 2 files changed, 52 insertions(+), 11 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 055e6c6..939c501 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+Trailing slash in \t{ROOT}, \t{D}... & \compactfeatureref{trailing-slash} &
+Yes & Yes & Yes & Yes & No \\
+
 Output cmds can use stdout & \compactfeatureref{output-no-stdout} &
 Yes & Yes & Yes & Yes & No \\
 
@@ -395,6 +398,8 @@ EAPI 7 is EAPI 6 with the following changes:
 \item Version manipulation and comparison functions added, 
\featureref{ver-functions}.
 \item \t{eqawarn} added, \featureref{eqawarn}.
 \item Output commands can no longer use stdout, \featureref{output-no-stdout}.
+\item \t{ROOT}, \t{EROOT}, \t{D}, \t{ED} no longer end with a trailing slash,
+\featureref{trailing-slash}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index 1851aba..fe61ac5 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -121,14 +121,15 @@ variable.
The absolute path to the root directory into which the package is to be 
merged.  Phases which run
with full filesystem access must not touch any files outside of the 
directory given in
\t{ROOT}\@. Also of note is that in a cross-compiling environment, binaries 
inside of \t{ROOT}
-   will not be executable on the build machine, so ebuilds must not call them. 
\t{ROOT} must be
-   non-empty and end in a trailing slash. \\
+   will not be executable on the build machine, so ebuilds must not call them. 
The presence of
+   a trailing slash is EAPI-dependent as listed in 
table~\ref{tab:trailing-slash}. \\
 \t{EROOT} &
 \t{pkg_*} &
 No &
-Contains the path \t{\$\{ROOT\%/\}\$\{EPREFIX\}/} for convenience. See 
also the
-\t{EPREFIX} variable. Only for EAPIs listed in 
table~\ref{tab:offset-env-vars-table} as
-supporting \t{EROOT}. \\
+Contains the concatenation of the paths in \t{ROOT} and \t{EPREFIX} 
variables, for convenience.
+See also the \t{EPREFIX} variable. Only for EAPIs listed
+in table~\ref{tab:offset-env-vars-table} as supporting \t{EROOT}. The 
presence of a trailing
+slash EAPI-dependent as listed in table~\ref{tab:trailing-slash}. \\
 \t{T} &
 All &
 Partially\footnote{Consistent and preserved across a single connected 
sequence of install or
@@ -159,18 +160,21 @@ variable.
 \t{src_install} &
 No &
 Contains the full path to the image directory into which the package 
should be installed.
-Must be non-empty and end in a trailing slash. \\
+The presence of a trailing slash is EAPI-dependent as listed in 
table~\ref{tab:trailing-slash}.
+\\
 \t{D} (continued) &
 \t{pkg_preinst}, \t{pkg_postinst} &
 Yes &
-Contains the full path to the image that is about to be or has just been 
merged. Must be
-non-empty and end in a trailing slash. \\
+Contains the full path to the image that is about to be or has just been 
merged.
+The presence of a trailing slash is EAPI-dependent as listed in 
table~\ref{tab:trailing-slash}.
+\\
 \t{ED} &
 \t{src_install}, \t{pkg_preinst}, \t{pkg_postinst} &
 See \t{D} &
-Contains the path \t{\$\{D\%/\}\$\{EPREFIX\}/} for convenience. See also 
the
-\t{EPREFIX} variable. Only for EAPIs listed in 
table~\ref{tab:offset-env-vars-table} as
-supporting \t{ED}. \\
+Contains the concatenation of the paths in \t{D} and \t{EPREFIX} 
variables, for convenience.
+See also the \t{EPREFIX} variable. Only for EAPIs listed
+in table~\ref{tab:offset-env-vars-table} as supporting \t{ED}. The 
presence of a trailing
+slash EAPI-dependent as listed in table~\ref{tab:trailing-slash}. \\
 \t{DESTTREE} &
 \t{src_install} &
 No &
@@ -420,6 +424,38 @@ behaviour of offset-prefix aware and agnostic is the same 
when \t{EPREFIX} is se
 string in offset-prefix aware EAPIs. The latter do have the variables \t{ED} 
and \t{EROOT} properly
 set, though.
 
+\subsection{Path variables and trailing slash}
+\label{sec:trailing-slash}
+
+Unless specified otherwise, the paths provided through package manager 
variables do not end with
+a trailing slash and can not be empty. A few exceptions to that rule are listed
+in table~\ref{tab:trailing-slash} along with applicable EAPIs.
+
+For EAPIs where those variables are defined to always end with a trailing 
slash, 

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 9559fbd6b367b2868a15f5d9d0e8789f4b40960f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 03:17:43 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:23:29 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=9559fbd6

EAPI 7 removes PORTDIR and ECLASSDIR.

Bug: https://bugs.gentoo.org/373349
Bug: https://bugs.gentoo.org/373351

 eapi-differences.tex |  8 
 ebuild-env-vars.tex  | 18 +++---
 2 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 6e82904..3e06916 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,12 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{PORTDIR} & \compactfeatureref{portdir} &
+Yes & Yes & Yes & Yes & No \\
+
+\t{ECLASSDIR} & \compactfeatureref{eclassdir} &
+Yes & Yes & Yes & Yes & No \\
+
 \t{DESTTREE} & \compactfeatureref{desttree} &
 Yes & Yes & Yes & Yes & No \\
 
@@ -431,6 +437,8 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{package.provided} in profiles banned, \featureref{package-provided}.
 \item \t{DESTTREE} removed, \featureref{desttree}.
 \item \t{INSDESTTREE} removed, \featureref{insdesttree}.
+\item \t{PORTDIR} removed, \featureref{portdir}.
+\item \t{ECLASSDIR} removed, \featureref{eclassdir}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index 0434083..f495014 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -110,11 +110,13 @@ variable.
 \t{PORTDIR} &
 \t{src_*} &
 No &
-The full path to the master repository's base directory. \\
+\featurelabel{portdir} The full path to the master repository's base 
directory.  Only for EAPIs
+listed in table~\ref{tab:removed-env-vars-table} as supporting 
\t{PORTDIR}. \\
 \t{ECLASSDIR} &
 \t{src_*} &
 No &
-The full path to the master repository's eclass directory. \\
+\featurelabel{eclassdir} The full path to the master repository's eclass 
directory.  Only for
+EAPIs listed in table~\ref{tab:removed-env-vars-table} as supporting 
\t{ECLASSDIR}.\\
 \t{ROOT} &
\t{pkg_*} &
No &
@@ -284,17 +286,19 @@ variable.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting various removed env variables}
 \label{tab:removed-env-vars-table}
-\begin{tabular}{l}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{\t{AA}?}} &
   \multicolumn{1}{c}{\textbf{\t{KV}?}} &
   \multicolumn{1}{c}{\textbf{\t{DESTTREE}?}} &
-  \multicolumn{1}{c}{\textbf{\t{INSDESTTREE}?}} \\
+  \multicolumn{1}{c}{\textbf{\t{INSDESTTREE}?}} &
+  \multicolumn{1}{c}{\textbf{\t{PORTDIR}?}} &
+  \multicolumn{1}{c}{\textbf{\t{ECLASSDIR}?}} \\
   \midrule
-  0, 1, 2, 3& Yes & Yes & Yes & Yes \\
-  4, 5, 6   & No  & No  & Yes & Yes \\
-  7 & No  & No  & No  & No  \\
+  0, 1, 2, 3& Yes & Yes & Yes & Yes & Yes & Yes \\
+  4, 5, 6   & No  & No  & Yes & Yes & Yes & Yes \\
+  7 & No  & No  & No  & No  & No  & No  \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 85acabdf359a8fe02b8d1c485560b58cc07a3869
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 23 23:46:32 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=85acabdf

dependencies: Provide a nice summary table for dep APIs

 dependencies.tex | 18 +-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/dependencies.tex b/dependencies.tex
index 92e7bb9..63d8c53 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -26,6 +26,21 @@
 \end{tabular}
 \end{centertable}
 
+\begin{centertable}{Summary of other interfaces related to dependency classes}
+\label{tab:dependency-class-apis}
+\begin{tabular}{lccc}
+  \toprule
+  & \t{BDEPEND} & \t{DEPEND} & \t{RDEPEND}, \t{PDEPEND} \\
+  \midrule
+  binary compatible with & \t{CBUILD} & \t{CHOST} & \t{CHOST} \\
+  base unprefixed path & \t{/} & \t{\$\{SYSROOT\}} & \t{\$\{ROOT\}} \\
+  relevant offset-prefix & \t{\$\{BROOT\}} & \t{\$\{EPREFIX\}} & 
\t{\$\{EPREFIX\}} \\
+  path combined with prefix & \t{\$\{BROOT\}} & \t{\$\{ESYSROOT\}} & 
\t{\$\{EROOT\}} \\
+  PM query option & \t{-b} & \t{-d} & \t{-r} \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
 There are three classes of dependencies supported by ebuilds:
 
 \begin{compactitem}
@@ -51,7 +66,8 @@ as supporting \t{BDEPEND}, the build dependencies are split 
into two subclasses:
 \end{compactitem}
 
 Table~\ref{tab:phase-function-dependency-classes} lists dependencies which 
must be satisfied before
-a particular phase function is executed.
+a particular phase function is executed. Table~\ref{tab:dependency-class-api} 
summarizes
+additional interfaces related to the dependency classes.
 
 In addition, \t{SRC_URI}, \t{HOMEPAGE}, \t{RESTRICT}, \t{PROPERTIES}, 
\t{LICENSE} and
 \t{REQUIRED_USE} use dependency-style specifications to specify their values.



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 3d1573f9f686993713c37f2e7e806ddfd4d57f0c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 17:35:57 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:25:38 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=3d1573f9

EAPI 7 supports runtime-modifiable USE flags.

Bug: https://bugs.gentoo.org/424283

 dependencies.tex |  3 ++-
 eapi-differences.tex |  4 
 ebuild-env-vars.tex  |  5 -
 ebuild-vars.tex  | 16 
 eclasses.tex | 11 ++-
 metadata-cache.tex   |  1 +
 pkg-mgr-commands.tex |  4 
 7 files changed, 33 insertions(+), 11 deletions(-)

diff --git a/dependencies.tex b/dependencies.tex
index d9592d9..acc447c 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -181,7 +181,8 @@ In a use-conditional group, if the associated use flag is 
enabled (or disabled i
 exclamation mark prefix), all of the child elements must be matched.
 
 It is an error for a flag to be used if it is not included in 
\t{IUSE_EFFECTIVE} as described in
-section~\ref{sec:use-iuse-handling}.
+section~\ref{sec:use-iuse-handling}. Flags listed in \t{IUSE_RUNTIME} can be 
used only
+in \t{RDEPEND}, \t{PDEPEND} and \t{REQUIRED_USE}.
 
 \subsection{Any-of dependency specifications}
 

diff --git a/eapi-differences.tex b/eapi-differences.tex
index a89f5f8..441de70 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{IUSE_RUNTIME} & \compactfeatureref{iuse-runtime} &
+No & No & No & No & Yes \\
+
 \t{||=} dependency group & \compactfeatureref{binding-leftmost-of} &
 No & No & No & No & Yes \\
 
@@ -471,6 +474,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{die} guaranteed to work in a subshell environment, 
\featureref{subshell-die}.
 \item automatic enforcing of \t{REQUIRED_USE} is supported, 
\featureref{auto-req-use}.
 \item binding leftmost-of (\t{||=}) dependency group is supported, 
\featureref{binding-leftmost-of}.
+\item runtime-modifiable USE flags (\t{IUSE_RUNTIME}) are supported, 
\featureref{iuse-runtime}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index f495014..42bd3a2 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -355,10 +355,12 @@ table~\ref{tab:locale-settings}.
 \subsection{USE and IUSE handling}
 \label{sec:use-iuse-handling}
 
-This section discusses the handling of four variables:
+This section discusses the handling of five variables:
 
 \begin{description}
 \item[IUSE] is the variable calculated from the \t{IUSE} values defined in 
ebuilds and eclasses.
+\item[IUSE_RUNTIME] is the variable calculated from the \t{IUSE_RUNTIME} 
values defined in ebuilds
+and eclasses.
 \item[IUSE_REFERENCEABLE] is a variable calculated from \t{IUSE} and a variety 
of other sources
 described below. It is purely a conceptual variable; it is not exported to 
the ebuild
 environment. Values in \t{IUSE_REFERENCEABLE} may legally be used in 
queries from other
@@ -392,6 +394,7 @@ as supporting profile defined \t{IUSE} injection, 
\t{IUSE_EFFECTIVE} contains th
 
 \begin{compactitem}
 \item All values in the calculated \t{IUSE} value.
+\item All values in the calculated \t{IUSE_RUNTIME} value, in EAPIs where this 
variable is defined.
 \item All values in the profile \t{IUSE_IMPLICIT} variable.
 \item All values in the profile variable named \t{USE_EXPAND_VALUES_\$\{v\}}, 
where \t{\$\{v\}}
 is any value in the intersection of the profile \t{USE_EXPAND_UNPREFIXED} 
and

diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index e4efcae..17e40ed 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
@@ -67,6 +67,12 @@ Ebuilds may define any of the following variables:
 \t{IUSE} defaults, any use flag name in \t{IUSE} may be prefixed by at 
most one of a plus or a
 minus sign. If such a prefix is present, the package manager may use it as 
a suggestion as to
 the default value of the use flag if no other configuration overrides it.
+\item[IUSE_RUNTIME] \featurelabel{iuse-runtime} Additional \t{USE} flags used 
by the ebuild whose
+values can be altered in place without rebuilding from source. The flags 
listed
+in \t{IUSE_RUNTIME} must not alter the package built. They must not be 
referenced at build time,
+except for informational purposes. A single flag can not be listed in both 
\t{IUSE_RUNTIME}
+and \t{IUSE} simultaneously. Uses the same syntax as \t{IUSE}. Only in 
EAPIs listed
+in table~\ref{tab:optional-vars-table} as supporting \t{IUSE_RUNTIME}.
 \item[REQUIRED_USE] \featurelabel{required-use} Zero or more assertions that 
must be met by the
 configuration of \t{USE} flags to be valid for this ebuild. See 
section~\ref{sec:required-use}
 for description and section~\ref{sec:dependencies} for full syntax. Only 
in EAPIs listed in
@@ -103,14 +109,16 @@ Ebuilds 

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: e2757cd280f2904e3112f43464c0fc483634f0ec
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 14:02:49 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:24:18 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=e2757cd2

EAPI 7 bans dolib and libopts.

Bug: https://bugs.gentoo.org/630416

 eapi-differences.tex |  7 +++
 pkg-mgr-commands.tex | 22 ++
 2 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index d9b5558..70eadb5 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -224,6 +224,12 @@ Most utilities die & \compactfeatureref{die-on-failure} &
 \t{dohtml} & \compactfeatureref{banned-commands} &
 Yes & Yes & Yes & Yes & Banned \\
 
+\t{dolib} & \compactfeatureref{banned-commands} &
+Yes & Yes & Yes & Yes & Banned \\
+
+\t{libopts} & \compactfeatureref{banned-commands} &
+Yes & Yes & Yes & Yes & Banned \\
+
 PM query options & \compactfeatureref{pm-query-options} &
 No & No & \t{-{}-host-root} & \t{-{}-host-root} & \t{-b}, \t{-d}, \t{-r} \\
 
@@ -447,6 +453,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{PORTDIR} removed, \featureref{portdir}.
 \item \t{ECLASSDIR} removed, \featureref{eclassdir}.
 \item \t{domo} installs to \t{/usr/share/locale}, ignoring \t{into}, 
\featureref{domo-path}.
+\item \t{dolib} and \t{libopts} banned, \featureref{banned-commands}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index ae9a615..f3849fc 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -50,20 +50,22 @@ called, the package manager must abort the build process 
indicating an error.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{Banned commands}
 \label{tab:banned-commands-table}
-\begin{tabular}{l}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{4}{c}{\textbf{Command banned?}} \\
+  \multicolumn{6}{c}{\textbf{Command banned?}} \\
   \multicolumn{1}{c}{} &
   \multicolumn{1}{c}{\textbf{\t{dohard}}} &
   \multicolumn{1}{c}{\textbf{\t{dosed}}} &
   \multicolumn{1}{c}{\textbf{\t{einstall}}} &
-  \multicolumn{1}{c}{\textbf{\t{dohtml}}} \\
+  \multicolumn{1}{c}{\textbf{\t{dohtml}}} &
+  \multicolumn{1}{c}{\textbf{\t{dolib}}} &
+  \multicolumn{1}{c}{\textbf{\t{libopts}}} \\
   \midrule
-  0, 1, 2, 3& No  & No  & No  & No  \\
-  4, 5  & Yes & Yes & No  & No  \\
-  6 & Yes & Yes & Yes & No  \\
-  7 & Yes & Yes & Yes & Yes \\
+  0, 1, 2, 3& No  & No  & No  & No  & No  & No  \\
+  4, 5  & Yes & Yes & No  & No  & No  & No  \\
+  6 & Yes & Yes & Yes & No  & No  & No  \\
+  7 & Yes & Yes & Yes & Yes & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}
@@ -503,7 +505,9 @@ can be extended or reduced (see below). The options that 
can be passed to \t{doh
 \item[dolib.so] As for \t{dolib.a} except each file is installed with mode 
\t{0755}.
 
 \item[dolib] As for \t{dolib.a} except that the default install mode can be 
overriden with
-the \t{install} options set by the most recent \t{libopts} call.
+the \t{install} options set by the most recent \t{libopts} call. In EAPIs 
listed
+in table~\ref{tab:banned-commands-table}, this command is banned as per
+section~\ref{sec:banned-commands}.
 
 \begin{algorithm}
 \caption{Determining the library directory} \label{alg:ebuild-libdir}
@@ -714,6 +718,8 @@ has returned.
 \item[exeopts] Sets the options passed by \t{doexe} et al.\ to the \t{install} 
command.
 
 \item[libopts] Sets the options passed by \t{dolib} et al.\ to the \t{install} 
command.
+In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is 
banned as
+per section~\ref{sec:banned-commands}.
 
 \end{description}
 



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: b000f78b21677fb5f574ef3a23ce299b6506996b
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 03:13:57 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:23:21 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=b000f78b

EAPI 7 removes DESTTREE and INSDESTTREE.

Bug: https://bugs.gentoo.org/173630

 eapi-differences.tex |  8 
 ebuild-env-vars.tex  | 18 --
 2 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index d6bf6b7..6e82904 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,12 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{DESTTREE} & \compactfeatureref{desttree} &
+Yes & Yes & Yes & Yes & No \\
+
+\t{INSDESTTREE} & \compactfeatureref{insdesttree} &
+Yes & Yes & Yes & Yes & No \\
+
 \t{package.provided} & \compactfeatureref{package-provided} &
 Yes & Yes & Yes & Yes & No \\
 
@@ -423,6 +429,8 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{best_version} and \t{has_version} drops the \t{-{}-host-root} option 
in favor of the
   \t{-b}, \t{-d}, and \t{-r} options, \featureref{pm-query-options}.
 \item \t{package.provided} in profiles banned, \featureref{package-provided}.
+\item \t{DESTTREE} removed, \featureref{desttree}.
+\item \t{INSDESTTREE} removed, \featureref{insdesttree}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index e91f36e..0434083 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -199,11 +199,14 @@ variable.
 \t{DESTTREE} &
 \t{src_install} &
 No &
-Controls the location where \t{dobin}, \t{dolib}, \t{domo}, and \t{dosbin} 
install things. \\
+\featurelabel{desttree} Controls the location where \t{dobin}, \t{dolib}, 
\t{domo},
+and \t{dosbin} install things.  Only for EAPIs listed in 
table~\ref{tab:removed-env-vars-table}
+as supporting \t{DESTTREE}. \\
 \t{INSDESTTREE} &
 \t{src_install} &
 No &
-Controls the location where \t{doins} installs things. \\
+\featurelabel{insdesttree} Controls the location where \t{doins} installs 
things. Only for EAPIs
+listed in table~\ref{tab:removed-env-vars-table} as supporting 
\t{INSDESTTREE}. \\
 \t{USE} &
 All &
 Yes &
@@ -281,14 +284,17 @@ variable.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting various removed env variables}
 \label{tab:removed-env-vars-table}
-\begin{tabular}{lll}
+\begin{tabular}{l}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{\t{AA}?}} &
-  \multicolumn{1}{c}{\textbf{\t{KV}?}} \\
+  \multicolumn{1}{c}{\textbf{\t{KV}?}} &
+  \multicolumn{1}{c}{\textbf{\t{DESTTREE}?}} &
+  \multicolumn{1}{c}{\textbf{\t{INSDESTTREE}?}} \\
   \midrule
-  0, 1, 2, 3& Yes & Yes \\
-  4, 5, 6, 7& No  & No  \\
+  0, 1, 2, 3& Yes & Yes & Yes & Yes \\
+  4, 5, 6   & No  & No  & Yes & Yes \\
+  7 & No  & No  & No  & No  \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 8a7ff2daae4afdb618c3f636039ef9b6a1b7
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 13:48:46 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:24:18 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=8a7ff2da

pkg-mgr-commands: Redefine dolib* in terms of libdir.a

Since EAPI 7 removes dolib, it would be a bad fit to describe the two
other commands on top of one that is removed. Instead, start by defining
libdir.a and then define the two other commands on top of it.

This also clarifies that dolib.a & dolib.so do not respect libopts,
while the old wording was not clear on that. However, this is at least
how it was implemented in Portage (with dolib.a and dolib.so overriding
libopts completely).

 pkg-mgr-commands.tex | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index bfc3e99..ae9a615 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -494,15 +494,16 @@ can be extended or reduced (see below). The options that 
can be passed to \t{doh
 symlink is encountered. Failure behaviour is EAPI dependent as per
 section~\ref{sec:failure-behaviour}.
 
-\item[dolib] For each argument, installs it into the appropriate library 
subdirectory under
-\t{DESTTREE}, as determined by Algorithm~\ref{alg:ebuild-libdir}. Files 
are installed by default
-with file mode \t{0644}, or with the \t{install} options set by the most 
recent \t{libopts}
-call. Any symlinks are installed into the same directory as relative links 
to their original
-target. Failure behaviour is EAPI dependent as per 
section~\ref{sec:failure-behaviour}.
+\item[dolib.a] For each argument, installs it into the appropriate library 
subdirectory under
+\t{DESTTREE}, as determined by Algorithm~\ref{alg:ebuild-libdir}. Files 
are installed
+with file mode \t{0644}. Any symlinks are installed into the same 
directory as relative links
+to their original target. Failure behaviour is EAPI dependent as per
+section~\ref{sec:failure-behaviour}.
 
-\item[dolib.a] As for \t{dolib} except each file is installed with mode 
\t{0644}.
+\item[dolib.so] As for \t{dolib.a} except each file is installed with mode 
\t{0755}.
 
-\item[dolib.so] As for \t{dolib} except each file is installed with mode 
\t{0755}.
+\item[dolib] As for \t{dolib.a} except that the default install mode can be 
overriden with
+the \t{install} options set by the most recent \t{libopts} call.
 
 \begin{algorithm}
 \caption{Determining the library directory} \label{alg:ebuild-libdir}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 1882a752641de7b1c63aa58207dda10a92f90f31
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Nov 29 23:00:32 2015 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:50 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=1882a752

EAPI 7 supports a directory for package.mask.

Bug: https://bugs.gentoo.org/282296

 eapi-differences.tex |  4 
 tree-layout.tex  | 20 
 2 files changed, 24 insertions(+)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index d6e270a..9d7ec60 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{package.mask} directory & \compactfeatureref{package-mask-dir} &
+No & No & No & No & Yes \\
+
 Stable use masking/forcing & \compactfeatureref{stablemask} &
 No & No & Yes & Yes & Yes \\
 
@@ -373,6 +376,7 @@ EAPI 6 is EAPI 5 with the following changes:
 EAPI 7 is EAPI 6 with the following changes:
 
 \begin{compactitem}
+\item \t{profiles/package.mask} can be a directory, 
\featureref{package-mask-dir}.
 \item \t{dohtml} banned, \featureref{banned-commands}.
 \end{compactitem}
 

diff --git a/tree-layout.tex b/tree-layout.tex
index 1c23357..d09feef 100644
--- a/tree-layout.tex
+++ b/tree-layout.tex
@@ -107,6 +107,12 @@ manager must ignore any files in this directory that it 
does not recognise.
 Contains a list, one entry per line, of package dependency specifications 
(using the directory's
 EAPI). Any package version matching one of these is considered to be 
masked, and will not be
 installed regardless of profile unless it is unmasked by the user 
configuration.
+
+\featurelabel{package-mask-dir} For EAPIs listed in 
table~\ref{tab:package-mask-dir} as
+supporting it, \t{package.mask} can be a directory instead of a regular 
file. Files contained
+in that directory, unless their name begins with a dot, will be 
concatenated in order of their
+filename in the POSIX locale and the result will be processed as if it 
were a single file.
+Any subdirectories will be ignored.
 \item[profiles.desc] Described below in section~\ref{sec:profiles.desc}.
 \item[repo_name] Contains, on a single line, the name of this repository. The 
repository name must
 conform to section~\ref{sec:repository-names}.
@@ -123,6 +129,20 @@ manager must ignore any files in this directory that it 
does not recognise.
 \item[updates/] This directory is described in section~\ref{sec:updates-dir}.
 \end{description}
 
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{EAPIs supporting a directory for \t{package.mask}}
+\label{tab:package-mask-dir}
+\begin{tabular}{ll}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{\t{package.mask} can be a directory?}} \\
+  \midrule
+  0, 1, 2, 3, 4, 5, 6 & No  \\
+  7   & Yes \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
 \subsection{The profiles.desc file}
 \label{sec:profiles.desc}
 \t{profiles.desc} is a line-based file, with the standard commenting



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 4bb4357f781832ece312de01e3b90be9f63082ad
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Sep 19 21:36:40 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=4bb4357f

EAPI 7: econf adds --with-sysroot

Bug: https://bugs.gentoo.org/317337

 eapi-differences.tex |  3 ++-
 pkg-mgr-commands.tex | 17 +++--
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index f3c68f6..31cc5f6 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -212,7 +212,7 @@ Option \t{-{}-host-root} & 
\compactfeatureref{host-root-option} &
 & disable dependency tracking &
 disable dependency tracking, disable silent rules &
 disable dependency tracking, disable silent rules, docdir, htmldir &
-disable dependency tracking, disable silent rules, docdir, htmldir \\
+disable dependency tracking, disable silent rules, docdir, htmldir, with 
sysroot \\
 
 \t{dodoc -r} & \compactfeatureref{dodoc} &
 No & Yes & Yes & Yes & Yes \\
@@ -408,6 +408,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \featureref{trailing-slash}.
 \item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}.
 \item \t{SYSROOT} and \t{ESYSROOT} added, \featureref{sysroot}.
+\item \t{econf} adds \t{-{}-with-sysroot}, \featureref{econf-options}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 5bb8b68..6a4415d 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -283,6 +283,9 @@ current phase function has returned.
 \item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, 
if the EAPI is listed
 in table~\ref{tab:econf-options-table} as using it. This option will 
only be passed if the
 string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}.
+\item -{}-with-sysroot must be \t{\$\{ESYSROOT\}}, if the EAPI is listed in
+table~\ref{tab:econf-options-table} as using it. This option will only 
be passed if the
+string \t{-{}-with-sysroot} occurs in the output of \t{configure 
-{}-help}.
 \item -{}-host must be the value of the \t{CHOST} environment variable.
 \item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}.
 \item -{}-disable-dependency-tracking, if the EAPI is listed in
@@ -296,18 +299,20 @@ current phase function has returned.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{Extra \t{econf} arguments for EAPIs}
 \label{tab:econf-options-table}
-\begin{tabular}{l}
+\begin{tabular}{ll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{-{}-disable-dependency-tracking}} &
   \multicolumn{1}{c}{\textbf{-{}-disable-silent-rules}} &
   \multicolumn{1}{c}{\textbf{-{}-docdir}} &
-  \multicolumn{1}{c}{\textbf{-{}-htmldir}} \\
+  \multicolumn{1}{c}{\textbf{-{}-htmldir}} &
+  \multicolumn{1}{c}{\textbf{-{}-with-sysroot}} \\
   \midrule
-  0, 1, 2, 3& No  & No  & No  & No  \\
-  4 & Yes & No  & No  & No  \\
-  5 & Yes & Yes & No  & No  \\
-  6, 7  & Yes & Yes & Yes & Yes \\
+  0, 1, 2, 3& No  & No  & No  & No  & No  \\
+  4 & Yes & No  & No  & No  & No  \\
+  5 & Yes & Yes & No  & No  & No  \\
+  6 & Yes & Yes & Yes & Yes & No  \\
+  7 & Yes & Yes & Yes & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: aa550740a8c8791b4ad5080963ce6b6e929e5f84
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Sep 28 14:10:20 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=aa550740

EAPI 7 disallows stdout output of output functions

Bug: https://bugs.gentoo.org/483240

 eapi-differences.tex |  4 
 pkg-mgr-commands.tex | 17 +++--
 2 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 34ee0c9..055e6c6 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+Output cmds can use stdout & \compactfeatureref{output-no-stdout} &
+Yes & Yes & Yes & Yes & No \\
+
 \t{eqawarn} & \compactfeatureref{eqawarn} &
 No & No & No & No & Yes \\
 
@@ -391,6 +394,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{dohtml} banned, \featureref{banned-commands}.
 \item Version manipulation and comparison functions added, 
\featureref{ver-functions}.
 \item \t{eqawarn} added, \featureref{eqawarn}.
+\item Output commands can no longer use stdout, \featureref{output-no-stdout}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index c7f3696..5bb8b68 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -114,8 +114,12 @@ These commands display messages to the user. Unless 
otherwise stated, the entire
 used as a message, with backslash-escaped characters interpreted as for the 
\t{echo -e} command of
 bash, notably \t{\textbackslash t} for a horizontal tab, \t{\textbackslash n} 
for a new line, and
 \t{\textbackslash\textbackslash} for a literal backslash. Ebuilds must not run 
any of these commands
-once the current phase function has returned. Unless otherwise noted, output 
may be sent to stdout,
-stderr or some other appropriate facility.
+once the current phase function has returned.
+
+\featurelabel{output-no-stdout} Unless otherwise noted, output may be sent to 
stderr or some other
+appropriate facility. In EAPIs listed in table~\ref{tab:output-commands} as 
not allowing stdout
+output, using stdout as an output facility is forbidden.
+
 \begin{description}
 \item[einfo] Displays an informational message.
 \item[einfon] Displays an informational message without a trailing newline.
@@ -139,13 +143,14 @@ stderr or some other appropriate facility.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{Output commands for EAPIs}
 \label{tab:output-commands}
-\begin{tabular}{ll}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{1}{c}{\textbf{\t{eqawarn}?}} \\
+  \multicolumn{1}{c}{\textbf{\t{eqawarn}?}} &
+  \multicolumn{1}{c}{\textbf{can output to stdout?}} \\
   \midrule
-  0, 1, 2, 3, 4, 5, 6  & No  \\
-  7& Yes \\
+  0, 1, 2, 3, 4, 5, 6  & No  & Yes \\
+  7& Yes & No  \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: e4f4fc5c78e2c40716700ccbbdfb6017f3ac50cf
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 27 21:23:22 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=e4f4fc5c

EAPI 7 has version manipulation and comparison functions

Bug: https://bugs.gentoo.org/482170

 eapi-differences.tex |  4 +++
 pkg-mgr-commands.tex | 80 
 2 files changed, 84 insertions(+)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 44869c0..a56f1ff 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{ver_*} functions & \compactfeatureref{ver-functions} &
+No & No & No & No & Yes \\
+
 \t{package.mask} directory & \compactfeatureref{package-mask-dir} &
 No & No & No & No & Yes \\
 
@@ -383,6 +386,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{package.mask}, \t{package.use}, \t{use.*} and \t{package.use.*} in a 
profile can be
 directories, \featureref{profile-file-dirs}.
 \item \t{dohtml} banned, \featureref{banned-commands}.
+\item Version manipulation and comparison functions added, 
\featureref{ver-functions}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index e8a6555..15bfcde 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -817,6 +817,86 @@ These functions check whitespace-separated lists for a 
particular value.
 \item[hasq] Deprecated synonym for \t{has}.
 \end{description}
 
+\subsubsection{Version manipulation and comparison commands}
+\featurelabel{ver-functions}
+Those functions provide routines to work with version strings. Their 
availability per EAPI is listed
+in table~\ref{tab:version-functions}.
+
+For the purpose of version manipulation functions, the specification provides 
a method for splitting
+an arbitrary version string (not necessarily conforming to 
\ref{sec:version-spec}) into a series of
+version components and version separators.
+
+A version component consists either purely of digits (\t{[0-9]+}) or purely of 
a combination of
+uppercase and lowercase letters (\t{[a-zA-Z]+}). A version separator is either 
a string of any other
+characters (\t{[\textasciicircum 0-9a-zA-Z]}) or it occurs at the transition 
between a sequence of digits
+and a sequence of letters, or vice versa. In the latter case, the version 
separator is an empty
+string.
+
+The version string is processed left-to-right, with the successive version 
components being assigned
+successive indices starting with 1. The separator following a version 
component is assigned
+the index of the preceding version component. If the first version component 
is preceded by
+a non-null string of version separator characters, this separator is assigned 
the index 0.
+
+The version components are presumed present if not empty. The version 
separators between version
+components are always presumed present, even if they are empty. The version 
separators preceding
+the first version component and following the last are only presumed present 
if they are not empty.
+
+Whenever the functions support ranges, the range is specified as a 
non-negative integer, optionally
+followed by a hyphen (\t{-}), which in turn is optionally followed by another 
non-negative integer.
+
+A single integer specifies a single component or separator index. An integer 
followed by a hyphen
+specifies all components or separators starting with the one at specified 
index. Two integers
+separated by a hyphen specify a range of versions starting at the index 
specified by the first
+and ending at the second, inclusively.
+
+\begin{description}
+\item[ver_cut] Takes a range as the first argument, and optionally a version 
string as the second.
+Prints a substring of the version string starting at the version component 
specified as start
+of the range and ending at the version component specified as end of the 
range. If the version
+string is not specified, \t{\$\{PVR\}} is used.
+
+If the range spans outside the present version components, the missing 
components and separators
+are presumed empty. In particular, the range starting at zero includes 
zeroth version separator
+if present, and the range spanning past the last version component 
includes the suffix following
+it if present. A range that does not intersect with any present version 
components yields empty
+string.
+
+\item[ver_rs] Takes one or more pairs of arguments, optionally followed by a 
version string. Every
+argument pair specifies a range and a replacement string. Prints a version 
string after
+performing the specified separator substitutions. If the version string is 
not specified,
+\t{\$\{PVR\}} is used.
+
+For every argument pair specified, each of the version 

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: a9c943e81a3f097db2be947d6fdc4ee96a572b2e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 14:33:22 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:24:39 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=a9c943e8

EAPI 7 allows die in subshell.

Bug: https://bugs.gentoo.org/465008

 eapi-differences.tex |  4 
 pkg-mgr-commands.tex | 23 +++
 2 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index fb469f6..a0d1f01 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{die} in subshell & \compactfeatureref{subshell-die} &
+No & No & No & No & Yes \\
+
 \t{nonfatal} function+command & \compactfeatureref{nonfatal-fallback} &
 No & No & No & No & Yes \\
 
@@ -459,6 +462,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{dolib} and \t{libopts} banned, \featureref{banned-commands}.
 \item \t{nonfatal} defined both as a shell function and external command,
   \featureref{nonfatal-fallback}.
+\item \t{die} guaranteed to work in a subshell environment, 
\featureref{subshell-die}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index c17c9cc..af4cd35 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -181,23 +181,30 @@ completing. Ebuilds must not run any of these commands 
once the current phase fu
 \item[die] \featurelabel{nonfatal-die} If called under the \t{nonfatal} 
command (as per
 section~\ref{sec:failure-behaviour}) and with \t{-n} as its first 
parameter, displays a failure
 message provided in its following argument and then returns a non-zero 
exit status. Only in
-EAPIs listed in table~\ref{tab:nonfatal-die} as supporting option~\t{-n}. 
Otherwise, displays
+EAPIs listed in table~\ref{tab:die-properties} as supporting 
option~\t{-n}. Otherwise, displays
 a failure message provided in its first and only argument, and then aborts 
the build process.
-\t{die} is \e{not} guaranteed to work correctly if called from a subshell 
environment.
+
+\featurelabel{subshell-die} In EAPIs listed in 
table~\ref{tab:die-properties} as not providing
+subshell support, \t{die} is \e{not} guaranteed to work correctly if 
called from a subshell
+environment.
 \item[assert] Checks the value of the shell's pipe status variable, and if any 
component is non-zero
 (indicating failure), calls \t{die}, passing any parameters to it.
 \end{description}
 
 \ChangeWhenAddingAnEAPI{7}
-\begin{centertable}{EAPIs supporting \t{-n} for \t{die} and \t{assert} 
commands}
-\label{tab:nonfatal-die}
-\begin{tabular}{ll}
+\begin{centertable}{EAPI-specific properties of \t{die} and \t{assert} 
commands}
+\label{tab:die-properties}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{1}{c}{\textbf{\t{die} and \t{assert} support \t{-n}?}} \\
+  \multicolumn{2}{c}{\textbf{\t{die} and \t{assert}}} \\
+  &
+  \multicolumn{1}{c}{\textbf{support \t{-n}?}} &
+  \multicolumn{1}{c}{\textbf{work in subshell?}} \\
   \midrule
-  0, 1, 2, 3, 4, 5  & No  \\
-  6, 7  & Yes \\
+  0, 1, 2, 3, 4, 5  & No  & No  \\
+  6 & Yes & No  \\
+  7 & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: ff3825ec964e096bc02ff5c53827cd3c2b615a6a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Sep 28 17:50:56 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=ff3825ec

EAPI 7 requires GNU patch 2.7.

Bug: https://bugs.gentoo.org/593786

 eapi-differences.tex|  4 
 ebuild-env-commands.tex | 15 +--
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 939c501..9f39934 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+GNU patch version & \compactfeatureref{gnu-patch} &
+Any & Any & Any & Any & 2.7 \\
+
 Trailing slash in \t{ROOT}, \t{D}... & \compactfeatureref{trailing-slash} &
 Yes & Yes & Yes & Yes & No \\
 
@@ -400,6 +403,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item Output commands can no longer use stdout, \featureref{output-no-stdout}.
 \item \t{ROOT}, \t{EROOT}, \t{D}, \t{ED} no longer end with a trailing slash,
 \featureref{trailing-slash}.
+\item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-commands.tex b/ebuild-env-commands.tex
index 590f709..f5e1c07 100644
--- a/ebuild-env-commands.tex
+++ b/ebuild-env-commands.tex
@@ -26,7 +26,8 @@ The following commands must always be available in the ebuild 
environment:
 page~\pageref{tab:bash-version}.
 \item \t{sed} must be available, and must support all forms of invocations 
valid for GNU sed
 version 4 or later.
-\item \t{patch} must be available, and must support all inputs valid for GNU 
patch.
+\item \featurelabel{gnu-patch} \t{patch} must be available, and must support 
all inputs valid
+   for GNU patch, version as listed in 
table~\ref{tab:system-commands-table}.
 \item \featurelabel{gnu-find} \t{find} and \t{xargs} must be available, and 
must support all forms
 of invocations valid for GNU findutils version 4.4 or later. Only for 
EAPIs listed in
 table~\ref{tab:system-commands-table} as requiring GNU find.
@@ -41,15 +42,17 @@ during filename expansion result in an error when the 
ebuild is being sourced.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{System commands for EAPIs}
 \label{tab:system-commands-table}
-\begin{tabular}{lll}
+\begin{tabular}{}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{GNU \t{find}?}} &
-  \multicolumn{1}{c}{\textbf{\t{failglob} in global scope?}} \\
+  \multicolumn{1}{c}{\textbf{\t{failglob} in global scope?}} &
+  \multicolumn{1}{c}{\textbf{GNU patch version}} \\
   \midrule
-  0, 1, 2, 3, 4 & Undefined & No  \\
-  5 & Yes   & No  \\
-  6, 7  & Yes   & Yes \\
+  0, 1, 2, 3, 4 & Undefined & No  & Any \\
+  5 & Yes   & No  & Any \\
+  6 & Yes   & Yes & Any \\
+  7 & Yes   & Yes & 2.7 \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: ecc3bd85116971e05730c2e4ef5ac9b107a882e5
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Sep 17 21:23:58 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=ecc3bd85

EAPI 7 has SYSROOT and ESYSROOT

Bug: https://bugs.gentoo.org/317337

 eapi-differences.tex |  4 
 ebuild-env-vars.tex  | 47 +--
 2 files changed, 37 insertions(+), 14 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 9f39934..f3c68f6 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{SYSROOT}, \t{ESYSROOT} & \compactfeatureref{sysroot} &
+No & No & No & No & Yes \\
+
 GNU patch version & \compactfeatureref{gnu-patch} &
 Any & Any & Any & Any & 2.7 \\
 
@@ -404,6 +407,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{ROOT}, \t{EROOT}, \t{D}, \t{ED} no longer end with a trailing slash,
 \featureref{trailing-slash}.
 \item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}.
+\item \t{SYSROOT} and \t{ESYSROOT} added, \featureref{sysroot}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index fe61ac5..e24a065 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -130,6 +130,20 @@ variable.
 See also the \t{EPREFIX} variable. Only for EAPIs listed
 in table~\ref{tab:offset-env-vars-table} as supporting \t{EROOT}. The 
presence of a trailing
 slash EAPI-dependent as listed in table~\ref{tab:trailing-slash}. \\
+\t{SYSROOT} &
+\t{src_*} &
+No &
+\featurelabel{sysroot} The absolute path to the root directory containing 
build dependencies
+satisfied by \t{DEPEND}.  Only for EAPIs listed in 
table~\ref{tab:added-env-vars-table}
+as supporting \t{SYSROOT}. The presence of a trailing slash EAPI-dependent 
as listed
+in table~\ref{tab:trailing-slash}. \\
+\t{ESYSROOT} &
+\t{src_*} &
+No &
+Contains the concatenation of the paths in \t{SYSROOT} and \t{EPREFIX} 
variables,
+for convenience.  See also the \t{EPREFIX} variable. Only for EAPIs listed
+in table~\ref{tab:offset-env-vars-table} as supporting \t{ESYSROOT}. The 
presence of a trailing
+slash EAPI-dependent as listed in table~\ref{tab:trailing-slash}. \\
 \t{T} &
 All &
 Partially\footnote{Consistent and preserved across a single connected 
sequence of install or
@@ -239,17 +253,19 @@ variable.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting various added env variables}
 \label{tab:added-env-vars-table}
-\begin{tabular}{l}
+\begin{tabular}{ll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{\t{MERGE_TYPE}?}} &
   \multicolumn{1}{P{6em}}{\textbf{\t{REPLACING_VERSIONS}?}} &
   \multicolumn{1}{P{6em}}{\textbf{\t{REPLACED_BY_VERSION}?}} &
-  \multicolumn{1}{P{6em}}{\textbf{\t{EBUILD_PHASE_FUNC}?}} \\
+  \multicolumn{1}{P{6em}}{\textbf{\t{EBUILD_PHASE_FUNC}?}} &
+  \multicolumn{1}{P{6em}}{\textbf{\t{SYSROOT}?}} \\
   \midrule
-  0, 1, 2, 3& No  & No  & No  & No  \\
-  4 & Yes & Yes & Yes & No  \\
-  5, 6, 7   & Yes & Yes & Yes & Yes \\
+  0, 1, 2, 3& No  & No  & No  & No  & No  \\
+  4 & Yes & Yes & Yes & No  & No  \\
+  5, 6  & Yes & Yes & Yes & Yes & No  \\
+  7 & Yes & Yes & Yes & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}
@@ -272,15 +288,17 @@ variable.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting offset-prefix env variables}
 \label{tab:offset-env-vars-table}
-\begin{tabular}{}
+\begin{tabular}{l}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{\t{EPREFIX}?}} &
   \multicolumn{1}{c}{\textbf{\t{EROOT}?}} &
-  \multicolumn{1}{c}{\textbf{\t{ED}?}} \\
+  \multicolumn{1}{c}{\textbf{\t{ED}?}} &
+  \multicolumn{1}{c}{\textbf{\t{ESYSROOT}?}} \\
   \midrule
-  0, 1, 2   & No  & No  & No  \\
-  3, 4, 5, 6, 7 & Yes & Yes & Yes \\
+  0, 1, 2   & No  & No  & No  & No  \\
+  3, 4, 5, 6& Yes & Yes & Yes & No  \\
+  7 & Yes & Yes & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}
@@ -442,16 +460,17 @@ If the path specifies the system root directory, it will 
be empty.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{Variables that always or never end with a trailing slash}
 \label{tab:trailing-slash}
-\begin{tabular}{lll}
+\begin{tabular}{}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{2}{c}{\textbf{Ends with a trailing slash?}} \\
+  

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 162b78f32ca664709c902267ce322b133ce90ee0
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 13:41:52 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:23:53 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=162b78f3

domo installs to /usr in EAPI 7.

Bug: https://bugs.gentoo.org/595924

 eapi-differences.tex |  8 
 pkg-mgr-commands.tex | 25 -
 2 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 3e06916..d9b5558 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,13 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{domo} install path & \compactfeatureref{domo-path} &
+\t{\$\{DESTTREE\}\slash share\slash locale} &
+\t{\$\{DESTTREE\}\slash share\slash locale} &
+\t{\$\{DESTTREE\}\slash share\slash locale} &
+\t{\$\{DESTTREE\}\slash share\slash locale} &
+\t{/usr\slash share\slash locale} \\
+
 \t{PORTDIR} & \compactfeatureref{portdir} &
 Yes & Yes & Yes & Yes & No \\
 
@@ -439,6 +446,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{INSDESTTREE} removed, \featureref{insdesttree}.
 \item \t{PORTDIR} removed, \featureref{portdir}.
 \item \t{ECLASSDIR} removed, \featureref{eclassdir}.
+\item \t{domo} installs to \t{/usr/share/locale}, ignoring \t{into}, 
\featureref{domo-path}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 8ab8175..bfc3e99 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -542,11 +542,12 @@ can be extended or reduced (see below). The options that 
can be passed to \t{doh
 the empty string. In EAPIs specified by table~\ref{tab:doman-table}, the 
\t{-i18n} option takes
 precedence over the language code in the filename.
 
-\item[domo] Installs the given \t{.mo} files with file mode \t{0644} into the 
appropriate
-subdirectory of \t{DESTTREE\slash share\slash locale}, generated by taking 
the basename of the
-file, removing the \t{.*} suffix, and appending \t{/LC_MESSAGES}\@. The 
name of the installed
-files is the package name with \t{.mo} appended. Failure behaviour is EAPI 
dependent as per
-section~\ref{sec:failure-behaviour}.
+\item[domo] \featurelabel{domo-path} Installs the given \t{.mo} files with 
file mode \t{0644} into
+the appropriate subdirectory of the locale tree, generated by taking the 
basename of the file,
+removing the \t{.*} suffix, and appending \t{/LC_MESSAGES}\@. The name of 
the installed files is
+the package name with \t{.mo} appended. Failure behaviour is EAPI 
dependent as per
+section~\ref{sec:failure-behaviour}. The locale tree location is EAPI 
dependent as per
+table~\ref{tab:domo-path}.
 
 \item[dosbin] As \t{dobin}, but installs to \t{DESTTREE/sbin}.
 
@@ -666,6 +667,20 @@ can be extended or reduced (see below). The options that 
can be passed to \t{doh
 \end{tabular}
 \end{centertable}
 
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{EAPI-dependent install path for \t{domo} command}
+\label{tab:domo-path}
+\begin{tabular}{ll}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{destination path}} \\
+  \midrule
+  0, 1, 2, 3, 4, 5, 6 & \t{\$\{DESTTREE\}\slash share\slash locale} \\
+  7   & \t{/usr/share/locale} \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
 \subsubsection{Commands affecting install destinations}
 The following commands are used to set the various destination trees, all 
relative to \t{\$\{ED\}} in
 offset-prefix aware EAPIs and relative to \t{\$\{D\}} in offset-prefix 
agnostic EAPIs, used by the



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: e7bd3ae55ade24e7a19b09bdbacb6cf246f8
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 16:19:16 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=e7bd3ae5

EAPI 7 has BDEPEND

Bug: https://bugs.gentoo.org/317337

 dependencies.tex | 36 
 eapi-differences.tex |  4 
 ebuild-vars.tex  |  1 +
 eclasses.tex | 10 +-
 metadata-cache.tex   |  2 ++
 5 files changed, 44 insertions(+), 9 deletions(-)

diff --git a/dependencies.tex b/dependencies.tex
index 258b394..92e7bb9 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -15,7 +15,7 @@
   None (ebuilds can rely only on the packages in the system~set) \\
   \addlinespace
   \t{src_unpack}, \t{src_prepare}, \t{src_configure}, \t{src_compile}, 
\t{src_test},
-  \t{src_install} & \t{DEPEND} \\
+  \t{src_install} & \t{DEPEND}, \t{BDEPEND} \\
   \addlinespace
   \t{pkg_preinst}, \t{pkg_postinst}, \t{pkg_prerm}, \t{pkg_postrm} &
   \t{RDEPEND} (unless the particular dependency results in a circular 
dependency, in which
@@ -38,6 +38,18 @@ There are three classes of dependencies supported by ebuilds:
 the package manager finishes the batch of installs.
 \end{compactitem}
 
+\featurelabel{bdepend} Additionally, in EAPIs listed in 
table~\ref{tab:depend-table}
+as supporting \t{BDEPEND}, the build dependencies are split into two 
subclasses:
+
+\begin{compactitem}
+\item Build dependencies that are binary compatible with the native build 
system
+/ CBUILD (\t{BDEPEND}). The ebuild is allowed to call binary executables
+installed by this kind of dependency.
+\item Build dependencies that are binary compatible with the system being built
+/ CHOST (\t{DEPEND}). The ebuild must not execute binary executables 
installed
+by this kind of dependency.
+\end{compactitem}
+
 Table~\ref{tab:phase-function-dependency-classes} lists dependencies which 
must be satisfied before
 a particular phase function is executed.
 
@@ -50,7 +62,8 @@ The following elements are recognised in at least one class 
of specification. Al
 be surrounded on both sides by whitespace, except at the start and end of the 
string.
 
 \begin{compactitem}
-\item A package dependency specification. Permitted in \t{DEPEND}, 
\t{RDEPEND}, \t{PDEPEND}.
+\item A package dependency specification. Permitted in \t{DEPEND}, 
\t{BDEPEND}, \t{RDEPEND},
+\t{PDEPEND}.
 \item A URI, in the form \t{proto://host/path}. Permitted in \t{SRC_URI} and 
\t{HOMEPAGE}\@.
 In EAPIs listed in table~\ref{tab:uri-arrows-table} as supporting 
\t{SRC_URI} arrows, may
 optionally be followed by whitespace, then \t{->}, then whitespace, then a 
simple filename when
@@ -68,7 +81,7 @@ be surrounded on both sides by whitespace, except at the 
start and end of the st
 followed by an open parenthesis, followed by whitespace, followed by zero 
or more
 of (a dependency item of any kind followed by whitespace), followed by a 
close parenthesis.
 More formally: \t{any-of} \t{::=} \t{'||' whitespace '(' whitespace (item 
whitespace)* ')'}.
-Permitted in \t{DEPEND}, \t{RDEPEND}, \t{PDEPEND}, \t{LICENSE}, 
\t{REQUIRED_USE}.
+Permitted in \t{DEPEND}, \t{BDEPEND}, \t{RDEPEND}, \t{PDEPEND}, 
\t{LICENSE}, \t{REQUIRED_USE}.
 \item An exactly-one-of group, which consists of the string 
\t{\textasciicircum\textasciicircum},
 followed by whitespace, followed by an open parenthesis, followed by 
whitespace, followed by
 zero or more of (a dependency item of any kind followed by whitespace), 
followed by a close
@@ -93,6 +106,20 @@ be surrounded on both sides by whitespace, except at the 
start and end of the st
 In particular, note that whitespace is not optional.
 
 \ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{EAPIs supporting additional dependency types}
+\label{tab:depend-table}
+\begin{tabular}{ll}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{Supports \t{BDEPEND}?}} \\
+  \midrule
+  0, 1, 2, 3, 4, 5, 6 & No  \\
+  7   & Yes \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
+\ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting \t{SRC_URI} arrows}
 \label{tab:uri-arrows-table}
 \begin{tabular}{ll}
@@ -285,7 +312,8 @@ indicates that the package will not break if the matched 
package is uninstalled
 a different matching package in a different slot.
 \item[=] Indicates that any slot value is acceptable. In addition, for runtime 
dependencies,
 indicates that the package will break unless a matching package with slot and 
sub-slot equal to the
-slot and sub-slot of the best installed version at the time the package was 
built is available.
+slot and sub-slot of the best version installed to \t{ESYSROOT} at the time 
the package was built
+is 

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 5cc99df1739e08f106fd79ad02ed4c4c2be310eb
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Nov 29 23:01:54 2015 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:53 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=5cc99df1

EAPI 7 supports directories for profile files.

Bug: https://bugs.gentoo.org/282296

 eapi-differences.tex |  5 +
 profiles.tex | 38 +++---
 2 files changed, 36 insertions(+), 7 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 9d7ec60..44869c0 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -44,6 +44,9 @@ of this document for a complete table of previous EAPIs.
 \t{package.mask} directory & \compactfeatureref{package-mask-dir} &
 No & No & No & No & Yes \\
 
+Profile files as directories & \compactfeatureref{profile-file-dirs} &
+No & No & No & No & Yes \\
+
 Stable use masking/forcing & \compactfeatureref{stablemask} &
 No & No & Yes & Yes & Yes \\
 
@@ -377,6 +380,8 @@ EAPI 7 is EAPI 6 with the following changes:
 
 \begin{compactitem}
 \item \t{profiles/package.mask} can be a directory, 
\featureref{package-mask-dir}.
+\item \t{package.mask}, \t{package.use}, \t{use.*} and \t{package.use.*} in a 
profile can be
+directories, \featureref{profile-file-dirs}.
 \item \t{dohtml} banned, \featureref{banned-commands}.
 \end{compactitem}
 

diff --git a/profiles.tex b/profiles.tex
index 0d7164e..99e84ea 100644
--- a/profiles.tex
+++ b/profiles.tex
@@ -69,6 +69,27 @@ parent profile's list is taken, and the current profile's 
list appended. If any
 hyphen, then any lines previous to it whose contents are equal to the 
remainder of that line are
 removed from the list. Once again, blank lines and those beginning with a \# 
are discarded.
 
+\featurelabel{profile-file-dirs} In EAPIs listed in 
table~\ref{tab:profile-file-dirs} as supporting
+directories for profile files, any of the files \t{package.mask}, 
\t{package.use}, \t{use.*} and
+\t{package.use.*} mentioned below can be a directory instead of a regular 
file. Files contained
+in that directory, unless their name begins with a dot, will be concatenated 
in order of their
+filename in the POSIX locale and the result will be processed as if it were a 
single file.
+Any subdirectories will be ignored.
+
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{EAPIs supporting directories for profile files}
+\label{tab:profile-file-dirs}
+\begin{tabular}{ll}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{Supports directories for profile files?}} \\
+  \midrule
+  0, 1, 2, 3, 4, 5, 6 & No  \\
+  7   & Yes \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
 \subsection{packages}
 The \t{packages} file is used to define the `system set' for this profile.
 After the above rules for inheritance and comments are applied, its lines must 
take one of two
@@ -84,7 +105,8 @@ but is mentioned here for completeness.
 \subsection{package.mask}
 \t{package.mask} is used to prevent packages from being installed on a given 
profile. Each line
 contains one package dependency specification; anything matching this 
specification will not be
-installed unless unmasked by the user's configuration.
+installed unless unmasked by the user's configuration. In some EAPIs, 
\t{package.mask} can be a
+directory instead of a regular file as per section~\ref{sec:line-stacking}.
 
 Note that the \t{-spec} syntax can be used to remove a mask in a parent 
profile, but not
 necessarily a global mask (from \t{profiles/package.mask}, 
section~\ref{profiles-package.mask}).
@@ -99,17 +121,19 @@ has severe adverse effects on USE-based and slot-based 
dependencies, its use is
 and package manager support must be regarded as purely optional.
 
 \subsection{package.use}
-The \t{package.use} file may be used by the package manager to override the 
default USE flags specified
-by \t{make.defaults} on a per package basis.  The format is to have a package 
dependency specification,
-and then a space delimited list of USE flags to enable.  A USE flag in the 
form of \t{-flag} indicates
-that the package should have the USE flag disabled.  The package dependency 
specification is limited to
-the forms defined by the directory's EAPI.
+The \t{package.use} file may be used by the package manager to override the 
default USE flags
+specified by \t{make.defaults} on a per package basis. The format is to have a 
package dependency
+specification, and then a space delimited list of USE flags to enable. A USE 
flag in the form of
+\t{-flag} indicates that the package should have the USE flag disabled. The 
package dependency
+specification is limited to the forms defined by the directory's EAPI. In some 
EAPIs,
+\t{package.use} can be a directory instead of a regular file as per 
section~\ref{sec:line-stacking}.
 
 \subsection{USE masking and 

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 7371f6f3720da1889de7bc02902656f4faf904a8
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Nov 15 17:20:13 2015 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:42 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=7371f6f3

EAPI 7: dohtml banned.

Bug: https://bugs.gentoo.org/520546

 eapi-differences.tex |  5 -
 pkg-mgr-commands.tex | 16 ++--
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index dbde139..d6e270a 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -169,6 +169,9 @@ Most utilities die & \compactfeatureref{die-on-failure} &
 \t{einstall} & \compactfeatureref{banned-commands} &
 Yes & Yes & Yes & Banned & Banned \\
 
+\t{dohtml} & \compactfeatureref{banned-commands} &
+Yes & Yes & Yes & Yes & Banned \\
+
 Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
 No & No & Yes & Yes & Yes \\
 
@@ -370,7 +373,7 @@ EAPI 6 is EAPI 5 with the following changes:
 EAPI 7 is EAPI 6 with the following changes:
 
 \begin{compactitem}
-\item None
+\item \t{dohtml} banned, \featureref{banned-commands}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index b94d689..e8a6555 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -50,18 +50,20 @@ called, the package manager must abort the build process 
indicating an error.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{Banned commands}
 \label{tab:banned-commands-table}
-\begin{tabular}{}
+\begin{tabular}{l}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{3}{c}{\textbf{Command banned?}} \\
+  \multicolumn{4}{c}{\textbf{Command banned?}} \\
   \multicolumn{1}{c}{} &
   \multicolumn{1}{c}{\textbf{\t{dohard}}} &
   \multicolumn{1}{c}{\textbf{\t{dosed}}} &
-  \multicolumn{1}{c}{\textbf{\t{einstall}}} \\
+  \multicolumn{1}{c}{\textbf{\t{einstall}}} &
+  \multicolumn{1}{c}{\textbf{\t{dohtml}}} \\
   \midrule
-  0, 1, 2, 3& No  & No  & No  \\
-  4, 5  & Yes & Yes & No  \\
-  6, 7  & Yes & Yes & Yes \\
+  0, 1, 2, 3& No  & No  & No  & No  \\
+  4, 5  & Yes & Yes & No  & No  \\
+  6 & Yes & Yes & Yes & No  \\
+  7 & Yes & Yes & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}
@@ -432,6 +434,8 @@ can be extended or reduced (see below). The options that 
can be passed to \t{doh
 offset-prefix.
 \end{description}
 
+In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is 
banned as per
+section~\ref{sec:banned-commands}.
 Failure behaviour is EAPI dependent as per 
section~\ref{sec:failure-behaviour}.
 
 It is undefined whether a failure shall occur if \t{-r} is not specified 
and a directory is



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: b7fd31520f643c02541c9409733803e512aff048
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 16:10:08 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:24:46 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=b7fd3152

EAPI 7 has automatic USE enforcing.

Bug: https://bugs.gentoo.org/609338

 dependencies.tex | 68 +++-
 eapi-differences.tex |  4 
 profiles.tex |  1 +
 3 files changed, 72 insertions(+), 1 deletion(-)

diff --git a/dependencies.tex b/dependencies.tex
index 63d8c53..5773aef 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -384,16 +384,82 @@ It is an error for an ebuild to use a conditional use 
dependency when that ebuil
 flag in \t{IUSE_EFFECTIVE}.
 
 \subsection{USE state constraints}
+
 \label{sec:required-use}
 \t{REQUIRED_USE} contains a list of assertions that must be met by the 
configuration of \t{USE}
 flags to be valid for this ebuild. In order to be matched, a \t{USE} flag in a 
terminal element
 must be enabled (or disabled if it has an exclamation mark prefix).
 
 If the package manager encounters a package version where \t{REQUIRED_USE} 
assertions are not met,
-it must treat this package version as if it was masked. No phase functions 
must be called.
+it should attempt to automatically enforce the necessary flags as detailed
+in section~\ref{sec:enforce-required-use}. If this feature is not supported or 
it fails to resolve
+the problem, the package manager must treat this package version as if it was 
masked. No phase
+functions must be called in that case.
 
 It is an error for a flag to be used if it is not included in 
\t{IUSE_EFFECTIVE}.
 
+\subsubsection{Automatic enforcing of REQUIRED_USE}
+\label{sec:enforce-required-use}
+
+\featurelabel{auto-req-use} In EAPIs listed in 
table~\ref{tab:enforce-required-use-table} as
+supporting enforcing of \t{REQUIRED_USE}, the package manager can attempt to 
resolve unmet USE state
+constraints through automatically adjusting the effective USE flags for the 
package being built,
+according to the algorithm specified below. Any adjustments done this way must 
not affect
+the package version permanently. The package manager must reevaluate the flags 
using the original
+user configuration every time the package is being built.
+
+The package flags that are either masked or forced according to the 
section~\ref{sec:use-mask-force}
+are considered immutable. The enforcing process must not alter the values of 
immutable flags.
+If the \t{REQUIRED_USE} constraint can not be satisfied without altering 
immutable flags, automatic
+enforcing fails.
+
+In order to enforce \t{REQUIRED_USE}, the package manager should process every 
USE constraint,
+in order of listing, according to the following rules:
+
+\begin{compactitem}
+\item For an unmatched use flag, the package manager should negate the state 
of the specified flag
+in order to make the constraint match.
+\item For an unmatched all-of group, the package manager should recursively 
enforce all
+constraints inside the group, in order of listing.
+\item For an unmatched use-conditonal group, the package manager should 
recursively enforce all
+constraints inside the group, in order of listing. The associated 
condition flag is not altered.
+\item For an unmatched any-of group, the package manager should recursively 
enforce the first item
+inside the group that can be enforced without altering immutable flags, in 
order of listing.
+\item For an unmatched at-most-one-of group:
+\begin{compactitem}
+\item If two or more items match due to immutable flags, the package 
manager must report
+failure.
+\item If exactly one of the items match due to immutable flags, the 
package manager should
+enforce all other items not to match, according to the rule specified 
below.
+\item If none of the items match due to immutable flags, the package 
manager should enforce all
+items not to match but the first item in order of listing that matches 
currently.
+\end{compactitem}
+\item For an unmatched exactly-one-of group:
+\begin{compactitem}
+\item If none of the items match, the package manager should behave as for 
unmatched any-of
+group.
+\item If more than one item matches, the package manager should behave as 
for unmatched
+at-most-one-of group.
+\end{compactitem}
+\end{compactitem}
+
+In order to enforce a matched use flag item not to match, the package manager 
should negate
+the state of the flag. The method of enforcing any other item type not to 
match is undefined.
+
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{EAPIs supporting automatic enforcing of \t{REQUIRED_USE}}
+\label{tab:enforce-required-use-table}
+\begin{tabular}{ll}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{Supports enforcing 

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 7bc5d9db8f69be67efc9093a5d8b9f689675a771
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Sep 23 20:53:59 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=7bc5d9db

EAPI 7 drops --host-root in favor of -b, -d, and -r

Bug: https://bugs.gentoo.org/317337

 eapi-differences.tex |  8 +---
 pkg-mgr-commands.tex | 30 --
 2 files changed, 25 insertions(+), 13 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index af28b7a..ace1f55 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -202,8 +202,8 @@ Most utilities die & \compactfeatureref{die-on-failure} &
 \t{dohtml} & \compactfeatureref{banned-commands} &
 Yes & Yes & Yes & Yes & Banned \\
 
-Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
-No & No & Yes & Yes & Yes \\
+PM query options & \compactfeatureref{pm-query-options} &
+No & No & \t{-{}-host-root} & \t{-{}-host-root} & \t{-b}, \t{-d}, \t{-r} \\
 
 \t{die -n} & \compactfeatureref{nonfatal-die} &
 No & No & No & Yes & Yes \\
@@ -368,7 +368,7 @@ EAPI 5 is EAPI 4 with the following changes:
 \item \t{USE} is calculated differently, \featureref{profile-iuse-inject}.
 \item \t{find} is guaranteed to be GNU, \featureref{gnu-find}.
 \item \t{best_version} and \t{has_version} support the \t{-{}-host-root} 
option,
-\featureref{host-root-option}.
+\featureref{pm-query-options}.
 \item \t{econf} adds \t{-{}-disable-silent-rules}, \featureref{econf-options}.
 \item \t{doheader} and \t{newheader} support, \featureref{doheader}.
 \item \t{new*} can read from standard input, \featureref{newfoo-stdin}.
@@ -417,6 +417,8 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{econf} adds \t{-{}-with-sysroot}, \featureref{econf-options}.
 \item \t{BDEPEND}, \featureref{bdepend}.
 \item \t{BROOT}, \featureref{broot}.
+\item \t{best_version} and \t{has_version} drops the \t{-{}-host-root} option 
in favor of the
+  \t{-b}, \t{-d}, and \t{-r} options, \featureref{pm-query-options}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 6a4415d..8ab8175 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -84,27 +84,37 @@ These commands are used to extract information about the 
system. Ebuilds must no
 these commands in parallel with any other package manager command. Ebuilds 
must not run any of
 these commands once the current phase function has returned.
 
-\featurelabel{host-root-option} In EAPIs listed in 
table~\ref{tab:foo-version-host-root-table} as
-supporting option \t{-{}-host-root}, this flag as the first argument will 
cause the query to apply
-to the host root instead of \t{ROOT}.
+\featurelabel{pm-query-options} In EAPIs listed in 
table~\ref{tab:pm-query-options-table}
+as supporting options \t{-b}, \t{-d}, and \t{-r}, these flags as the first 
argument will cause
+the query to apply to locations targetted by \t{BDEPEND}, \t{DEPEND}, and 
\t{RDEPEND} respectively.
+When none of these options are given, \t{-r} is assumed.
+
+In EAPIs listed in table~\ref{tab:pm-query-options-table} as supporting option 
\t{-{}-host-root},
+this flag as the first argument will cause the query to apply to the host 
root. Otherwise, it
+applies to \t{ROOT}.
+
 \begin{description}
 \item[has_version] Takes exactly one package dependency specification as an 
argument. Returns
-true if a package matching the specification is installed in \t{ROOT}, and 
false otherwise.
+true if a package matching the specification is installed, and false 
otherwise.
 \item[best_version] Takes exactly one package dependency specification as an 
argument. If a
 matching package is installed, prints the category, package name and 
version of the highest
 matching version; otherwise, prints an empty string. The exit code is 
unspecified.
 \end{description}
 
 \ChangeWhenAddingAnEAPI{7}
-\begin{centertable}{EAPIs supporting \t{-{}-host-root} for \t{*_version} 
commands}
-\label{tab:foo-version-host-root-table}
-\begin{tabular}{ll}
+\begin{centertable}{Package manager query command options supported by EAPIs}
+\label{tab:pm-query-options-table}
+\begin{tabular}{l}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{1}{c}{\textbf{\t{*_version} supports \t{-{}-host-root}?}} \\
+  \multicolumn{1}{c}{\textbf{\t{-{}-host-root}?}} &
+  \multicolumn{1}{c}{\textbf{\t{-b}?}} &
+  \multicolumn{1}{c}{\textbf{\t{-d}?}} &
+  \multicolumn{1}{c}{\textbf{\t{-r}?}} \\
   \midrule
-  0, 1, 2, 3, 4 & No  \\
-  5, 6  & Yes \\
+  0, 1, 2, 3, 4 & No  & No  & No  & No  \\
+  5, 6  & Yes & No  & No  & No  \\
+  7 & No  & Yes & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 8779c4199235f96e704a2585f2fabd6ac2603904
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 03:08:43 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=8779c419

EAPI 7 bans package.provided

Bug: https://bugs.gentoo.org/568884

 eapi-differences.tex |  4 
 profiles.tex | 24 
 2 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index ace1f55..d6bf6b7 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{package.provided} & \compactfeatureref{package-provided} &
+Yes & Yes & Yes & Yes & No \\
+
 \t{BROOT} & \compactfeatureref{broot} &
 No & No & No & No & Yes \\
 
@@ -419,6 +422,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{BROOT}, \featureref{broot}.
 \item \t{best_version} and \t{has_version} drops the \t{-{}-host-root} option 
in favor of the
   \t{-b}, \t{-d}, and \t{-r} options, \featureref{pm-query-options}.
+\item \t{package.provided} in profiles banned, \featureref{package-provided}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/profiles.tex b/profiles.tex
index 99e84ea..edc17af 100644
--- a/profiles.tex
+++ b/profiles.tex
@@ -115,10 +115,26 @@ necessarily a global mask (from 
\t{profiles/package.mask}, section~\ref{profiles
 inherit tree when it comes to \t{-lines}. This behaviour may not be relied 
upon.
 
 \subsection{package.provided}
-\t{package.provided} is used to tell the package manager that a certain 
package version should be
-considered to be provided by the system regardless of whether it is actually 
installed. Because it
-has severe adverse effects on USE-based and slot-based dependencies, its use 
is strongly deprecated
-and package manager support must be regarded as purely optional.
+\featurelabel{package-provided} \t{package.provided} is used to tell the 
package manager that
+a certain package version should be considered to be provided by the system 
regardless of whether it
+is actually installed. Because it has severe adverse effects on USE-based and 
slot-based
+dependencies, its use is strongly deprecated and package manager support must 
be regarded as purely
+optional. Banned in EAPIs listed as not allowing \t{package.provided} in
+table~\ref{tab:profile-package-provided}.
+
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{Profile \t{package.provided} support}
+\label{tab:profile-package-provided}
+\begin{tabular}{ll}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{Allows \t{package.provided}?}} \\
+  \midrule
+  0, 1, 2, 3, 4, 5, 6 & Yes \\
+  7   & No  \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
 
 \subsection{package.use}
 The \t{package.use} file may be used by the package manager to override the 
default USE flags



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 227a70ddc365d293cbfae86b214205a77fb4373d
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 14:24:10 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:24:24 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=227a70dd

EAPI 7 provides command fallback for nonfatal.

Bug: https://bugs.gentoo.org/622894

 eapi-differences.tex |  5 +
 pkg-mgr-commands.tex | 17 -
 2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 70eadb5..fb469f6 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{nonfatal} function+command & \compactfeatureref{nonfatal-fallback} &
+No & No & No & No & Yes \\
+
 \t{domo} install path & \compactfeatureref{domo-path} &
 \t{\$\{DESTTREE\}\slash share\slash locale} &
 \t{\$\{DESTTREE\}\slash share\slash locale} &
@@ -454,6 +457,8 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{ECLASSDIR} removed, \featureref{eclassdir}.
 \item \t{domo} installs to \t{/usr/share/locale}, ignoring \t{into}, 
\featureref{domo-path}.
 \item \t{dolib} and \t{libopts} banned, \featureref{banned-commands}.
+\item \t{nonfatal} defined both as a shell function and external command,
+  \featureref{nonfatal-fallback}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index f3849fc..c17c9cc 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -22,6 +22,11 @@ The following commands affect this behaviour:
 the build process due to a failure, instead a non-zero exit status shall 
be returned. Only in
 EAPIs listed in table~\ref{tab:commands-die-table} as supporting 
\t{nonfatal}.
 
+\featurelabel{nonfatal-fallback} In EAPIs listed in 
table~\ref{tab:commands-die-table}
+as having \t{nonfatal} defined as both function and external command, the 
package manager must
+provide both implementations to account both for calling in ebuild scope 
directly, and via
+\t{xargs}.
+
 Explicit \t{die} or \t{assert} commands only respect \t{nonfatal} when 
called with the \t{-n}
 option and in EAPIs supporting this option, see 
table~\ref{tab:nonfatal-die}.
 \end{description}
@@ -29,14 +34,16 @@ The following commands affect this behaviour:
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPI command failure behaviour}
 \label{tab:commands-die-table}
-\begin{tabular}{lll}
+\begin{tabular}{}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{1}{c}{\textbf{Command failure behaviour}} &
-  \multicolumn{1}{c}{\textbf{Supports \t{nonfatal}?}} \\
+  \multicolumn{1}{P{8em}}{\textbf{Command failure behaviour}} &
+  \multicolumn{1}{P{6em}}{\textbf{Supports \t{nonfatal}?}} &
+  \multicolumn{1}{P{12em}}{\textbf{\t{nonfatal} as both function and 
external command?}} \\
   \midrule
-  0, 1, 2, 3& Non-zero exit & No  \\
-  4, 5, 6, 7& Aborts& Yes \\
+  0, 1, 2, 3& Non-zero exit & No  & n/a \\
+  4, 5, 6   & Aborts& Yes & No  \\
+  7 & Aborts& Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 80003cdf6b067a5b654426259665e89f71faad4d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Sep 28 14:05:38 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 20:22:57 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=80003cdf

EAPI 7 has eqawarn

Bug: https://bugs.gentoo.org/482884

 eapi-differences.tex |  4 
 pkg-mgr-commands.tex | 18 ++
 2 files changed, 22 insertions(+)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index a56f1ff..34ee0c9 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{eqawarn} & \compactfeatureref{eqawarn} &
+No & No & No & No & Yes \\
+
 \t{ver_*} functions & \compactfeatureref{ver-functions} &
 No & No & No & No & Yes \\
 
@@ -387,6 +390,7 @@ EAPI 7 is EAPI 6 with the following changes:
 directories, \featureref{profile-file-dirs}.
 \item \t{dohtml} banned, \featureref{banned-commands}.
 \item Version manipulation and comparison functions added, 
\featureref{ver-functions}.
+\item \t{eqawarn} added, \featureref{eqawarn}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 15bfcde..c7f3696 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -124,6 +124,10 @@ stderr or some other appropriate facility.
 example.
 \item[ewarn] Displays a warning message. Must not go to stdout.
 \item[eerror] Displays an error message. Must not go to stdout.
+\item[eqawarn] \featurelabel{eqawarn} Display a QA warning message intended 
for ebuild developers.
+The package manager may provide appropriate mechanisms to skip those 
messages for normal users.
+Must not go to stdout.  Only available in EAPIs listed in 
table~\ref{tab:output-commands} as
+supporting \t{eqawarn}.
 \item[ebegin] Displays an informational message. Should be used when beginning 
a possibly
 lengthy process, and followed by a call to \t{eend}.
 \item[eend] Indicates that the process begun with an \t{ebegin} message has 
completed. Takes one
@@ -132,6 +136,20 @@ stderr or some other appropriate facility.
 message followed by a failure indicator. Returns its first argument as 
exit status.
 \end{description}
 
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{Output commands for EAPIs}
+\label{tab:output-commands}
+\begin{tabular}{ll}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{\t{eqawarn}?}} \\
+  \midrule
+  0, 1, 2, 3, 4, 5, 6  & No  \\
+  7& Yes \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
 \subsubsection{Error commands}
 These commands are used when an error is detected that will prevent the build 
process from
 completing. Ebuilds must not run any of these commands once the current phase 
function has returned.



[gentoo-commits] repo/user/Drauthius:master commit in: dev-games/aseprite/files/, dev-games/aseprite/

2017-10-04 Thread Albert Diserholt
commit: 2ba9980ba8a4eefab233c0571cd333de1f84e8cf
Author: Albert Diserholt  diserholt  com>
AuthorDate: Tue Oct  3 20:25:16 2017 +
Commit: Albert Diserholt  diserholt  com>
CommitDate: Wed Oct  4 19:50:33 2017 +
URL:
https://gitweb.gentoo.org/repo/user/Drauthius.git/commit/?id=2ba9980b

Updated Aseprite to version 1.2.2

 dev-games/aseprite/Manifest|   3 +
 dev-games/aseprite/aseprite-1.2.2.ebuild   | 109 +
 .../files/aseprite-system_libarchive.patch |  87 
 3 files changed, 199 insertions(+)

diff --git a/dev-games/aseprite/Manifest b/dev-games/aseprite/Manifest
index 003dc6a..be382d2 100644
--- a/dev-games/aseprite/Manifest
+++ b/dev-games/aseprite/Manifest
@@ -1,4 +1,7 @@
+AUX aseprite-system_libarchive.patch 3043 SHA256 
26b18b4be713aa41eba64433b45b4d45c0aa9b2b48b4c4a676df57e6fccca744 SHA512 
c148baf4282a3fc2f4a23395dbd35b2296b586161409af1e7b9325e7e5a65da469da582dd04106434350032591f4e9dc7efa619585cca5b750f2c2c079c79535
 WHIRLPOOL 
e8a57354a5198a60f604813ff14935da383913e7c63bbb446e2b7983f61728bd34629eaa40e00bfcf3888ca0e7ebfbede60443282993c30a177d599f29d044cf
 DIST Aseprite-v1.1.13-Source.zip 12809688 SHA256 
f4f306ce6642ecf2aa13161786b0b1797a2bedfc2c537bd910445e1b73dea56a SHA512 
b6dd948223885bc9511a8a0f8427540011dc2a6a4ec3448d3461a5661c7de574487e2306024f9522240490b1784a4231818f2790466d106f8b21259c188ca258
 WHIRLPOOL 
18af949c5a0d7f2b866e8c9a45fcf3fb623722c44537abbf8b3e79501e6f898b9e037e7afc83170b9383a567ff5889ab2013b1624a06a45c074220b68a51b736
+DIST Aseprite-v1.2.2-Source.zip 20082797 SHA256 
95fe1f9f8ee57aedd82b90dc358f3f0782cfe7f8d398af98a5df11fa4a00a98e SHA512 
0798bacb626a0f7e0a2c3984c342cd30d1da5ff2be839c395667c359e1a2c422daf7c1e4a74594f12385f6fec46868948f2491bc609ccd9fa992566fa631c06a
 WHIRLPOOL 
1d65f9a0ba60f867da73793e9158a44bd4b9e63d863717de444f0d547cd1a57d81112a7f8f4b7731c8a25e4f54c650b7ff66d04d7dc4b765fc36de67afd2fb50
 EBUILD aseprite-1.1.13.ebuild 3008 SHA256 
1683aab831ef721b959105b273409ad6ff9334b22f87fb6554a111ce5ea65c4d SHA512 
58cb3df2e8b33502021b90adde0459004507c9809ee4e0a06f5ddcbefef3c9758cd7374e7f529309a1c876a98e8983305e18f7f9344350221470a7bcebe9ce49
 WHIRLPOOL 
cff7736e9fa83d4042e90bc46d7bf60e31979befe2378b1f06b93912157b3f6c851d5f71488619e42d99481a0dd7bec27b3e173402936821a84aeee2f7467f24
+EBUILD aseprite-1.2.2.ebuild 2909 SHA256 
5ad0b6bde6729b0daa345b0782ea0163f62fc4de0cb6ac3ae5a8d777c46150a4 SHA512 
a31092536e076644e8bf4db4bf9dcf36981040b82252c5ab83a1cff1763281b4fd49b205abcc5a584246e417df85c0fc9c3e349483a2e62057e1361b261254a1
 WHIRLPOOL 
df7ff7e221299b2405f116c777ae69b601ded121cbca38c1b96d2c22c6af3eb9c462fa99700cf65dbf38c2c8e64364bd74d54503b208eeb6169cafc5599b907e
 EBUILD aseprite-1.2_beta9.ebuild 2981 SHA256 
734aeabb701c559fb8a4f448cd7db716d1b0985c8671d8aea6c48786449e814b SHA512 
57c9589cb28105e8a069edb905670d4c0ed71dfa620545117c3eac3ae7c1fc62f4c69f8cafce88c7f51c7242904e0fb209c09376034cb075e8c2a15e96541fbf
 WHIRLPOOL 
85e3d939a4ce8c43f7bbca7e192166eb3498a9612edacb3a0ed98282c8df8b25bef006754e1e62956f0d35d3422ca153b40b015e562e03767e95afac126a0134
 EBUILD aseprite-.ebuild 3008 SHA256 
1683aab831ef721b959105b273409ad6ff9334b22f87fb6554a111ce5ea65c4d SHA512 
58cb3df2e8b33502021b90adde0459004507c9809ee4e0a06f5ddcbefef3c9758cd7374e7f529309a1c876a98e8983305e18f7f9344350221470a7bcebe9ce49
 WHIRLPOOL 
cff7736e9fa83d4042e90bc46d7bf60e31979befe2378b1f06b93912157b3f6c851d5f71488619e42d99481a0dd7bec27b3e173402936821a84aeee2f7467f24

diff --git a/dev-games/aseprite/aseprite-1.2.2.ebuild 
b/dev-games/aseprite/aseprite-1.2.2.ebuild
new file mode 100644
index 000..1a74919
--- /dev/null
+++ b/dev-games/aseprite/aseprite-1.2.2.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit cmake-utils toolchain-funcs
+
+DESCRIPTION="Animated sprite editor & pixel art tool"
+HOMEPAGE="http://www.aseprite.org;
+LICENSE="Proprietary"
+SLOT="0"
+
+PATCHES=( "${FILESDIR}/${PN}-system_libarchive.patch" )
+
+if [[ ${PV} = * || ${PV} = *beta* ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/aseprite/aseprite;
+   EGIT_BRANCH="master"
+   if [[ ${PV} != * ]]; then
+   EGIT_COMMIT="v${PV/_/-}"
+   fi
+else
+   
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${PN^}-v${PV}-Source.zip;
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}"
+fi
+
+IUSE="
+   debug
+   memleak
+   webp
+   system-allegro
+   +system-curl
+   +system-giflib
+   +system-jpeg
+   +system-libpng
+   +system-libwebp
+   +system-pixman
+   +system-tinyxml
+   +system-zlib"
+
+RDEPEND="
+   app-arch/libarchive
+   app-text/cmark
+   system-tinyxml? ( dev-libs/tinyxml )
+   system-allegro? ( media-libs/allegro:0[X,png] )
+   system-giflib? ( >=media-libs/giflib-5.0 )
+   

[gentoo-commits] repo/user/Drauthius:master commit in: games-engines/love/, simulationcraft/

2017-10-04 Thread Albert Diserholt
commit: cf7d7e2c4dc6658560c89baf56231dde38de93a1
Author: Albert Diserholt  diserholt  com>
AuthorDate: Tue Oct  3 19:13:55 2017 +
Commit: Albert Diserholt  diserholt  com>
CommitDate: Tue Oct  3 19:13:55 2017 +
URL:
https://gitweb.gentoo.org/repo/user/Drauthius.git/commit/?id=cf7d7e2c

Added SimulationCraft (WoW addon)

Also bumped LÖVE version.

 games-engines/love/Manifest |  2 +
 games-engines/love/love-0.10.2.ebuild   | 61 +
 simulationcraft/Manifest|  1 +
 simulationcraft/simulationcraft-.ebuild | 46 ++
 4 files changed, 110 insertions(+)

diff --git a/games-engines/love/Manifest b/games-engines/love/Manifest
index 7c47051..b82580f 100644
--- a/games-engines/love/Manifest
+++ b/games-engines/love/Manifest
@@ -1,10 +1,12 @@
 DIST love-0.10.0-linux-src.tar.gz 1586980 SHA256 
97a4df98e56c4e9b9d9097633a76319e719de8f87c494782df8dc1c1b30d56e4 SHA512 
e8140e4e3bc332fd161ab7bd8f08232d7a1d307208c306dab73ca4ad0e65ce719b6715234e6c5392dfeceb76836b0476e473e62666e15ed64108886a7bb45682
 WHIRLPOOL 
2f493454d1f0e81820a2dfdf33cbf43536d28c1b1ce7bed84ff0ccdcebcec6d317af648568312b7ef766d05c62983fc0985c8ba5e90c3efa02169b3d015f01b4
 DIST love-0.10.1-linux-src.tar.gz 1686004 SHA256 
a2b0c9a1096a064c40f9f4bafd7ee92c0aa64f70146f7574992425c24e4541fb SHA512 
d060ab293779701f97a87dc619ae168e6ae043be08eba288cb629e472f4a16488431775bdde0ab3675b47448940d34d1f39ff60cb0f717a8d03c933de0d8d10f
 WHIRLPOOL 
4cd99b48d0a5c0670119a06992d3d0b269e6c3b7c714fc15e2bebe5639cb52dd80f9bf015f77a77b4e4d86722e2ab2aef86e547d7ede550ede0ec6cbc458d1d1
+DIST love-0.10.2-linux-src.tar.gz 1698376 SHA256 
b26b306b113158927ae12d2faadb606eb1db49ffdcd7592d6a0a3fc0af21a387 SHA512 
81c0bb5a454ed9abc692784f155933288a2bd5ba5ffb919c7709584e7e8d68fca10b5ea1e3a386def46b18f071b217ffbc2914a8ea08424226f0580020fce076
 WHIRLPOOL 
a4aa3569c1a0d099f4386ae21638a280d4f6946d072356c9ae6d94075d00b9604fb54161be3a2e4c6a6dfbe5ee824f3630f2a2d46276078ab055e2b851bccf5b
 DIST love-0.9.0-linux-src.tar.gz 1389352 SHA256 
4f0d24945223fc3ba78f0a81799a179f06b97e9b0aea2c9c6ad532820a491611 SHA512 
e6deec6cd1dbb6daf6ffbf037cc662c2997afad37390f1fc0892c5086688aedf1a28b8f5d9a5cf55ff08d0d5b22a1e709c8c1edccb32ec965363b40e70c6bf19
 WHIRLPOOL 
06e6c8c9f4f3e2c4f1c7c3983820c7351cfe370e0755dbeb37c0af83ec660805ddc0ed51561f911a45f8639ae8c80b3704b30eaad0d8982a223b9319893fefd5
 DIST love-0.9.1-linux-src.tar.gz 1405469 SHA256 
04dd0946bd82ec839c454c161bf0e5da870f393af62d09dc229990f5176833de SHA512 
295e1a944344946fd6e7552512ec3d2a3dbe0e86c1cf464b160cf92891495f73c0d9e2daffc4b5732cb0b3da0a95047d256ec4b8cf54c496e0d7356a97abc10e
 WHIRLPOOL 
ee65c766aa0d610c987aa1077f250390d07bd3ceca23c3df6c8142d111c43224924be2c846453d51474ecd016c17ee9ecb963569b3c520528bc906e264fcdc90
 DIST love-0.9.2-linux-src.tar.gz 1451535 SHA256 
a995d062dc14e7944c239934b9343583153718774511d8625885aa57f2b5c172 SHA512 
a6948eb77334b1a73a3595268eca8bd7a04a723e9e027ef4b1b8133b4365c06b0a0c4d4e09040ab74bd1f8564d70ec8d07c61aa67d75d86ecba41b2baca629ab
 WHIRLPOOL 
100c8abd20ee43a26f8e36d9457dca7c91f23f38d03e0504e8386a0e9aa109ca362ba09d21f738598f7f18529a59a6d9cf296616ddd72cccd23cd97162b081bc
 EBUILD love-0.10.0.ebuild 1263 SHA256 
1ddd903dec7308df6a5eb694dd96a0685ef168c02336d5d6b4543d090421666f SHA512 
cff7113c067ad90d6a16ad87bf1667adcdc5d8679a8ced54dc656b390e42098d0cf034b808ab4b6d7293e4a29e799d629cbe70113192b4595bfc0c2d3c61ecfb
 WHIRLPOOL 
2dd1d934569cfb193af0482044f38f853e9d5520cb917f55e3982db22831cdc87a7cb5dd745f0944021fdf8f1d07ff2b7c945a148a927c1de0350e9e1eec73e0
 EBUILD love-0.10.1.ebuild 1263 SHA256 
1ddd903dec7308df6a5eb694dd96a0685ef168c02336d5d6b4543d090421666f SHA512 
cff7113c067ad90d6a16ad87bf1667adcdc5d8679a8ced54dc656b390e42098d0cf034b808ab4b6d7293e4a29e799d629cbe70113192b4595bfc0c2d3c61ecfb
 WHIRLPOOL 
2dd1d934569cfb193af0482044f38f853e9d5520cb917f55e3982db22831cdc87a7cb5dd745f0944021fdf8f1d07ff2b7c945a148a927c1de0350e9e1eec73e0
+EBUILD love-0.10.2.ebuild 1263 SHA256 
1ddd903dec7308df6a5eb694dd96a0685ef168c02336d5d6b4543d090421666f SHA512 
cff7113c067ad90d6a16ad87bf1667adcdc5d8679a8ced54dc656b390e42098d0cf034b808ab4b6d7293e4a29e799d629cbe70113192b4595bfc0c2d3c61ecfb
 WHIRLPOOL 
2dd1d934569cfb193af0482044f38f853e9d5520cb917f55e3982db22831cdc87a7cb5dd745f0944021fdf8f1d07ff2b7c945a148a927c1de0350e9e1eec73e0
 EBUILD love-0.9.0.ebuild 1241 SHA256 
a51bb4613f847e0ec7f8d4cb5f2ff0fa57609e29b9869102ec0649911ef5e2b2 SHA512 
92437b48e92e89af1a8c25d67eea493f9aca198ed0dd13756fe4668bc3d407fa9c7154094ed21a1b2ca20a4abcf12d7f5d9f786d84ee7222023d5521c80440e5
 WHIRLPOOL 
6b9d175f70ece4e9defab6a39e0b939cb0168c3a94a8cdb280380bef851ec43e8fc40352471dcee566b12c70afe712c318ab900ae01d85405a97ffb635a4a3d8
 EBUILD love-0.9.1.ebuild 1241 SHA256 
a51bb4613f847e0ec7f8d4cb5f2ff0fa57609e29b9869102ec0649911ef5e2b2 SHA512 
92437b48e92e89af1a8c25d67eea493f9aca198ed0dd13756fe4668bc3d407fa9c7154094ed21a1b2ca20a4abcf12d7f5d9f786d84ee7222023d5521c80440e5
 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/cryptlib/files/, dev-libs/cryptlib/, profiles/

2017-10-04 Thread Alon Bar-Lev
commit: 60da651906a0a9a4cf30b4792342660e0b59e9e4
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Wed Oct  4 19:54:20 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Wed Oct  4 19:54:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60da6519

dev-libs/cryptlib: treeclean

Gentoo-Bug: 630420

 dev-libs/cryptlib/Manifest |   4 -
 dev-libs/cryptlib/cryptlib-3.4.3.1-r2.ebuild   | 114 
 dev-libs/cryptlib/cryptlib-3.4.4_beta.ebuild   | 145 -
 .../cryptlib/files/cryptlib-3.4.3.1-build.patch| 130 --
 .../cryptlib/files/cryptlib-3.4.3.1-zlib.patch |  55 
 .../cryptlib/files/cryptlib-3.4.4_beta-build.patch |  91 -
 dev-libs/cryptlib/metadata.xml |   8 --
 profiles/package.mask  |   6 -
 8 files changed, 553 deletions(-)

diff --git a/dev-libs/cryptlib/Manifest b/dev-libs/cryptlib/Manifest
deleted file mode 100644
index 898863be77a..000
--- a/dev-libs/cryptlib/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST cl3431.zip 5828863 SHA256 
4a608d725f9d983083420f9f57f763f320292c50346de3e8c1caeee743bd SHA512 
d6a3403361fe39b855ec85b030989c5dfc54e499260869de0de151ad6f62245020561dd308b86edf6792da9663e19a0c0d21c53aa7434b21e83eb4b7445fd8dc
 WHIRLPOOL 
eccc446361f7daa9cf5a017ae7e229b2003f198490b9cae1bed61fd7bd585e9a08ec54c6c035ba2c4f3e8a58d3eb9756a61f608d5a299c8cc66b159a87e95874
-DIST cl344beta.zip 4433862 SHA256 
f661e3f26944465fa9492cd17b339710d457da86d85d66e801f14fc4ba617411 SHA512 
5144162b101c62e02fdaab20030a2fd3fb3b7a75cdf8a8160a3616f8e23d8f4a8db0eb9b1116d89f8c93e9be348b0458c22f3674e1d6c50f7380e50f60ad2483
 WHIRLPOOL 
cc8f6e7e1ff3641e59ec8ade9034caca11e1b6b0e8801bd5da8b03104aee372d0a8f205f04829a8a6ec5fd0bad1736230b2d24733037a64dd401106e09d43a1f
-DIST cryptlib-3.4.0-manual.pdf.bz2 1215921 SHA256 
b06b736e6e123f578adcd08a8ede6cdb62e3e6d4ac2decb3570def1b29d44da8 SHA512 
dbf9914a110a686dc23fedd23c16cefbae12cc67e378db67ac292f8f782b3b615a5819013f2b9c4861086c7ddfab690db9d68a911346102def323255cf48069b
 WHIRLPOOL 
8cc64ab7ffe8a97714e793dd3dfe36708e7e2c7ec583479c593d767de22b860be5bcf0a70427f6f2e7e1d9732ec4ba2d2b3f1617f97bb649c0298924e4a93fb6
-DIST cryptlib-3.4.4_beta-manual.pdf 3497791 SHA256 
0317cde5a4d6967ceaf49471fe911c0238e78a233465d52755404f07ad2873a5 SHA512 
3440aa86ac9672dfff302054c3868856d0dbc1a9ada47cfeed3761f7b3dc17cd45950ce24127ef5832803596263fa34bc6bfdd7a7b369f68959b4b93d59a3435
 WHIRLPOOL 
af53cd9328931ea7dfb8f2c65dc7265fe52db70f1e3b1d487bc10228fc8e6a53b18a0947e57e61e68e087c70a593b8799b5dfc7fd3bbf7825661afefd972aca4

diff --git a/dev-libs/cryptlib/cryptlib-3.4.3.1-r2.ebuild 
b/dev-libs/cryptlib/cryptlib-3.4.3.1-r2.ebuild
deleted file mode 100644
index e6c6f90c117..000
--- a/dev-libs/cryptlib/cryptlib-3.4.3.1-r2.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 pypy )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic multilib toolchain-funcs versionator
-
-MY_PV="${PV//.}"
-
-DESCRIPTION="Powerful security toolkit for adding encryption to software"
-HOMEPAGE="http://www.cs.auckland.ac.nz/~pgut001/cryptlib/;
-DOC_PREFIX="${PN}-$(get_version_component_range 1-2 ${PV}).0"
-SRC_URI="ftp://ftp.franken.de/pub/crypt/cryptlib/cl${MY_PV}.zip
-   doc? ( mirror://gentoo/${DOC_PREFIX}-manual.pdf.bz2 )"
-
-LICENSE="Sleepycat"
-KEYWORDS="amd64 x86"
-SLOT="0"
-IUSE="doc ldap odbc python static-libs test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}"
-
-RDEPEND="sys-libs/zlib
-   ldap? ( net-nds/openldap )
-   odbc? ( dev-db/unixODBC )
-   python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-   app-arch/unzip"
-
-PATCHES=(
-   "${FILESDIR}/${P}-build.patch"
-   "${FILESDIR}/${P}-zlib.patch"
-)
-
-# test access the network
-RESTRICT="test"
-
-src_unpack() {
-   # we need the -a option, so we can not use 'unpack'
-   unzip -qoa "${DISTDIR}/cl${MY_PV}.zip" || die
-   use doc && unpack "${DOC_PREFIX}-manual.pdf.bz2"
-}
-
-wrap_python() {
-   if use python; then
-   cd bindings || die
-   distutils-r1_${1}
-   fi
-}
-
-src_prepare() {
-   default
-
-   rm -fr zlib || die
-
-   # we want our own CFLAGS ;-)
-   sed -i -e "s:-m.*=pentium::g" -e "s:-fomit-frame-pointer::g" -e 
"s:-O2::g" \
-   -e "s:-O3::g" -e "s:-O4::g" makefile || die "sed makefile 
failed"
-   sed -i -e "s/-march=[[:alnum:]\.=-]*//g" -e 
"s/-mcpu=[[:alnum:]\.=-]*//g" \
-   -e "s:-O2::g" -e "s:-O3::g" tools/ccopts.sh || die "sed 
tools/ccopts.sh failed"
-
-   # change 'make' to '$(MAKE)'
-   sed -i -e "s:@\?make:\$(MAKE):g" makefile || die "sed makefile failed"
-
-   wrap_python ${FUNCNAME}
-}
-
-src_compile() {
-   use ldap && append-cppflags -DHAS_LDAP
-

[gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_pkcs11/, profiles/

2017-10-04 Thread Alon Bar-Lev
commit: 3c1d288a042d30a80a57fb07f88ec1800b42e97e
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Wed Oct  4 19:55:31 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Wed Oct  4 19:55:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c1d288a

sys-auth/pam_pkcs11: treeclean

Gentoo-Bug: 628908

 profiles/package.mask   |   5 --
 sys-auth/pam_pkcs11/Manifest|   1 -
 sys-auth/pam_pkcs11/metadata.xml|  26 ---
 sys-auth/pam_pkcs11/pam_pkcs11-0.6.9.ebuild | 109 
 4 files changed, 141 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index b8536ac81ec..1a33489c31d 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -192,11 +192,6 @@ x11-apps/python-whiteboard
 # time being.
 >=dev-java/javatoolkit-0.6.0
 
-# Alon Bar-Lev  (08 Sep 2017)
-# Upstream no longer maintain (Bug#628908).
-# Removal in 30 days.
-sys-auth/pam_pkcs11
-
 # Austin English  (05 Sep 2017)
 # Download has been broken for nearly a year, no alternative found
 # Bug: https://bugs.gentoo.org/599390

diff --git a/sys-auth/pam_pkcs11/Manifest b/sys-auth/pam_pkcs11/Manifest
deleted file mode 100644
index 33305cb70bf..000
--- a/sys-auth/pam_pkcs11/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_pkcs11-0.6.9.tar.gz 1358280 SHA256 
b27e8ba40ffc5b847abf95d2e636ed58640f068398a233f27e211363c20eba91 SHA512 
954c37b9aa93d007ca3c0c49790bf6840d3b902b5dacda485c9020f4362db4a5a41670ad95f672757f3a7e60fe430765023f1a57e9a79260c052c45854d5ba51
 WHIRLPOOL 
fcca466565978701e128396f69de6ce1e9b8a3c0771865a71e22f0e23c1641c1ffe7d6e36435bbf93b11fb4e34ecab71e580685e1d481f7df0bfd5b5b52c37b6

diff --git a/sys-auth/pam_pkcs11/metadata.xml b/sys-auth/pam_pkcs11/metadata.xml
deleted file mode 100644
index caa5b87c36b..000
--- a/sys-auth/pam_pkcs11/metadata.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-  
-cry...@gentoo.org
-Crypto
-  
-  
-pam-b...@gentoo.org
-Pluggable Authentication Method maintenance
-  
-  
-
-  Build the card_eventmanager binary used to detect card removal and lock 
the sessions. This
-  needs sys-apps/pcsc-lite.
-
-
-  Use Mozilla NSS (dev-libs/nss) as provider for PKCS#11 
access, rather than using
-  OpenSSL with a custom implementation of the PKC#11 protocol.
-
-  
-  
-opensc
-opensc/pam_pkcs11
-  
-

diff --git a/sys-auth/pam_pkcs11/pam_pkcs11-0.6.9.ebuild 
b/sys-auth/pam_pkcs11/pam_pkcs11-0.6.9.ebuild
deleted file mode 100644
index 5c6e07f3f37..000
--- a/sys-auth/pam_pkcs11/pam_pkcs11-0.6.9.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit ltprune pam
-
-DESCRIPTION="PKCS#11 PAM library"
-HOMEPAGE="https://github.com/opensc/pam_pkcs11/wiki;
-SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="curl doc ldap nss +pcsc-lite"
-
-RDEPEND="sys-libs/pam
-   curl? ( net-misc/curl )
-   ldap? ( net-nds/openldap )
-   nss? (
-   dev-libs/nss
-   curl? ( || ( net-misc/curl[-ssl] 
net-misc/curl[ssl,curl_ssl_nss] ) )
-   )
-   !nss? (
-   dev-libs/openssl:=
-   curl? ( || ( net-misc/curl[-ssl] 
net-misc/curl[ssl,-curl_ssl_nss] ) )
-   )
-   pcsc-lite? ( sys-apps/pcsc-lite )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( dev-libs/libxslt )"
-
-DOCS=(
-   AUTHORS ChangeLog NEWS README TODO
-)
-
-src_prepare() {
-   default
-   # Fix the example files to be somewhat decent, and usable as
-   # default configuration
-   sed -i \
-   -e '/try_first_pass/s:false:true:' \
-   -e '/debug =/s:true:false:' \
-   -e 's:\(/usr\|\${exec_prefix}\)/lib/:/usr/'$(get_libdir)/':g' \
-   etc/pam_pkcs11.conf.example.in \
-   etc/pkcs11_eventmgr.conf.example || die "sed failed"
-}
-
-src_configure() {
-   econf \
-   $(use_with curl) \
-   $(use_with doc docbook) \
-   $(use_with pcsc-lite pcsclite) \
-   $(use_with ldap) \
-   $(use_with nss)
-}
-
-src_install() {
-   emake DESTDIR="${ED}" pamdir="$(getpam_mod_dir)" install
-   einstalldocs
-   prune_libtool_files --modules
-
-   dodoc doc/README.*
-   use doc && dodoc doc/api/*
-
-   # Provide some basic configuration
-   keepdir /etc/pam_pkcs11{,/{cacerts,crl}}
-
-   insinto /etc/pam_pkcs11
-   newins etc/pam_pkcs11.conf.example pam_pkcs11.conf
-   newins etc/pkcs11_eventmgr.conf.example pkcs11_eventmgr.conf
-}
-
-pkg_config() {
-   local dir
-   for dir in "${EROOT}"etc/${PN}/{cacerts,crl}; do
- 

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

2017-10-04 Thread Robin H. Johnson
commit: ea1db35a568db555e5a5904f4568cd20e7905069
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Oct  4 19:27:34 2017 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Wed Oct  4 19:30:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea1db35a

autotools.eclass: fix typo for clarify.

Signed-off-by: Robin H. Johnson  gentoo.org>

 eclass/autotools.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 2710bf827b6..8027fdc1753 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -110,7 +110,7 @@ RDEPEND=""
 # @ECLASS-VARIABLE: AUTOTOOLS_AUTO_DEPEND
 # @DESCRIPTION:
 # Set to 'no' to disable automatically adding to DEPEND.  This lets
-# ebuilds former conditional depends by using ${AUTOTOOLS_DEPEND} in
+# ebuilds form conditional depends by using ${AUTOTOOLS_DEPEND} in
 # their own DEPEND string.
 : ${AUTOTOOLS_AUTO_DEPEND:=yes}
 if [[ ${AUTOTOOLS_AUTO_DEPEND} != "no" ]] ; then



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

2017-10-04 Thread Robin H. Johnson
commit: 5f21d6aacd144e990402609aa3b3f118cc391447
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Wed Oct  4 19:03:18 2017 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Wed Oct  4 19:30:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f21d6aa

meson.eclass: MESON_AUTO_DEPEND support

Make it possible to use the meson eclass without it automatically adding
meson to DEPEND. Intended for cases where meson usage is conditional
(e.g. hidden behind a USE flag).

This is a direct copy of the AUTOTOOLS_AUTO_DEPEND functionality &
implementation from autotools.eclass, including the guard for multiple
inheritance.

Closes: https://bugs.gentoo.org/626054
Signed-off-by: Robin H. Johnson  gentoo.org>
Signed-off-by: Mike Gilbert  gentoo.org>

 eclass/meson.eclass | 23 ++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 5b63f0ef3a3..b339017f901 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -38,6 +38,16 @@ case ${EAPI:-0} in
*) die "EAPI=${EAPI} is not supported" ;;
 esac
 
+if [[ ${__MESON_AUTO_DEPEND+set} == "set" ]] ; then
+   # See if we were included already, but someone changed the value
+   # of MESON_AUTO_DEPEND on us.  We could reload the entire
+   # eclass at that point, but that adds overhead, and it's trivial
+   # to re-order inherit in eclasses/ebuilds instead.  #409611
+   if [[ ${__MESON_AUTO_DEPEND} != ${MESON_AUTO_DEPEND} ]] ; then
+   die "MESON_AUTO_DEPEND changed value between inherits; please 
inherit meson.eclass first! ${__MESON_AUTO_DEPEND} -> ${MESON_AUTO_DEPEND}"
+   fi
+fi
+
 if [[ -z ${_MESON_ECLASS} ]]; then
 
 inherit ninja-utils python-utils-r1 toolchain-funcs
@@ -49,9 +59,20 @@ EXPORT_FUNCTIONS src_configure src_compile src_test 
src_install
 if [[ -z ${_MESON_ECLASS} ]]; then
 _MESON_ECLASS=1
 
-DEPEND=">=dev-util/meson-0.40.0
+MESON_DEPEND=">=dev-util/meson-0.40.0
>=dev-util/ninja-1.7.2"
 
+# @ECLASS-VARIABLE: MESON_AUTO_DEPEND
+# @DESCRIPTION:
+# Set to 'no' to disable automatically adding to DEPEND.  This lets
+# ebuilds form conditional depends by using ${MESON_DEPEND} in
+# their own DEPEND string.
+: ${MESON_AUTO_DEPEND:=yes}
+if [[ ${MESON_AUTO_DEPEND} != "no" ]] ; then
+   DEPEND=${MESON_DEPEND}
+fi
+__MESON_AUTO_DEPEND=${MESON_AUTO_DEPEND} # See top of eclass
+
 # @ECLASS-VARIABLE: BUILD_DIR
 # @DEFAULT_UNSET
 # @DESCRIPTION:



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

2017-10-04 Thread Alon Bar-Lev
commit: d11fcd28c44f8181f9d45d4ce8967e9c106e5b87
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Wed Oct  4 19:28:26 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Wed Oct  4 19:28:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d11fcd28

dev-libs/botan: remove unneeded c++11 patch

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 dev-libs/botan/botan-1.10.17.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-libs/botan/botan-1.10.17.ebuild 
b/dev-libs/botan/botan-1.10.17.ebuild
index 5475dd11867..4045d948b7b 100644
--- a/dev-libs/botan/botan-1.10.17.ebuild
+++ b/dev-libs/botan/botan-1.10.17.ebuild
@@ -32,7 +32,6 @@ DEPEND="${RDEPEND}
doc? ( dev-python/sphinx )"
 
 PATCHES=(
-   "${FILESDIR}/${PN}-1.10.15-c++11.patch"
"${FILESDIR}/${P}-build.patch"
"${FILESDIR}/${P}-libressl.patch"
 )



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

2017-10-04 Thread Alon Bar-Lev
commit: 2f65651672b9d80a2d029a59661a68d0053f8151
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Wed Oct  4 19:24:40 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Wed Oct  4 19:24:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f656516

dev-libs/botan: do not permit openssl-1.1

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 dev-libs/botan/botan-1.10.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/botan/botan-1.10.17.ebuild 
b/dev-libs/botan/botan-1.10.17.ebuild
index 8d09da8321a..5475dd11867 100644
--- a/dev-libs/botan/botan-1.10.17.ebuild
+++ b/dev-libs/botan/botan-1.10.17.ebuild
@@ -25,7 +25,7 @@ RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
python? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}] 
)
gmp? ( >=dev-libs/gmp-4.2.2:* )
ssl? (
-   !libressl? ( dev-libs/openssl:0=[bindist=] )
+   !libressl? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/files/, dev-libs/botan/

2017-10-04 Thread Alon Bar-Lev
commit: 1e30fc072ccdc03f15660e9269bb63b3db3b0f8c
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Wed Oct  4 19:20:00 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Wed Oct  4 19:20:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e30fc07

dev-libs/botan: re-add support for libressl

Gentoo-Bug: 633466

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 dev-libs/botan/botan-1.10.17.ebuild   |  1 +
 dev-libs/botan/files/botan-1.10.17-libressl.patch | 40 +++
 2 files changed, 41 insertions(+)

diff --git a/dev-libs/botan/botan-1.10.17.ebuild 
b/dev-libs/botan/botan-1.10.17.ebuild
index afa4eff4aa1..8d09da8321a 100644
--- a/dev-libs/botan/botan-1.10.17.ebuild
+++ b/dev-libs/botan/botan-1.10.17.ebuild
@@ -34,6 +34,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
"${FILESDIR}/${PN}-1.10.15-c++11.patch"
"${FILESDIR}/${P}-build.patch"
+   "${FILESDIR}/${P}-libressl.patch"
 )
 
 src_prepare() {

diff --git a/dev-libs/botan/files/botan-1.10.17-libressl.patch 
b/dev-libs/botan/files/botan-1.10.17-libressl.patch
new file mode 100644
index 000..5913bfd3049
--- /dev/null
+++ b/dev-libs/botan/files/botan-1.10.17-libressl.patch
@@ -0,0 +1,40 @@
+From e61a5f56fb404db3655909be4ce23c3a816cbb60 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev 
+Date: Wed, 4 Oct 2017 22:16:31 +0300
+Subject: [PATCH] openssl: support libressl
+
+Signed-off-by: Alon Bar-Lev 
+---
+ src/engine/openssl/ossl_bc.cpp | 2 +-
+ src/engine/openssl/ossl_md.cpp | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/engine/openssl/ossl_bc.cpp b/src/engine/openssl/ossl_bc.cpp
+index 74660c7b5..cb184c202 100644
+--- a/src/engine/openssl/ossl_bc.cpp
 b/src/engine/openssl/ossl_bc.cpp
+@@ -8,7 +8,7 @@
+ #include 
+ #include 
+ 
+-#if OPENSSL_VERSION_NUMBER >= 0x1010
++#if OPENSSL_VERSION_NUMBER >= 0x1010 && !defined(LIBRESSL_VERSION_NUMBER)
+   #error "OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x"
+ #endif
+ 
+diff --git a/src/engine/openssl/ossl_md.cpp b/src/engine/openssl/ossl_md.cpp
+index 2fcb2b0e5..9c43d616e 100644
+--- a/src/engine/openssl/ossl_md.cpp
 b/src/engine/openssl/ossl_md.cpp
+@@ -8,7 +8,7 @@
+ #include 
+ #include 
+ 
+-#if OPENSSL_VERSION_NUMBER >= 0x1010
++#if OPENSSL_VERSION_NUMBER >= 0x1010 && !defined(LIBRESSL_VERSION_NUMBER)
+   #error "OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x"
+ #endif
+ 
+-- 
+2.13.6
+



[gentoo-commits] repo/gentoo:master commit in: dev-libs/botan/, dev-libs/botan/files/

2017-10-04 Thread Alon Bar-Lev
commit: 71ac541cf20d25f77345883ac31669b6505fd1b0
Author: Alon Bar-Lev  gentoo  org>
AuthorDate: Wed Oct  4 18:56:45 2017 +
Commit: Alon Bar-Lev  gentoo  org>
CommitDate: Wed Oct  4 18:57:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ac541c

dev-libs/botan: add missing limits.h

Gentoo-Bug: 633468
Thanks: toralf

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 dev-libs/botan/botan-2.3.0.ebuild|  4 
 dev-libs/botan/files/botan-2.3.0-build.patch | 22 ++
 2 files changed, 26 insertions(+)

diff --git a/dev-libs/botan/botan-2.3.0.ebuild 
b/dev-libs/botan/botan-2.3.0.ebuild
index c2cd637870d..0891fa18daf 100644
--- a/dev-libs/botan/botan-2.3.0.ebuild
+++ b/dev-libs/botan/botan-2.3.0.ebuild
@@ -33,6 +33,10 @@ DEPEND="${RDEPEND}
dev-lang/python:*
doc? ( dev-python/sphinx )"
 
+PATCHES=(
+   "${FILESDIR}/${P}-build.patch"
+)
+
 src_prepare() {
default
use doc || sed \

diff --git a/dev-libs/botan/files/botan-2.3.0-build.patch 
b/dev-libs/botan/files/botan-2.3.0-build.patch
new file mode 100644
index 000..b4d4ca6e694
--- /dev/null
+++ b/dev-libs/botan/files/botan-2.3.0-build.patch
@@ -0,0 +1,22 @@
+From 9e28eac720176ecb9b784510d352aa0ac38d0b56 Mon Sep 17 00:00:00 2001
+From: Jack Lloyd 
+Date: Wed, 4 Oct 2017 13:59:21 -0400
+Subject: [PATCH] Add limits.h header for INT_MAX
+
+Gentoo bug https://bugs.gentoo.org/633468
+---
+ src/lib/prov/openssl/openssl_mode.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/prov/openssl/openssl_mode.cpp 
b/src/lib/prov/openssl/openssl_mode.cpp
+index 9580bc9c5..fabaccb18 100644
+--- a/src/lib/prov/openssl/openssl_mode.cpp
 b/src/lib/prov/openssl/openssl_mode.cpp
+@@ -10,6 +10,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ namespace Botan {
+ 



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

2017-10-04 Thread Aric Belsito
commit: 8cddb98b4fe2f42bbf2d878ac2ddcf5b9a0d673f
Author: Aric Belsito  gmail  com>
AuthorDate: Wed Oct  4 18:53:23 2017 +
Commit: Aric Belsito  gmail  com>
CommitDate: Wed Oct  4 18:53:23 2017 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=8cddb98b

sys-devel/gdb: version bump to 8.0.1

 sys-devel/gdb/Manifest |  4 +++-
 sys-devel/gdb/{gdb-8.0.ebuild => gdb-8.0.1.ebuild} | 23 +++---
 sys-devel/gdb/gdb-8.0.ebuild   |  7 ++-
 3 files changed, 25 insertions(+), 9 deletions(-)

diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 37bed60..8795d66 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -4,8 +4,10 @@ AUX gdb-linux_nat.patch 617 SHA256 
dcef02741f402ad34c658a90b85667e93e1d3293fe294
 AUX gdb-missing-stat_h.patch 398 SHA256 
88a49f997609644866ca873653b1f7cc09f75edb33b2f32ac73c7caffa1ce8d3 SHA512 
8b1d22a61cb471df7052d2215dd5d67175e1732769bde90cb992d23ef97dd7153e2ab348ec184577b9491b68184f542a3f5fe8027b280b5feb38b23353568449
 WHIRLPOOL 
b83c3a7a1825e54f8deaf7a4068b4c1b99adb9d6c1c6ef04eef47450a12f90bcd854462703e006aa049c68fa30d7b64cbbfdca6d0f5dd578f72d6704ed23f1d2
 DIST gdb-7.10.1.tar.xz 18531436 SHA256 
25c72f3d41c7c8554d61cacbeacd5f40993276d2ccdec43279ac546e3993d6d5 SHA512 
17a5138277a31685a5c2a841cb47ed9bc4626ea617b8ca77750513b300299f4fbbffe504958b5372de610dcb952c679cf8fa9c1bdadd380294fbf59b6e366010
 WHIRLPOOL 
02936f59d3f3f8a57966c72402f1da128dd8e10e686097ffdb3a2741cc0c1831ef27f97daa047fa006ff2ae9f79ae0480f6f0dc2d3f5904190a1dade0590c837
 DIST gdb-7.12.1.tar.xz 19225392 SHA256 
4607680b973d3ec92c30ad029f1b7dbde3876869e6b3a117d8a7e90081113186 SHA512 
0ac8d0a495103611ef41167a08313a010dce6ca4c6d827cbe8558a0c1a1a8a6bfa53f1b7704251289cababbfaaf9e075550cdf741a54d6cd9ca3433d910efcd8
 WHIRLPOOL 
1da1d9680639531000f2518fb6e01551f7d35091065b933a25381339f7d78d64486b7ce54dd9815f7e82884133ccd6868950a15c27fb5a7b9b13243e99eba697
+DIST gdb-8.0.1.tar.xz 19583920 SHA256 
3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3 SHA512 
5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1
 WHIRLPOOL 
4632580658f85faab596b98f4f9b3b21a48fc067f56c9ac987e4895f3bd1b430d8f78ef95965e0b78c53e69b502acdeeff5e966c3e8021e6426ce86b78807c17
 DIST gdb-8.0.tar.xz 19588616 SHA256 
f6a24ffe4917e67014ef9273eb8b547cb96a13e5ca74895b06d683b391f3f4ee SHA512 
e4044bdd162cbf95044ec1eaa44d2fa62a33e051bdbbacbc97afd4dfb07bae1bea514381fc1966aede89d6796ef2377a15748a93d95e2ad494c8497db489e886
 WHIRLPOOL 
8e5f49fd8d6a57778ba80cab8768fc11426720c15d54010f9fbcac2c6d8495e7d17ea133f9006d650ed34fdb95b82ac1942d935eaa6b7218fc51d6de6e2213bb
 EBUILD gdb-7.10.1.ebuild 6701 SHA256 
044b11868a2119630bc870d641e7bc92d1c2ca33cffd12441b989953b0af5c68 SHA512 
253c2e616793f25f55bbb9f305ed7da680c09ee9d9fec782ed0fc3e72420878c5dce77afdf31ead546795ddc65e4385ce2368f07e0ea7b487796f29f88661928
 WHIRLPOOL 
6c49a763888bea261564b68892c9fc2eb90dab47ab781647c18d412ef137b6d9888036e9d9984820ce08b26c6f932789de8268dcb52cfd5656c0c3f8ce3bbab1
 EBUILD gdb-7.12.1.ebuild 6727 SHA256 
23d753b889946aba877824a0647b30b21addd91615436c307c4de5e61c299ab7 SHA512 
e6f00f5089d99f551b8f301feb4715c47e9030e6e34a7adb0f8f64a3b9dd8e9e06ecf2dcfca168542c3890683d2cc67bc69d82bbbd010fd69f98278ab1ca9576
 WHIRLPOOL 
274b958d4ad5219eb87c5af4414d8f43735ca2584e3d16a4813f7d704896c48b7cb1d3868ea29bb080a44d1e7a5b1797b77836c252b8e83233b81ae80deeae2b
-EBUILD gdb-8.0.ebuild 6729 SHA256 
e558b89a553d14c1e74cd75189d3cc199bfe6c8c31709dbc31f5279ccc0ba087 SHA512 
e2e6a1600cf0339719284104751c843688796cdc27d8a4ba7f5104db7025b8f18d3a603fe02b72d5123b9d1d146f86d25a136a0d166aba12980e35b0063ab49e
 WHIRLPOOL 
2fcdab9f447139c26b9c8cb680e6418a2f9c960a09d444c59a4761939c43ebe1b5f16e3f461fd80b4edda42a57720154ff166578a042c0482592994b032d2ea5
+EBUILD gdb-8.0.1.ebuild 6970 SHA256 
61b31cf5b3a8b6743d1e2180a2b49de80f278a2b0824a9642cc93fd89a5cac80 SHA512 
fe6077c8b01ab13963f64de952d0cab1ac141db57bb94ce47958ce3d3c9b0031ec97809763c5d224238d66115f8dbf10420e7313a79b4811a453fe5e73db7fa2
 WHIRLPOOL 
90ece30395fc04a5ab0abc9d8e5144574838792b06e153edaebf2fe5a76334964d6fa206c89311dee30aef55196145ebabef3ac97985a7b1f8e37af8e5a28d1f
+EBUILD gdb-8.0.ebuild 6913 SHA256 
9198b3c4f1c1c7a86063a06a182a8254a4af4fa71e9553a2c33658ba1de95602 SHA512 
08f0d27933ae2613a3f1077a0d0cfe793be482cd69989a9810f4470a0725cac72b20c5e9c40dd5323385afef22ce9c404716fbd6b75b50e294227002c364f8e2
 WHIRLPOOL 
ac2e05fbd03391b1ed9f1f43e1c0aacd1ed4253a2d2ed457d0782fceb307ef2c3a157f7edc1da70a3757950048e74e6191365a56a349d4f6882ec87af2f712dd
 MISC metadata.xml 914 SHA256 
b7651e2c8051c8b35a3c1080d50f1ba811ea40c42e8fb8e2eefd80a2b12832ae SHA512 
515a5bcd6c70fc87309cd4e3822d83e1b8fdf52e58cbf331df0c38b9096ad2410dfdad14aed100ea0a53457f57ecdf2b61b910b6a52765219815e1872872ee0c
 WHIRLPOOL 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/pixie/

2017-10-04 Thread Jonas Stein
commit: b300ced34a703f1abcc7e1e4ab66cbaac7f1baa4
Author: Jonas Stein  gentoo  org>
AuthorDate: Wed Oct  4 18:50:10 2017 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Wed Oct  4 18:50:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b300ced3

media-gfx/pixie: Drop proxied maintainer

The maintainer retired and should have been dropped already years ago.
Closes: https://bugs.gentoo.org/632700
Package-Manager: Portage-2.3.11, Repoman-2.3.3

 media-gfx/pixie/metadata.xml | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/media-gfx/pixie/metadata.xml b/media-gfx/pixie/metadata.xml
index d4ccef9aacb..2f6247ed93f 100644
--- a/media-gfx/pixie/metadata.xml
+++ b/media-gfx/pixie/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-toffanin.ma...@gmail.com
-Proxied maintainer
-  
-  
-proxy-ma...@gentoo.org
-Proxy Maintainers
-  
+  
   
 Pixie is an open source photorealistic renderer that uses a RenderMan-like
 interface. Features include programmable shading, motion blur, depth of



[gentoo-commits] proj/musl:master commit in: sys-block/thin-provisioning-tools/

2017-10-04 Thread Aric Belsito
commit: 9631c14c244c65684fd3e267b330a9d23f89cf6a
Author: Aric Belsito  gmail  com>
AuthorDate: Wed Oct  4 18:49:43 2017 +
Commit: Aric Belsito  gmail  com>
CommitDate: Wed Oct  4 18:49:43 2017 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=9631c14c

sys-block/thin-provisioning-tools: bump to 0.7.2

 sys-block/thin-provisioning-tools/Manifest| 4 +++-
 .../thin-provisioning-tools/thin-provisioning-tools-0.7.0.ebuild  | 2 +-
 ...ioning-tools-0.7.0.ebuild => thin-provisioning-tools-0.7.2.ebuild} | 0
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-block/thin-provisioning-tools/Manifest 
b/sys-block/thin-provisioning-tools/Manifest
index f560918..7f3544f 100644
--- a/sys-block/thin-provisioning-tools/Manifest
+++ b/sys-block/thin-provisioning-tools/Manifest
@@ -2,6 +2,8 @@ AUX thin-provisioning-tools-0.7.0-build-fixes.patch 1077 SHA256 
863806519182c7c0
 AUX thin-provisioning-tools-0.7.0-page_size.patch 514 SHA256 
b8e64c0adb18766e1783755ed353db01e9960d3becf4445d81a56c16c9f02ce3 SHA512 
0ec0f58a3951f075d31c81c93457e9f24acdf3d1fbc89ce34c184ff5ae098eb60f7b8e1a1ee20d7d69a30c31a5b00703983e697dabc51820f0429cc6094b773d
 WHIRLPOOL 
6f797ad516bc4188c4625adf96de39116fcec13f7ab2dc97778d90ef989283d10d46081abdbd1011029f917fcd9dc99a2be415c00d8878b34f25b37ecde914c9
 DIST thin-provisioning-tools-0.7.0.tar.gz 230595 SHA256 
68a815860fce3f09f64ef241fd4ba45713f4c7be384fe116ec1dbea467684b32 SHA512 
cb6c44c7215aadd72292d73e2374d8c0c28566adcb10c7a3de83576dbd28649ebba6e2cc59945a28921e423540969cb21f648c37e375d68f48e56a8be4a4c7b8
 WHIRLPOOL 
80201034dafd00617951a30369fc617a9c91b4408ec5c5272b4406c8f86caf0ff738938d6ef92d27a9ac96c3110edfa16609f0777c8592e6a100aeb3e02d3837
 DIST thin-provisioning-tools-0.7.1.tar.gz 247111 SHA256 
da45e387bb7ad5b1b8727dc3e013a1136a18fe7a59bea19074a945ff6d73b925 SHA512 
47ce2f0699e3bc21fa5bb1175e12fa8f545d2abfbed4529b144bd4812a4a0021635713c3e71228f20b30cbe067c77fb93db20b65075b2689ec2aa5b0385854b9
 WHIRLPOOL 
9723450f069df280b9dce3c53e0dff7342ed6757135ea3e07f7df5c081896d003aceafcb00af8f40a98aae7c42c401b7d363ebc4080f16435ba3962ae4f3edfb
-EBUILD thin-provisioning-tools-0.7.0.ebuild 1570 SHA256 
89ff3d517374076ee667ce5d4c6d1688fc3d5aa4c798828dc8ff8261f6f78e6a SHA512 
f38ea84fd448caba6583cd4809abdd7df62e5ca06d38420e5e3ca757bcbf9513b7632e25a2ecddf9a8e618fc647e02bc1c583332b813d5d827a197f81b3bcc53
 WHIRLPOOL 
1fc4c20ba726e9ebb9427c442a9a1f7bb65e584673dd88c37ca53c7b7075341dcaad32da0a99a20a59ee3716dc51c62def67adf309db0c14a0a5e4d341b9aeaa
+DIST thin-provisioning-tools-0.7.2.tar.gz 265819 SHA256 
98e779cb3f9131bc0bb3051ac33ff93562085bee1cb5409f2184163d74092e7e SHA512 
563363842ab0b92f563ac7fcaedb18b8fca70b0894ff30d55cc40487d53b035c32d3ef711adb7102ef1a55b26a75510239da2542b791d850a5cbccf1ddf1acdd
 WHIRLPOOL 
e0e0ab86a5d6746744b7cc2e75d3b9ea729ea7ecd4aa59b0eeaeaecf8746ddf10385b8ecad564d6dbab77e2defa641a717a0cbe83fab470a8dabc19013fcfff0
+EBUILD thin-provisioning-tools-0.7.0.ebuild 1567 SHA256 
e4385c067c5950a821a5483a2db3e573bc558327bd3d4542f5e6df3dca554b44 SHA512 
41fb155eb0be537788fd75e85de6a8407cb68ba29ee70622b2012bb5abadff82bbda0f0c4f7b54e2681c72286abe38cbe46bc8a13e87961b7488fe6a14783fd2
 WHIRLPOOL 
77303405d0f2c4322b9bda0edc78dc06fec27d6d746d007d9a448a26283c241f0b1d4ace7bf9e46279064e4993fc65d0fbd5fd1876d056da9931cb2f03bc5226
 EBUILD thin-provisioning-tools-0.7.1.ebuild 1570 SHA256 
89ff3d517374076ee667ce5d4c6d1688fc3d5aa4c798828dc8ff8261f6f78e6a SHA512 
f38ea84fd448caba6583cd4809abdd7df62e5ca06d38420e5e3ca757bcbf9513b7632e25a2ecddf9a8e618fc647e02bc1c583332b813d5d827a197f81b3bcc53
 WHIRLPOOL 
1fc4c20ba726e9ebb9427c442a9a1f7bb65e584673dd88c37ca53c7b7075341dcaad32da0a99a20a59ee3716dc51c62def67adf309db0c14a0a5e4d341b9aeaa
+EBUILD thin-provisioning-tools-0.7.2.ebuild 1570 SHA256 
89ff3d517374076ee667ce5d4c6d1688fc3d5aa4c798828dc8ff8261f6f78e6a SHA512 
f38ea84fd448caba6583cd4809abdd7df62e5ca06d38420e5e3ca757bcbf9513b7632e25a2ecddf9a8e618fc647e02bc1c583332b813d5d827a197f81b3bcc53
 WHIRLPOOL 
1fc4c20ba726e9ebb9427c442a9a1f7bb65e584673dd88c37ca53c7b7075341dcaad32da0a99a20a59ee3716dc51c62def67adf309db0c14a0a5e4d341b9aeaa
 MISC metadata.xml 531 SHA256 
741541cb8fef9b5c5c778c259addbd8d925c65f48b49b91d9ef66905dab466d5 SHA512 
80fde34da9de5b2436c096bc9051ccb55124c330dc82ac538f66a100225623aa7cb086904117608cc52613e40ba464b46630cff52423c13d1a374eb98ed0
 WHIRLPOOL 
d8c5a81fdbe8dda224028781da56cd469eb9f153589481ea29d680bc5fcde952096950ff2456230221cd75dbe4233459ef401321936e23d38188869277d3fb7f

diff --git 
a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.0.ebuild 
b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.0.ebuild
index 6301473..8364a69 100644
--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.0.ebuild
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.7.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 

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

2017-10-04 Thread Andreas Sturmlechner
commit: 83b89e621947ce2a299b0691a52ab227c545e40d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Oct  4 18:43:34 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Oct  4 18:49:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b89e62

profiles: Mask x11-libs/compizconfig-backend-kconfig4 for removal

Gentoo-bug: 629236

 profiles/package.mask | 5 +
 1 file changed, 5 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index 72f817fa5b3..f192a9544a2 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -29,6 +29,11 @@
 
 #--- END OF EXAMPLES ---
 
+# Andreas Sturmlechner  (04 Oct 2017)
+# Unmaintained KCM for a kcmshell that does not exist anymore.
+# Depends on dead Qt4. Masked for removal in 30 days. Bug #629236
+x11-libs/compizconfig-backend-kconfig4
+
 # Patrice Clement  (01 Oct 2017)
 # Mask Atom betas for testing.
 app-editors/atom:beta



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

2017-10-04 Thread Andreas Sturmlechner
commit: efd222b1aaf98d902c9f06bbd1cdf83121e86698
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Oct  4 18:47:29 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Oct  4 18:48:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd222b1

x11-wm/compiz-fusion: Drop USE=kde

Gentoo-bug: 629236
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 x11-wm/compiz-fusion/compiz-fusion-0.8.8-r1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/x11-wm/compiz-fusion/compiz-fusion-0.8.8-r1.ebuild 
b/x11-wm/compiz-fusion/compiz-fusion-0.8.8-r1.ebuild
index 855bcf76e6d..115d647215f 100644
--- a/x11-wm/compiz-fusion/compiz-fusion-0.8.8-r1.ebuild
+++ b/x11-wm/compiz-fusion/compiz-fusion-0.8.8-r1.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
@@ -10,7 +10,7 @@ SRC_URI=""
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="emerald gnome kde unsupported"
+IUSE="emerald gnome unsupported"
 
 RDEPEND="
>=x11-wm/compiz-${PV}
@@ -19,7 +19,6 @@ RDEPEND="
>=x11-misc/ccsm-0.8.4
emerald? ( >=x11-wm/emerald-${PV} )
gnome? ( >=x11-libs/compizconfig-backend-gconf-${PV} )
-   kde? ( >=x11-libs/compizconfig-backend-kconfig4-${PV} )
unsupported? ( >=x11-plugins/compiz-plugins-unsupported-${PV} )"
 
 pkg_postinst() {



[gentoo-commits] proj/musl:master commit in: sys-fs/xfsdump/

2017-10-04 Thread Aric Belsito
commit: f89d8c18e6910ae75e3d64a2f75c25191a78404f
Author: Aric Belsito  gmail  com>
AuthorDate: Wed Oct  4 18:44:33 2017 +
Commit: Aric Belsito  gmail  com>
CommitDate: Wed Oct  4 18:44:33 2017 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=f89d8c18

sys-fs/xfsdump: version bump to 3.1.8

 sys-fs/xfsdump/Manifest |  2 ++
 sys-fs/xfsdump/xfsdump-3.1.8.ebuild | 68 +
 2 files changed, 70 insertions(+)

diff --git a/sys-fs/xfsdump/Manifest b/sys-fs/xfsdump/Manifest
index 5b7f5f2..12cdd40 100644
--- a/sys-fs/xfsdump/Manifest
+++ b/sys-fs/xfsdump/Manifest
@@ -3,5 +3,7 @@ AUX xfsdump-3.0.5-prompt-overflow.patch 333 SHA256 
80684664bae903256dd1b6355da9e
 AUX xfsdump-3.1.6-linguas.patch 975 SHA256 
16152976e972f32921a4b34636736f041d49d656111b43aee31b9c83da582992 SHA512 
2fe49c6985eca950890d952b6e33c7f9d7687dfaeb52077895e92994d930f0026bb8fdc31ad3f31d072b8a5023a9e0e3d99c301cb34802d7657a93b964aa6c8e
 WHIRLPOOL 
c2c8d255fe0d01407bf1f5282c9f854794a521d165945944cbf092517745a94907fab1de7c5a11dcb7090eaac6aed5fc020574aa81d03f222c2df87a74c90320
 AUX xfsdump-3.1.6-musl.patch 2503 SHA256 
9fc0b5d9f02904473af1cd6d8b98c3ffec8293ba3582420beea6b5ca7b4bb15f SHA512 
de4c912603a415ba6a4bb2e023f7389a0428b08c3e57d087acc05a7e14c71394d555152cc7f505a36be508a33d44c77df9650bc58f3c22c0f434bbe15cc85727
 WHIRLPOOL 
a87e8d0348b251a42111dcc7cef619c89695ffadfbd85662b34b9f4152ff9f106ce521ed42cf9f2f220b9cee1c36817730b1ee2cd80b427ac80504a2df335b75
 DIST xfsdump-3.1.6.tar.gz 848698 SHA256 
7f78c11ca527477d90e5e62b0778f3ad96f2b71c19173044e9aca9515fff42d0 SHA512 
6d8eff10c65e0a0893525590953ccb7ec0095ba528725ffe3f18260e6cb8f66dd3945c60477500e84421a9ed57fae9e8f0f25c3c0900be3671f30ca6951ed5e7
 WHIRLPOOL 
87182e97a5676be6ad36cf74e37d9ca312d742d20eb5396917a156842fe62a23c582e16862fb384fe7706097d9f0c7a6a8faced06fec0a999ac06ceb426eb7e3
+DIST xfsdump-3.1.8.tar.xz 603304 SHA256 
ed14e67ae5b273c2698e767b43a46f033d361e540fe13feaaf9b110ee0edc585 SHA512 
84720c83627647c75b42c59d180bb31cbb6e064568bef18b73641cf821fa7d39e6f7e0df4a6c7ffd36fba63296ab88cb83f0effdb1f6aa98f4b593ca0e658e0b
 WHIRLPOOL 
f75004400387916cd461a49500fa72ff878a9112f7550dd7c14f8b39e8f52678ca6721c298d536631c1649f989f7c007625e72c1136dabe60d9235bb5f8900d4
 EBUILD xfsdump-3.1.6.ebuild 1493 SHA256 
3dbf78f2ddbc5d00cd99578f8e21de1144df81f7f59e47fb2678116615e29bfd SHA512 
7af4a4f9f8733f565d74b9b586d6607d36d9239cf013fc23ae44e98204899bf9609f246f1c3861f8df9a1cb9ea08e8069a1eb630bd9cd8363dcc23efb695828d
 WHIRLPOOL 
396e14a973fcd605f495eeb75eb70ca1c27dd843446ced9fbded4e47c0c90ae884a384754df24e6bf0a85739deee673e67ca7e0f9671eac1e23ccbb7421c77ec
+EBUILD xfsdump-3.1.8.ebuild 1550 SHA256 
612c855566778dc3921c03157c0c0b26c5bac219ec934a0498ece4f282c7c03d SHA512 
55c8902b11d49900da357c2a2b1b8cda84c7daec0337d7c53ef89ed281b9f575161f5d89c4d8b521344295994922e9ba92750f0d74c65eb2c731cd67e519aeca
 WHIRLPOOL 
db6426f81f17584a27ac0dddfe61d88955e3c7e86301f35d47e9a3a46780df04fda046b92c1e2b131a869c267c2d9226795da5e9e102f8025ebd7c56ebcca6f3
 MISC metadata.xml 253 SHA256 
d82c33ef453113a5c1ebe250dcba373c22934a69b0a86c6ab15a5ca589c25b91 SHA512 
54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef1
 WHIRLPOOL 
e5aee23acff864609953a1e4de768f0e4aef704b44c53c021f28573e1ca5c99f1a46d92935ecec2449f7b4419a36d8373127d0ecfa8d7bae72d835e1839eb3f8

diff --git a/sys-fs/xfsdump/xfsdump-3.1.8.ebuild 
b/sys-fs/xfsdump/xfsdump-3.1.8.ebuild
new file mode 100644
index 000..bd61ecb
--- /dev/null
+++ b/sys-fs/xfsdump/xfsdump-3.1.8.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib flag-o-matic toolchain-funcs
+
+DESCRIPTION="xfs dump/restore utilities"
+HOMEPAGE="http://oss.sgi.com/projects/xfs;
+SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz;
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86"
+IUSE="ncurses nls"
+
+RDEPEND="
+   >=sys-apps/attr-2.4.19
+   sys-apps/dmapi
+   sys-apps/util-linux
+   sys-fs/e2fsprogs
+   >=sys-fs/xfsprogs-3.2.0
+   ncurses? ( sys-libs/ncurses:0= )
+"
+DEPEND="${RDEPEND}
+   nls? (
+   sys-devel/gettext
+   elibc_uclibc? ( dev-libs/libintl )
+   )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.0.5-prompt-overflow.patch #335115
+   "${FILESDIR}"/${PN}-3.0.4-no-symlink.patch #311881
+   "${FILESDIR}"/${PN}-3.1.6-linguas.patch #561664
+   "${FILESDIR}"/${PN}-3.1.6-musl.patch #549116
+)
+
+src_prepare() {
+   sed -i \
+   -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
+   include/builddefs.in \
+   || die
+   sed -i \
+   -e "s:enable_curses=[a-z]*:enable_curses=$(usex ncurses):" \
+   -e "s:libcurses=\"[^\"]*\":libcurses='$(use ncurses && 

[gentoo-commits] repo/gentoo:master commit in: www-client/google-chrome-unstable/

2017-10-04 Thread Mike Gilbert
commit: 748bb746fe3c9876837ab9c8ed50852d87fcd784
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Oct  4 18:44:40 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Oct  4 18:44:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=748bb746

www-client/google-chrome-unstable: automated update (63.0.3230.0)

Package-Manager: Portage-2.3.10_p4, Repoman-2.3.3_p52

 www-client/google-chrome-unstable/Manifest  | 2 +-
 ...ble-63.0.3223.8.ebuild => google-chrome-unstable-63.0.3230.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-client/google-chrome-unstable/Manifest 
b/www-client/google-chrome-unstable/Manifest
index 48abad7980b..f8ea54d53ff 100644
--- a/www-client/google-chrome-unstable/Manifest
+++ b/www-client/google-chrome-unstable/Manifest
@@ -1 +1 @@
-DIST google-chrome-unstable_63.0.3223.8-1_amd64.deb 49561818 SHA256 
b31fff56c3adf3e71ad26680ba0905d0e31e16e84e01b71c9b4fd656a5c9e97f SHA512 
a40f3e3b256534bc03fa30004bc89dc517e9e05e6123b0b1fe00dfcafb2296c892c15846a5e44113ee2a99c283fdf42d844ba836faa23a0081cd7597b221c151
 WHIRLPOOL 
155acc6988e5ad6c9c78fd29bb223d8da0d1863926c3f31a6ff8c29fa444a5b3c44883d231a522bb55935f265f1e546b9f471818e1c5d83bd2653bfed0dd4472
+DIST google-chrome-unstable_63.0.3230.0-1_amd64.deb 49851312 SHA256 
11430f165090c16ee532c2275755701cd1273dacee39a56b2b39fb18ecb9e755 SHA512 
98b303cf6822af611bf96b67ed3471e7a172477dfa97440d6b5619a5543c8fb5f237052db8e6e2a3491dd54cf2d6d32efe005a1f1efa92499654290296ba812e
 WHIRLPOOL 
96f2ab0b26c8dae29a28bec0c0bfe050e07be6ec5808193d170e165769b4fb22510e7cd9193f38e3bee43454cddd623759c017159d559e84f249e7e44536c7ce

diff --git 
a/www-client/google-chrome-unstable/google-chrome-unstable-63.0.3223.8.ebuild 
b/www-client/google-chrome-unstable/google-chrome-unstable-63.0.3230.0.ebuild
similarity index 100%
rename from 
www-client/google-chrome-unstable/google-chrome-unstable-63.0.3223.8.ebuild
rename to 
www-client/google-chrome-unstable/google-chrome-unstable-63.0.3230.0.ebuild



[gentoo-commits] repo/gentoo:master commit in: www-plugins/chrome-binary-plugins/

2017-10-04 Thread Mike Gilbert
commit: 3dc3e5b625af4850e40231a85e23cbe1c6f1e3da
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Oct  4 18:44:49 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Oct  4 18:44:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dc3e5b6

www-plugins/chrome-binary-plugins: automated update (63.0.3230.0)

Package-Manager: Portage-2.3.10_p4, Repoman-2.3.3_p52

 www-plugins/chrome-binary-plugins/Manifest  | 2 +-
 ...23.8_alpha.ebuild => chrome-binary-plugins-63.0.3230.0_alpha.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-plugins/chrome-binary-plugins/Manifest 
b/www-plugins/chrome-binary-plugins/Manifest
index b6fed530c0a..6dd00f3b970 100644
--- a/www-plugins/chrome-binary-plugins/Manifest
+++ b/www-plugins/chrome-binary-plugins/Manifest
@@ -1,3 +1,3 @@
 DIST google-chrome-beta_62.0.3202.38-1_amd64.deb 49874016 SHA256 
f8d08d9382d7bffb9093fe520ca87d836acf081b5767197e18be3c1edc071be6 SHA512 
bf79a9eeef9ff8990944670ba63c49246a4d5145ec6676dd6dacc6c0438e349671ef20b68aae2024a06e351b452433592080cd8a968ca3001a9d97ed2b229bf5
 WHIRLPOOL 
2cf0ec3e738fc56faa3d70e95f74d86014c37d043552cc8f732a3750fbeca04ac83e15d22647a28dd30b8fd33c290de79d2bff0102ad86f9db0ab092acb01280
 DIST google-chrome-stable_61.0.3163.100-1_amd64.deb 65267668 SHA256 
5b8b9655db8dcce4b276db7860ae1c8ce1079a33f161a716c17fda24b8d5a9b2 SHA512 
ec8b3b29d4af45f0aac67cf564bb7f25e45543bc5aa97c075cb23b6a4f332795a6fb4922ce4c963d1305f41eb455e7b46a874b670dc7bb1b6676fff1c45f1040
 WHIRLPOOL 
ddaf6dfe8d89bf58fcca7fcb2f58365cb82e9b751a8c15025e7ccc2d219b4255869b7d2f9a80ae292f3bfe19818ce55cb90f5e57b13a65d9808e78f8e7bda2f1
-DIST google-chrome-unstable_63.0.3223.8-1_amd64.deb 49561818 SHA256 
b31fff56c3adf3e71ad26680ba0905d0e31e16e84e01b71c9b4fd656a5c9e97f SHA512 
a40f3e3b256534bc03fa30004bc89dc517e9e05e6123b0b1fe00dfcafb2296c892c15846a5e44113ee2a99c283fdf42d844ba836faa23a0081cd7597b221c151
 WHIRLPOOL 
155acc6988e5ad6c9c78fd29bb223d8da0d1863926c3f31a6ff8c29fa444a5b3c44883d231a522bb55935f265f1e546b9f471818e1c5d83bd2653bfed0dd4472
+DIST google-chrome-unstable_63.0.3230.0-1_amd64.deb 49851312 SHA256 
11430f165090c16ee532c2275755701cd1273dacee39a56b2b39fb18ecb9e755 SHA512 
98b303cf6822af611bf96b67ed3471e7a172477dfa97440d6b5619a5543c8fb5f237052db8e6e2a3491dd54cf2d6d32efe005a1f1efa92499654290296ba812e
 WHIRLPOOL 
96f2ab0b26c8dae29a28bec0c0bfe050e07be6ec5808193d170e165769b4fb22510e7cd9193f38e3bee43454cddd623759c017159d559e84f249e7e44536c7ce

diff --git 
a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-63.0.3223.8_alpha.ebuild
 
b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-63.0.3230.0_alpha.ebuild
similarity index 100%
rename from 
www-plugins/chrome-binary-plugins/chrome-binary-plugins-63.0.3223.8_alpha.ebuild
rename to 
www-plugins/chrome-binary-plugins/chrome-binary-plugins-63.0.3230.0_alpha.ebuild



[gentoo-commits] proj/musl:master commit in: sys-apps/sandbox/, sys-apps/sandbox/files/

2017-10-04 Thread Aric Belsito
commit: 02b9f500afde29dc90f995006eb6d3e0ffc94283
Author: Aric Belsito  gmail  com>
AuthorDate: Wed Oct  4 18:37:30 2017 +
Commit: Aric Belsito  gmail  com>
CommitDate: Wed Oct  4 18:37:30 2017 +
URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=02b9f500

sys-apps/sandbox: version bump to 2.12

 sys-apps/sandbox/Manifest  |  10 +-
 .../sandbox/files/sandbox-2.11-exec-hash.patch |  96 
 .../sandbox/files/sandbox-2.11-exec-prelink.patch  | 107 --
 sys-apps/sandbox/files/sandbox-2.11-execvpe.patch  |  30 -
 .../files/sandbox-2.11-symlinkat-renameat.patch| 124 -
 sys-apps/sandbox/metadata.xml  |   3 -
 ...{sandbox-2.11-r5.ebuild => sandbox-2.12.ebuild} |  48 
 7 files changed, 24 insertions(+), 394 deletions(-)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
index 12f24b3..3ee3198 100644
--- a/sys-apps/sandbox/Manifest
+++ b/sys-apps/sandbox/Manifest
@@ -3,15 +3,11 @@ AUX sandbox-2.10-disable-same.patch 2547 SHA256 
09a11cf077ae69684080d1f0fd8fe836
 AUX sandbox-2.10-fix-opendir.patch 3311 SHA256 
33e31a0331d75985e6fb254001d657988fbe7d0ff2f79128316530636391c76d SHA512 
5c0650d6838b8171a87409ebd8565a90a42603874893708c2cdee5b50535e637f145fa2e51142db857c35a9bc11713b45b7e50c31f96f9ecd6ba342ce8d87928
 WHIRLPOOL 
fbac85063c77b26af76761f0d377fac7c7a54e1f465fe0247b7ed90b98e077b75697ce127fa6c509fd28ff6af8313d7d65a0f34ecd969a6143af8b7246687602
 AUX sandbox-2.10-fix-visibility-musl.patch 573 SHA256 
67f70fa39867e45b343db78c73fdb6e63b8a1b52d3dc288894402239dd12 SHA512 
a740e0b1a68c0609dc3080e88ab8ab87885fe05f5e0864d10ed76e8e7000f7879cb206342c38d4097c691a7c85d1936e98802b206084eb2af9f78bd43158d759
 WHIRLPOOL 
0c226daa4b6d36c2df001d3d67b9e4023944c5b010d1bc311d731c121dd94b533546479a7b1b77bcb8be608ecf70508fb7dd65b22bafdb2d13a2860c9c0659da
 AUX sandbox-2.10-memory-corruption.patch 1515 SHA256 
4876cc9962d56d3c5fc5418fe12ef1a399e34ff0272f12640c4a5c5b775e SHA512 
1eb650824cc7a876fabef382cafb451a507326a8422fb7bb5014699046b64ea8f4cf2bba9efcb75d7a2eac4eff493d06153422f85c119f49635ac0840071660c
 WHIRLPOOL 
db2c834119c7887ed746154e73e88cc09bf2a31184b3cda2732b70cb43dd8bc7f59f1072a4cc56ebcf593ba67330b932dc186ee55e009428d607f62293ab
-AUX sandbox-2.11-exec-hash.patch 4310 SHA256 
e9dbdab6b1db8cbe547aa94057fce55bc6a5e59cf4bfc0b607cf35123a20b981 SHA512 
8830c0a4a9c81a61ae7f749d690791a0d9f467d28872976681a1a7995e7f703d06928bd7e392d2042da5452979c39e28783f73803419d782c3ace4e949adbd70
 WHIRLPOOL 
053e584c1675d43ffc98d25aa5d6f897b635fb3fdb3c036287d6a4a9f9ac36ad871890390003efe87c2177e2d077f428461eb59eb880c6df7f302f1c12218a75
-AUX sandbox-2.11-exec-prelink.patch 4960 SHA256 
a8dda45a024a42b7b6fbc2ee49a461879eb866ab915c268079704e1698dd0cef SHA512 
9bccda3a940aa95d7542c23e3eeb3b58326bc81920fdcfa6dd3e3c40de5ca9c47948f93afe9e58753b6cf3af10342bf581116f038b29c9fa5c25fd0027c5551c
 WHIRLPOOL 
0e99a04fe636287570ad31998c93b9be8eceeb7a6619f18089d7f4a2df4b9c400874ea132a6e8a3855fbee439607d7e7e583fcad3ef4a0fee0cc46b0b5943bf5
-AUX sandbox-2.11-execvpe.patch 986 SHA256 
28574866614505b0f65dae5af4a90128997a40c402c6fbe80e809fedad93c113 SHA512 
594b8e008178c1d8fa174733e95a02ad6bab1f025225b57e5c224a0b86021a0213cc30a83f607a47aff8756fa561e093b112384a89cc6c842cf2eb7f474e1213
 WHIRLPOOL 
7309559f0788fafefe17532b88265ed695bdba0836329aad3a4720b0e5d944ea5808dc7f08e0837edb2595da741c033a80cb67e74246a4ba63782497ffd95d7f
 AUX sandbox-2.11-musl.patch 1851 SHA256 
1f2586e81a06daf7b69642d9c5fbf53563832a4ccd769ec696d9c2baabd2874c SHA512 
2800191fbf312d9b8858ef29975355ae51a4aff05ccc7c425f5168fe2db24562e4cf164e8ee35ecc77e0777be9d37cc52d66fdd4bf3eaeb0fc4c68c240a0cb61
 WHIRLPOOL 
9c2abfcd5f68391c4890beeaf99020a9160635c888de7b45238174e7ac51ffac393150698feb0061fd3104e71a6825f9be98e5495a415ede8d2493a77f3e35e8
-AUX sandbox-2.11-symlinkat-renameat.patch 3418 SHA256 
74036803fd8cc07e903abdc2202167cff5e03a82d0db64ad8969b642201a993e SHA512 
cbefae8aa9c289db0bfe7b2429f64aa4c437be0e269eaa657eb3b22a3086db1fca45a624cb181978b4157f0cb9b475b4ece2eb9337285bf8bede709ad4431c52
 WHIRLPOOL 
d8943c3f4cda8428c7ab1a75decd67c5e743e5ca998d7e0ae8ba8828923b1c9dc4429c293af4dc9655d3a45e189020fd754f8152471f1626b113a50f69886c9b
 AUX sandbox-2.6-musl.patch 1821 SHA256 
df08faebffbfade91a2620ff8b56c2087e4a34506fbff3dcf9bc35c2d5bd467c SHA512 
69d11e80c97a844c0d84404e802950c876edda8eb7909c90f6f5d4b3fe8a33b5bc884ecc3741c10c8bd7e0871db2db1853cfac969a153d162423b3f3c94039c9
 WHIRLPOOL 
7120eaf3062cb18c3b13a61fe2b6f839a5f267650d9aa809fafc6d25e8faaadd7af3d5fb41cce66ecf71668555847d264ea977442f03f4dfe7b88b98cf86f78e
 DIST sandbox-2.10.tar.xz 417068 SHA256 
019d6a2646b3a5f9b6fc3fcb6ff99332901017eb845442bec8573b9901506fa6 SHA512 
178b3b8fcb54e6ff67df1c8101866739b49e4d31a66717c21ef502dd2ab609fca70f1a0c662b913e207bfc1ba6994cefdcf5c92ff32add9dd98bd9707f301305
 WHIRLPOOL 

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

2017-10-04 Thread Zac Medico
commit: d93c62eab16b1ecb09766448f8dbc12a2e17d933
Author: Daniel Robbins  funtoo  org>
AuthorDate: Wed Oct  4 18:10:09 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Oct  4 18:31:12 2017 +
URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=d93c62ea

_dynamic_depgraph_config: new digraph docs

Closes: https://github.com/gentoo/portage/pull/217

 pym/_emerge/depgraph.py | 41 +
 pym/_emerge/resolver/package_tracker.py | 12 +-
 2 files changed, 47 insertions(+), 6 deletions(-)

diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 0b9b98dbb..75fb3 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -357,6 +357,47 @@ class _rebuild_config(object):
 
 class _dynamic_depgraph_config(object):
 
+   """
+   ``dynamic_depgraph_config`` is an object that is used to collect 
settings and important data structures that are
+   used in calculating Portage dependencies. Each depgraph created by the 
depgraph.py code gets its own
+   ``dynamic_depgraph_config``, whereas ``frozen_depgraph_config`` is 
shared among all depgraphs.
+
+   **self.digraph**
+
+   Of particular importance is the instance variable ``self.digraph``, 
which is an instance of
+   ``portage.util.digraph``, a directed graph data structure. 
``portage.util.digraph`` is used for a variety of
+   purposes in the Portage codebase, but in this particular scenario as 
``self.digraph``, it is used to create a
+   dependency tree of Portage packages. So for ``self.digraph``, each 
*node* of the directed graph is a ``Package``,
+   while *edges* connect nodes and each edge can have a Priority. The 
Priority setting is used to help resolve
+   circular dependencies, and should be interpreted in the direction of 
parent to child.
+
+   Conceptually, think of ``self.digraph`` as containing user-specified 
packages or sets at the very top, with
+   dependencies hanging down as children, and dependencies of those 
children as children of children, etc. The depgraph
+   is intended to model dependency relationships, not the order that 
packages should be installed.
+
+   **resolving the digraph**
+
+   To convert a digraph to an ordered list of packages to merge in an 
order where all dependencies are properly
+   satisfied, we would first start by looking at leaf nodes, which are 
nodes that have no dependencies of their own. We
+   could then traverse the digraph upwards from the leaf nodes, towards 
the parents. Along the way, depending on emerge
+   options, we could make decisions what packages should be installed or 
rebuilt. This is how ``self.digraph`` is used
+   in the code.
+
+   **digraph creation**
+
+   The ``depgraph.py`` code creates the digraph by first adding emerge 
arguments to the digraph as the main parents,
+   so if ``@world`` is specified, then the world set is added as the main 
parents. Then, ``emerge`` will determine
+   the dependencies of these packages, and depending on what options are 
passed to ``emerge``, will look at installed
+   packages, binary packages and available ebuilds that could be merged to 
satisfy dependencies, and these will be
+   added as children in the digraph. Children of children will be added as 
dependencies as needed, depending on the
+   depth setting used by ``emerge``.
+
+   As the digraph is created, it is perfectly fine for Packages to be 
added to the digraph that conflict with one
+   another. After the digraph has been fully populated to the necessary 
depth, code within ``depgraph.py`` will
+   identify any conflicts that are modeled within the digraph and 
determine the best way to handle them.
+
+   """
+
def __init__(self, depgraph, myparams, allow_backtracking, 
backtrack_parameters):
self.myparams = myparams.copy()
self._vdb_loaded = False

diff --git a/pym/_emerge/resolver/package_tracker.py 
b/pym/_emerge/resolver/package_tracker.py
index 06163574e..ccb0b11cf 100644
--- a/pym/_emerge/resolver/package_tracker.py
+++ b/pym/_emerge/resolver/package_tracker.py
@@ -42,13 +42,13 @@ class PackageTracker(object):
considering installing on the system, based on the information in 
Portage's dependency graph. Multiple roots are
supported, so that situations can be modeled where ROOT is set to a 
non-default value (non-``/``).
 
-   You can use the add_pkg() method to add a to-be-merged package to the 
PackageTracker, and ``add_installed_pkg()``
-   to add an already-installed package to the package tracker. Typical use 
of the package tracker involves the
-   depgraph.py code populating the package tracker with calls to 
``add_installed_pkg()`` to add all installed packages
-   on the system, and then it is initialized and ready for use. At that 
point, ``depgraph.py`` can use 

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

2017-10-04 Thread Matt Thode
commit: 18f46d8e1d81d5632ca9379d62b75820e3323709
Author: Matthew Thode  gentoo  org>
AuthorDate: Wed Oct  4 18:27:53 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Wed Oct  4 18:28:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f46d8e

dev-python/python-novaclient: 9.1.1 pike bup

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-python/python-novaclient/Manifest  |  1 +
 .../python-novaclient-9.1.1.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/dev-python/python-novaclient/Manifest 
b/dev-python/python-novaclient/Manifest
index 1e25be05849..5e6cc90e4ae 100644
--- a/dev-python/python-novaclient/Manifest
+++ b/dev-python/python-novaclient/Manifest
@@ -1,3 +1,4 @@
 DIST python-novaclient-6.0.1.tar.gz 288613 SHA256 
2b7d4c660f46d8d7f4eb454fa9da4e8d838a81abc45834891c756393beeb264e SHA512 
20bbd40bed2328c6bceba6e0057b541e949d1ea1f7c37190d2ef07bed164a2cf20927b2e7a1b26c349038fca625873e189dad150b4a3e801f9211388ab3996c7
 WHIRLPOOL 
5cce33c00730cf5e3c81a3c9e3207331161650340bf5b240bfbd687cdf5f2301c81be194b0e19d62e8660b9f4b3622dd241ce4fee511e83afb1769e6a101bb52
 DIST python-novaclient-7.1.2.tar.gz 284152 SHA256 
f342470514fd2ac3553e8b7b5967f0f63905bc062202926c5c3a7c87a035a18a SHA512 
6b7e4bc80e07b09756f61624d2cf7b81dccd1d102f22cb9609b7e1de6f091061c513691095467e293b742c40a62c8cabc2d3ff8cbc5492d07763655de4d6c516
 WHIRLPOOL 
719f77ca3c341e446d46ea132ddb698945a806fa8629e20bce95ef5fa0817a2d216381907b07e7fb3e6bc980a1ef30ab6d95a3fcc047601f5cd7989868959f79
 DIST python-novaclient-9.1.0.tar.gz 278196 SHA256 
0666571b72cd7a056187795c274838d1b0d2f0d80ef2f1c8ca6924e49660375c SHA512 
c71b125fa4a10312ab28eb3929a749d8f3a2fa42b49921f3cd93458f3e00548542e88c25b13e36010ce8bfd68d68028bc5f076cc0081cd05c7dc9a4481d1bb02
 WHIRLPOOL 
8c0c7bab28c681cbb368cb0c945ee16b7ee56ab0e24b775e5e37aab5fc545998cf1ff6280baa69a201c31c6ebaea8f70ec7428d37aa7a53048a1a5622b723893
+DIST python-novaclient-9.1.1.tar.gz 277784 SHA256 
ee65c0b429f4b2654416a8a1472729160523c4545315b8fded1652dfb799e428 SHA512 
ceb60a1e88c6ef7b9cc9fba9a192bd781b4404e4cc500b902cc2b4a8cf2f8917f1066df5349d2e421dfaa9fd6b791452872a30440cdec604bad3bee85cd6cd82
 WHIRLPOOL 
6ca4030158f4b0cf93921f55056ba78e6e7dd55fb691e72e802b51c8ecba88545f84853b15ab3f989d9e53c70f2011824e544b5808539cddc4c33cfe97a6d4ac

diff --git a/dev-python/python-novaclient/python-novaclient-9.1.1.ebuild 
b/dev-python/python-novaclient/python-novaclient-9.1.1.ebuild
new file mode 100644
index 000..8e02a563677
--- /dev/null
+++ b/dev-python/python-novaclient/python-novaclient-9.1.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
+
+inherit distutils-r1
+
+DESCRIPTION="A client for the OpenStack Nova API"
+HOMEPAGE="https://github.com/openstack/python-novaclient;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
+   !~dev-python/pbr-2.1.0"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+   ${CDEPEND}
+   test? (
+   >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
+   !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
+   >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+   >=dev-python/keyring-5.5.1[${PYTHON_USEDEP}]
+   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
+   >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
+   >=dev-python/python-cinderclient-3.0.0[${PYTHON_USEDEP}]
+   >=dev-python/python-glanceclient-2.7.0[${PYTHON_USEDEP}]
+   >=dev-python/python-neutronclient-6.3.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-mock-1.1[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
+   >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}]
+   >=dev-python/openstackdocstheme-1.11.0[${PYTHON_USEDEP}]
+   >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+   >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+   >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
+   >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
+   >=dev-python/reno-2.3.1[${PYTHON_USEDEP}]
+   )"
+RDEPEND="
+   >=dev-python/keystoneauth-3.0.1[${PYTHON_USEDEP}]
+   >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
+   >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
+   !~dev-python/oslo-i18n-3.15.0[${PYTHON_USEDEP}]
+   >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
+   !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
+   

[gentoo-commits] data/gentoo-news:master commit in: 2017-10-04-gentoolkit-dev-deprecation/

2017-10-04 Thread Paul Varner
commit: 7efc07f06f79e9bffac03a84ae6522c5821f16bf
Author: Paul Varner  gentoo  org>
AuthorDate: Wed Oct  4 18:16:50 2017 +
Commit: Paul Varner  gentoo  org>
CommitDate: Wed Oct  4 18:16:50 2017 +
URL:https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=7efc07f0

Add news item for app-portage/gentoolkit-dev deprecation

 .../2017-10-04-gentoolkit-dev-deprecation.en.txt   | 22 ++
 ...017-10-04-gentoolkit-dev-deprecation.en.txt.asc | 19 +++
 2 files changed, 41 insertions(+)

diff --git 
a/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt
 
b/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt
new file mode 100644
index 000..43f1a28
--- /dev/null
+++ 
b/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt
@@ -0,0 +1,22 @@
+Title: app-portage/gentoolkit-dev deprecation and removal
+Author: Paul Varner 
+Posted: 2017-09-19
+Revision: 1
+News-Item-Format: 2.0
+Display-If-Installed: app-portage/gentoolkit-dev
+
+The app-portage/gentoolkit-dev package has been deprecated and the ebump,
+ekeyword and imlate have been moved to the app-portage/gentoolkit-0.4.0
+package. With the upcoming marking of >=app-portage/gentoolkit-0.4.0 stable,
+users will need to take action since gentoolkit-dev and those versions of
+gentoolkit block each other.
+
+In order to upgrade to the new version of gentoolkit, you will need to resolve
+the blocks. The following command will remove gentoolkit-dev from your world
+set and uninstall gentoolkit-dev. This will then allow the installation of 
+>=app-portage/gentoolkit-0.4.0.
+
+emerge --depclean app-portage/gentoolkit-dev
+
+Once >=app-portage/gentoolkit-0.4.0 is stabilized, the remaining gentoolkit-dev
+releases will be masked for removal and subsequent tree-cleaning.

diff --git 
a/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt.asc
 
b/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt.asc
new file mode 100644
index 000..0316d64
--- /dev/null
+++ 
b/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt.asc
@@ -0,0 +1,19 @@
+-BEGIN PGP SIGNATURE-
+Version: GnuPG v2
+
+iQKTBAABCgB9FiEEajvU08I0XMDAEy7K7CuK4FwF4G4FAlnVJDtfFIAALgAo
+aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDZB
+M0JENEQzQzIzNDVDQzBDMDEzMkVDQUVDMkI4QUUwNUMwNUUwNkUACgkQ7CuK4FwF
+4G5/DxAAjSFSnswBW/l9uYx2fLWc0yMbHjapyPUNYkxmHbw8hTLek3DUPwRkaKyq
+CarLf7bAp37kr8fVJLM0KdQYgpN8kCgyaVOmheYpisClmRDe6jMo0YWI1P33Wbwz
+fJLbKP4c1sPKPHnF9c2RPJleL6O0Ee1CsFFcTN/uGxXLo5cfcSHVZXxFu5mg60Jw
+MUgt6Vrbd2uwHAA95RvBc6rF5unw4z9IkNynlzgzu0Nd+c0fRFVqGLrUCSHeQMNI
+stgcfGFJ08ssewALz2fjfCVep2XJCOTi7J2F58fMCqhrxnk5x6ikk66rP8+9Y+wW
+lmQwON2zXu6VudepFeDXtVlHI+cY7RyVZqteSmqKDwG8+cT3yJuV5bHY0RogXO/e
+HXc50GIgrshFT/NZLn0+z6NBMgPN5jpvTDnGPtrQJZN+qGKbTEcfStDXhiDxbV9+
+oOjg3Vyatqjgy+xydGYAEtbsjosrVubCA6NzHuFSSkRmztCcaqJWbfggoBjSF9jq
+Ifs5JulF0QigsNxOv0UHqbT2KlPh2Qr+VF9yYYpXD/7FEDKXgL+fzhxKoMUTo76Y
+WQN/SSprZGyC+vKtCv+0lmCs/h1aTW1MY21YwfZ2qXO6VgcPQn7eucOBeVoXsh7y
+aWWEhLqS+4+8X0mJBIJ1F8eoZcpknmO7PV5Svifvx8vnRgntync=
+=M9ya
+-END PGP SIGNATURE-



[gentoo-commits] repo/gentoo:master commit in: media-sound/tomahawk/files/, media-sound/tomahawk/

2017-10-04 Thread Johannes Huber
commit: d261485b3b50c72f14c4d33f6a792470505f34e1
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Oct  4 18:10:24 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Oct  4 18:10:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d261485b

media-sound/tomahawk: Fix qtkeychain detection

Closes: https://bugs.gentoo.org/633470
Package-Manager: Portage-2.3.11, Repoman-2.3.3

 .../tomahawk/files/tomahawk-qtkeychain-cmake.patch | 28 ++
 .../tomahawk/tomahawk-0.9.0_pre20161029-r1.ebuild  |  5 +++-
 2 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/media-sound/tomahawk/files/tomahawk-qtkeychain-cmake.patch 
b/media-sound/tomahawk/files/tomahawk-qtkeychain-cmake.patch
new file mode 100644
index 000..e4b3bf0304c
--- /dev/null
+++ b/media-sound/tomahawk/files/tomahawk-qtkeychain-cmake.patch
@@ -0,0 +1,28 @@
+From 00f602e10203b76fc28b4615868c567e6bd4ced4 Mon Sep 17 00:00:00 2001
+From: Dominik Schmidt 
+Date: Tue, 8 Aug 2017 14:34:49 +0200
+Subject: [PATCH] Fix #619: Correctly detect qt5keychain
+
+---
+ CMakeLists.txt | 8 ++--
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ad5d918ecf..7004e1b700 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -376,12 +376,8 @@ macro_optional_find_package(LibLastFm 1.0.0)
+ macro_log_feature(LIBLASTFM_FOUND "liblastfm" "Qt library for the Last.fm 
webservices" "https://github.com/lastfm/liblastfm; TRUE "" "liblastfm is needed 
for scrobbling tracks to Last.fm and fetching cover artwork")
+ 
+ if( NOT APPLE )
+-if( TOMAHAWK_QT5 )
+-macro_optional_find_package(Qt5Keychain 0.1.0)
+-else()
+-macro_optional_find_package(QtKeychain 0.1.0)
+-endif()
+-macro_log_feature(QTKEYCHAIN_FOUND "QtKeychain" "Provides support for secure 
credentials storage" "https://github.com/frankosterfeld/qtkeychain; TRUE "" "")
++macro_optional_find_package(Qt5Keychain 0.1.0)
++macro_log_feature(Qt5Keychain_FOUND "QtKeychain" "Provides support for secure 
credentials storage" "https://github.com/frankosterfeld/qtkeychain; TRUE "" "")
+ endif()
+ 
+ if( UNIX AND NOT APPLE )

diff --git a/media-sound/tomahawk/tomahawk-0.9.0_pre20161029-r1.ebuild 
b/media-sound/tomahawk/tomahawk-0.9.0_pre20161029-r1.ebuild
index b0e1a69efeb..39c73c56872 100644
--- a/media-sound/tomahawk/tomahawk-0.9.0_pre20161029-r1.ebuild
+++ b/media-sound/tomahawk/tomahawk-0.9.0_pre20161029-r1.ebuild
@@ -57,7 +57,10 @@ RDEPEND="${CDEPEND}
 
 DOCS=( AUTHORS ChangeLog README.md )
 
-PATCHES=( "${FILESDIR}/${PN}-liblastfm-cmake.patch" )
+PATCHES=(
+   "${FILESDIR}/${PN}-liblastfm-cmake.patch"
+   "${FILESDIR}/${PN}-qtkeychain-cmake.patch"
+)
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 6294e7f0ecb82eb0f47cd3a6ea2aefd5d02edd86
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 17:44:06 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 17:44:06 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=6294e7f0

EAPI 7 has sandbox directory removal functions.

Bug: https://bugs.gentoo.org/630422

 eapi-differences.tex |  4 
 pkg-mgr-commands.tex | 29 +
 2 files changed, 33 insertions(+)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 441de70..0055070 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{rm*} sandbox functions & \compactfeatureref{sandbox-rm} &
+No & No & No & No & Yes \\
+
 \t{IUSE_RUNTIME} & \compactfeatureref{iuse-runtime} &
 No & No & No & No & Yes \\
 
@@ -475,6 +478,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item automatic enforcing of \t{REQUIRED_USE} is supported, 
\featureref{auto-req-use}.
 \item binding leftmost-of (\t{||=}) dependency group is supported, 
\featureref{binding-leftmost-of}.
 \item runtime-modifiable USE flags (\t{IUSE_RUNTIME}) are supported, 
\featureref{iuse-runtime}.
+\item sandbox path removal flags (\t{rm*}) are supported, 
\featureref{sandbox-rm}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index eac9bc8..70f4d5b 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -88,6 +88,35 @@ argument. Ebuilds must not run any of these commands once 
the current phase func
 \item[adddeny] Add a directory to the deny list.
 \end{description}
 
+\featurelabel{sandbox-rm} Additionally, in EAPIs listed in 
table~\ref{tab:sandbox-command-table}
+as supporting the respective commands, the following commands are available:
+\begin{description}
+\item[rmread] Remove a directory from the permitted read list.
+\item[rmwrite] Remove a directory from the permitted write list.
+\item[rmpredict] Remove a directory from the predict list.
+\item[rmdeny] Remove a directory from the deny list.
+\end{description}
+
+All of those commands match paths exactly. Removing a directory that is not 
present on the list
+is silently ignored.
+
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{Additional sandbox commands by EAPI}
+\label{tab:sandbox-command-table}
+\begin{tabular}{l}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{\t{rmread}?}} &
+  \multicolumn{1}{c}{\textbf{\t{rmwrite}?}} &
+  \multicolumn{1}{c}{\textbf{\t{rmpredict}?}} &
+  \multicolumn{1}{c}{\textbf{\t{rmdeny}?}} \\
+  \midrule
+  0, 1, 2, 3, 4, 5, 6 & No  & No  & No  & No  \\
+  7   & Yes & Yes & Yes & Yes \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
 \subsubsection{Package manager query commands}
 These commands are used to extract information about the system. Ebuilds must 
not run any of
 these commands in parallel with any other package manager command. Ebuilds 
must not run any of



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 1c9f1a26ca761f715d7e70d223b896b8a6eeddee
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 17:35:57 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 17:36:09 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=1c9f1a26

EAPI 7 supports runtime-modifiable USE flags.

Bug: https://bugs.gentoo.org/424283

 dependencies.tex |  3 ++-
 eapi-differences.tex |  4 
 ebuild-env-vars.tex  |  5 -
 ebuild-vars.tex  | 16 
 eclasses.tex | 11 ++-
 metadata-cache.tex   |  1 +
 pkg-mgr-commands.tex |  4 
 7 files changed, 33 insertions(+), 11 deletions(-)

diff --git a/dependencies.tex b/dependencies.tex
index d9592d9..acc447c 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -181,7 +181,8 @@ In a use-conditional group, if the associated use flag is 
enabled (or disabled i
 exclamation mark prefix), all of the child elements must be matched.
 
 It is an error for a flag to be used if it is not included in 
\t{IUSE_EFFECTIVE} as described in
-section~\ref{sec:use-iuse-handling}.
+section~\ref{sec:use-iuse-handling}. Flags listed in \t{IUSE_RUNTIME} can be 
used only
+in \t{RDEPEND}, \t{PDEPEND} and \t{REQUIRED_USE}.
 
 \subsection{Any-of dependency specifications}
 

diff --git a/eapi-differences.tex b/eapi-differences.tex
index a89f5f8..441de70 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{IUSE_RUNTIME} & \compactfeatureref{iuse-runtime} &
+No & No & No & No & Yes \\
+
 \t{||=} dependency group & \compactfeatureref{binding-leftmost-of} &
 No & No & No & No & Yes \\
 
@@ -471,6 +474,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{die} guaranteed to work in a subshell environment, 
\featureref{subshell-die}.
 \item automatic enforcing of \t{REQUIRED_USE} is supported, 
\featureref{auto-req-use}.
 \item binding leftmost-of (\t{||=}) dependency group is supported, 
\featureref{binding-leftmost-of}.
+\item runtime-modifiable USE flags (\t{IUSE_RUNTIME}) are supported, 
\featureref{iuse-runtime}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index f495014..42bd3a2 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -355,10 +355,12 @@ table~\ref{tab:locale-settings}.
 \subsection{USE and IUSE handling}
 \label{sec:use-iuse-handling}
 
-This section discusses the handling of four variables:
+This section discusses the handling of five variables:
 
 \begin{description}
 \item[IUSE] is the variable calculated from the \t{IUSE} values defined in 
ebuilds and eclasses.
+\item[IUSE_RUNTIME] is the variable calculated from the \t{IUSE_RUNTIME} 
values defined in ebuilds
+and eclasses.
 \item[IUSE_REFERENCEABLE] is a variable calculated from \t{IUSE} and a variety 
of other sources
 described below. It is purely a conceptual variable; it is not exported to 
the ebuild
 environment. Values in \t{IUSE_REFERENCEABLE} may legally be used in 
queries from other
@@ -392,6 +394,7 @@ as supporting profile defined \t{IUSE} injection, 
\t{IUSE_EFFECTIVE} contains th
 
 \begin{compactitem}
 \item All values in the calculated \t{IUSE} value.
+\item All values in the calculated \t{IUSE_RUNTIME} value, in EAPIs where this 
variable is defined.
 \item All values in the profile \t{IUSE_IMPLICIT} variable.
 \item All values in the profile variable named \t{USE_EXPAND_VALUES_\$\{v\}}, 
where \t{\$\{v\}}
 is any value in the intersection of the profile \t{USE_EXPAND_UNPREFIXED} 
and

diff --git a/ebuild-vars.tex b/ebuild-vars.tex
index e4efcae..17e40ed 100644
--- a/ebuild-vars.tex
+++ b/ebuild-vars.tex
@@ -67,6 +67,12 @@ Ebuilds may define any of the following variables:
 \t{IUSE} defaults, any use flag name in \t{IUSE} may be prefixed by at 
most one of a plus or a
 minus sign. If such a prefix is present, the package manager may use it as 
a suggestion as to
 the default value of the use flag if no other configuration overrides it.
+\item[IUSE_RUNTIME] \featurelabel{iuse-runtime} Additional \t{USE} flags used 
by the ebuild whose
+values can be altered in place without rebuilding from source. The flags 
listed
+in \t{IUSE_RUNTIME} must not alter the package built. They must not be 
referenced at build time,
+except for informational purposes. A single flag can not be listed in both 
\t{IUSE_RUNTIME}
+and \t{IUSE} simultaneously. Uses the same syntax as \t{IUSE}. Only in 
EAPIs listed
+in table~\ref{tab:optional-vars-table} as supporting \t{IUSE_RUNTIME}.
 \item[REQUIRED_USE] \featurelabel{required-use} Zero or more assertions that 
must be met by the
 configuration of \t{USE} flags to be valid for this ebuild. See 
section~\ref{sec:required-use}
 for description and section~\ref{sec:dependencies} for full syntax. Only 
in EAPIs listed in
@@ -103,14 +109,16 @@ Ebuilds 

[gentoo-commits] repo/gentoo:master commit in: mail-client/neomutt/files/

2017-10-04 Thread Nicolas Bock
commit: 31494695ea19dcb11c2baf473614c90ee0357ee7
Author: Nicolas Bock  gentoo  org>
AuthorDate: Wed Oct  4 17:16:56 2017 +
Commit: Nicolas Bock  gentoo  org>
CommitDate: Wed Oct  4 17:17:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31494695

mail-client/neomutt: Rename smime_keys

In order to avoid a file collision with the mutt package, rename the
smime_keys helper script to neomutt_smime_keys.

Fixes: #633454
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../0001-Rename-mutt-to-neomutt-20170912.patch | 50 +-
 1 file changed, 39 insertions(+), 11 deletions(-)

diff --git 
a/mail-client/neomutt/files/0001-Rename-mutt-to-neomutt-20170912.patch 
b/mail-client/neomutt/files/0001-Rename-mutt-to-neomutt-20170912.patch
index 598a684a21a..a8a0c8ad272 100644
--- a/mail-client/neomutt/files/0001-Rename-mutt-to-neomutt-20170912.patch
+++ b/mail-client/neomutt/files/0001-Rename-mutt-to-neomutt-20170912.patch
@@ -1,17 +1,20 @@
-From 3a44a22841c2d5861c8fc79391f8615d22bcd08f Mon Sep 17 00:00:00 2001
+From 457e54623ce8c5ef40647ebbc4a304417e353230 Mon Sep 17 00:00:00 2001
 From: Nicolas Bock 
 Date: Mon, 2 Oct 2017 14:04:34 -0600
 Subject: [PATCH] Rename mutt to neomutt
 
 ---
- Makefile.am | 28 +++-
- configure.ac|  6 +++---
- contrib/pgp2.rc |  4 ++--
- contrib/pgp5.rc |  4 ++--
- contrib/pgp6.rc |  4 ++--
- doc/Makefile.am | 30 +++---
- lib/Makefile.am |  4 ++--
- 7 files changed, 41 insertions(+), 39 deletions(-)
+ Makefile.am| 28 +++-
+ configure.ac   |  8 
+ contrib/{smime_keys => neomutt_smime_keys} |  0
+ contrib/pgp2.rc|  4 ++--
+ contrib/pgp5.rc|  4 ++--
+ contrib/pgp6.rc|  4 ++--
+ contrib/smime.rc   |  2 +-
+ doc/Makefile.am| 30 +++---
+ lib/Makefile.am|  4 ++--
+ 9 files changed, 43 insertions(+), 41 deletions(-)
+ rename contrib/{smime_keys => neomutt_smime_keys} (100%)
 
 diff --git a/Makefile.am b/Makefile.am
 index 97218b8f..859b2bcd 100644
@@ -98,7 +101,7 @@ index 97218b8f..859b2bcd 100644
echo 'const char *GitVer = "'$$version'";' > git_ver.h.tmp; \
cmp -s git_ver.h.tmp git_ver.h || mv git_ver.h.tmp git_ver.h; \
 diff --git a/configure.ac b/configure.ac
-index 1e888e86..471100b1 100644
+index 1e888e86..7898fa1b 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -4,7 +4,7 @@ dnl autoreconf -i
@@ -119,7 +122,7 @@ index 1e888e86..471100b1 100644
  
  AC_ARG_WITH(domain,
AS_HELP_STRING([--with-domain=DOMAIN],[Specify your DNS domain name]),
-@@ -213,7 +213,7 @@ AS_IF([test x$use_gpgme = xyes && test x$gpgme_found = 
xno], [
+@@ -213,14 +213,14 @@ AS_IF([test x$use_gpgme = xyes && test x$gpgme_found = 
xno], [
  dnl --enable-pgp
  AS_IF([test x$use_pgp != "xno"], [
AC_DEFINE(CRYPT_BACKEND_CLASSIC_PGP, 1, [Define if you want classic PGP 
Support.])
@@ -128,6 +131,18 @@ index 1e888e86..471100b1 100644
build_ncrypt_pgp="yes"
  ])
  
+ dnl --enable-smime
+ AS_IF([test x$use_smime != "xno"], [
+   AC_DEFINE(CRYPT_BACKEND_CLASSIC_SMIME, 1, [Define if you want classic 
S/MIME support.])
+-  SMIMEAUX_TARGET='$(top_srcdir)/contrib/smime_keys'
++  SMIMEAUX_TARGET='$(top_srcdir)/contrib/neomutt_smime_keys'
+   build_ncrypt_smime="yes"
+ ])
+ 
+diff --git a/contrib/smime_keys b/contrib/neomutt_smime_keys
+similarity index 100%
+rename from contrib/smime_keys
+rename to contrib/neomutt_smime_keys
 diff --git a/contrib/pgp2.rc b/contrib/pgp2.rc
 index bd01e2d2..08b592dd 100644
 --- a/contrib/pgp2.rc
@@ -178,6 +193,19 @@ index a8708042..6b1ef985 100644
  
  # create a clearsigned message
  set pgp_clearsign_command="PGPPASSFD=0; export PGPPASSFD; cat - %f | pgp6 
+compatible   +verbose=0 +batchmode +clearsig -afst %?a? -u %a?"
+diff --git a/contrib/smime.rc b/contrib/smime.rc
+index 532ac9ec..aa9897fb 100644
+--- a/contrib/smime.rc
 b/contrib/smime.rc
+@@ -52,7 +52,7 @@ set smime_get_signer_cert_command="openssl smime -verify -in 
%f -noverify -signe
+ set smime_get_cert_email_command="openssl x509 -in %f -noout -email"
+ 
+ # Add a certificate to the database using smime_keys.
+-set smime_import_cert_command="smime_keys add_cert %f"
++set smime_import_cert_command="neomutt_smime_keys add_cert %f"
+ 
+ 
+ 
 diff --git a/doc/Makefile.am b/doc/Makefile.am
 index 9bfe7ea6..dffbe5f6 100644
 --- a/doc/Makefile.am



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: d8de1f642681145078150b451f954dd6e81a9fb9
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 14:02:49 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=d8de1f64

EAPI 7 bans dolib and libopts.

 eapi-differences.tex |  7 +++
 pkg-mgr-commands.tex | 22 ++
 2 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index d9b5558..70eadb5 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -224,6 +224,12 @@ Most utilities die & \compactfeatureref{die-on-failure} &
 \t{dohtml} & \compactfeatureref{banned-commands} &
 Yes & Yes & Yes & Yes & Banned \\
 
+\t{dolib} & \compactfeatureref{banned-commands} &
+Yes & Yes & Yes & Yes & Banned \\
+
+\t{libopts} & \compactfeatureref{banned-commands} &
+Yes & Yes & Yes & Yes & Banned \\
+
 PM query options & \compactfeatureref{pm-query-options} &
 No & No & \t{-{}-host-root} & \t{-{}-host-root} & \t{-b}, \t{-d}, \t{-r} \\
 
@@ -447,6 +453,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{PORTDIR} removed, \featureref{portdir}.
 \item \t{ECLASSDIR} removed, \featureref{eclassdir}.
 \item \t{domo} installs to \t{/usr/share/locale}, ignoring \t{into}, 
\featureref{domo-path}.
+\item \t{dolib} and \t{libopts} banned, \featureref{banned-commands}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index ae9a615..f3849fc 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -50,20 +50,22 @@ called, the package manager must abort the build process 
indicating an error.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{Banned commands}
 \label{tab:banned-commands-table}
-\begin{tabular}{l}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{4}{c}{\textbf{Command banned?}} \\
+  \multicolumn{6}{c}{\textbf{Command banned?}} \\
   \multicolumn{1}{c}{} &
   \multicolumn{1}{c}{\textbf{\t{dohard}}} &
   \multicolumn{1}{c}{\textbf{\t{dosed}}} &
   \multicolumn{1}{c}{\textbf{\t{einstall}}} &
-  \multicolumn{1}{c}{\textbf{\t{dohtml}}} \\
+  \multicolumn{1}{c}{\textbf{\t{dohtml}}} &
+  \multicolumn{1}{c}{\textbf{\t{dolib}}} &
+  \multicolumn{1}{c}{\textbf{\t{libopts}}} \\
   \midrule
-  0, 1, 2, 3& No  & No  & No  & No  \\
-  4, 5  & Yes & Yes & No  & No  \\
-  6 & Yes & Yes & Yes & No  \\
-  7 & Yes & Yes & Yes & Yes \\
+  0, 1, 2, 3& No  & No  & No  & No  & No  & No  \\
+  4, 5  & Yes & Yes & No  & No  & No  & No  \\
+  6 & Yes & Yes & Yes & No  & No  & No  \\
+  7 & Yes & Yes & Yes & Yes & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}
@@ -503,7 +505,9 @@ can be extended or reduced (see below). The options that 
can be passed to \t{doh
 \item[dolib.so] As for \t{dolib.a} except each file is installed with mode 
\t{0755}.
 
 \item[dolib] As for \t{dolib.a} except that the default install mode can be 
overriden with
-the \t{install} options set by the most recent \t{libopts} call.
+the \t{install} options set by the most recent \t{libopts} call. In EAPIs 
listed
+in table~\ref{tab:banned-commands-table}, this command is banned as per
+section~\ref{sec:banned-commands}.
 
 \begin{algorithm}
 \caption{Determining the library directory} \label{alg:ebuild-libdir}
@@ -714,6 +718,8 @@ has returned.
 \item[exeopts] Sets the options passed by \t{doexe} et al.\ to the \t{install} 
command.
 
 \item[libopts] Sets the options passed by \t{dolib} et al.\ to the \t{install} 
command.
+In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is 
banned as
+per section~\ref{sec:banned-commands}.
 
 \end{description}
 



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: eb0c072f137b7ff8b52270609640c398c16f9897
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 03:17:43 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=eb0c072f

EAPI 7 removes PORTDIR and ECLASSDIR.

 eapi-differences.tex |  8 
 ebuild-env-vars.tex  | 18 +++---
 2 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 6e82904..3e06916 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,12 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{PORTDIR} & \compactfeatureref{portdir} &
+Yes & Yes & Yes & Yes & No \\
+
+\t{ECLASSDIR} & \compactfeatureref{eclassdir} &
+Yes & Yes & Yes & Yes & No \\
+
 \t{DESTTREE} & \compactfeatureref{desttree} &
 Yes & Yes & Yes & Yes & No \\
 
@@ -431,6 +437,8 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{package.provided} in profiles banned, \featureref{package-provided}.
 \item \t{DESTTREE} removed, \featureref{desttree}.
 \item \t{INSDESTTREE} removed, \featureref{insdesttree}.
+\item \t{PORTDIR} removed, \featureref{portdir}.
+\item \t{ECLASSDIR} removed, \featureref{eclassdir}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index 0434083..f495014 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -110,11 +110,13 @@ variable.
 \t{PORTDIR} &
 \t{src_*} &
 No &
-The full path to the master repository's base directory. \\
+\featurelabel{portdir} The full path to the master repository's base 
directory.  Only for EAPIs
+listed in table~\ref{tab:removed-env-vars-table} as supporting 
\t{PORTDIR}. \\
 \t{ECLASSDIR} &
 \t{src_*} &
 No &
-The full path to the master repository's eclass directory. \\
+\featurelabel{eclassdir} The full path to the master repository's eclass 
directory.  Only for
+EAPIs listed in table~\ref{tab:removed-env-vars-table} as supporting 
\t{ECLASSDIR}.\\
 \t{ROOT} &
\t{pkg_*} &
No &
@@ -284,17 +286,19 @@ variable.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting various removed env variables}
 \label{tab:removed-env-vars-table}
-\begin{tabular}{l}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{\t{AA}?}} &
   \multicolumn{1}{c}{\textbf{\t{KV}?}} &
   \multicolumn{1}{c}{\textbf{\t{DESTTREE}?}} &
-  \multicolumn{1}{c}{\textbf{\t{INSDESTTREE}?}} \\
+  \multicolumn{1}{c}{\textbf{\t{INSDESTTREE}?}} &
+  \multicolumn{1}{c}{\textbf{\t{PORTDIR}?}} &
+  \multicolumn{1}{c}{\textbf{\t{ECLASSDIR}?}} \\
   \midrule
-  0, 1, 2, 3& Yes & Yes & Yes & Yes \\
-  4, 5, 6   & No  & No  & Yes & Yes \\
-  7 & No  & No  & No  & No  \\
+  0, 1, 2, 3& Yes & Yes & Yes & Yes & Yes & Yes \\
+  4, 5, 6   & No  & No  & Yes & Yes & Yes & Yes \\
+  7 & No  & No  & No  & No  & No  & No  \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: e37faa4b89a116bf65ab4ca1c456746ec52580a0
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 14:33:22 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=e37faa4b

EAPI 7 allows die in subshell.

 eapi-differences.tex |  4 
 pkg-mgr-commands.tex | 23 +++
 2 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index fb469f6..a0d1f01 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{die} in subshell & \compactfeatureref{subshell-die} &
+No & No & No & No & Yes \\
+
 \t{nonfatal} function+command & \compactfeatureref{nonfatal-fallback} &
 No & No & No & No & Yes \\
 
@@ -459,6 +462,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{dolib} and \t{libopts} banned, \featureref{banned-commands}.
 \item \t{nonfatal} defined both as a shell function and external command,
   \featureref{nonfatal-fallback}.
+\item \t{die} guaranteed to work in a subshell environment, 
\featureref{subshell-die}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index c17c9cc..af4cd35 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -181,23 +181,30 @@ completing. Ebuilds must not run any of these commands 
once the current phase fu
 \item[die] \featurelabel{nonfatal-die} If called under the \t{nonfatal} 
command (as per
 section~\ref{sec:failure-behaviour}) and with \t{-n} as its first 
parameter, displays a failure
 message provided in its following argument and then returns a non-zero 
exit status. Only in
-EAPIs listed in table~\ref{tab:nonfatal-die} as supporting option~\t{-n}. 
Otherwise, displays
+EAPIs listed in table~\ref{tab:die-properties} as supporting 
option~\t{-n}. Otherwise, displays
 a failure message provided in its first and only argument, and then aborts 
the build process.
-\t{die} is \e{not} guaranteed to work correctly if called from a subshell 
environment.
+
+\featurelabel{subshell-die} In EAPIs listed in 
table~\ref{tab:die-properties} as not providing
+subshell support, \t{die} is \e{not} guaranteed to work correctly if 
called from a subshell
+environment.
 \item[assert] Checks the value of the shell's pipe status variable, and if any 
component is non-zero
 (indicating failure), calls \t{die}, passing any parameters to it.
 \end{description}
 
 \ChangeWhenAddingAnEAPI{7}
-\begin{centertable}{EAPIs supporting \t{-n} for \t{die} and \t{assert} 
commands}
-\label{tab:nonfatal-die}
-\begin{tabular}{ll}
+\begin{centertable}{EAPI-specific properties of \t{die} and \t{assert} 
commands}
+\label{tab:die-properties}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{1}{c}{\textbf{\t{die} and \t{assert} support \t{-n}?}} \\
+  \multicolumn{2}{c}{\textbf{\t{die} and \t{assert}}} \\
+  &
+  \multicolumn{1}{c}{\textbf{support \t{-n}?}} &
+  \multicolumn{1}{c}{\textbf{work in subshell?}} \\
   \midrule
-  0, 1, 2, 3, 4, 5  & No  \\
-  6, 7  & Yes \\
+  0, 1, 2, 3, 4, 5  & No  & No  \\
+  6 & Yes & No  \\
+  7 & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: ed54e81eb75bc941be5eb9c9d508da0a281daff0
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 16:19:16 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:02 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=ed54e81e

EAPI 7 has BDEPEND

Bug: https://bugs.gentoo.org/317337

 dependencies.tex | 36 
 eapi-differences.tex |  4 
 ebuild-vars.tex  |  1 +
 eclasses.tex | 10 +-
 metadata-cache.tex   |  2 ++
 5 files changed, 44 insertions(+), 9 deletions(-)

diff --git a/dependencies.tex b/dependencies.tex
index 258b394..92e7bb9 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -15,7 +15,7 @@
   None (ebuilds can rely only on the packages in the system~set) \\
   \addlinespace
   \t{src_unpack}, \t{src_prepare}, \t{src_configure}, \t{src_compile}, 
\t{src_test},
-  \t{src_install} & \t{DEPEND} \\
+  \t{src_install} & \t{DEPEND}, \t{BDEPEND} \\
   \addlinespace
   \t{pkg_preinst}, \t{pkg_postinst}, \t{pkg_prerm}, \t{pkg_postrm} &
   \t{RDEPEND} (unless the particular dependency results in a circular 
dependency, in which
@@ -38,6 +38,18 @@ There are three classes of dependencies supported by ebuilds:
 the package manager finishes the batch of installs.
 \end{compactitem}
 
+\featurelabel{bdepend} Additionally, in EAPIs listed in 
table~\ref{tab:depend-table}
+as supporting \t{BDEPEND}, the build dependencies are split into two 
subclasses:
+
+\begin{compactitem}
+\item Build dependencies that are binary compatible with the native build 
system
+/ CBUILD (\t{BDEPEND}). The ebuild is allowed to call binary executables
+installed by this kind of dependency.
+\item Build dependencies that are binary compatible with the system being built
+/ CHOST (\t{DEPEND}). The ebuild must not execute binary executables 
installed
+by this kind of dependency.
+\end{compactitem}
+
 Table~\ref{tab:phase-function-dependency-classes} lists dependencies which 
must be satisfied before
 a particular phase function is executed.
 
@@ -50,7 +62,8 @@ The following elements are recognised in at least one class 
of specification. Al
 be surrounded on both sides by whitespace, except at the start and end of the 
string.
 
 \begin{compactitem}
-\item A package dependency specification. Permitted in \t{DEPEND}, 
\t{RDEPEND}, \t{PDEPEND}.
+\item A package dependency specification. Permitted in \t{DEPEND}, 
\t{BDEPEND}, \t{RDEPEND},
+\t{PDEPEND}.
 \item A URI, in the form \t{proto://host/path}. Permitted in \t{SRC_URI} and 
\t{HOMEPAGE}\@.
 In EAPIs listed in table~\ref{tab:uri-arrows-table} as supporting 
\t{SRC_URI} arrows, may
 optionally be followed by whitespace, then \t{->}, then whitespace, then a 
simple filename when
@@ -68,7 +81,7 @@ be surrounded on both sides by whitespace, except at the 
start and end of the st
 followed by an open parenthesis, followed by whitespace, followed by zero 
or more
 of (a dependency item of any kind followed by whitespace), followed by a 
close parenthesis.
 More formally: \t{any-of} \t{::=} \t{'||' whitespace '(' whitespace (item 
whitespace)* ')'}.
-Permitted in \t{DEPEND}, \t{RDEPEND}, \t{PDEPEND}, \t{LICENSE}, 
\t{REQUIRED_USE}.
+Permitted in \t{DEPEND}, \t{BDEPEND}, \t{RDEPEND}, \t{PDEPEND}, 
\t{LICENSE}, \t{REQUIRED_USE}.
 \item An exactly-one-of group, which consists of the string 
\t{\textasciicircum\textasciicircum},
 followed by whitespace, followed by an open parenthesis, followed by 
whitespace, followed by
 zero or more of (a dependency item of any kind followed by whitespace), 
followed by a close
@@ -93,6 +106,20 @@ be surrounded on both sides by whitespace, except at the 
start and end of the st
 In particular, note that whitespace is not optional.
 
 \ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{EAPIs supporting additional dependency types}
+\label{tab:depend-table}
+\begin{tabular}{ll}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{Supports \t{BDEPEND}?}} \\
+  \midrule
+  0, 1, 2, 3, 4, 5, 6 & No  \\
+  7   & Yes \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
+\ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting \t{SRC_URI} arrows}
 \label{tab:uri-arrows-table}
 \begin{tabular}{ll}
@@ -285,7 +312,8 @@ indicates that the package will not break if the matched 
package is uninstalled
 a different matching package in a different slot.
 \item[=] Indicates that any slot value is acceptable. In addition, for runtime 
dependencies,
 indicates that the package will break unless a matching package with slot and 
sub-slot equal to the
-slot and sub-slot of the best installed version at the time the package was 
built is available.
+slot and sub-slot of the best version installed to \t{ESYSROOT} at the time 
the package was built
+is 

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 4329de684402ced99a0286645b5174cb9f63ecd6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep 23 23:46:32 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=4329de68

dependencies: Provide a nice summary table for dep APIs

 dependencies.tex | 18 +-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/dependencies.tex b/dependencies.tex
index 92e7bb9..63d8c53 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -26,6 +26,21 @@
 \end{tabular}
 \end{centertable}
 
+\begin{centertable}{Summary of other interfaces related to dependency classes}
+\label{tab:dependency-class-apis}
+\begin{tabular}{lccc}
+  \toprule
+  & \t{BDEPEND} & \t{DEPEND} & \t{RDEPEND}, \t{PDEPEND} \\
+  \midrule
+  binary compatible with & \t{CBUILD} & \t{CHOST} & \t{CHOST} \\
+  base unprefixed path & \t{/} & \t{\$\{SYSROOT\}} & \t{\$\{ROOT\}} \\
+  relevant offset-prefix & \t{\$\{BROOT\}} & \t{\$\{EPREFIX\}} & 
\t{\$\{EPREFIX\}} \\
+  path combined with prefix & \t{\$\{BROOT\}} & \t{\$\{ESYSROOT\}} & 
\t{\$\{EROOT\}} \\
+  PM query option & \t{-b} & \t{-d} & \t{-r} \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
 There are three classes of dependencies supported by ebuilds:
 
 \begin{compactitem}
@@ -51,7 +66,8 @@ as supporting \t{BDEPEND}, the build dependencies are split 
into two subclasses:
 \end{compactitem}
 
 Table~\ref{tab:phase-function-dependency-classes} lists dependencies which 
must be satisfied before
-a particular phase function is executed.
+a particular phase function is executed. Table~\ref{tab:dependency-class-api} 
summarizes
+additional interfaces related to the dependency classes.
 
 In addition, \t{SRC_URI}, \t{HOMEPAGE}, \t{RESTRICT}, \t{PROPERTIES}, 
\t{LICENSE} and
 \t{REQUIRED_USE} use dependency-style specifications to specify their values.



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: b7d98a29242722f0224449f52d3cbabcf5c44c92
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 16:10:08 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=b7d98a29

EAPI 7 has automatic USE enforcing.

 dependencies.tex | 68 +++-
 eapi-differences.tex |  4 
 profiles.tex |  1 +
 3 files changed, 72 insertions(+), 1 deletion(-)

diff --git a/dependencies.tex b/dependencies.tex
index 63d8c53..5773aef 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -384,16 +384,82 @@ It is an error for an ebuild to use a conditional use 
dependency when that ebuil
 flag in \t{IUSE_EFFECTIVE}.
 
 \subsection{USE state constraints}
+
 \label{sec:required-use}
 \t{REQUIRED_USE} contains a list of assertions that must be met by the 
configuration of \t{USE}
 flags to be valid for this ebuild. In order to be matched, a \t{USE} flag in a 
terminal element
 must be enabled (or disabled if it has an exclamation mark prefix).
 
 If the package manager encounters a package version where \t{REQUIRED_USE} 
assertions are not met,
-it must treat this package version as if it was masked. No phase functions 
must be called.
+it should attempt to automatically enforce the necessary flags as detailed
+in section~\ref{sec:enforce-required-use}. If this feature is not supported or 
it fails to resolve
+the problem, the package manager must treat this package version as if it was 
masked. No phase
+functions must be called in that case.
 
 It is an error for a flag to be used if it is not included in 
\t{IUSE_EFFECTIVE}.
 
+\subsubsection{Automatic enforcing of REQUIRED_USE}
+\label{sec:enforce-required-use}
+
+\featurelabel{auto-req-use} In EAPIs listed in 
table~\ref{tab:enforce-required-use-table} as
+supporting enforcing of \t{REQUIRED_USE}, the package manager can attempt to 
resolve unmet USE state
+constraints through automatically adjusting the effective USE flags for the 
package being built,
+according to the algorithm specified below. Any adjustments done this way must 
not affect
+the package version permanently. The package manager must reevaluate the flags 
using the original
+user configuration every time the package is being built.
+
+The package flags that are either masked or forced according to the 
section~\ref{sec:use-mask-force}
+are considered immutable. The enforcing process must not alter the values of 
immutable flags.
+If the \t{REQUIRED_USE} constraint can not be satisfied without altering 
immutable flags, automatic
+enforcing fails.
+
+In order to enforce \t{REQUIRED_USE}, the package manager should process every 
USE constraint,
+in order of listing, according to the following rules:
+
+\begin{compactitem}
+\item For an unmatched use flag, the package manager should negate the state 
of the specified flag
+in order to make the constraint match.
+\item For an unmatched all-of group, the package manager should recursively 
enforce all
+constraints inside the group, in order of listing.
+\item For an unmatched use-conditonal group, the package manager should 
recursively enforce all
+constraints inside the group, in order of listing. The associated 
condition flag is not altered.
+\item For an unmatched any-of group, the package manager should recursively 
enforce the first item
+inside the group that can be enforced without altering immutable flags, in 
order of listing.
+\item For an unmatched at-most-one-of group:
+\begin{compactitem}
+\item If two or more items match due to immutable flags, the package 
manager must report
+failure.
+\item If exactly one of the items match due to immutable flags, the 
package manager should
+enforce all other items not to match, according to the rule specified 
below.
+\item If none of the items match due to immutable flags, the package 
manager should enforce all
+items not to match but the first item in order of listing that matches 
currently.
+\end{compactitem}
+\item For an unmatched exactly-one-of group:
+\begin{compactitem}
+\item If none of the items match, the package manager should behave as for 
unmatched any-of
+group.
+\item If more than one item matches, the package manager should behave as 
for unmatched
+at-most-one-of group.
+\end{compactitem}
+\end{compactitem}
+
+In order to enforce a matched use flag item not to match, the package manager 
should negate
+the state of the flag. The method of enforcing any other item type not to 
match is undefined.
+
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{EAPIs supporting automatic enforcing of \t{REQUIRED_USE}}
+\label{tab:enforce-required-use-table}
+\begin{tabular}{ll}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{Supports enforcing \t{REQUIRED_USE}?}} \\
+  \midrule
+  

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 623c289e3404997fbd26653101a43e3a10323e7a
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 13:41:52 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=623c289e

domo installs to /usr in EAPI 7.

 eapi-differences.tex |  8 
 pkg-mgr-commands.tex | 25 -
 2 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 3e06916..d9b5558 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,13 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{domo} install path & \compactfeatureref{domo-path} &
+\t{\$\{DESTTREE\}\slash share\slash locale} &
+\t{\$\{DESTTREE\}\slash share\slash locale} &
+\t{\$\{DESTTREE\}\slash share\slash locale} &
+\t{\$\{DESTTREE\}\slash share\slash locale} &
+\t{/usr\slash share\slash locale} \\
+
 \t{PORTDIR} & \compactfeatureref{portdir} &
 Yes & Yes & Yes & Yes & No \\
 
@@ -439,6 +446,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{INSDESTTREE} removed, \featureref{insdesttree}.
 \item \t{PORTDIR} removed, \featureref{portdir}.
 \item \t{ECLASSDIR} removed, \featureref{eclassdir}.
+\item \t{domo} installs to \t{/usr/share/locale}, ignoring \t{into}, 
\featureref{domo-path}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 8ab8175..bfc3e99 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -542,11 +542,12 @@ can be extended or reduced (see below). The options that 
can be passed to \t{doh
 the empty string. In EAPIs specified by table~\ref{tab:doman-table}, the 
\t{-i18n} option takes
 precedence over the language code in the filename.
 
-\item[domo] Installs the given \t{.mo} files with file mode \t{0644} into the 
appropriate
-subdirectory of \t{DESTTREE\slash share\slash locale}, generated by taking 
the basename of the
-file, removing the \t{.*} suffix, and appending \t{/LC_MESSAGES}\@. The 
name of the installed
-files is the package name with \t{.mo} appended. Failure behaviour is EAPI 
dependent as per
-section~\ref{sec:failure-behaviour}.
+\item[domo] \featurelabel{domo-path} Installs the given \t{.mo} files with 
file mode \t{0644} into
+the appropriate subdirectory of the locale tree, generated by taking the 
basename of the file,
+removing the \t{.*} suffix, and appending \t{/LC_MESSAGES}\@. The name of 
the installed files is
+the package name with \t{.mo} appended. Failure behaviour is EAPI 
dependent as per
+section~\ref{sec:failure-behaviour}. The locale tree location is EAPI 
dependent as per
+table~\ref{tab:domo-path}.
 
 \item[dosbin] As \t{dobin}, but installs to \t{DESTTREE/sbin}.
 
@@ -666,6 +667,20 @@ can be extended or reduced (see below). The options that 
can be passed to \t{doh
 \end{tabular}
 \end{centertable}
 
+\ChangeWhenAddingAnEAPI{7}
+\begin{centertable}{EAPI-dependent install path for \t{domo} command}
+\label{tab:domo-path}
+\begin{tabular}{ll}
+  \toprule
+  \multicolumn{1}{c}{\textbf{EAPI}} &
+  \multicolumn{1}{c}{\textbf{destination path}} \\
+  \midrule
+  0, 1, 2, 3, 4, 5, 6 & \t{\$\{DESTTREE\}\slash share\slash locale} \\
+  7   & \t{/usr/share/locale} \\
+  \bottomrule
+\end{tabular}
+\end{centertable}
+
 \subsubsection{Commands affecting install destinations}
 The following commands are used to set the various destination trees, all 
relative to \t{\$\{ED\}} in
 offset-prefix aware EAPIs and relative to \t{\$\{D\}} in offset-prefix 
agnostic EAPIs, used by the



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 4eb2ccf9c7bc7eaa64754e9b432290ba5ed631e9
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 16:42:13 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:48 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=4eb2ccf9

EAPI 7 has binding leftmost-of dep groups (||=).

Bug: https://bugs.gentoo.org/489458

 dependencies.tex | 45 ++---
 eapi-differences.tex |  4 
 2 files changed, 42 insertions(+), 7 deletions(-)

diff --git a/dependencies.tex b/dependencies.tex
index 5773aef..d9592d9 100644
--- a/dependencies.tex
+++ b/dependencies.tex
@@ -98,6 +98,12 @@ be surrounded on both sides by whitespace, except at the 
start and end of the st
 of (a dependency item of any kind followed by whitespace), followed by a 
close parenthesis.
 More formally: \t{any-of} \t{::=} \t{'||' whitespace '(' whitespace (item 
whitespace)* ')'}.
 Permitted in \t{DEPEND}, \t{BDEPEND}, \t{RDEPEND}, \t{PDEPEND}, 
\t{LICENSE}, \t{REQUIRED_USE}.
+\item \featurelabel{binding-leftmost-of} A binding leftmost-of group, which 
consists of the string
+\t{||=}, followed by whitespace, followed by an open parenthesis, followed 
by whitespace,
+followed by zero or more of (a dependency item of any kind followed by 
whitespace), followed by
+a close parenthesis.  More formally: \t{any-of} \t{::=} \t{'||=' 
whitespace '(' whitespace (item
+whitespace)* ')'}.  Permitted in \t{DEPEND}, \t{BDEPEND}, \t{RDEPEND}, 
\t{PDEPEND} in EAPIs
+listed in table~\ref{tab:dep-group-table} as supporting \t{||=}\ groups.
 \item An exactly-one-of group, which consists of the string 
\t{\textasciicircum\textasciicircum},
 followed by whitespace, followed by an open parenthesis, followed by 
whitespace, followed by
 zero or more of (a dependency item of any kind followed by whitespace), 
followed by a close
@@ -109,7 +115,7 @@ be surrounded on both sides by whitespace, except at the 
start and end of the st
 zero or more of (a dependency item of any kind followed by whitespace), 
followed by a close
 parenthesis. More formally: \t{at-most-one-of} \t{::=} \t{'??'\ whitespace 
'(' whitespace
 (item whitespace)* ')'}. Permitted in \t{REQUIRED_USE} in EAPIs listed in
-table~\ref{tab:at-most-one-of-table} as supporting \t{REQUIRED_USE ??}\ 
groups.
+table~\ref{tab:dep-group-table} as supporting \t{REQUIRED_USE ??}\ groups.
 \item A use-conditional group, which consists of an optional exclamation mark, 
followed by
 a use flag name, followed by a question mark, followed by whitespace, 
followed by
 an open parenthesis, followed by whitespace, followed by zero or more of 
(a dependency item
@@ -150,15 +156,17 @@ In particular, note that whitespace is not optional.
 \end{centertable}
 
 \ChangeWhenAddingAnEAPI{7}
-\begin{centertable}{EAPIs supporting \t{REQUIRED_USE ??}\ groups}
-\label{tab:at-most-one-of-table}
-\begin{tabular}{ll}
+\begin{centertable}{EAPIs supporting additional group types}
+\label{tab:dep-group-table}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{1}{c}{\textbf{Supports \t{REQUIRED_USE ??}\ groups?}} \\
+  \multicolumn{1}{c}{\textbf{Supports \t{REQUIRED_USE ??}\ groups?}} &
+  \multicolumn{1}{c}{\textbf{Supports \t{||=}\ groups?}} \\
   \midrule
-  0, 1, 2, 3, 4 & No  \\
-  5, 6, 7   & Yes \\
+  0, 1, 2, 3, 4 & No  & No  \\
+  5, 6  & Yes & No  \\
+  7 & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}
@@ -186,6 +194,29 @@ considered to be matched if its associated package 
dependency specification is n
 
 An empty any-of group counts as being matched.
 
+\subsection{Binding leftmost-of dependency specifications}
+
+Any use-conditional group that is an immediate child of a binding leftmost-of 
group, if not enabled
+(disabled for an exclamation mark prefixed use flag name), is not considered a 
member of the binding
+leftmost-of group for match purposes.
+
+In a binding leftmost-of group, at least one immediate child element must be 
matched. A blocker is
+considered to be matched if its associated package dependency specification is 
not matched.
+In addition, for runtime dependencies, indicates that the package will break 
unless the dependency
+corresponding to the first immediate child (in order of listing) matched in 
\t{ESYSROOT} at the time
+the package was built is satisfied.
+
+An empty binding leftmost-of group counts as being matched.
+
+To implement the binding leftmost-of operator, the package manager will need 
to store which of
+the immediate child elements were matched. This syntax is only for package 
manager use and must not
+be used by ebuilds. Only the first matched child element needs to be indicated.
+
+Whenever the binding leftmost-of group is used in an enabled dependency group, 
the 

[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 992ceafb1650232d85b6fce8737a348a02b640ab
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Sep 23 20:53:59 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=992ceafb

EAPI 7 drops --host-root in favor of -b, -d, and -r

Bug: https://bugs.gentoo.org/317337

 eapi-differences.tex |  8 +---
 pkg-mgr-commands.tex | 30 --
 2 files changed, 25 insertions(+), 13 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index af28b7a..ace1f55 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -202,8 +202,8 @@ Most utilities die & \compactfeatureref{die-on-failure} &
 \t{dohtml} & \compactfeatureref{banned-commands} &
 Yes & Yes & Yes & Yes & Banned \\
 
-Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
-No & No & Yes & Yes & Yes \\
+PM query options & \compactfeatureref{pm-query-options} &
+No & No & \t{-{}-host-root} & \t{-{}-host-root} & \t{-b}, \t{-d}, \t{-r} \\
 
 \t{die -n} & \compactfeatureref{nonfatal-die} &
 No & No & No & Yes & Yes \\
@@ -368,7 +368,7 @@ EAPI 5 is EAPI 4 with the following changes:
 \item \t{USE} is calculated differently, \featureref{profile-iuse-inject}.
 \item \t{find} is guaranteed to be GNU, \featureref{gnu-find}.
 \item \t{best_version} and \t{has_version} support the \t{-{}-host-root} 
option,
-\featureref{host-root-option}.
+\featureref{pm-query-options}.
 \item \t{econf} adds \t{-{}-disable-silent-rules}, \featureref{econf-options}.
 \item \t{doheader} and \t{newheader} support, \featureref{doheader}.
 \item \t{new*} can read from standard input, \featureref{newfoo-stdin}.
@@ -417,6 +417,8 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{econf} adds \t{-{}-with-sysroot}, \featureref{econf-options}.
 \item \t{BDEPEND}, \featureref{bdepend}.
 \item \t{BROOT}, \featureref{broot}.
+\item \t{best_version} and \t{has_version} drops the \t{-{}-host-root} option 
in favor of the
+  \t{-b}, \t{-d}, and \t{-r} options, \featureref{pm-query-options}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 6a4415d..8ab8175 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -84,27 +84,37 @@ These commands are used to extract information about the 
system. Ebuilds must no
 these commands in parallel with any other package manager command. Ebuilds 
must not run any of
 these commands once the current phase function has returned.
 
-\featurelabel{host-root-option} In EAPIs listed in 
table~\ref{tab:foo-version-host-root-table} as
-supporting option \t{-{}-host-root}, this flag as the first argument will 
cause the query to apply
-to the host root instead of \t{ROOT}.
+\featurelabel{pm-query-options} In EAPIs listed in 
table~\ref{tab:pm-query-options-table}
+as supporting options \t{-b}, \t{-d}, and \t{-r}, these flags as the first 
argument will cause
+the query to apply to locations targetted by \t{BDEPEND}, \t{DEPEND}, and 
\t{RDEPEND} respectively.
+When none of these options are given, \t{-r} is assumed.
+
+In EAPIs listed in table~\ref{tab:pm-query-options-table} as supporting option 
\t{-{}-host-root},
+this flag as the first argument will cause the query to apply to the host 
root. Otherwise, it
+applies to \t{ROOT}.
+
 \begin{description}
 \item[has_version] Takes exactly one package dependency specification as an 
argument. Returns
-true if a package matching the specification is installed in \t{ROOT}, and 
false otherwise.
+true if a package matching the specification is installed, and false 
otherwise.
 \item[best_version] Takes exactly one package dependency specification as an 
argument. If a
 matching package is installed, prints the category, package name and 
version of the highest
 matching version; otherwise, prints an empty string. The exit code is 
unspecified.
 \end{description}
 
 \ChangeWhenAddingAnEAPI{7}
-\begin{centertable}{EAPIs supporting \t{-{}-host-root} for \t{*_version} 
commands}
-\label{tab:foo-version-host-root-table}
-\begin{tabular}{ll}
+\begin{centertable}{Package manager query command options supported by EAPIs}
+\label{tab:pm-query-options-table}
+\begin{tabular}{l}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{1}{c}{\textbf{\t{*_version} supports \t{-{}-host-root}?}} \\
+  \multicolumn{1}{c}{\textbf{\t{-{}-host-root}?}} &
+  \multicolumn{1}{c}{\textbf{\t{-b}?}} &
+  \multicolumn{1}{c}{\textbf{\t{-d}?}} &
+  \multicolumn{1}{c}{\textbf{\t{-r}?}} \\
   \midrule
-  0, 1, 2, 3, 4 & No  \\
-  5, 6  & Yes \\
+  0, 1, 2, 3, 4 & No  & No  & No  & No  \\
+  5, 6  & Yes & No  & No  & No  \\
+  7 & No  & Yes & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 412467790fe4c56bbc768f40e143fa711f5b07cc
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Sep 17 21:39:27 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=41246779

EAPI 7 has BROOT

Bug: https://bugs.gentoo.org/317337

 eapi-differences.tex |  4 
 ebuild-env-vars.tex  | 33 +
 2 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 9205125..af28b7a 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{BROOT} & \compactfeatureref{broot} &
+No & No & No & No & Yes \\
+
 \t{BDEPEND} & \compactfeatureref{bdepend} &
 No & No & No & No & Yes \\
 
@@ -413,6 +416,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{SYSROOT} and \t{ESYSROOT} added, \featureref{sysroot}.
 \item \t{econf} adds \t{-{}-with-sysroot}, \featureref{econf-options}.
 \item \t{BDEPEND}, \featureref{bdepend}.
+\item \t{BROOT}, \featureref{broot}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index e24a065..e91f36e 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -144,6 +144,13 @@ variable.
 for convenience.  See also the \t{EPREFIX} variable. Only for EAPIs listed
 in table~\ref{tab:offset-env-vars-table} as supporting \t{ESYSROOT}. The 
presence of a trailing
 slash EAPI-dependent as listed in table~\ref{tab:trailing-slash}. \\
+\t{BROOT} &
+\t{src_*} &
+No &
+\featurelabel{broot} The absolute path to the root directory containing 
build dependencies
+satisfied by BDEPEND, typically executable build tools. This includes any 
applicable offset
+prefix. Only for EAPIs listed in table~\ref{tab:offset-env-vars-table} as 
supporting \t{BROOT}.
+The presence of a trailing slash EAPI-dependent as listed in 
table~\ref{tab:trailing-slash}. \\
 \t{T} &
 All &
 Partially\footnote{Consistent and preserved across a single connected 
sequence of install or
@@ -253,19 +260,20 @@ variable.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting various added env variables}
 \label{tab:added-env-vars-table}
-\begin{tabular}{ll}
+\begin{tabular}{lll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{\t{MERGE_TYPE}?}} &
   \multicolumn{1}{P{6em}}{\textbf{\t{REPLACING_VERSIONS}?}} &
   \multicolumn{1}{P{6em}}{\textbf{\t{REPLACED_BY_VERSION}?}} &
   \multicolumn{1}{P{6em}}{\textbf{\t{EBUILD_PHASE_FUNC}?}} &
-  \multicolumn{1}{P{6em}}{\textbf{\t{SYSROOT}?}} \\
+  \multicolumn{1}{P{6em}}{\textbf{\t{SYSROOT}?}} &
+  \multicolumn{1}{P{6em}}{\textbf{\t{BROOT}?}} \\
   \midrule
-  0, 1, 2, 3& No  & No  & No  & No  & No  \\
-  4 & Yes & Yes & Yes & No  & No  \\
-  5, 6  & Yes & Yes & Yes & Yes & No  \\
-  7 & Yes & Yes & Yes & Yes & Yes \\
+  0, 1, 2, 3& No  & No  & No  & No  & No  & No  \\
+  4 & Yes & Yes & Yes & No  & No  & No  \\
+  5, 6  & Yes & Yes & Yes & Yes & No  & No  \\
+  7 & Yes & Yes & Yes & Yes & Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}
@@ -288,7 +296,7 @@ variable.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting offset-prefix env variables}
 \label{tab:offset-env-vars-table}
-\begin{tabular}{l}
+\begin{tabular}{ll}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{\t{EPREFIX}?}} &
@@ -460,17 +468,18 @@ If the path specifies the system root directory, it will 
be empty.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{Variables that always or never end with a trailing slash}
 \label{tab:trailing-slash}
-\begin{tabular}{}
+\begin{tabular}{l}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{3}{c}{\textbf{Ends with a trailing slash?}} \\
+  \multicolumn{4}{c}{\textbf{Ends with a trailing slash?}} \\
   &
   \t{ROOT}, \t{EROOT} &
   \t{D}, \t{ED} &
-  \t{SYSROOT}, \t{ESYSROOT} \\
+  \t{SYSROOT}, \t{ESYSROOT} &
+  \t{BROOT} \\
   \midrule
-  0, 1, 2, 3, 4, 5, 6 & always & always & n/a\\
-  7   & never  & never  & never  \\
+  0, 1, 2, 3, 4, 5, 6 & always & always & n/a& n/a\\
+  7   & never  & never  & never  & never  \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 3d3687965ad3c3cfce6c3e88ff6c86ebcb643be2
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 03:13:57 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=3d368796

EAPI 7 removes DESTTREE and INSDESTTREE.

 eapi-differences.tex |  8 
 ebuild-env-vars.tex  | 18 --
 2 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index d6bf6b7..6e82904 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,12 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{DESTTREE} & \compactfeatureref{desttree} &
+Yes & Yes & Yes & Yes & No \\
+
+\t{INSDESTTREE} & \compactfeatureref{insdesttree} &
+Yes & Yes & Yes & Yes & No \\
+
 \t{package.provided} & \compactfeatureref{package-provided} &
 Yes & Yes & Yes & Yes & No \\
 
@@ -423,6 +429,8 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{best_version} and \t{has_version} drops the \t{-{}-host-root} option 
in favor of the
   \t{-b}, \t{-d}, and \t{-r} options, \featureref{pm-query-options}.
 \item \t{package.provided} in profiles banned, \featureref{package-provided}.
+\item \t{DESTTREE} removed, \featureref{desttree}.
+\item \t{INSDESTTREE} removed, \featureref{insdesttree}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index e91f36e..0434083 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -199,11 +199,14 @@ variable.
 \t{DESTTREE} &
 \t{src_install} &
 No &
-Controls the location where \t{dobin}, \t{dolib}, \t{domo}, and \t{dosbin} 
install things. \\
+\featurelabel{desttree} Controls the location where \t{dobin}, \t{dolib}, 
\t{domo},
+and \t{dosbin} install things.  Only for EAPIs listed in 
table~\ref{tab:removed-env-vars-table}
+as supporting \t{DESTTREE}. \\
 \t{INSDESTTREE} &
 \t{src_install} &
 No &
-Controls the location where \t{doins} installs things. \\
+\featurelabel{insdesttree} Controls the location where \t{doins} installs 
things. Only for EAPIs
+listed in table~\ref{tab:removed-env-vars-table} as supporting 
\t{INSDESTTREE}. \\
 \t{USE} &
 All &
 Yes &
@@ -281,14 +284,17 @@ variable.
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPIs supporting various removed env variables}
 \label{tab:removed-env-vars-table}
-\begin{tabular}{lll}
+\begin{tabular}{l}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
   \multicolumn{1}{c}{\textbf{\t{AA}?}} &
-  \multicolumn{1}{c}{\textbf{\t{KV}?}} \\
+  \multicolumn{1}{c}{\textbf{\t{KV}?}} &
+  \multicolumn{1}{c}{\textbf{\t{DESTTREE}?}} &
+  \multicolumn{1}{c}{\textbf{\t{INSDESTTREE}?}} \\
   \midrule
-  0, 1, 2, 3& Yes & Yes \\
-  4, 5, 6, 7& No  & No  \\
+  0, 1, 2, 3& Yes & Yes & Yes & Yes \\
+  4, 5, 6   & No  & No  & Yes & Yes \\
+  7 & No  & No  & No  & No  \\
   \bottomrule
 \end{tabular}
 \end{centertable}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 53c5ca4330f63c48585cb144880f11b671bde7f7
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 13:48:46 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=53c5ca43

pkg-mgr-commands: Redefine dolib* in terms of libdir.a

Since EAPI 7 removes dolib, it would be a bad fit to describe the two
other commands on top of one that is removed. Instead, start by defining
libdir.a and then define the two other commands on top of it.

This also clarifies that dolib.a & dolib.so do not respect libopts,
while the old wording was not clear on that. However, this is at least
how it was implemented in Portage (with dolib.a and dolib.so overriding
libopts completely).

 pkg-mgr-commands.tex | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index bfc3e99..ae9a615 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -494,15 +494,16 @@ can be extended or reduced (see below). The options that 
can be passed to \t{doh
 symlink is encountered. Failure behaviour is EAPI dependent as per
 section~\ref{sec:failure-behaviour}.
 
-\item[dolib] For each argument, installs it into the appropriate library 
subdirectory under
-\t{DESTTREE}, as determined by Algorithm~\ref{alg:ebuild-libdir}. Files 
are installed by default
-with file mode \t{0644}, or with the \t{install} options set by the most 
recent \t{libopts}
-call. Any symlinks are installed into the same directory as relative links 
to their original
-target. Failure behaviour is EAPI dependent as per 
section~\ref{sec:failure-behaviour}.
+\item[dolib.a] For each argument, installs it into the appropriate library 
subdirectory under
+\t{DESTTREE}, as determined by Algorithm~\ref{alg:ebuild-libdir}. Files 
are installed
+with file mode \t{0644}. Any symlinks are installed into the same 
directory as relative links
+to their original target. Failure behaviour is EAPI dependent as per
+section~\ref{sec:failure-behaviour}.
 
-\item[dolib.a] As for \t{dolib} except each file is installed with mode 
\t{0644}.
+\item[dolib.so] As for \t{dolib.a} except each file is installed with mode 
\t{0755}.
 
-\item[dolib.so] As for \t{dolib} except each file is installed with mode 
\t{0755}.
+\item[dolib] As for \t{dolib.a} except that the default install mode can be 
overriden with
+the \t{install} options set by the most recent \t{libopts} call.
 
 \begin{algorithm}
 \caption{Determining the library directory} \label{alg:ebuild-libdir}



[gentoo-commits] proj/pms:eapi-7 commit in: /

2017-10-04 Thread Michał Górny
commit: 0541925c829420b4ec2dc57b0eca3ba28cb6da76
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 29 14:24:10 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 16:47:08 2017 +
URL:https://gitweb.gentoo.org/proj/pms.git/commit/?id=0541925c

EAPI 7 provides command fallback for nonfatal.

 eapi-differences.tex |  5 +
 pkg-mgr-commands.tex | 17 -
 2 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 70eadb5..fb469f6 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -41,6 +41,9 @@ of this document for a complete table of previous EAPIs.
 \bottomrule
 \endlastfoot
 
+\t{nonfatal} function+command & \compactfeatureref{nonfatal-fallback} &
+No & No & No & No & Yes \\
+
 \t{domo} install path & \compactfeatureref{domo-path} &
 \t{\$\{DESTTREE\}\slash share\slash locale} &
 \t{\$\{DESTTREE\}\slash share\slash locale} &
@@ -454,6 +457,8 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{ECLASSDIR} removed, \featureref{eclassdir}.
 \item \t{domo} installs to \t{/usr/share/locale}, ignoring \t{into}, 
\featureref{domo-path}.
 \item \t{dolib} and \t{libopts} banned, \featureref{banned-commands}.
+\item \t{nonfatal} defined both as a shell function and external command,
+  \featureref{nonfatal-fallback}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index f3849fc..c17c9cc 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -22,6 +22,11 @@ The following commands affect this behaviour:
 the build process due to a failure, instead a non-zero exit status shall 
be returned. Only in
 EAPIs listed in table~\ref{tab:commands-die-table} as supporting 
\t{nonfatal}.
 
+\featurelabel{nonfatal-fallback} In EAPIs listed in 
table~\ref{tab:commands-die-table}
+as having \t{nonfatal} defined as both function and external command, the 
package manager must
+provide both implementations to account both for calling in ebuild scope 
directly, and via
+\t{xargs}.
+
 Explicit \t{die} or \t{assert} commands only respect \t{nonfatal} when 
called with the \t{-n}
 option and in EAPIs supporting this option, see 
table~\ref{tab:nonfatal-die}.
 \end{description}
@@ -29,14 +34,16 @@ The following commands affect this behaviour:
 \ChangeWhenAddingAnEAPI{7}
 \begin{centertable}{EAPI command failure behaviour}
 \label{tab:commands-die-table}
-\begin{tabular}{lll}
+\begin{tabular}{}
   \toprule
   \multicolumn{1}{c}{\textbf{EAPI}} &
-  \multicolumn{1}{c}{\textbf{Command failure behaviour}} &
-  \multicolumn{1}{c}{\textbf{Supports \t{nonfatal}?}} \\
+  \multicolumn{1}{P{8em}}{\textbf{Command failure behaviour}} &
+  \multicolumn{1}{P{6em}}{\textbf{Supports \t{nonfatal}?}} &
+  \multicolumn{1}{P{12em}}{\textbf{\t{nonfatal} as both function and 
external command?}} \\
   \midrule
-  0, 1, 2, 3& Non-zero exit & No  \\
-  4, 5, 6, 7& Aborts& Yes \\
+  0, 1, 2, 3& Non-zero exit & No  & n/a \\
+  4, 5, 6   & Aborts& Yes & No  \\
+  7 & Aborts& Yes & Yes \\
   \bottomrule
 \end{tabular}
 \end{centertable}



  1   2   3   4   >