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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 13:46:05 UTC 2020


    Date: Thursday, November 12, 2020 @ 13:46:05
  Author: felixonmars
Revision: 751883

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 13:46:00 UTC (rev 751882)
+++ PKGBUILD	2020-11-12 13:46:05 UTC (rev 751883)
@@ -1,56 +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.6.0
-pkgrel=2
-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')
-source=("https://github.com/pybind/pybind11/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('90b705137b69ee3b5fc655eaca66d0dc9862ea1759226f7ccd3098425ae69571')
-
-build () {
-    cd "${pkgname}-${pkgver}"
-    python setup.py build
-    
-    # tests
-    cmake \
-        -B "${srcdir}/build-cmake" \
-        -S "${srcdir}/${pkgname}-${pkgver}" \
-        -DCMAKE_BUILD_TYPE:STRING='None' \
-        -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-        -Wno-dev
-    make -C "${srcdir}/build-cmake" all mock_install
-    
-    # manpage (needs python-sphinxcontrib-svg2pdfconverter - currently on AUR)
-    # make -C "${srcdir}/${pkgname}-${pkgver}/docs" man
-}
-
-check() {
-    make -C build-cmake check
-}
-
-package() {
-    cd "${pkgname}-${pkgver}"
-    python setup.py install --root="$pkgdir" --skip-build --optimize='1'
-    
-    # symlinks
-    local _pyver
-    _pyver="$(python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')"
-    mkdir -p "${pkgdir}/usr"/{include,share/cmake}
-    ln -s "../lib/python${_pyver}/site-packages/pybind11/include/pybind11" "${pkgdir}/usr/include/pybind11"
-    ln -s "../../lib/python${_pyver}/site-packages/pybind11/share/cmake/pybind11" "${pkgdir}/usr/share/cmake/pybind11"
-    
-    # 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-staging-any/PKGBUILD (from rev 751882, pybind11/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 13:46:05 UTC (rev 751883)
@@ -0,0 +1,56 @@
+# 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.6.0
+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')
+source=("https://github.com/pybind/pybind11/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('90b705137b69ee3b5fc655eaca66d0dc9862ea1759226f7ccd3098425ae69571')
+
+build () {
+    cd "${pkgname}-${pkgver}"
+    python setup.py build
+    
+    # tests
+    cmake \
+        -B "${srcdir}/build-cmake" \
+        -S "${srcdir}/${pkgname}-${pkgver}" \
+        -DCMAKE_BUILD_TYPE:STRING='None' \
+        -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
+        -Wno-dev
+    make -C "${srcdir}/build-cmake" all mock_install
+    
+    # manpage (needs python-sphinxcontrib-svg2pdfconverter - currently on AUR)
+    # make -C "${srcdir}/${pkgname}-${pkgver}/docs" man
+}
+
+check() {
+    make -C build-cmake check
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    python setup.py install --root="$pkgdir" --skip-build --optimize='1'
+    
+    # symlinks
+    local _pyver
+    _pyver="$(python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')"
+    mkdir -p "${pkgdir}/usr"/{include,share/cmake}
+    ln -s "../lib/python${_pyver}/site-packages/pybind11/include/pybind11" "${pkgdir}/usr/include/pybind11"
+    ln -s "../../lib/python${_pyver}/site-packages/pybind11/share/cmake/pybind11" "${pkgdir}/usr/share/cmake/pybind11"
+    
+    # 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