[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Date: Tuesday, December 8, 2020 @ 15:29:16 Author: dbermond Revision: 771833 upgpkg: pybind11 2.6.1-1 Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-08 15:29:15 UTC (rev 771832) +++ PKGBUILD2020-12-08 15:29:16 UTC (rev 771833) @@ -3,8 +3,8 @@ # Contributor: Matthew Ellison pkgname=pybind11 -pkgver=2.6.0 -pkgrel=3 +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/' @@ -13,7 +13,7 @@ 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') +sha256sums=('cdbe326d357f18b83d10322ba202d69f11b2f49e2d87ade0dc2be0c5c34f8e2a') build () { cd "${pkgname}-${pkgver}"
[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Date: Thursday, November 12, 2020 @ 13:45:53 Author: felixonmars Revision: 751880 upgpkg: pybind11 2.6.0-3: Python 3.9 rebuild Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-12 13:45:49 UTC (rev 751879) +++ PKGBUILD2020-11-12 13:45:53 UTC (rev 751880) @@ -4,7 +4,7 @@ pkgname=pybind11 pkgver=2.6.0 -pkgrel=2 +pkgrel=3 pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa' arch=('any') url='https://pybind11.readthedocs.org/'
[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Date: Monday, November 9, 2020 @ 19:25:44 Author: felixonmars Revision: 748074 upgpkg: pybind11 2.6.0-2: Python 3.9 rebuild Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-09 19:25:06 UTC (rev 748073) +++ PKGBUILD2020-11-09 19:25:44 UTC (rev 748074) @@ -4,7 +4,7 @@ pkgname=pybind11 pkgver=2.6.0 -pkgrel=1 +pkgrel=2 pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa' arch=('any') url='https://pybind11.readthedocs.org/'
[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Date: Thursday, October 29, 2020 @ 01:17:17 Author: dbermond Revision: 736456 upgpkg: pybind11 2.6.0-1 Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD | 51 +-- 1 file changed, 25 insertions(+), 26 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-29 01:10:03 UTC (rev 736455) +++ PKGBUILD2020-10-29 01:17:17 UTC (rev 736456) @@ -3,7 +3,7 @@ # Contributor: Matthew Ellison pkgname=pybind11 -pkgver=2.5.0 +pkgver=2.6.0 pkgrel=1 pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa' arch=('any') @@ -10,47 +10,46 @@ 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') +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') -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 +# 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 -make -C "${srcdir}/${pkgname}-${pkgver}/docs" man +# manpage (needs python-sphinxcontrib-svg2pdfconverter - currently on AUR) +# make -C "${srcdir}/${pkgname}-${pkgver}/docs" man } check() { -make -C "${pkgname}-${pkgver}/build-cmake" check +make -C build-cmake check } package() { cd "${pkgname}-${pkgver}" +python setup.py install --root="$pkgdir" --skip-build --optimize='1' -# python modules -python setup.py install --root="$pkgdir" --install-headers='/usr/include/pybind11' --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" -# 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" +# 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/trunk (PKGBUILD)
Date: Wednesday, April 22, 2020 @ 15:37:43 Author: sangy Revision: 617668 upgpkg: pybind11 2.5.0-1 Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-22 15:20:42 UTC (rev 617667) +++ PKGBUILD2020-04-22 15:37:43 UTC (rev 617668) @@ -3,8 +3,8 @@ # Contributor: Matthew Ellison pkgname=pybind11 -pkgver=2.4.3 -pkgrel=3 +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/' @@ -14,7 +14,7 @@ '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') +sha256sums=('97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504') prepare() { mkdir -p "${pkgname}-${pkgver}/build-cmake"
[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Date: Sunday, November 3, 2019 @ 20:15:23 Author: foutrelis Revision: 522629 Python 3.8 rebuild Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-03 20:15:11 UTC (rev 522628) +++ PKGBUILD2019-11-03 20:15:23 UTC (rev 522629) @@ -4,7 +4,7 @@ pkgname=pybind11 pkgver=2.4.3 -pkgrel=2 +pkgrel=3 pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa' arch=('any') url='https://pybind11.readthedocs.org/'
[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Date: Saturday, October 26, 2019 @ 06:10:04 Author: foutrelis Revision: 520204 Python 3.8 rebuild Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-26 06:09:47 UTC (rev 520203) +++ PKGBUILD2019-10-26 06:10:04 UTC (rev 520204) @@ -4,7 +4,7 @@ pkgname=pybind11 pkgver=2.4.3 -pkgrel=1 +pkgrel=2 pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa' arch=('any') url='https://pybind11.readthedocs.org/'
[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Date: Sunday, October 20, 2019 @ 17:57:06 Author: dbermond Revision: 517882 upgpkg: pybind11 2.4.3-1 Updated to version 2.4.3 Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-10-20 17:56:49 UTC (rev 517881) +++ PKGBUILD2019-10-20 17:57:06 UTC (rev 517882) @@ -3,7 +3,7 @@ # Contributor: Matthew Ellison pkgname=pybind11 -pkgver=2.4.2 +pkgver=2.4.3 pkgrel=1 pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa' arch=('any') @@ -14,12 +14,10 @@ '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') +sha256sums=('1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d') prepare() { -cd "${pkgname}-${pkgver}" - -mkdir -p build-cmake +mkdir -p "${pkgname}-${pkgver}/build-cmake" } build () { @@ -33,14 +31,11 @@ make all mock_install # manpage -cd "${srcdir}/${pkgname}-${pkgver}/docs" -make man +make -C "${srcdir}/${pkgname}-${pkgver}/docs" man } check() { -cd "${pkgname}-${pkgver}" - - make -C build-cmake check +make -C "${pkgname}-${pkgver}/build-cmake" check } package() { @@ -51,15 +46,12 @@ # 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}" +install -m644 build-cmake/mock_install/share/cmake/pybind11/*.cmake -t "${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" +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 -cd "${srcdir}/${pkgname}-${pkgver}" install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" }
[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Date: Monday, September 23, 2019 @ 18:49:06 Author: dbermond Revision: 511594 upgpkg: pybind11 2.4.2-1 Updated to version 2.4.2 Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-09-23 17:52:01 UTC (rev 511593) +++ PKGBUILD2019-09-23 18:49:06 UTC (rev 511594) @@ -3,7 +3,7 @@ # Contributor: Matthew Ellison pkgname=pybind11 -pkgver=2.3.0 +pkgver=2.4.2 pkgrel=1 pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa' arch=('any') @@ -14,7 +14,7 @@ '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') +sha256sums=('e212e3043cb7a15466abb8896c6924c1ce40ae2988d8c24c111afcb30735fb8f') prepare() { cd "${pkgname}-${pkgver}"
[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Date: Friday, June 21, 2019 @ 18:19:23 Author: dbermond Revision: 482624 upgpkg: pybind11 2.3.0-1 - Updated to version 2.3.0. - Drop python2 suppport (python2 will reach End Of Life in 2020-01-01). Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD | 45 + 1 file changed, 13 insertions(+), 32 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-06-21 17:22:42 UTC (rev 482623) +++ PKGBUILD2019-06-21 18:19:23 UTC (rev 482624) @@ -1,32 +1,28 @@ -# Maintainer : Daniel Bermond < archlinux-org: dbermond > +# Maintainer : Daniel Bermond # Maintainer : Santiago Torres-Arias # Contributor: Matthew Ellison pkgname=pybind11 -pkgver=2.2.4 -pkgrel=5 +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: to target bindings supporting python 3' -'python2: to target bindings supporting python 2') +optdepends=('python: for python bindings') 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') + '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=('b69e83658513215b8d1443544d0549b7d231b9f201f6fc787a2b2218b408181e') +sha256sums=('0f34838f2c8024a6765168227ba587b3687729ebf03dc912f88ff75c7aa9cfe8') prepare() { cd "${pkgname}-${pkgver}" -mkdir -p build-cmake{,-py2} +mkdir -p build-cmake } 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 @@ -33,19 +29,8 @@ # cmake files and tests cd build-cmake -cmake \ --DCMAKE_INSTALL_PREFIX='/usr' \ --DPYTHON_EXECUTABLE:FILEPATH="/usr/bin/python${_pythonver}" \ --Wno-dev \ -.. +cmake -DCMAKE_INSTALL_PREFIX:PATH='/usr' -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" @@ -55,19 +40,14 @@ check() { cd "${pkgname}-${pkgver}" - make -C build-cmake check # python3 tests - make -C build-cmake-py2 check # python2 tests + make -C build-cmake check } 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}" @@ -74,9 +54,10 @@ cd build-cmake/mock_install/share/cmake/pybind11 install -m644 *.cmake "${pkgdir}/usr/share/cmake/${pkgname}" -# manpage +# man page cd "${srcdir}/${pkgname}-${pkgver}/docs/.build/man" -install -D -m644 "${pkgname}.1" -t "${pkgdir}/usr/share/man/man1" +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}"
[arch-commits] Commit in pybind11/trunk (PKGBUILD)
Date: Sunday, November 18, 2018 @ 02:10:08 Author: sangy Revision: 408632 Update Maintainer email Modified: pybind11/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-11-18 02:08:09 UTC (rev 408631) +++ PKGBUILD2018-11-18 02:10:08 UTC (rev 408632) @@ -1,4 +1,4 @@ -# Maintainer : Daniel Bermond < gmail-com: danielbermond > +# Maintainer : Daniel Bermond < archlinux-org: dbermond > # Maintainer : Santiago Torres-Arias # Contributor: Matthew Ellison