[arch-commits] Commit in pybind11/repos/community-any (PKGBUILD PKGBUILD)
Date: Tuesday, December 8, 2020 @ 15:29:39 Author: dbermond Revision: 771835 archrelease: copy trunk to community-any Added: pybind11/repos/community-any/PKGBUILD (from rev 771834, pybind11/trunk/PKGBUILD) Deleted: pybind11/repos/community-any/PKGBUILD --+ PKGBUILD | 112 ++--- 1 file changed, 56 insertions(+), 56 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-12-08 15:29:26 UTC (rev 771834) +++ PKGBUILD2020-12-08 15:29:39 UTC (rev 771835) @@ -1,56 +0,0 @@ -# Maintainer : Daniel Bermond -# Maintainer : Santiago Torres-Arias -# Contributor: Matthew Ellison - -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}" -} Copied: pybind11/repos/community-any/PKGBUILD (from rev 771834, pybind11/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-12-08 15:29:39 UTC (rev 771835) @@ -0,0 +1,56 @@ +# Maintainer : Daniel Bermond +# Maintainer : Santiago Torres-Arias +# Contributor: Matthew Ellison + +pkgname=pybind11 +pkgver=2.6.1 +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') +source=("https://github.com/pybind/pybind11/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz";) +sha256sums=('cdbe326d357f18b83d10322ba202d69f11b2f49e2d87ade0dc2be0c5c34f8e2a') + +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/lice
[arch-commits] Commit in pybind11/repos/community-any (PKGBUILD PKGBUILD)
Date: Thursday, October 29, 2020 @ 01:17:40 Author: dbermond Revision: 736457 archrelease: copy trunk to community-any Added: pybind11/repos/community-any/PKGBUILD (from rev 736456, pybind11/trunk/PKGBUILD) Deleted: pybind11/repos/community-any/PKGBUILD --+ PKGBUILD | 113 ++--- 1 file changed, 56 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-10-29 01:17:17 UTC (rev 736456) +++ PKGBUILD2020-10-29 01:17:40 UTC (rev 736457) @@ -1,57 +0,0 @@ -# Maintainer : Daniel Bermond -# Maintainer : Santiago Torres-Arias -# Contributor: Matthew Ellison - -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}" -} Copied: pybind11/repos/community-any/PKGBUILD (from rev 736456, pybind11/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-10-29 01:17:40 UTC (rev 736457) @@ -0,0 +1,56 @@ +# Maintainer : Daniel Bermond +# Maintainer : Santiago Torres-Arias +# Contributor: Matthew Ellison + +pkgname=pybind11 +pkgver=2.6.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') +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}" +}
[arch-commits] Commit in pybind11/repos/community-any (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2020-04-22 15:37:43 UTC (rev 617668) +++ PKGBUILD2020-04-22 15:38:03 UTC (rev 617669) @@ -1,57 +0,0 @@ -# Maintainer : Daniel Bermond -# Maintainer : Santiago Torres-Arias -# Contributor: Matthew Ellison - -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) +++ PKGBUILD2020-04-22 15:38:03 UTC (rev 617669) @@ -0,0 +1,57 @@ +# Maintainer : Daniel Bermond +# Maintainer : Santiago Torres-Arias +# Contributor: Matthew Ellison + +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}" +}
[arch-commits] Commit in pybind11/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, October 20, 2019 @ 17:57:56 Author: dbermond Revision: 517883 archrelease: copy trunk to community-any Added: pybind11/repos/community-any/PKGBUILD (from rev 517882, pybind11/trunk/PKGBUILD) Deleted: pybind11/repos/community-any/PKGBUILD --+ PKGBUILD | 122 - 1 file changed, 57 insertions(+), 65 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-10-20 17:57:06 UTC (rev 517882) +++ PKGBUILD2019-10-20 17:57:56 UTC (rev 517883) @@ -1,65 +0,0 @@ -# Maintainer : Daniel Bermond -# Maintainer : Santiago Torres-Arias -# Contributor: Matthew Ellison - -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}" -} Copied: pybind11/repos/community-any/PKGBUILD (from rev 517882, pybind11/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-10-20 17:57:56 UTC (rev 517883) @@ -0,0 +1,57 @@ +# Maintainer : Daniel Bermond +# Maintainer : Santiago Torres-Arias +# Contributor: Matthew Ellison + +pkgname=pybind11 +pkgver=2.4.3 +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=('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}" +}
[arch-commits] Commit in pybind11/repos/community-any (PKGBUILD PKGBUILD)
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 === --- PKGBUILD2019-09-23 18:49:06 UTC (rev 511594) +++ PKGBUILD2019-09-23 18:49:30 UTC (rev 511595) @@ -1,65 +0,0 @@ -# Maintainer : Daniel Bermond -# Maintainer : Santiago Torres-Arias -# Contributor: Matthew Ellison - -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) +++ PKGBUILD2019-09-23 18:49:30 UTC (rev 511595) @@ -0,0 +1,65 @@ +# Maintainer : Daniel Bermond +# Maintainer : Santiago Torres-Arias +# Contributor: Matthew Ellison + +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}" +}
[arch-commits] Commit in pybind11/repos/community-any (PKGBUILD PKGBUILD)
Date: Friday, June 21, 2019 @ 18:19:48 Author: dbermond Revision: 482625 archrelease: copy trunk to community-any Added: pybind11/repos/community-any/PKGBUILD (from rev 482624, pybind11/trunk/PKGBUILD) Deleted: pybind11/repos/community-any/PKGBUILD --+ PKGBUILD | 149 ++--- 1 file changed, 65 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-06-21 18:19:23 UTC (rev 482624) +++ PKGBUILD2019-06-21 18:19:48 UTC (rev 482625) @@ -1,84 +0,0 @@ -# Maintainer : Daniel Bermond < gmail-com: danielbermond > -# Maintainer : Santiago Torres-Arias -# Contributor: Matthew Ellison - -pkgname=pybind11 -pkgver=2.2.4 -pkgrel=5 -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: to target bindings supporting python 3' -'python2: to target bindings supporting python 2') -makedepends=('cmake' 'boost' 'eigen' 'python' 'python-setuptools' 'python-pytest' -'python-sphinx' 'python2' 'python2-setuptools' 'python2-pytest' 'python-breathe') -checkdepends=('python-numpy' 'python-scipy' 'python2-numpy' 'python2-scipy') -source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/pybind/pybind11/archive/v${pkgver}.tar.gz";) -sha256sums=('b69e83658513215b8d1443544d0549b7d231b9f201f6fc787a2b2218b408181e') - -prepare() { -cd "${pkgname}-${pkgver}" - -mkdir -p build-cmake{,-py2} -} - -build () { -local _pythonver -_pythonver="$(python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')" - -# python modules -cd "${pkgname}-${pkgver}" -python setup.py build - -# cmake files and tests -cd build-cmake -cmake \ --DCMAKE_INSTALL_PREFIX='/usr' \ --DPYTHON_EXECUTABLE:FILEPATH="/usr/bin/python${_pythonver}" \ --Wno-dev \ -.. -make all mock_install -cd "${srcdir}/${pkgname}-${pkgver}/build-cmake-py2" -cmake \ --DCMAKE_INSTALL_PREFIX='/usr' \ --DPYTHON_EXECUTABLE:FILEPATH='/usr/bin/python2.7' \ --Wno-dev \ -.. -make all mock_install - -# manpage -cd "${srcdir}/${pkgname}-${pkgver}/docs" -make man -} - -check() { -cd "${pkgname}-${pkgver}" - - make -C build-cmake check # python3 tests - make -C build-cmake-py2 check # python2 tests -} - -package() { -cd "${pkgname}-${pkgver}" - -local _pythonver -_pythonver="$(python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')" - -# python modules -python setup.py install --root="$pkgdir" --install-headers='/usr/include/pybind11' --skip-build --optimize='1' -python2 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}" - -# manpage -cd "${srcdir}/${pkgname}-${pkgver}/docs/.build/man" -install -D -m644 "${pkgname}.1" -t "${pkgdir}/usr/share/man/man1" - -# license -cd "${srcdir}/${pkgname}-${pkgver}" -install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} Copied: pybind11/repos/community-any/PKGBUILD (from rev 482624, pybind11/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-06-21 18:19:48 UTC (rev 482625) @@ -0,0 +1,65 @@ +# Maintainer : Daniel Bermond +# Maintainer : Santiago Torres-Arias +# Contributor: Matthew Ellison + +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() { +