[arch-commits] Commit in boost/repos/staging-x86_64 (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 16:39:39 UTC 2021


    Date: Wednesday, December 1, 2021 @ 16:39:39
  Author: foutrelis
Revision: 430090

archrelease: copy trunk to staging-x86_64

Added:
  boost/repos/staging-x86_64/PKGBUILD
    (from rev 430089, boost/trunk/PKGBUILD)
Deleted:
  boost/repos/staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  254 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 127 insertions(+), 127 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 16:39:35 UTC (rev 430089)
+++ PKGBUILD	2021-12-01 16:39:39 UTC (rev 430090)
@@ -1,127 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Marius Knaust <marius.knaust at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: kevin <kevin at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Kritoke <kritoke at gamebox.net>
-# Contributor: Luca Roccia <little_rock at users.sourceforge.net>
-
-pkgname=('boost' 'boost-libs')
-pkgver=1.76.0
-pkgrel=4
-_srcname=boost_${pkgver//./_}
-pkgdesc="Free peer-reviewed portable C++ source libraries"
-arch=('x86_64')
-url="https://www.boost.org/"
-license=('custom')
-makedepends=('icu' 'python' 'python-numpy' 'bzip2' 'zlib' 'openmpi' 'zstd')
-source=(https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/$_srcname.tar.gz
-        $pkgname-boost_install-python310.patch::https://github.com/boostorg/boost_install/commit/e193f080c7d2.patch
-        $pkgname-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch)
-sha256sums=('7bd7ddceec1a1dfdcbdb3e609b60d01739c38390a5f956385a12f3122049f0ca'
-            '550ad9a4d0afa108bb9f2e2b7f53b548618542db8000e2334261f6fe03850d87'
-            'aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee')
-
-prepare() {
-  cd $_srcname
-
-  # https://github.com/boostorg/boost_install/pull/53
-  patch -Np1 -d tools/boost_install <../$pkgname-boost_install-python310.patch
-
-  # https://github.com/boostorg/ublas/pull/97
-  patch -Np2 -i ../$pkgname-ublas-c++20-iterator.patch
-}
-
-build() {
-  local JOBS="$(sed 's/.*\(-j *[0-9]\+\).*/\1/' <<<$MAKEFLAGS)"
-
-  pushd $_srcname/tools/build
-  ./bootstrap.sh --cxxflags="$CXXFLAGS $LDFLAGS"
-  ./b2 install --prefix="$srcdir"/fakeinstall
-  ln -s b2 "$srcdir"/fakeinstall/bin/bjam
-  popd
-
-  cd $_srcname
-  ./bootstrap.sh --with-toolset=gcc --with-icu --with-python=python3
-
-  # support for OpenMPI
-  echo "using mpi ;" >>project-config.jam
-
-  # boostbook is needed by quickbook
-  install -dm755 "$srcdir"/fakeinstall/share/boostbook
-  cp -a tools/boostbook/{xsl,dtd} "$srcdir"/fakeinstall/share/boostbook/
-
-  # install to $srcdir/fakeinstall in preparation for split packaging
-  ./b2 install \
-    variant=release \
-    debug-symbols=off \
-    threading=multi \
-    runtime-link=shared \
-    link=shared,static \
-    toolset=gcc \
-    python=3.10 \
-    cflags="$CPPFLAGS $CFLAGS -fPIC -O3" \
-    cxxflags="$CPPFLAGS $CXXFLAGS -fPIC -O3" \
-    linkflags="$LDFLAGS" \
-    --layout=system \
-    $JOBS \
-    \
-    --prefix="$srcdir"/fakeinstall
-}
-
-package_boost() {
-  pkgdesc+=' (development headers)'
-  depends=("boost-libs=$pkgver")
-  optdepends=('python: for python bindings')
-  options=('staticlibs')
-
-  install -d "$pkgdir"/usr/lib
-  cp -a fakeinstall/lib/*.a "$pkgdir"/usr/lib/
-  cp -a fakeinstall/lib/cmake "$pkgdir"/usr/lib/
-  cp -a fakeinstall/{bin,include,share} "$pkgdir"/usr/
-
-  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt
-}
-
-package_boost-libs() {
-  pkgdesc+=' (runtime libraries)'
-  depends=('bzip2' 'zlib' 'icu' 'zstd')
-  optdepends=('openmpi: for mpi support')
-  provides=(libboost_atomic.so libboost_chrono.so libboost_container.so
-    libboost_context.so libboost_contract.so libboost_coroutine.so
-    libboost_date_time.so libboost_fiber.so libboost_filesystem.so
-    libboost_graph.so libboost_graph_parallel.so libboost_iostreams.so
-    libboost_json.so libboost_locale.so libboost_log.so libboost_log_setup.so
-    libboost_math_c99.so libboost_math_c99f.so libboost_math_c99l.so
-    libboost_math_tr1.so libboost_math_tr1f.so libboost_math_tr1l.so
-    libboost_mpi.so libboost_numpy310.so
-    libboost_prg_exec_monitor.so libboost_program_options.so
-    libboost_python310.so libboost_random.so
-    libboost_regex.so libboost_serialization.so
-    libboost_stacktrace_addr2line.so libboost_stacktrace_basic.so
-    libboost_stacktrace_noop.so libboost_system.so libboost_thread.so
-    libboost_timer.so libboost_type_erasure.so libboost_unit_test_framework.so
-    libboost_wave.so libboost_wserialization.so)
-
-  install -dm755 "$pkgdir"/usr/lib
-  cp -a fakeinstall/lib/*.so* "$pkgdir"/usr/lib/
-
-  # https://github.com/boostorg/mpi/issues/112
-  install -d "$pkgdir"/usr/lib/python3.10/site-packages/boost
-  touch "$pkgdir"/usr/lib/python3.10/site-packages/boost/__init__.py
-  python -m compileall -o 0 -o 1 -o 2 "$pkgdir"/usr/lib/python3.10/site-packages/boost
-  cp fakeinstall/lib/boost-python3.10/mpi.so \
-    "$pkgdir"/usr/lib/python3.10/site-packages/boost/mpi.so
-
-  # https://github.com/boostorg/python/issues/203#issuecomment-391477685
-  for _lib in python numpy; do
-    ln -srL "$pkgdir"/usr/lib/libboost_${_lib}3{9,}.so
-  done
-
-  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt
-}
-
-# vim:set ts=2 sw=2 et:

Copied: boost/repos/staging-x86_64/PKGBUILD (from rev 430089, boost/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 16:39:39 UTC (rev 430090)
@@ -0,0 +1,127 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Marius Knaust <marius.knaust at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Kritoke <kritoke at gamebox.net>
+# Contributor: Luca Roccia <little_rock at users.sourceforge.net>
+
+pkgname=('boost' 'boost-libs')
+pkgver=1.76.0
+pkgrel=5
+_srcname=boost_${pkgver//./_}
+pkgdesc="Free peer-reviewed portable C++ source libraries"
+arch=('x86_64')
+url="https://www.boost.org/"
+license=('custom')
+makedepends=('icu' 'python' 'python-numpy' 'bzip2' 'zlib' 'openmpi' 'zstd')
+source=(https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/$_srcname.tar.gz
+        $pkgname-boost_install-python310.patch::https://github.com/boostorg/boost_install/commit/e193f080c7d2.patch
+        $pkgname-ublas-c++20-iterator.patch::https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch)
+sha256sums=('7bd7ddceec1a1dfdcbdb3e609b60d01739c38390a5f956385a12f3122049f0ca'
+            '550ad9a4d0afa108bb9f2e2b7f53b548618542db8000e2334261f6fe03850d87'
+            'aa38addb40d5f44b4a8472029b475e7e6aef1c460509eb7d8edf03491dc1b5ee')
+
+prepare() {
+  cd $_srcname
+
+  # https://github.com/boostorg/boost_install/pull/53
+  patch -Np1 -d tools/boost_install <../$pkgname-boost_install-python310.patch
+
+  # https://github.com/boostorg/ublas/pull/97
+  patch -Np2 -i ../$pkgname-ublas-c++20-iterator.patch
+}
+
+build() {
+  local JOBS="$(sed 's/.*\(-j *[0-9]\+\).*/\1/' <<<$MAKEFLAGS)"
+
+  pushd $_srcname/tools/build
+  ./bootstrap.sh --cxxflags="$CXXFLAGS $LDFLAGS"
+  ./b2 install --prefix="$srcdir"/fakeinstall
+  ln -s b2 "$srcdir"/fakeinstall/bin/bjam
+  popd
+
+  cd $_srcname
+  ./bootstrap.sh --with-toolset=gcc --with-icu --with-python=python3
+
+  # support for OpenMPI
+  echo "using mpi ;" >>project-config.jam
+
+  # boostbook is needed by quickbook
+  install -dm755 "$srcdir"/fakeinstall/share/boostbook
+  cp -a tools/boostbook/{xsl,dtd} "$srcdir"/fakeinstall/share/boostbook/
+
+  # install to $srcdir/fakeinstall in preparation for split packaging
+  ./b2 install \
+    variant=release \
+    debug-symbols=off \
+    threading=multi \
+    runtime-link=shared \
+    link=shared,static \
+    toolset=gcc \
+    python=3.10 \
+    cflags="$CPPFLAGS $CFLAGS -fPIC -O3" \
+    cxxflags="$CPPFLAGS $CXXFLAGS -fPIC -O3" \
+    linkflags="$LDFLAGS" \
+    --layout=system \
+    $JOBS \
+    \
+    --prefix="$srcdir"/fakeinstall
+}
+
+package_boost() {
+  pkgdesc+=' (development headers)'
+  depends=("boost-libs=$pkgver")
+  optdepends=('python: for python bindings')
+  options=('staticlibs')
+
+  install -d "$pkgdir"/usr/lib
+  cp -a fakeinstall/lib/*.a "$pkgdir"/usr/lib/
+  cp -a fakeinstall/lib/cmake "$pkgdir"/usr/lib/
+  cp -a fakeinstall/{bin,include,share} "$pkgdir"/usr/
+
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt
+}
+
+package_boost-libs() {
+  pkgdesc+=' (runtime libraries)'
+  depends=('bzip2' 'zlib' 'icu' 'zstd')
+  optdepends=('openmpi: for mpi support')
+  provides=(libboost_atomic.so libboost_chrono.so libboost_container.so
+    libboost_context.so libboost_contract.so libboost_coroutine.so
+    libboost_date_time.so libboost_fiber.so libboost_filesystem.so
+    libboost_graph.so libboost_graph_parallel.so libboost_iostreams.so
+    libboost_json.so libboost_locale.so libboost_log.so libboost_log_setup.so
+    libboost_math_c99.so libboost_math_c99f.so libboost_math_c99l.so
+    libboost_math_tr1.so libboost_math_tr1f.so libboost_math_tr1l.so
+    libboost_mpi.so libboost_numpy310.so
+    libboost_prg_exec_monitor.so libboost_program_options.so
+    libboost_python310.so libboost_random.so
+    libboost_regex.so libboost_serialization.so
+    libboost_stacktrace_addr2line.so libboost_stacktrace_basic.so
+    libboost_stacktrace_noop.so libboost_system.so libboost_thread.so
+    libboost_timer.so libboost_type_erasure.so libboost_unit_test_framework.so
+    libboost_wave.so libboost_wserialization.so)
+
+  install -dm755 "$pkgdir"/usr/lib
+  cp -a fakeinstall/lib/*.so* "$pkgdir"/usr/lib/
+
+  # https://github.com/boostorg/mpi/issues/112
+  install -d "$pkgdir"/usr/lib/python3.10/site-packages/boost
+  touch "$pkgdir"/usr/lib/python3.10/site-packages/boost/__init__.py
+  python -m compileall -o 0 -o 1 -o 2 "$pkgdir"/usr/lib/python3.10/site-packages/boost
+  cp fakeinstall/lib/boost-python3.10/mpi.so \
+    "$pkgdir"/usr/lib/python3.10/site-packages/boost/mpi.so
+
+  # https://github.com/boostorg/python/issues/203#issuecomment-391477685
+  for _lib in python numpy; do
+    ln -srL "$pkgdir"/usr/lib/libboost_${_lib}3{10,}.so
+  done
+
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list