Date: Wednesday, February 26, 2020 @ 22:41:16 Author: felixonmars Revision: 583471
archrelease: copy trunk to community-x86_64 Added: python-pyrsistent/repos/community-x86_64/LICENCE.mit (from rev 583470, python-pyrsistent/trunk/LICENCE.mit) python-pyrsistent/repos/community-x86_64/PKGBUILD (from rev 583470, python-pyrsistent/trunk/PKGBUILD) Deleted: python-pyrsistent/repos/community-x86_64/LICENCE.mit python-pyrsistent/repos/community-x86_64/PKGBUILD -------------+ LICENCE.mit | 44 ++++++++++++++-------------- PKGBUILD | 89 +++++++++++++++++++++++----------------------------------- 2 files changed, 58 insertions(+), 75 deletions(-) Deleted: LICENCE.mit =================================================================== --- LICENCE.mit 2020-02-26 22:41:00 UTC (rev 583470) +++ LICENCE.mit 2020-02-26 22:41:16 UTC (rev 583471) @@ -1,22 +0,0 @@ -Copyright (c) 2015 Tobias Gustafsson - -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. \ No newline at end of file Copied: python-pyrsistent/repos/community-x86_64/LICENCE.mit (from rev 583470, python-pyrsistent/trunk/LICENCE.mit) =================================================================== --- LICENCE.mit (rev 0) +++ LICENCE.mit 2020-02-26 22:41:16 UTC (rev 583471) @@ -0,0 +1,22 @@ +Copyright (c) 2015 Tobias Gustafsson + +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. \ No newline at end of file Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-26 22:41:00 UTC (rev 583470) +++ PKGBUILD 2020-02-26 22:41:16 UTC (rev 583471) @@ -1,53 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-pyrsistent -pkgname=('python-pyrsistent' 'python2-pyrsistent') -pkgver=0.15.7 -pkgrel=1 -pkgdesc="Persistent/Functional/Immutable data structures" -arch=('x86_64') -license=('MIT') -url="https://github.com/tobgu/pyrsistent" -makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-hypothesis' 'python2-hypothesis') -source=("https://pypi.io/packages/source/p/pyrsistent/pyrsistent-$pkgver.tar.gz" - LICENCE.mit) -sha512sums=('ebd6f4479d3583fc2678c881eedc97889b1e3ef2f0cb8a60d241d5306cc8c2907e3aa50a19f47fb37565794903dc1c823dbf6c3813a93d2e851cb694daa535e3' - '036bd5cc2a62b004576ecc50a84dc7d187d8108f52cb886f7e32bed324327af2dc132100e1c8f1dd2ce35b774f74898020f04a315e5137319deda18a449e791a') - -prepare() { - sed -i 's/<5//g' pyrsistent-$pkgver/setup.py - cp -a pyrsistent-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/pyrsistent-$pkgver - python setup.py build - - cd "$srcdir"/pyrsistent-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/pyrsistent-$pkgver - python setup.py pytest - - cd "$srcdir"/pyrsistent-$pkgver-py2 - python2 setup.py pytest -} - -package_python-pyrsistent() { - depends=('python-six') - - cd pyrsistent-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 ../LICENCE.mit "$pkgdir"/usr/share/licenses/$pkgname/LICENCE.mit -} - -package_python2-pyrsistent() { - depends=('python2-six') - - cd pyrsistent-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 ../LICENCE.mit "$pkgdir"/usr/share/licenses/$pkgname/LICENCE.mit -} Copied: python-pyrsistent/repos/community-x86_64/PKGBUILD (from rev 583470, python-pyrsistent/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-26 22:41:16 UTC (rev 583471) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pyrsistent +pkgver=0.15.7 +pkgrel=2 +pkgdesc="Persistent/Functional/Immutable data structures" +arch=('x86_64') +license=('MIT') +url="https://github.com/tobgu/pyrsistent" +depends=('python-six') +makedepends=('python-setuptools') +checkdepends=('python-pytest' 'python-hypothesis') +source=("https://pypi.io/packages/source/p/pyrsistent/pyrsistent-$pkgver.tar.gz" + LICENCE.mit) +sha512sums=('ebd6f4479d3583fc2678c881eedc97889b1e3ef2f0cb8a60d241d5306cc8c2907e3aa50a19f47fb37565794903dc1c823dbf6c3813a93d2e851cb694daa535e3' + '036bd5cc2a62b004576ecc50a84dc7d187d8108f52cb886f7e32bed324327af2dc132100e1c8f1dd2ce35b774f74898020f04a315e5137319deda18a449e791a') + +prepare() { + sed -i 's/<5//g' pyrsistent-$pkgver/setup.py +} + +build() { + cd pyrsistent-$pkgver + python setup.py build +} + +check() { + cd pyrsistent-$pkgver + python -m pytest +} + +package() { + cd pyrsistent-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 ../LICENCE.mit "$pkgdir"/usr/share/licenses/$pkgname/LICENCE.mit +}