[gentoo-commits] repo/gentoo:master commit in: dev-util/boost-build/files/, dev-util/boost-build/, profiles/

2022-12-24 Thread Andreas Sturmlechner
commit: d7523c558338b1c1aad83db37e356db9ec2d9b59
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Dec 25 00:44:31 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Dec 25 00:44:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7523c55

dev-util/boost-build: Remove last-rited package

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-util/boost-build/Manifest  |   1 -
 dev-util/boost-build/boost-build-1.79.0-r1.ebuild  |  75 --
 .../boost-build-1.71.0-disable_python_rpath.patch  |  11 -
 .../files/boost-build-1.71.0-fix-test.patch|  11 -
 ...ost-build-1.73.0-add-none-feature-options.patch |  22 --
 .../boost-build-1.76.0-respect-user-flags.patch|  11 -
 ...oost-build-1.78.0-darwin-gentoo-toolchain.patch |  16 --
 ...oost-build-1.78.0-no-implicit-march-flags.patch | 284 -
 dev-util/boost-build/files/site-config.jam |  11 -
 dev-util/boost-build/metadata.xml  |  11 -
 profiles/package.mask  |   5 -
 11 files changed, 458 deletions(-)

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
deleted file mode 100644
index 7e0c56594141..
--- a/dev-util/boost-build/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 
61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a
 SHA512 
70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312

diff --git a/dev-util/boost-build/boost-build-1.79.0-r1.ebuild 
b/dev-util/boost-build/boost-build-1.79.0-r1.ebuild
deleted file mode 100644
index 74cea514f585..
--- a/dev-util/boost-build/boost-build-1.79.0-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-MY_PV="$(ver_rs 1- _)"
-
-DESCRIPTION="A system for large project software construction, simple to use 
and powerful"
-HOMEPAGE="https://www.boost.org/build/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
-
-LICENSE="Boost-1.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="examples"
-RESTRICT="test"
-
-RDEPEND="!dev-util/b2"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch
-   "${FILESDIR}"/${PN}-1.78.0-darwin-gentoo-toolchain.patch
-   "${FILESDIR}"/${PN}-1.73.0-add-none-feature-options.patch
-   "${FILESDIR}"/${PN}-1.76.0-respect-user-flags.patch
-   "${FILESDIR}"/${PN}-1.78.0-no-implicit-march-flags.patch
-)
-
-src_unpack() {
-   tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking 
tar failed"
-}
-
-src_prepare() {
-   default
-
-   pushd .. >/dev/null || die
-   eapply "${FILESDIR}"/${PN}-1.71.0-fix-test.patch
-   popd >/dev/null || die
-}
-
-src_configure() {
-   # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts 
(#761100)
-   append-lfs-flags
-}
-
-src_compile() {
-   cd engine || die
-   ${CONFIG_SHELL:-${BASH}} ./build.sh cxx --cxx="$(tc-getCXX)" 
--cxxflags="${CXXFLAGS}" -d+2 --without-python || die "building bjam failed"
-}
-
-src_test() {
-   # Forget tests, bjam is a lost cause
-   :
-}
-
-src_install() {
-   dobin engine/{bjam,b2}
-
-   insinto /usr/share/boost-build/src
-   doins -r "${FILESDIR}/site-config.jam" \
-   ../boost-build.jam bootstrap.jam build-system.jam 
../example/user-config.jam *.py \
-   build kernel options tools util
-
-   find "${ED}"/usr/share/boost-build/src -iname '*.py' -delete || die
-
-   dodoc 
../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt
-
-   if use examples; then
-   docinto examples
-   dodoc -r ../example/.
-   docompress -x /usr/share/doc/${PF}/examples
-   fi
-}

diff --git 
a/dev-util/boost-build/files/boost-build-1.71.0-disable_python_rpath.patch 
b/dev-util/boost-build/files/boost-build-1.71.0-disable_python_rpath.patch
deleted file mode 100644
index b7b47cc93a47..
--- a/dev-util/boost-build/files/boost-build-1.71.0-disable_python_rpath.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/tools/python.jam
-+++ b/tools/python.jam
-@@ -1000,7 +1000,7 @@
- # linux).
-   : $(usage-requirements)
- $(set-PYTHONPATH)
--  $(libraries) $(dll-path) 
python.lib
-+  $(libraries) python.lib
-   ;
- }
- 

diff --git 

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

2022-09-03 Thread David Seifert
commit: 50f625e750298c3080edc15128f3608c0fd65600
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep  3 21:53:27 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep  3 21:53:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f625e7

dev-util/boost-build: drop 1.80.0

* switch to dev-util/b2 starting with 1.80.0

Signed-off-by: David Seifert  gentoo.org>

 dev-util/boost-build/Manifest  |   1 -
 dev-util/boost-build/boost-build-1.80.0.ebuild |  66 -
 ...ost-build-1.80.0-add-none-feature-options.patch |  22 ---
 ...oost-build-1.80.0-no-implicit-march-flags.patch | 148 -
 .../boost-build/files/boost-build-1.80.0-odr.patch |  54 
 .../boost-build-1.80.0-respect-user-flags.patch|  11 --
 6 files changed, 302 deletions(-)

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
index ba3e5b485af8..7e0c56594141 100644
--- a/dev-util/boost-build/Manifest
+++ b/dev-util/boost-build/Manifest
@@ -1,2 +1 @@
 DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 
61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a
 SHA512 
70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312
-DIST boost_1_80_0.tar.bz2 115869904 BLAKE2B 
507e811be7659442c41bc2d99811bd02a236dc94932e1a7a8cf256243b479f2d2707819cd99e016a51c9dadc215713e803afdd9ea4c105af8d5d2d28d3d06a1f
 SHA512 
829a95b463473d69ff79ea41799c68429bb79d3b2321fbdb71df079af237ab01de9ad7e9612d8783d925730acada010068d2d1aa856c34244ee5c0ece16f208f

diff --git a/dev-util/boost-build/boost-build-1.80.0.ebuild 
b/dev-util/boost-build/boost-build-1.80.0.ebuild
deleted file mode 100644
index dcacdf3a18df..
--- a/dev-util/boost-build/boost-build-1.80.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-MY_PV="$(ver_rs 1- _)"
-
-DESCRIPTION="A system for large project software construction, simple to use 
and powerful"
-HOMEPAGE="https://www.boost.org/build/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
-
-LICENSE="Boost-1.0"
-SLOT="0"
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="examples"
-RESTRICT="test"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch
-   "${FILESDIR}"/${PN}-1.78.0-darwin-gentoo-toolchain.patch
-   "${FILESDIR}"/${PN}-1.80.0-add-none-feature-options.patch
-   "${FILESDIR}"/${PN}-1.80.0-respect-user-flags.patch
-   "${FILESDIR}"/${PN}-1.80.0-no-implicit-march-flags.patch
-   "${FILESDIR}"/${PN}-1.80.0-odr.patch
-)
-
-src_unpack() {
-   tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking 
tar failed"
-}
-
-src_configure() {
-   # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts 
(#761100)
-   append-lfs-flags
-}
-
-src_compile() {
-   cd engine || die
-   ${CONFIG_SHELL:-${BASH}} ./build.sh cxx --cxx="$(tc-getCXX)" 
--cxxflags="${CXXFLAGS}" -d+2 --without-python || die "building bjam failed"
-}
-
-src_test() {
-   # Forget tests, bjam is a lost cause
-   :
-}
-
-src_install() {
-   dobin engine/b2
-
-   insinto /usr/share/b2/src
-   doins -r "${FILESDIR}/site-config.jam" \
-   bootstrap.jam build-system.jam ../example/user-config.jam \
-   build kernel options tools util
-
-   find "${ED}"/usr/share/b2/src -iname '*.py' -delete || die
-
-   dodoc 
../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt
-
-   if use examples; then
-   docinto examples
-   dodoc -r ../example/.
-   docompress -x /usr/share/doc/${PF}/examples
-   fi
-}

diff --git 
a/dev-util/boost-build/files/boost-build-1.80.0-add-none-feature-options.patch 
b/dev-util/boost-build/files/boost-build-1.80.0-add-none-feature-options.patch
deleted file mode 100644
index 620dea0af51b..
--- 
a/dev-util/boost-build/files/boost-build-1.80.0-add-none-feature-options.patch
+++ /dev/null
@@ -1,22 +0,0 @@
 a/tools/features/debug-feature.jam
-+++ b/tools/features/debug-feature.jam
-@@ -18,7 +18,7 @@ common usage is to build release variant with debugging 
information.
- |# # end::doc[]
- 
- feature.feature debug-symbols
--: on off
-+: on off none
- : propagated ;
- 
- #| tag::prof-doc[]
 a/tools/features/optimization-feature.jam
-+++ b/tools/features/optimization-feature.jam
-@@ -16,7 +16,7 @@ smaller binary.
- |# # end::doc[]
- 
- feature.feature 

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

2022-09-03 Thread David Seifert
commit: 83a9d34ca794ea0fec5ea5deb5dce8fd8a56bdbf
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep  3 20:28:26 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep  3 20:28:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a9d34c

dev-util/boost-build: add 1.80.0

Bug: https://bugs.gentoo.org/858320
Bug: https://bugs.gentoo.org/865527
Signed-off-by: David Seifert  gentoo.org>

 dev-util/boost-build/Manifest  |   1 +
 dev-util/boost-build/boost-build-1.80.0.ebuild |  66 +
 ...ost-build-1.80.0-add-none-feature-options.patch |  22 +++
 ...oost-build-1.80.0-no-implicit-march-flags.patch | 148 +
 .../boost-build/files/boost-build-1.80.0-odr.patch |  54 
 .../boost-build-1.80.0-respect-user-flags.patch|  11 ++
 6 files changed, 302 insertions(+)

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
index 7e0c56594141..ba3e5b485af8 100644
--- a/dev-util/boost-build/Manifest
+++ b/dev-util/boost-build/Manifest
@@ -1 +1,2 @@
 DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 
61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a
 SHA512 
70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312
+DIST boost_1_80_0.tar.bz2 115869904 BLAKE2B 
507e811be7659442c41bc2d99811bd02a236dc94932e1a7a8cf256243b479f2d2707819cd99e016a51c9dadc215713e803afdd9ea4c105af8d5d2d28d3d06a1f
 SHA512 
829a95b463473d69ff79ea41799c68429bb79d3b2321fbdb71df079af237ab01de9ad7e9612d8783d925730acada010068d2d1aa856c34244ee5c0ece16f208f

diff --git a/dev-util/boost-build/boost-build-1.80.0.ebuild 
b/dev-util/boost-build/boost-build-1.80.0.ebuild
new file mode 100644
index ..dcacdf3a18df
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.80.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="A system for large project software construction, simple to use 
and powerful"
+HOMEPAGE="https://www.boost.org/build/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="examples"
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch
+   "${FILESDIR}"/${PN}-1.78.0-darwin-gentoo-toolchain.patch
+   "${FILESDIR}"/${PN}-1.80.0-add-none-feature-options.patch
+   "${FILESDIR}"/${PN}-1.80.0-respect-user-flags.patch
+   "${FILESDIR}"/${PN}-1.80.0-no-implicit-march-flags.patch
+   "${FILESDIR}"/${PN}-1.80.0-odr.patch
+)
+
+src_unpack() {
+   tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking 
tar failed"
+}
+
+src_configure() {
+   # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts 
(#761100)
+   append-lfs-flags
+}
+
+src_compile() {
+   cd engine || die
+   ${CONFIG_SHELL:-${BASH}} ./build.sh cxx --cxx="$(tc-getCXX)" 
--cxxflags="${CXXFLAGS}" -d+2 --without-python || die "building bjam failed"
+}
+
+src_test() {
+   # Forget tests, bjam is a lost cause
+   :
+}
+
+src_install() {
+   dobin engine/b2
+
+   insinto /usr/share/b2/src
+   doins -r "${FILESDIR}/site-config.jam" \
+   bootstrap.jam build-system.jam ../example/user-config.jam \
+   build kernel options tools util
+
+   find "${ED}"/usr/share/b2/src -iname '*.py' -delete || die
+
+   dodoc 
../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt
+
+   if use examples; then
+   docinto examples
+   dodoc -r ../example/.
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+}

diff --git 
a/dev-util/boost-build/files/boost-build-1.80.0-add-none-feature-options.patch 
b/dev-util/boost-build/files/boost-build-1.80.0-add-none-feature-options.patch
new file mode 100644
index ..620dea0af51b
--- /dev/null
+++ 
b/dev-util/boost-build/files/boost-build-1.80.0-add-none-feature-options.patch
@@ -0,0 +1,22 @@
+--- a/tools/features/debug-feature.jam
 b/tools/features/debug-feature.jam
+@@ -18,7 +18,7 @@ common usage is to build release variant with debugging 
information.
+ |# # end::doc[]
+ 
+ feature.feature debug-symbols
+-: on off
++: on off none
+ : propagated ;
+ 
+ #| tag::prof-doc[]
+--- a/tools/features/optimization-feature.jam
 b/tools/features/optimization-feature.jam
+@@ -16,7 +16,7 @@ smaller binary.
+ |# # end::doc[]
+ 
+ 

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

2021-12-12 Thread David Seifert
commit: 9850422049758f75018b1fed5dc8fb9cbb8aeb8a
Author: David Seifert  gentoo  org>
AuthorDate: Sun Dec 12 14:36:03 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Dec 12 14:36:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98504220

dev-util/boost-build: add 1.78.0

Signed-off-by: David Seifert  gentoo.org>

 dev-util/boost-build/Manifest  |   1 +
 dev-util/boost-build/boost-build-1.78.0.ebuild |  73 ++
 ...oost-build-1.78.0-darwin-gentoo-toolchain.patch |  16 ++
 ...oost-build-1.78.0-no-implicit-march-flags.patch | 284 +
 4 files changed, 374 insertions(+)

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
index 20cf00e42926..220b981ce1dc 100644
--- a/dev-util/boost-build/Manifest
+++ b/dev-util/boost-build/Manifest
@@ -1,2 +1,3 @@
 DIST boost_1_76_0.tar.bz2 110073117 BLAKE2B 
45445e6a9725cb99131e0b831b2fac0840d083692c13887b41adeac5cb8b3732026db3641d6be20591a676b78a87fcf363eb9b1508f87ed26039bba6a1ced533
 SHA512 
5d68bed98c57e03b4cb2420d9b856e5f0669561a6142a4b0c9c8a58dc5b6b28e16ccbb16ac559c3a3198c45769a246bf996b96cb7b6a019dd15f05c2270e9429
 DIST boost_1_77_0.tar.bz2 110361537 BLAKE2B 
106aeb09ec7705b595f2ca966a76c53c649eac6fac50d88c156862e0991c33c89a2f3a09edcbcb453fa44bf71cdde030b35d0a0889ad97b65f3a868cb877a532
 SHA512 
39b45c9b60bc5a2a4c669a4463d1272c1e093376b2fb374d7f20a84ea10a3e23bb04b335a735a83a04575731f874d9bff77e89acd947524b3fbbae1b26ae1f2f
+DIST boost_1_78_0.tar.bz2 110675550 BLAKE2B 
ed7da98862ec1e0a28472544400e6f44ffadbc967eed969ce6cb62b1c4f0b7a4b98a395269eb374b57326eff9cdb1dd6e47df9d1a9730aff7c926cc44388fb2d
 SHA512 
9c34a387a203b99aa773eb0c59f5abac7a99ba10e4623653e793c1d5b29b99b88e0e4e0d4e2e4ca5d497c42f2e46e23bab66417722433a457dc818d7670bcbbf

diff --git a/dev-util/boost-build/boost-build-1.78.0.ebuild 
b/dev-util/boost-build/boost-build-1.78.0.ebuild
new file mode 100644
index ..e4301475af1a
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.78.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="A system for large project software construction, simple to use 
and powerful"
+HOMEPAGE="https://www.boost.org/build/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="examples"
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch
+   "${FILESDIR}"/${PN}-1.78.0-darwin-gentoo-toolchain.patch
+   "${FILESDIR}"/${PN}-1.73.0-add-none-feature-options.patch
+   "${FILESDIR}"/${PN}-1.76.0-respect-user-flags.patch
+   "${FILESDIR}"/${PN}-1.78.0-no-implicit-march-flags.patch
+)
+
+src_unpack() {
+   tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking 
tar failed"
+}
+
+src_prepare() {
+   default
+
+   pushd .. >/dev/null || die
+   eapply "${FILESDIR}"/${PN}-1.71.0-fix-test.patch
+   popd >/dev/null || die
+}
+
+src_configure() {
+   # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts 
(#761100)
+   append-lfs-flags
+}
+
+src_compile() {
+   cd engine || die
+   ${CONFIG_SHELL:-${BASH}} ./build.sh cxx --cxx="$(tc-getCXX)" 
--cxxflags="${CXXFLAGS}" -d+2 --without-python || die "building bjam failed"
+}
+
+src_test() {
+   # Forget tests, bjam is a lost cause
+   :
+}
+
+src_install() {
+   dobin engine/{bjam,b2}
+
+   insinto /usr/share/boost-build/src
+   doins -r "${FILESDIR}/site-config.jam" \
+   ../boost-build.jam bootstrap.jam build-system.jam 
../example/user-config.jam *.py \
+   build kernel options tools util
+
+   find "${ED}"/usr/share/boost-build/src -iname '*.py' -delete || die
+
+   dodoc 
../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt
+
+   if use examples; then
+   docinto examples
+   dodoc -r ../example/.
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+}

diff --git 
a/dev-util/boost-build/files/boost-build-1.78.0-darwin-gentoo-toolchain.patch 
b/dev-util/boost-build/files/boost-build-1.78.0-darwin-gentoo-toolchain.patch
new file mode 100644
index ..8de98014dbdc
--- /dev/null
+++ 
b/dev-util/boost-build/files/boost-build-1.78.0-darwin-gentoo-toolchain.patch
@@ -0,0 +1,16 @@
+Avoid adding all kinds of things to the toolchain's flags that within
+Gentoo (Prefix) we really shouldn't, such as sysroot, deployment target,
+arch, etc.
+
+--- a/tools/darwin.jam
 

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

2021-06-20 Thread Andreas Sturmlechner
commit: d2966f76bd17dfd2d7badff4edcd451e274b4cc7
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jun 20 16:33:52 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jun 20 16:53:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2966f76

dev-util/boost-build: Drop 1.75.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-util/boost-build/Manifest  |  1 -
 dev-util/boost-build/boost-build-1.75.0.ebuild | 76 --
 .../boost-build-1.71.0-respect-c_ld-flags.patch|  9 ---
 3 files changed, 86 deletions(-)

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
index 0018f7c4bee..7dfc65e764d 100644
--- a/dev-util/boost-build/Manifest
+++ b/dev-util/boost-build/Manifest
@@ -1,2 +1 @@
-DIST boost_1_75_0.tar.bz2 121849575 BLAKE2B 
ce7ecd8bcee518ce54f7e5302f202acbea60cedd6ae9248708c0bb5bbc2713607b2e1967a9e6f77cc20a4c008c1ee4db651def55937efc80407487a7a44fa8d6
 SHA512 
d86f060245e98dca5c7f3f831c98ea9ccbfa8310f20830dd913d9d4c939fbe7cb94accd35f1128e7c4faf6c27adb6f4bb54e5477a6bde983dfc7aa33c4eed03a
 DIST boost_1_76_0.tar.bz2 110073117 BLAKE2B 
45445e6a9725cb99131e0b831b2fac0840d083692c13887b41adeac5cb8b3732026db3641d6be20591a676b78a87fcf363eb9b1508f87ed26039bba6a1ced533
 SHA512 
5d68bed98c57e03b4cb2420d9b856e5f0669561a6142a4b0c9c8a58dc5b6b28e16ccbb16ac559c3a3198c45769a246bf996b96cb7b6a019dd15f05c2270e9429

diff --git a/dev-util/boost-build/boost-build-1.75.0.ebuild 
b/dev-util/boost-build/boost-build-1.75.0.ebuild
deleted file mode 100644
index e00d0b86d37..000
--- a/dev-util/boost-build/boost-build-1.75.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic prefix toolchain-funcs
-
-MY_PV="$(ver_rs 1- _)"
-
-DESCRIPTION="A system for large project software construction, simple to use 
and powerful"
-HOMEPAGE="https://boostorg.github.io/build/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-
-LICENSE="Boost-1.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="examples"
-RESTRICT="test"
-
-S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch
-   "${FILESDIR}"/${PN}-1.71.0-darwin-gentoo-toolchain.patch
-   "${FILESDIR}"/${PN}-1.73.0-add-none-feature-options.patch
-   "${FILESDIR}"/${PN}-1.71.0-respect-c_ld-flags.patch
-   "${FILESDIR}"/${PN}-1.74.0-no-implicit-march-flags.patch
-)
-
-src_unpack() {
-   tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking 
tar failed"
-}
-
-src_prepare() {
-   default
-
-   pushd .. >/dev/null || die
-   eapply "${FILESDIR}"/${PN}-1.71.0-fix-test.patch
-   popd >/dev/null || die
-}
-
-src_configure() {
-   tc-export CXX
-
-   # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts 
(#761100)
-   append-lfs-flags
-}
-
-src_compile() {
-   cd engine || die
-   ./build.sh cxx -d+2 --without-python || die "building bjam failed"
-}
-
-src_test() {
-   # Forget tests, bjam is a lost cause
-   :
-}
-
-src_install() {
-   dobin engine/{bjam,b2}
-
-   insinto /usr/share/boost-build
-   doins -r "${FILESDIR}/site-config.jam" \
-   ../boost-build.jam bootstrap.jam build-system.jam 
../example/user-config.jam *.py \
-   build kernel options tools util
-
-   find "${ED}"/usr/share/boost-build -iname '*.py' -delete || die
-
-   dodoc 
../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt
-
-   if use examples; then
-   docinto examples
-   dodoc -r ../example/.
-   docompress -x /usr/share/doc/${PF}/examples
-   fi
-}

diff --git 
a/dev-util/boost-build/files/boost-build-1.71.0-respect-c_ld-flags.patch 
b/dev-util/boost-build/files/boost-build-1.71.0-respect-c_ld-flags.patch
deleted file mode 100644
index f51abea61f8..000
--- a/dev-util/boost-build/files/boost-build-1.71.0-respect-c_ld-flags.patch
+++ /dev/null
@@ -1,9 +0,0 @@
 a/engine/build.sh
-+++ b/engine/build.sh
-@@ -439,5 +439,5 @@
- if check_debug_build "$@" ; then B2_CXXFLAGS="${B2_CXXFLAGS_DEBUG}"
- else B2_CXXFLAGS="${B2_CXXFLAGS_RELEASE} -DNDEBUG"
- fi
--echo_run ${B2_CXX} ${CXXFLAGS} ${B2_CXXFLAGS} ${B2_SOURCES} -o b2
-+echo_run ${B2_CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} ${B2_CXXFLAGS} 
${B2_SOURCES} -o b2
- echo_run cp b2 bjam



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

2021-05-24 Thread Sam James
commit: 2cd8437b2d737dac6f635faa9cce85980557fe0c
Author: David Seifert  gentoo  org>
AuthorDate: Mon May 24 19:55:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 24 21:38:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cd8437b

dev-util/boost-build: Fix for numpy include

Bug: https://bugs.gentoo.org/733830
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 ...76.0-r1.ebuild => boost-build-1.76.0-r2.ebuild} |  1 +
 .../files/boost-build-1.76.0-python-numpy.patch| 24 ++
 2 files changed, 25 insertions(+)

diff --git a/dev-util/boost-build/boost-build-1.76.0-r1.ebuild 
b/dev-util/boost-build/boost-build-1.76.0-r2.ebuild
similarity index 97%
rename from dev-util/boost-build/boost-build-1.76.0-r1.ebuild
rename to dev-util/boost-build/boost-build-1.76.0-r2.ebuild
index 2a800a24714..d3635332eaf 100644
--- a/dev-util/boost-build/boost-build-1.76.0-r1.ebuild
+++ b/dev-util/boost-build/boost-build-1.76.0-r2.ebuild
@@ -24,6 +24,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.73.0-add-none-feature-options.patch
"${FILESDIR}"/${PN}-1.76.0-respect-user-flags.patch
"${FILESDIR}"/${PN}-1.74.0-no-implicit-march-flags.patch
+   "${FILESDIR}"/${PN}-1.76.0-python-numpy.patch
 )
 
 src_unpack() {

diff --git a/dev-util/boost-build/files/boost-build-1.76.0-python-numpy.patch 
b/dev-util/boost-build/files/boost-build-1.76.0-python-numpy.patch
new file mode 100644
index 000..ed04d542634
--- /dev/null
+++ b/dev-util/boost-build/files/boost-build-1.76.0-python-numpy.patch
@@ -0,0 +1,24 @@
+From 61adb508853be1fa2c01a0c3a0c55fbd16cb9a52 Mon Sep 17 00:00:00 2001
+From: Peter Dimov 
+Date: Mon, 24 May 2021 22:11:23 +0300
+Subject: [PATCH] Declare the /python//numpy target to hold the include path
+ (fixes #725)
+
+---
+ tools/python.jam | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/tools/python.jam b/tools/python.jam
+index 00706932d2..0dfc750a22 100644
+--- a/tools/python.jam
 b/tools/python.jam
+@@ -1052,6 +1052,9 @@ local rule configure ( version ? : cmd-or-prefix ? : 
includes * : libraries ? :
+ ;
+ }
+ 
++# Declare the numpy target, which contains the NumPy include directory
++
++alias numpy : : $(target-requirements) : : $(.numpy-include) ;
+ }
+ 
+ # Conditional rule specification that will prevent building of a target



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

2021-04-24 Thread David Seifert
commit: c5c9a3400fc3cda7da259c2984c3228f63e95c62
Author: David Seifert  gentoo  org>
AuthorDate: Sat Apr 24 12:19:16 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr 24 12:19:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5c9a340

dev-util/boost-build: Bump to 1.76.0

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 dev-util/boost-build/Manifest  |  1 +
 dev-util/boost-build/boost-build-1.76.0.ebuild | 73 ++
 .../boost-build-1.76.0-respect-user-flags.patch| 11 
 3 files changed, 85 insertions(+)

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
index fe393b9f612..0018f7c4bee 100644
--- a/dev-util/boost-build/Manifest
+++ b/dev-util/boost-build/Manifest
@@ -1 +1,2 @@
 DIST boost_1_75_0.tar.bz2 121849575 BLAKE2B 
ce7ecd8bcee518ce54f7e5302f202acbea60cedd6ae9248708c0bb5bbc2713607b2e1967a9e6f77cc20a4c008c1ee4db651def55937efc80407487a7a44fa8d6
 SHA512 
d86f060245e98dca5c7f3f831c98ea9ccbfa8310f20830dd913d9d4c939fbe7cb94accd35f1128e7c4faf6c27adb6f4bb54e5477a6bde983dfc7aa33c4eed03a
+DIST boost_1_76_0.tar.bz2 110073117 BLAKE2B 
45445e6a9725cb99131e0b831b2fac0840d083692c13887b41adeac5cb8b3732026db3641d6be20591a676b78a87fcf363eb9b1508f87ed26039bba6a1ced533
 SHA512 
5d68bed98c57e03b4cb2420d9b856e5f0669561a6142a4b0c9c8a58dc5b6b28e16ccbb16ac559c3a3198c45769a246bf996b96cb7b6a019dd15f05c2270e9429

diff --git a/dev-util/boost-build/boost-build-1.76.0.ebuild 
b/dev-util/boost-build/boost-build-1.76.0.ebuild
new file mode 100644
index 000..39c312debe8
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.76.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="A system for large project software construction, simple to use 
and powerful"
+HOMEPAGE="https://boostorg.github.io/build/;
+SRC_URI="https://dl.bintray.com/boostorg/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="examples"
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch
+   "${FILESDIR}"/${PN}-1.71.0-darwin-gentoo-toolchain.patch
+   "${FILESDIR}"/${PN}-1.73.0-add-none-feature-options.patch
+   "${FILESDIR}"/${PN}-1.76.0-respect-user-flags.patch
+   "${FILESDIR}"/${PN}-1.74.0-no-implicit-march-flags.patch
+)
+
+src_unpack() {
+   tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking 
tar failed"
+}
+
+src_prepare() {
+   default
+
+   pushd .. >/dev/null || die
+   eapply "${FILESDIR}"/${PN}-1.71.0-fix-test.patch
+   popd >/dev/null || die
+}
+
+src_configure() {
+   # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts 
(#761100)
+   append-lfs-flags
+}
+
+src_compile() {
+   cd engine || die
+   ./build.sh cxx --cxx="$(tc-getCXX)" --cxxflags="${CXXFLAGS}" -d+2 
--without-python || die "building bjam failed"
+}
+
+src_test() {
+   # Forget tests, bjam is a lost cause
+   :
+}
+
+src_install() {
+   dobin engine/{bjam,b2}
+
+   insinto /usr/share/boost-build
+   doins -r "${FILESDIR}/site-config.jam" \
+   ../boost-build.jam bootstrap.jam build-system.jam 
../example/user-config.jam *.py \
+   build kernel options tools util
+
+   find "${ED}"/usr/share/boost-build -iname '*.py' -delete || die
+
+   dodoc 
../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt
+
+   if use examples; then
+   docinto examples
+   dodoc -r ../example/.
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+}

diff --git 
a/dev-util/boost-build/files/boost-build-1.76.0-respect-user-flags.patch 
b/dev-util/boost-build/files/boost-build-1.76.0-respect-user-flags.patch
new file mode 100644
index 000..2289e706ca7
--- /dev/null
+++ b/dev-util/boost-build/files/boost-build-1.76.0-respect-user-flags.patch
@@ -0,0 +1,11 @@
+--- a/engine/build.sh
 b/engine/build.sh
+@@ -496,7 +496,7 @@
+ if test_true ${B2_DEBUG_OPT} ; then B2_CXXFLAGS="${B2_CXXFLAGS_DEBUG}"
+ else B2_CXXFLAGS="${B2_CXXFLAGS_RELEASE} -DNDEBUG"
+ fi
+-( B2_VERBOSE_OPT=${TRUE} echo_run ${B2_CXX} ${B2_CXXFLAGS} ${B2_SOURCES} 
-o b2 )
++( B2_VERBOSE_OPT=${TRUE} echo_run ${B2_CXX} ${CPPFLAGS} ${B2_CXXFLAGS} 
${LDFLAGS} ${B2_SOURCES} -o b2 )
+ ( B2_VERBOSE_OPT=${TRUE} echo_run cp b2 bjam )
+ }
+ 



[gentoo-commits] repo/gentoo:master commit in: dev-util/boost-build/files/

2020-12-25 Thread Andreas Sturmlechner
commit: 342f2ec33ee8685a5b3f1349b73228acc0b369ff
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Dec 12 22:09:51 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Dec 25 13:41:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=342f2ec3

dev-util/boost-build: Drop patches obsolete after 1.72.0 cleanup

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 ...ost-build-1.71.0-add-none-feature-options.patch |  22 --
 ...oost-build-1.71.0-no-implicit-march-flags.patch | 266 -
 2 files changed, 288 deletions(-)

diff --git 
a/dev-util/boost-build/files/boost-build-1.71.0-add-none-feature-options.patch 
b/dev-util/boost-build/files/boost-build-1.71.0-add-none-feature-options.patch
deleted file mode 100644
index ddd1641d15c..000
--- 
a/dev-util/boost-build/files/boost-build-1.71.0-add-none-feature-options.patch
+++ /dev/null
@@ -1,22 +0,0 @@
 a/tools/features/debug-feature.jam
-+++ b/tools/features/debug-feature.jam
-@@ -8,7 +8,7 @@
- import feature ;
- 
- feature.feature debug-symbols
--: on off
-+: on off none
- : propagated ;
- 
- feature.feature profiling
 a/tools/features/optimization-feature.jam
-+++ b/tools/features/optimization-feature.jam
-@@ -8,7 +8,7 @@
- import feature ;
- 
- feature.feature optimization
--: off speed space
-+: off none speed space
- : propagated ;
- 
- feature.feature inlining

diff --git 
a/dev-util/boost-build/files/boost-build-1.71.0-no-implicit-march-flags.patch 
b/dev-util/boost-build/files/boost-build-1.71.0-no-implicit-march-flags.patch
deleted file mode 100644
index cd184030dee..000
--- 
a/dev-util/boost-build/files/boost-build-1.71.0-no-implicit-march-flags.patch
+++ /dev/null
@@ -1,266 +0,0 @@
-Prevent bjam from injecting what it thinks are great -march/-mcpu flags
-in order to optimize code for you. This breaks on 32-bit builds, because
--march=i686 will not work on an i486 CHOST.
-
-See also:
-https://bugs.gentoo.org/624616
-
 a/tools/gcc.jam
-+++ b/tools/gcc.jam
-@@ -1187,128 +1187,8 @@
- # x86 and compatible
- # The 'native' option appeared in gcc 4.2 so we cannot safely use it as 
default.
- # Use i686 instead for 32-bit.
--toolset.flags gcc OPTIONS 
x86/32/ : -march=i686 ;
--cpu-flags gcc OPTIONS : x86 : native : -march=native ;
--cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ;
--cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ;
--cpu-flags gcc OPTIONS : x86 : i686 : -march=i686 ;
--cpu-flags gcc OPTIONS : x86 : pentium : -march=pentium ;
--cpu-flags gcc OPTIONS : x86 : pentium-mmx : -march=pentium-mmx ;
--cpu-flags gcc OPTIONS : x86 : pentiumpro : -march=pentiumpro ;
--cpu-flags gcc OPTIONS : x86 : pentium2 : -march=pentium2 ;
--cpu-flags gcc OPTIONS : x86 : pentium3 : -march=pentium3 ;
--cpu-flags gcc OPTIONS : x86 : pentium3m : -march=pentium3m ;
--cpu-flags gcc OPTIONS : x86 : pentium-m : -march=pentium-m ;
--cpu-flags gcc OPTIONS : x86 : pentium4 : -march=pentium4 ;
--cpu-flags gcc OPTIONS : x86 : pentium4m : -march=pentium4m ;
--cpu-flags gcc OPTIONS : x86 : prescott : -march=prescott ;
--cpu-flags gcc OPTIONS : x86 : nocona : -march=nocona ;
--cpu-flags gcc OPTIONS : x86 : core2 : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : conroe : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : conroe-xe : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : conroe-l : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : allendale : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : wolfdale : -march=core2 -msse4.1 ;
--cpu-flags gcc OPTIONS : x86 : merom : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : merom-xe : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : kentsfield : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : kentsfield-xe : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : yorksfield : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : penryn : -march=core2 ;
--cpu-flags gcc OPTIONS : x86 : corei7 : -march=corei7 ;
--cpu-flags gcc OPTIONS : x86 : nehalem : -march=corei7 ;
--cpu-flags gcc OPTIONS : x86 : corei7-avx : -march=corei7-avx ;
--cpu-flags gcc OPTIONS : x86 : sandy-bridge : -march=corei7-avx ;
--cpu-flags gcc OPTIONS : x86 : core-avx-i : -march=core-avx-i ;
--cpu-flags gcc OPTIONS : x86 : ivy-bridge : -march=core-avx-i ;
--cpu-flags gcc OPTIONS : x86 : haswell : -march=core-avx-i -mavx2 -mfma -mbmi 
-mbmi2 -mlzcnt ;
--cpu-flags gcc OPTIONS : x86 : broadwell : -march=broadwell ;
--cpu-flags gcc OPTIONS : x86 : skylake : -march=skylake ;
--cpu-flags gcc OPTIONS : x86 : skylake-avx512 : -march=skylake-avx512 ;
--cpu-flags gcc OPTIONS : x86 : cannonlake : -march=skylake-avx512 -mavx512vbmi 
-mavx512ifma -msha ;
--cpu-flags gcc OPTIONS : x86 : icelake : -march=icelake ;
--cpu-flags gcc OPTIONS : x86 : k6 : -march=k6 ;
--cpu-flags gcc OPTIONS : x86 : k6-2 : -march=k6-2 ;
--cpu-flags gcc OPTIONS : x86 : k6-3 : -march=k6-3 ;
--cpu-flags gcc OPTIONS : x86 : athlon : -march=athlon ;
--cpu-flags gcc 

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

2020-08-15 Thread David Seifert
commit: 5f5f811457168d6072bb301086e16cbfbaea7419
Author: Mark Wright  gentoo  org>
AuthorDate: Sat Aug 15 12:54:08 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Aug 15 23:19:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f5f8114

dev-util/boost-build: Bump to 1.74.0

Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Mark Wright  gentoo.org>
Signed-off-by: David Seifert  gentoo.org>

 dev-util/boost-build/Manifest  |   1 +
 dev-util/boost-build/boost-build-1.74.0.ebuild |  74 ++
 ...oost-build-1.74.0-no-implicit-march-flags.patch | 279 +
 3 files changed, 354 insertions(+)

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
index 464a9d9c3eb..811974e5ba9 100644
--- a/dev-util/boost-build/Manifest
+++ b/dev-util/boost-build/Manifest
@@ -1,2 +1,3 @@
 DIST boost_1_72_0.tar.bz2 106907358 BLAKE2B 
ab270a0e3cb24da687d86785e2d2e6d7731b4dbc07bd839eadb642dfa5a428ad584acb1f3529661a8de9a986008ff3427491041059ea2b742348d02e00761cd8
 SHA512 
63bbd1743e7c904b2e69fdc2eafd1c2a8a30fd70d960dcd366059d0100f000cb605d56cbd9397bb18421631f1c9552a772c434d0f0caddbe56302273f51fd1f6
 DIST boost_1_73_0.tar.bz2 109247910 BLAKE2B 
5995ff6ca21f45988b187b94bf743795cca97531baa8355f488be0987b9426289dd85d6ce25b7eb03ccd690109f05ba56252a95bca50505ad9cd66f4e0e234e8
 SHA512 
86c296511c0766145097625a62bf099c3d155284d250ad6e528e788bc90b2945838498dfe473c6c6c78d1694b6fba8e19f7dee0d064a043841e6231603fff668
+DIST boost_1_74_0.tar.bz2 109600630 BLAKE2B 
2982f64fccf6fdb3b4b74452e603f459242d7abb42df4162278d9b558b637786a2eb97442126967b19088d591777c64ced8f60a23e71eaa0b7545e80f800de63
 SHA512 
4ec9c1164ec9b95ce46ba1c073e586c94b3882dce5b7347ea14bbef0c1da230e12aa5328a501ce38cae1b1d7623daa3246325625899179b4cc309242540982a4

diff --git a/dev-util/boost-build/boost-build-1.74.0.ebuild 
b/dev-util/boost-build/boost-build-1.74.0.ebuild
new file mode 100644
index 000..40e1b4993f7
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.74.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic prefix toolchain-funcs
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="A system for large project software construction, simple to use 
and powerful"
+HOMEPAGE="https://boostorg.github.io/build/;
+SRC_URI="https://dl.bintray.com/boostorg/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="examples"
+RESTRICT="test"
+
+S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch
+   "${FILESDIR}"/${PN}-1.71.0-darwin-gentoo-toolchain.patch
+   "${FILESDIR}"/${PN}-1.73.0-add-none-feature-options.patch
+   "${FILESDIR}"/${PN}-1.71.0-respect-c_ld-flags.patch
+   "${FILESDIR}"/${PN}-1.74.0-no-implicit-march-flags.patch
+)
+
+src_unpack() {
+   tar xojf "${DISTDIR}/${A}" boost_${MY_PV}/tools/build || die "unpacking 
tar failed"
+}
+
+src_prepare() {
+   default
+
+   pushd .. >/dev/null || die
+   eapply "${FILESDIR}"/${PN}-1.71.0-fix-test.patch
+   popd >/dev/null || die
+}
+
+src_configure() {
+   hprefixify engine/Jambase
+   tc-export CXX
+}
+
+src_compile() {
+   cd engine || die
+   ./build.sh cxx -d+2 --without-python || die "building bjam failed"
+}
+
+src_test() {
+   # Forget tests, bjam is a lost cause
+   :
+}
+
+src_install() {
+   dobin engine/{bjam,b2}
+
+   insinto /usr/share/boost-build
+   doins -r "${FILESDIR}/site-config.jam" \
+   ../boost-build.jam bootstrap.jam build-system.jam 
../example/user-config.jam *.py \
+   build kernel options tools util
+
+   find "${ED}"/usr/share/boost-build -iname '*.py' -delete || die
+
+   dodoc 
../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt
+
+   if use examples; then
+   docinto examples
+   dodoc -r ../example/.
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+}

diff --git 
a/dev-util/boost-build/files/boost-build-1.74.0-no-implicit-march-flags.patch 
b/dev-util/boost-build/files/boost-build-1.74.0-no-implicit-march-flags.patch
new file mode 100644
index 000..894af8f62c2
--- /dev/null
+++ 
b/dev-util/boost-build/files/boost-build-1.74.0-no-implicit-march-flags.patch
@@ -0,0 +1,279 @@
+--- a/tools/gcc.jam
 b/tools/gcc.jam
+@@ -1224,135 +1224,9 @@
+ # x86 and compatible
+ # The 'native' option appeared in gcc 4.2 so we cannot safely use it as 
default.
+ # Use i686 instead for 32-bit.
+-toolset.flags gcc OPTIONS 
x86/32/ : -march=i686 ;
+-cpu-flags gcc OPTIONS 

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

2019-12-07 Thread David Seifert
commit: fb97a8ba208963034d065ffba582ea11a1fd07e8
Author: David Seifert  gentoo  org>
AuthorDate: Sat Dec  7 21:43:11 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Dec  7 21:43:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb97a8ba

dev-util/boost-build: Rebase patches

Closes: https://github.com/gentoo/gentoo/pull/13910
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 dev-util/boost-build/boost-build-1.71.0.ebuild |  20 +-
 ...boost-build-1.62.0-sparc-no-default-flags.patch |  47 
 ...st-build-1.71.0-add-none-feature-options.patch} |   4 -
 ...ost-build-1.71.0-darwin-gentoo-toolchain.patch} |   4 +-
 ... boost-build-1.71.0-disable_python_rpath.patch} |   2 +-
 ...est.patch => boost-build-1.71.0-fix-test.patch} |   0
 ...oost-build-1.71.0-no-implicit-march-flags.patch | 266 +
 7 files changed, 274 insertions(+), 69 deletions(-)

diff --git a/dev-util/boost-build/boost-build-1.71.0.ebuild 
b/dev-util/boost-build/boost-build-1.71.0.ebuild
index 61cf7b85624..3c8845c8913 100644
--- a/dev-util/boost-build/boost-build-1.71.0.ebuild
+++ b/dev-util/boost-build/boost-build-1.71.0.ebuild
@@ -34,11 +34,11 @@ REQUIRED_USE="
 S="${WORKDIR}/boost_${MY_PV}/tools/build/src"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-1.48.0-disable_python_rpath.patch
-   "${FILESDIR}"/${PN}-1.49.0-darwin-gentoo-toolchain.patch
-   "${FILESDIR}"/${PN}-1.62.0-sparc-no-default-flags.patch
-   "${FILESDIR}"/${PN}-1.66.0-add-none-feature-options.patch
+   "${FILESDIR}"/${PN}-1.71.0-disable_python_rpath.patch
+   "${FILESDIR}"/${PN}-1.71.0-darwin-gentoo-toolchain.patch
+   "${FILESDIR}"/${PN}-1.71.0-add-none-feature-options.patch
"${FILESDIR}"/${PN}-1.71.0-respect-c_ld-flags.patch
+   "${FILESDIR}"/${PN}-1.71.0-no-implicit-march-flags.patch
 )
 
 pkg_setup() {
@@ -55,18 +55,8 @@ src_prepare() {
default
 
pushd .. >/dev/null || die
-   eapply "${FILESDIR}/${PN}-1.54.0-fix-test.patch"
+   eapply "${FILESDIR}"/${PN}-1.71.0-fix-test.patch
popd >/dev/null || die
-
-   # remove default -march/-mcpu definitions
-   # bjam is trying to be clever and injects -march= in order to
-   # optimize code for you. This breaks on 32-bit builds, because
-   # -march=i686 will not work on an i486 CHOST.
-   # https://bugs.gentoo.org/624616
-   sed -e '/^cpu-flags\s*gcc\s*OPTIONS/d' \
-   -e '/toolset\.flags\s*gcc\s*OPTIONS/d' \
-   -e "/cpu_flags('gcc',\s*'OPTIONS'/d" \
-   -i tools/gcc.{jam,py} || die "Failed removing -march/-mcpu"
 }
 
 src_configure() {

diff --git 
a/dev-util/boost-build/files/boost-build-1.62.0-sparc-no-default-flags.patch 
b/dev-util/boost-build/files/boost-build-1.62.0-sparc-no-default-flags.patch
deleted file mode 100644
index a3f450b0edf..000
--- a/dev-util/boost-build/files/boost-build-1.62.0-sparc-no-default-flags.patch
+++ /dev/null
@@ -1,47 +0,0 @@
 a/tools/gcc.py 2018-09-07 17:44:59.668796217 +0200
-+++ b/tools/gcc.py 2018-09-07 17:45:56.378794314 +0200
-@@ -811,20 +811,6 @@
- # Sparc
- flags('gcc', 'OPTIONS', ['sparc/32'], ['-m32'])
- flags('gcc', 'OPTIONS', ['sparc/64'], ['-m64'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'v7', ['-mcpu=v7'], default=True)
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'cypress', ['-mcpu=cypress'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'v8', ['-mcpu=v8'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'supersparc', ['-mcpu=supersparc'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'sparclite', ['-mcpu=sparclite'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'hypersparc', ['-mcpu=hypersparc'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'sparclite86x', ['-mcpu=sparclite86x'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'f930', ['-mcpu=f930'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'f934', ['-mcpu=f934'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'sparclet', ['-mcpu=sparclet'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'tsc701', ['-mcpu=tsc701'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'v9', ['-mcpu=v9'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'ultrasparc', ['-mcpu=ultrasparc'])
--cpu_flags('gcc', 'OPTIONS', 'sparc', 'ultrasparc3', ['-mcpu=ultrasparc3'])
- # RS/6000 & PowerPC
- flags('gcc', 'OPTIONS', ['power/32'], ['-m32'])
- flags('gcc', 'OPTIONS', ['power/64'], ['-m64'])
 a/tools/gcc.jam2018-09-07 17:45:12.168795797 +0200
-+++ b/tools/gcc.jam2018-09-07 17:46:25.498793337 +0200
-@@ -1134,21 +1134,6 @@
- cpu-flags gcc OPTIONS : x86 : c3-2 : -march=c3-2 ;
- ##
- cpu-flags gcc OPTIONS : x86 : atom : -march=atom ;
--# Sparc
--cpu-flags gcc OPTIONS : sparc : v7 : -mcpu=v7 : default ;
--cpu-flags gcc OPTIONS : sparc : cypress : -mcpu=cypress ;
--cpu-flags gcc OPTIONS : sparc : v8 : -mcpu=v8 ;
--cpu-flags gcc OPTIONS : sparc : supersparc : -mcpu=supersparc ;
--cpu-flags gcc OPTIONS : sparc : sparclite : -mcpu=sparclite ;
--cpu-flags gcc OPTIONS : sparc : hypersparc : 

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

2019-12-07 Thread David Seifert
commit: 3c076539efbdbe557f9f618e6ade794eb752dbfc
Author: David Seifert  gentoo  org>
AuthorDate: Sat Dec  7 19:48:33 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Dec  7 19:48:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c076539

dev-util/boost-build: Remove old

Package-Manager: Portage-2.3.81, Repoman-2.3.19
Signed-off-by: David Seifert  gentoo.org>

 dev-util/boost-build/Manifest  |   2 -
 dev-util/boost-build/boost-build-1.65.0.ebuild | 141 
 dev-util/boost-build/boost-build-1.70.0.ebuild | 143 -
 .../boost-build-1.50.0-respect-c_ld-flags.patch|  53 
 ...t-build-1.52.0-darwin-no-python-framework.patch |  17 ---
 ...ild-1.54.0-support_dots_in_python-buildid.patch |  19 ---
 .../files/boost-build-1.55.0-ppc-aix.patch |  13 --
 7 files changed, 388 deletions(-)

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
index c189b10ccc4..1d613291002 100644
--- a/dev-util/boost-build/Manifest
+++ b/dev-util/boost-build/Manifest
@@ -1,3 +1 @@
-DIST boost_1_65_0.tar.bz2 82597718 BLAKE2B 
0080956d6ad2f14130ce4a4734b1bd1ce83d3651b226653689e02770baa83cf11811ef4e44948ff68a168d9ce5cbfaea4f758970df2b4e9faa2d410181885f5b
 SHA512 
7142650fb8d61e3ef16ba066fc918e087f19e9bc2ad1d6a11fb10bf0d6b1b5ad05ab032f076a5233a1624b3669e952b2cc38b7dc074bbf53018e2970ee90fcdd
-DIST boost_1_70_0.tar.bz2 97887058 BLAKE2B 
dc7a974c6dc2662b767dbd87cb832cd1749c24fb745779d1059b73f19f7e52b33b645adfe72b0296c5e098e5cdb3b9f5eddd382374f33fbcd2ad5739287b2206
 SHA512 
7f2ea9636baf0210e8ed1d21ee798efb6ce23c0710ff8228b285e2214f82193bcd2d912fd435929c554289a59101c7be2e27ce798f93833f307976f0dd070b49
 DIST boost_1_71_0.tar.bz2 100124647 BLAKE2B 
edf5a03d5a5a63ef5826ef3c19a5ee862a43eb93e8e3d76f8a0d1f2c23122f5a0535e045058110574cd19092f3199c28ab9dae53f9db05ffe8c0b0b8cdbe27a9
 SHA512 
b7937d50c4512cf13cadd0ca829de36cf2cbc6fb788f45b1d4565ad0753e2b206c545125a5862016c2f16016f2e4a6b687928963b466fff17c3e0a4437142c20

diff --git a/dev-util/boost-build/boost-build-1.65.0.ebuild 
b/dev-util/boost-build/boost-build-1.65.0.ebuild
deleted file mode 100644
index 4c164c8d29c..000
--- a/dev-util/boost-build/boost-build-1.65.0.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-RESTRICT="test"
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils flag-o-matic prefix python-single-r1 toolchain-funcs versionator
-
-MY_PV="$(replace_all_version_separators _)"
-
-DESCRIPTION="A system for large project software construction, simple to use 
and powerful"
-HOMEPAGE="https://boostorg.github.io/build/;
-SRC_URI="https://downloads.sourceforge.net/project/boost/boost/${PV}/boost_${MY_PV}.tar.bz2;
-
-LICENSE="Boost-1.0"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 
~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="examples python test"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )
-   !/dev/null || die
-   eapply "${FILESDIR}/${PN}-1.54.0-fix-test.patch"
-   popd >/dev/null || die
-
-   # Remove stripping option
-   # Fix python components build on multilib systems, bug #496446
-   cd "${S}/engine" || die
-   sed -i \
-   -e 's|-s\b||' \
-   -e "/libpython/s/lib ]/$(get_libdir) ]/" \
-   build.jam || die "sed failed"
-
-   # Force regeneration
-   rm jambase.c || die
-
-   # This patch allows us to fully control optimization
-   # and stripping flags when bjam is used as build-system
-   # We simply extend the optimization and debug-symbols feature
-   # with empty dummies called 'none'
-   cd "${S}" || die
-   sed -i \
-   -e 's/\(off speed space\)/\1 none/' \
-   -e 's/\(debug-symbols  : on off\)/\1 none/' \
-   tools/builtin.jam || die "sed failed"
-}
-
-src_configure() {
-   hprefixify engine/Jambase
-   if use python; then
-   # replace versions by user-selected one (TODO: fix this when 
slot-op
-   # deps are available to always match the best version available)
-   sed -i \
-   -e "s|27 26 25 24 23 22|${EPYTHON#python}|" \
-   engine/build.jam || die "sed failed"
-   fi
-}
-
-src_compile() {
-   cd engine || die
-
-   local toolset
-
-   if [[ ${CHOST} == *-darwin* ]]; then
-   toolset=darwin
-   else
-   # Using boost's generic toolset here, which respects CC and 
CFLAGS
-   toolset=cc
-   fi
-
-   CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python 
"${EROOT%/}"/usr) || die "building bjam failed"
-}
-
-src_install() {
-   dobin engine/bin.*/{bjam,b2}
-
-   insinto 

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

2019-09-14 Thread David Seifert
commit: 7c5cac8011ada68f211a05c48150f390aa7666de
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep 14 18:29:41 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep 14 18:29:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5cac80

dev-util/boost-build: Version bump to 1.71.0

Bug: https://bugs.gentoo.org/624616
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 dev-util/boost-build/Manifest  |   1 +
 dev-util/boost-build/boost-build-1.71.0.ebuild | 122 +
 .../boost-build-1.71.0-respect-c_ld-flags.patch|   9 ++
 3 files changed, 132 insertions(+)

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
index 5f560092574..c189b10ccc4 100644
--- a/dev-util/boost-build/Manifest
+++ b/dev-util/boost-build/Manifest
@@ -1,2 +1,3 @@
 DIST boost_1_65_0.tar.bz2 82597718 BLAKE2B 
0080956d6ad2f14130ce4a4734b1bd1ce83d3651b226653689e02770baa83cf11811ef4e44948ff68a168d9ce5cbfaea4f758970df2b4e9faa2d410181885f5b
 SHA512 
7142650fb8d61e3ef16ba066fc918e087f19e9bc2ad1d6a11fb10bf0d6b1b5ad05ab032f076a5233a1624b3669e952b2cc38b7dc074bbf53018e2970ee90fcdd
 DIST boost_1_70_0.tar.bz2 97887058 BLAKE2B 
dc7a974c6dc2662b767dbd87cb832cd1749c24fb745779d1059b73f19f7e52b33b645adfe72b0296c5e098e5cdb3b9f5eddd382374f33fbcd2ad5739287b2206
 SHA512 
7f2ea9636baf0210e8ed1d21ee798efb6ce23c0710ff8228b285e2214f82193bcd2d912fd435929c554289a59101c7be2e27ce798f93833f307976f0dd070b49
+DIST boost_1_71_0.tar.bz2 100124647 BLAKE2B 
edf5a03d5a5a63ef5826ef3c19a5ee862a43eb93e8e3d76f8a0d1f2c23122f5a0535e045058110574cd19092f3199c28ab9dae53f9db05ffe8c0b0b8cdbe27a9
 SHA512 
b7937d50c4512cf13cadd0ca829de36cf2cbc6fb788f45b1d4565ad0753e2b206c545125a5862016c2f16016f2e4a6b687928963b466fff17c3e0a4437142c20

diff --git a/dev-util/boost-build/boost-build-1.71.0.ebuild 
b/dev-util/boost-build/boost-build-1.71.0.ebuild
new file mode 100644
index 000..2aa4b388cbd
--- /dev/null
+++ b/dev-util/boost-build/boost-build-1.71.0.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+inherit flag-o-matic prefix python-single-r1 toolchain-funcs
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="A system for large project software construction, simple to use 
and powerful"
+HOMEPAGE="https://boostorg.github.io/build/;
+SRC_URI="https://dl.bintray.com/boostorg/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
+IUSE="examples python test"
+RESTRICT="test"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )
+   !/dev/null || die
+   eapply "${FILESDIR}/${PN}-1.54.0-fix-test.patch"
+   popd >/dev/null || die
+
+   # remove default -march/-mcpu definitions
+   # bjam is trying to be clever and injects -march= in order to
+   # optimize code for you. This breaks on 32-bit builds, because
+   # -march=i686 will not work on an i486 CHOST.
+   # https://bugs.gentoo.org/624616
+   sed -e '/^cpu-flags\s*gcc\s*OPTIONS/d' \
+   -e '/toolset\.flags\s*gcc\s*OPTIONS/d' \
+   -e "/cpu_flags('gcc',\s*'OPTIONS'/d" \
+   -i tools/gcc.{jam,py} || die "Failed removing -march/-mcpu"
+}
+
+src_configure() {
+   hprefixify engine/Jambase
+   if use python; then
+   # replace versions by user-selected one (TODO: fix this when 
slot-op
+   # deps are available to always match the best version available)
+   sed -i \
+   -e "s|27 26 25 24 23 22|${EPYTHON#python}|" \
+   engine/build.jam || die "sed failed"
+   fi
+
+   tc-export CXX
+}
+
+src_compile() {
+   cd engine || die
+   ./build.sh cxx -d+2 $(use_with python python "${ESYSROOT}"/usr) || die 
"building bjam failed"
+}
+
+src_test() {
+   cd ../test || die
+
+   local -x TMP="${T}"
+
+   DO_DIFF="${EPREFIX}/usr/bin/diff" "${EPYTHON}" test_all.py
+
+   if [[ -s test_results.txt ]]; then
+   eerror "At least one test failed: $(

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

2016-01-26 Thread Sergey Popov
commit: 80513ffdf94f733b72f917abd7ae7a15cd1d0677
Author: Sergey Popov  gentoo  org>
AuthorDate: Wed Jan 27 06:19:04 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Wed Jan 27 06:19:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80513ffd

dev-util/boost-build: drop old masked versions

Package-Manager: portage-2.2.26

 dev-util/boost-build/Manifest  |   3 -
 dev-util/boost-build/boost-build-1.52.0-r1.ebuild  | 137 
 dev-util/boost-build/boost-build-1.53.0.ebuild | 140 -
 dev-util/boost-build/boost-build-1.54.0.ebuild | 140 -
 ...ild-1.48.0-support_dots_in_python-buildid.patch |  19 ---
 .../files/boost-build-1.50.0-fix-test.patch|  11 --
 6 files changed, 450 deletions(-)

diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifest
index bc223f6..fb6648e 100644
--- a/dev-util/boost-build/Manifest
+++ b/dev-util/boost-build/Manifest
@@ -1,6 +1,3 @@
-DIST boost_1_52_0.tar.bz2 54421709 SHA256 
222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92 SHA512 
fc512d3bfa6a39a60fee548775c97239271cf757587b8df7ed739c800844a819a359dca172be0e69ad7752753753139bf11f0813d650066d58386662fe32842d
 WHIRLPOOL 
73bbab4a1d2a652200f4b5e669440a2afcebcea96a1139ecc75213067ca32d5cadb0f060bb0ec2e29e9e31272fb7ec9d2cb960801032ee6c5dcb86564766411d
-DIST boost_1_53_0.tar.bz2 55765258 SHA256 
f88a041b01882b0c9c5c05b39603ec8383fb881f772f6f9e6e6fd0e0cddb9196 SHA512 
8cd7806653cb6ea4a1c6862796ef698de5ae0bdbda96954fedbe090c59e3e6cb8f8d385df35183e9063ac4e2c2fccf10744516c47a994cde5f1d1cba1b07e522
 WHIRLPOOL 
e8c5ed6b34dd5f68dc7e102a9e22b302616a65077d3f4af370ece6352b02a866e04294a4fc76bbdb6a4131f590e6455e6a74b5f12c4ffc2dd15af0bc8746
-DIST boost_1_54_0.tar.bz2 57873778 SHA256 
047e927de336af106a24bceba30069980c191529fd76b8dff8eb9a328b48ae1d SHA512 
3467a2bb9b4797cadfc52150cb036939ef35263f421870897dbe9492d1504a714805668a193b0811fdaf39a3527ee693ff70da5b942d7ab11b307e2e693e1760
 WHIRLPOOL 
dbe3cbecaccf86ca184cf73cff75c17d6307b680bab098e38a9efd24d17776481e597017fc9f8fc8f488495f315c6d2b14b9212c51cf98529c302482bf67e92a
 DIST boost_1_55_0.tar.bz2 58146647 SHA256 
fff00023dd79486d444c8e29922f4072e1d451fc5a4d2b6075852ead7f2b7b52 SHA512 
dc606477f4c303e8f40de2586c16394b6d758e198b35bf3a7d3e576a2f49171aadc4f95e8d685fa731bc4e61e19869d5a24e1e816febfca9de078d66e096e041
 WHIRLPOOL 
6ae111d6a956651bd91914432b743faffeb466703191b05193db47f02fd3528a14ce200f26c1ab77bf2c68994eb5b135b0176f66a746964d334b4793ba113ad5
 DIST boost_1_56_0.tar.bz2 94777674 SHA256 
134732acaf3a6e7eba85988118d943f0fa6b7f0850f65131fff89823ad30ff1d SHA512 
1ce9871c3a2519682538a5f1331938b948123432d99aea0ce026958cbebd25d84019a3a28c452724b9693df98a8d1264bb2d93d2fee508453f8b42836e67481e
 WHIRLPOOL 
e9e9bb965816b687141d55bc026e378a56ed577a2bf0bdad61a1736e7f11d1797e0cac0185a1fa25b6c4b9fe1f75cbb0bb73a5ea05e84d59385bb3b17a90fd12
 DIST boost_1_57_0.tar.bz2 60821561 SHA256 
910c8c022a33ccec7f088bd65d4f14b466588dda94ba2124e78b8c57db264967 SHA512 
61881440fd89644c43c6e3bc6292e9fed75a6d3a76f98654b189d0ed4e1087d77b585884e882270c08bf9f7132b173bfc1fde05848e06aa78ba7f1008d10714d
 WHIRLPOOL 
ff092af332434082a774645a5eb42829cdbdac805ef86dccce8988542062901524bd4d5fc890e3a9c01f0a721047501e5d8b13d50ffa5368066c3438dcf719d6

diff --git a/dev-util/boost-build/boost-build-1.52.0-r1.ebuild 
b/dev-util/boost-build/boost-build-1.52.0-r1.ebuild
deleted file mode 100644
index 484b2e2..000
--- a/dev-util/boost-build/boost-build-1.52.0-r1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-PYTHON_DEPEND="python? 2"
-
-RESTRICT="test"
-
-inherit eutils flag-o-matic python toolchain-funcs versionator
-
-MY_PV=$(replace_all_version_separators _)
-
-DESCRIPTION="A system for large project software construction, simple to use 
and powerful"
-HOMEPAGE="http://www.boost.org/doc/tools/build/index.html;
-SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
-
-LICENSE="Boost-1.0"
-SLOT=0
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
-IUSE="examples python test"
-
-REQUIRED_USE="test? ( python )"
-
-RDEPEND="!http://www.boost.org/doc/tools/build/index.html;
-SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
-
-LICENSE="Boost-1.0"
-SLOT=0
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~ppc-aix ~ia64-hpux ~x86-interix ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-IUSE="examples python test"
-
-REQUIRED_USE="test? ( python )"
-
-RDEPEND="!http://www.boost.org/doc/tools/build/index.html;