Date: Thursday, January 31, 2019 @ 20:07:02 Author: felixonmars Revision: 428786
archrelease: copy trunk to community-x86_64 Added: python-colander/repos/community-x86_64/PKGBUILD (from rev 428785, 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-01-31 20:06:43 UTC (rev 428785) +++ PKGBUILD 2019-01-31 20:07:02 UTC (rev 428786) @@ -1,45 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-colander -pkgname=(python-colander python2-colander) -pkgver=1.5.1 -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=('cb9aa9ddacc3a3bd92aadb260742d85c91419f802c0e0dbd36ed074b8611314fc02d62f73672952c117b5569304794359b49006fb552caf1625846684b154761') - -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 428785, python-colander/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-31 20:07:02 UTC (rev 428786) @@ -0,0 +1,45 @@ +# 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 +}