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

Santiago Torres-Arias sangy at archlinux.org
Wed Apr 22 15:38:04 UTC 2020


    Date: Wednesday, April 22, 2020 @ 15:38:03
  Author: sangy
Revision: 617669

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-22 15:37:43 UTC (rev 617668)
+++ PKGBUILD	2020-04-22 15:38:03 UTC (rev 617669)
@@ -1,57 +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.4.3
-pkgrel=3
-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=('1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d')
-
-prepare() {
-    mkdir -p "${pkgname}-${pkgver}/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
-    make -C "${srcdir}/${pkgname}-${pkgver}/docs" man
-}
-
-check() {
-    make -C "${pkgname}-${pkgver}/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}"
-    install -m644 build-cmake/mock_install/share/cmake/pybind11/*.cmake -t "${pkgdir}/usr/share/cmake/${pkgname}"
-    
-    # man page
-    install -D -m644 "docs/.build/man/${pkgname}.1" "${pkgdir}/usr/share/man/man7/${pkgname}.7"
-    sed -i '/^\.TH/s/"1"/"7"/' "${pkgdir}/usr/share/man/man7/${pkgname}.7"
-    
-    # license
-    install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: pybind11/repos/community-any/PKGBUILD (from rev 617668, pybind11/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-22 15:38:03 UTC (rev 617669)
@@ -0,0 +1,57 @@
+# 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.5.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=('97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504')
+
+prepare() {
+    mkdir -p "${pkgname}-${pkgver}/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
+    make -C "${srcdir}/${pkgname}-${pkgver}/docs" man
+}
+
+check() {
+    make -C "${pkgname}-${pkgver}/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}"
+    install -m644 build-cmake/mock_install/share/cmake/pybind11/*.cmake -t "${pkgdir}/usr/share/cmake/${pkgname}"
+    
+    # man page
+    install -D -m644 "docs/.build/man/${pkgname}.1" "${pkgdir}/usr/share/man/man7/${pkgname}.7"
+    sed -i '/^\.TH/s/"1"/"7"/' "${pkgdir}/usr/share/man/man7/${pkgname}.7"
+    
+    # license
+    install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}


More information about the arch-commits mailing list