Date: Wednesday, August 31, 2016 @ 16:22:19 Author: felixonmars Revision: 275616
archrelease: copy trunk to extra-any Added: python-attrs/repos/extra-any/PKGBUILD (from rev 275615, python-attrs/trunk/PKGBUILD) Deleted: python-attrs/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-08-31 16:22:03 UTC (rev 275615) +++ PKGBUILD 2016-08-31 16:22:19 UTC (rev 275616) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-attrs -pkgname=('python-attrs' 'python2-attrs') -pkgver=16.0.0 -pkgrel=1 -pkgdesc="Attributes without boilerplate." -arch=('any') -license=('MIT') -url="https://attrs.readthedocs.org/" -makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-zope-interface' - 'python2-zope-interface' 'python-hypothesis' 'python2-hypothesis') -source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz") -md5sums=('5bcdd418f6e83e580434c63067c08a73') - -prepare() { - cp -a attrs-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/attrs-$pkgver - python setup.py build - - cd "$srcdir"/attrs-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/attrs-$pkgver - python setup.py ptr - - cd "$srcdir"/attrs-$pkgver-py2 - python2 setup.py ptr -} - -package_python-attrs() { - depends=('python') - - cd attrs-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -package_python2-attrs() { - depends=('python2') - - cd attrs-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-attrs/repos/extra-any/PKGBUILD (from rev 275615, python-attrs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-08-31 16:22:19 UTC (rev 275616) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-attrs +pkgname=('python-attrs' 'python2-attrs') +pkgver=16.1.0 +pkgrel=1 +pkgdesc="Attributes without boilerplate." +arch=('any') +license=('MIT') +url="https://attrs.readthedocs.org/" +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-zope-interface' + 'python2-zope-interface' 'python-hypothesis' 'python2-hypothesis') +source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz") +md5sums=('5bc532dde76f34ade746debabdfe1662') + +prepare() { + cp -a attrs-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/attrs-$pkgver + python setup.py build + + cd "$srcdir"/attrs-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/attrs-$pkgver + python setup.py ptr + + cd "$srcdir"/attrs-$pkgver-py2 + python2 setup.py ptr +} + +package_python-attrs() { + depends=('python') + + cd attrs-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +package_python2-attrs() { + depends=('python2') + + cd attrs-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}