Date: Tuesday, February 19, 2019 @ 23:21:19 Author: sangy Revision: 434646
archrelease: copy trunk to community-x86_64 Added: python-pyopencl/repos/community-x86_64/LICENSE.txt (from rev 434645, python-pyopencl/trunk/LICENSE.txt) python-pyopencl/repos/community-x86_64/PKGBUILD (from rev 434645, python-pyopencl/trunk/PKGBUILD) Deleted: python-pyopencl/repos/community-x86_64/LICENSE.txt python-pyopencl/repos/community-x86_64/PKGBUILD -------------+ LICENSE.txt | 40 +++++++-------- PKGBUILD | 146 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 93 insertions(+), 93 deletions(-) Deleted: LICENSE.txt =================================================================== --- LICENSE.txt 2019-02-19 23:20:54 UTC (rev 434645) +++ LICENSE.txt 2019-02-19 23:21:19 UTC (rev 434646) @@ -1,20 +0,0 @@ -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. Copied: python-pyopencl/repos/community-x86_64/LICENSE.txt (from rev 434645, python-pyopencl/trunk/LICENSE.txt) =================================================================== --- LICENSE.txt (rev 0) +++ LICENSE.txt 2019-02-19 23:21:19 UTC (rev 434646) @@ -0,0 +1,20 @@ +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-19 23:20:54 UTC (rev 434645) +++ PKGBUILD 2019-02-19 23:21:19 UTC (rev 434646) @@ -1,73 +0,0 @@ -# Maintianer: Santiago Torres-Arias <santi...@archlinux.org> -# Contributor: Stéphane Gaudreault <steph...@archlinux.org> - -_pypiname=pyopencl -pkgbase=python-pyopencl -pkgname=('python2-pyopencl' 'python-pyopencl' 'pyopencl-headers') -pkgver=2018.2.2 -pkgrel=1 -epoch=1 -pkgdesc="A complete, object-oriented language binding of OpenCL to Python" -arch=('x86_64') -url="https://mathema.tician.de/software/pyopencl" -license=('MIT' 'Apache' 'BSD') -depends=('opencl-icd-loader' 'opencl-headers' 'mesa' 'boost-libs') -makedepends=('ctags' 'boost' 'python-setuptools' 'python2-setuptools' 'python-mako' 'python2-mako' - 'python-numpy' 'python2-numpy' 'python-cffi' 'python2-cffi' 'git' 'pybind11') - checkdepends=('python-six' 'python2-six' 'python-appdirs' 'python2-appdirs') -source=("git+https://github.com/inducer/pyopencl.git?signed#tag=v${pkgver}.signed") -validpgpkeys=("900A958D9A0ACA58B1468F2471AA298BCA171145") # Andreas Ratchke -sha256sums=('SKIP') - -build() { - # we use git clone here to ensure the submodules intialize properly - # FIXME: I could do something more thorough later down the line - git clone pyopencl{,-python2} - - cd "pyopencl" - python3 ./configure.py --python-exe=python3 --cl-pretend-version=1.2 # --boost-python-libname=boost_python3 - make - - cd "${srcdir}/pyopencl-python2" - python2 ./configure.py --python-exe=python2 --cl-pretend-version=1.2 # --boost-python-libname=boost_python - make -} - -check(){ - cd pyopencl - make tests - - cd "$srcdir/pyopencl-python2" - make tests -} - -package_python-pyopencl() { - depends+=('python' 'python-numpy' 'python-mako' 'python-pytools' - 'pyopencl-headers' 'python-setuptools' 'python-cffi') - - cd pyopencl - python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build - - rm -fr "${pkgdir}"/usr/include - - install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE -} - -package_python2-pyopencl() { - depends+=('python2' 'python2-numpy' 'python2-mako' 'python2-pytools' - 'pyopencl-headers' 'python2-setuptools' 'python2-cffi') - - cd pyopencl-python2 - python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build - - rm -fr "${pkgdir}/usr/include/" - - install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE -} - -package_pyopencl-headers() { - cd pyopencl - - install -Dm644 pyopencl/cl/*.cl -t "${pkgdir}"/usr/include/pyopencl - install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE -} Copied: python-pyopencl/repos/community-x86_64/PKGBUILD (from rev 434645, python-pyopencl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-19 23:21:19 UTC (rev 434646) @@ -0,0 +1,73 @@ +# Maintianer: Santiago Torres-Arias <santi...@archlinux.org> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> + +_pypiname=pyopencl +pkgbase=python-pyopencl +pkgname=('python2-pyopencl' 'python-pyopencl' 'pyopencl-headers') +pkgver=2018.2.4 +pkgrel=1 +epoch=1 +pkgdesc="A complete, object-oriented language binding of OpenCL to Python" +arch=('x86_64') +url="https://mathema.tician.de/software/pyopencl" +license=('MIT' 'Apache' 'BSD') +depends=('opencl-icd-loader' 'opencl-headers' 'mesa' 'boost-libs') +makedepends=('ctags' 'boost' 'python-setuptools' 'python2-setuptools' 'python-mako' 'python2-mako' + 'python-numpy' 'python2-numpy' 'python-cffi' 'python2-cffi' 'git' 'pybind11') + checkdepends=('python-six' 'python2-six' 'python-appdirs' 'python2-appdirs') +source=("git+https://github.com/inducer/pyopencl.git?signed#tag=v${pkgver}.signed") +validpgpkeys=("900A958D9A0ACA58B1468F2471AA298BCA171145") # Andreas Ratchke +sha256sums=('SKIP') + +build() { + # we use git clone here to ensure the submodules intialize properly + # FIXME: I could do something more thorough later down the line + git clone pyopencl{,-python2} + + cd "pyopencl" + python3 ./configure.py --python-exe=python3 --cl-pretend-version=1.2 # --boost-python-libname=boost_python3 + make + + cd "${srcdir}/pyopencl-python2" + python2 ./configure.py --python-exe=python2 --cl-pretend-version=1.2 # --boost-python-libname=boost_python + make +} + +check(){ + cd pyopencl + make tests + + cd "$srcdir/pyopencl-python2" + make tests +} + +package_python-pyopencl() { + depends+=('python' 'python-numpy' 'python-mako' 'python-pytools' + 'pyopencl-headers' 'python-setuptools' 'python-cffi') + + cd pyopencl + python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build + + rm -fr "${pkgdir}"/usr/include + + install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_python2-pyopencl() { + depends+=('python2' 'python2-numpy' 'python2-mako' 'python2-pytools' + 'pyopencl-headers' 'python2-setuptools' 'python2-cffi') + + cd pyopencl-python2 + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build + + rm -fr "${pkgdir}/usr/include/" + + install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +package_pyopencl-headers() { + cd pyopencl + + install -Dm644 pyopencl/cl/*.cl -t "${pkgdir}"/usr/include/pyopencl + install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +}