[arch-commits] Commit in pybind11/repos/community-any (PKGBUILD PKGBUILD)

Daniel Bermond dbermond at archlinux.org
Mon Sep 23 18:49:31 UTC 2019


    Date: Monday, September 23, 2019 @ 18:49:30
  Author: dbermond
Revision: 511595

archrelease: copy trunk to community-any

Added:
  pybind11/repos/community-any/PKGBUILD
    (from rev 511594, pybind11/trunk/PKGBUILD)
Deleted:
  pybind11/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  130 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-23 18:49:06 UTC (rev 511594)
+++ PKGBUILD	2019-09-23 18:49:30 UTC (rev 511595)
@@ -1,65 +0,0 @@
-# Maintainer : Daniel Bermond <dbermond at archlinux.org>
-# Maintainer : Santiago Torres-Arias <santiago at archlinux.org>
-# Contributor: Matthew Ellison <matt+aur at arroyonetworks.com>
-
-pkgname=pybind11
-pkgver=2.3.0
-pkgrel=1
-pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa'
-arch=('any')
-url='https://pybind11.readthedocs.org/'
-license=('BSD')
-optdepends=('python: for python bindings')
-makedepends=('cmake' 'boost' 'eigen' 'python' 'python-setuptools' 'python-pytest'
-             'python-sphinx' 'python-sphinx_rtd_theme' 'python-breathe')
-checkdepends=('python-py' 'python-pluggy' 'python-hypothesis' 'python-numpy' 'python-scipy')
-source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/pybind/pybind11/archive/v${pkgver}.tar.gz")
-sha256sums=('0f34838f2c8024a6765168227ba587b3687729ebf03dc912f88ff75c7aa9cfe8')
-
-prepare() {
-    cd "${pkgname}-${pkgver}"
-    
-    mkdir -p build-cmake
-}
-
-build () {
-    # python modules
-    cd "${pkgname}-${pkgver}"
-    python setup.py build
-    
-    # cmake files and tests
-    cd build-cmake
-    cmake -DCMAKE_INSTALL_PREFIX:PATH='/usr' -Wno-dev ..
-    make all mock_install
-    
-    # manpage
-    cd "${srcdir}/${pkgname}-${pkgver}/docs"
-    make man
-}
-
-check() {
-    cd "${pkgname}-${pkgver}"
-    
-   make -C build-cmake check
-}
-
-package() {
-    cd "${pkgname}-${pkgver}"
-    
-    # python modules
-    python setup.py install --root="$pkgdir" --install-headers='/usr/include/pybind11' --skip-build --optimize='1'
-    
-    # cmake files
-    mkdir -p "${pkgdir}/usr/share/cmake/${pkgname}"
-    cd build-cmake/mock_install/share/cmake/pybind11
-    install -m644 *.cmake "${pkgdir}/usr/share/cmake/${pkgname}"
-    
-    # man page
-    cd "${srcdir}/${pkgname}-${pkgver}/docs/.build/man"
-    install -D -m644 "${pkgname}.1" "${pkgdir}/usr/share/man/man7/${pkgname}.7"
-    sed -i '/^\.TH/s/"1"/"7"/' "${pkgdir}/usr/share/man/man7/${pkgname}.7"
-    
-    # license
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: pybind11/repos/community-any/PKGBUILD (from rev 511594, pybind11/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-23 18:49:30 UTC (rev 511595)
@@ -0,0 +1,65 @@
+# Maintainer : Daniel Bermond <dbermond at archlinux.org>
+# Maintainer : Santiago Torres-Arias <santiago at archlinux.org>
+# Contributor: Matthew Ellison <matt+aur at arroyonetworks.com>
+
+pkgname=pybind11
+pkgver=2.4.2
+pkgrel=1
+pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa'
+arch=('any')
+url='https://pybind11.readthedocs.org/'
+license=('BSD')
+optdepends=('python: for python bindings')
+makedepends=('cmake' 'boost' 'eigen' 'python' 'python-setuptools' 'python-pytest'
+             'python-sphinx' 'python-sphinx_rtd_theme' 'python-breathe')
+checkdepends=('python-py' 'python-pluggy' 'python-hypothesis' 'python-numpy' 'python-scipy')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/pybind/pybind11/archive/v${pkgver}.tar.gz")
+sha256sums=('e212e3043cb7a15466abb8896c6924c1ce40ae2988d8c24c111afcb30735fb8f')
+
+prepare() {
+    cd "${pkgname}-${pkgver}"
+    
+    mkdir -p build-cmake
+}
+
+build () {
+    # python modules
+    cd "${pkgname}-${pkgver}"
+    python setup.py build
+    
+    # cmake files and tests
+    cd build-cmake
+    cmake -DCMAKE_INSTALL_PREFIX:PATH='/usr' -Wno-dev ..
+    make all mock_install
+    
+    # manpage
+    cd "${srcdir}/${pkgname}-${pkgver}/docs"
+    make man
+}
+
+check() {
+    cd "${pkgname}-${pkgver}"
+    
+   make -C build-cmake check
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    
+    # python modules
+    python setup.py install --root="$pkgdir" --install-headers='/usr/include/pybind11' --skip-build --optimize='1'
+    
+    # cmake files
+    mkdir -p "${pkgdir}/usr/share/cmake/${pkgname}"
+    cd build-cmake/mock_install/share/cmake/pybind11
+    install -m644 *.cmake "${pkgdir}/usr/share/cmake/${pkgname}"
+    
+    # man page
+    cd "${srcdir}/${pkgname}-${pkgver}/docs/.build/man"
+    install -D -m644 "${pkgname}.1" "${pkgdir}/usr/share/man/man7/${pkgname}.7"
+    sed -i '/^\.TH/s/"1"/"7"/' "${pkgdir}/usr/share/man/man7/${pkgname}.7"
+    
+    # license
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list