Date: Saturday, February 2, 2019 @ 18:16:56 Author: felixonmars Revision: 429204
archrelease: copy trunk to community-x86_64 Added: python-colander/repos/community-x86_64/PKGBUILD (from rev 429203, python-colander/trunk/PKGBUILD) Deleted: python-colander/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-02 18:16:36 UTC (rev 429203) +++ PKGBUILD 2019-02-02 18:16:56 UTC (rev 429204) @@ -1,45 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-colander -pkgname=(python-colander python2-colander) -pkgver=1.6 -pkgrel=1 -pkgdesc="A simple schema-based serialization and deserialization library" -url="https://docs.pylonsproject.org/projects/colander/en/latest/" -license=('BSD') -arch=('x86_64') -makedepends=('python-setuptools' 'python2-setuptools' 'python-translationstring' - 'python2-translationstring' 'python-iso8601' 'python2-iso8601' 'python2-enum34') -checkdepends=('python-nose' 'python2-nose') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/Pylons/colander/archive/$pkgver.tar.gz") -sha512sums=('3324affb7219e716ceb5fd92cdb0c54983b78a495a754bc6aa096948f943f2b2805f64c455e00f2e1faa55dc773a8f661c5b7a2533be2110f7f5925e60500862') - -build() { - cd colander-$pkgver - python setup.py build - python2 setup.py build -} - -check() { - cd colander-$pkgver - python setup.py nosetests - python2 setup.py nosetests -} - -package_python-colander() { - depends=('python-translationstring' 'python-iso8601') - - cd colander-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt -} - -package_python2-colander() { - depends=('python2-translationstring' 'python2-iso8601' 'python2-enum34') - - cd colander-$pkgver - python2 setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt -} Copied: python-colander/repos/community-x86_64/PKGBUILD (from rev 429203, python-colander/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-02 18:16:56 UTC (rev 429204) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-colander +pkgname=(python-colander python2-colander) +pkgver=1.7.0 +pkgrel=1 +pkgdesc="A simple schema-based serialization and deserialization library" +url="https://docs.pylonsproject.org/projects/colander/en/latest/" +license=('BSD') +arch=('x86_64') +makedepends=('python-setuptools' 'python2-setuptools' 'python-translationstring' + 'python2-translationstring' 'python-iso8601' 'python2-iso8601' 'python2-enum34') +checkdepends=('python-nose' 'python2-nose') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/Pylons/colander/archive/$pkgver.tar.gz") +sha512sums=('6f1862c8d4eb615365fe9b833ea679711e4af9fea8060d3da05ca31dca67ba70fef5c6a93ea3dd7d006cf894d465431296fc55902712ac8b5f95463ec4a55d9e') + +build() { + cd colander-$pkgver + python setup.py build + python2 setup.py build +} + +check() { + cd colander-$pkgver + python setup.py nosetests + python2 setup.py nosetests +} + +package_python-colander() { + depends=('python-translationstring' 'python-iso8601') + + cd colander-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt +} + +package_python2-colander() { + depends=('python2-translationstring' 'python2-iso8601' 'python2-enum34') + + cd colander-$pkgver + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt +}