community/py-attrs: upgrade to 18.1.0 and fix makedepends

py-attrs does not need pytest to build
This commit is contained in:
Roberto Oliveira 2018-05-19 15:04:29 +00:00
parent 15cc556b97
commit ee9e1dcc9f

View File

@ -1,13 +1,13 @@
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch> # Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch> # Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=py-attrs pkgname=py-attrs
pkgver=17.4.0 pkgver=18.1.0
pkgrel=1 pkgrel=0
pkgdesc="Python classes without boilerplate" pkgdesc="Python classes without boilerplate"
url="http://www.attrs.org" url="http://www.attrs.org"
arch="noarch" arch="noarch"
license="MIT" license="MIT"
makedepends="python3-dev python2-dev pytest py2-setuptools" makedepends="python3-dev python2-dev py2-setuptools"
subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2" subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2"
source="py-attrs-$pkgver.tar.gz::https://github.com/python-attrs/attrs/archive/$pkgver.tar.gz" source="py-attrs-$pkgver.tar.gz::https://github.com/python-attrs/attrs/archive/$pkgver.tar.gz"
builddir="$srcdir/attrs-$pkgver" builddir="$srcdir/attrs-$pkgver"
@ -48,4 +48,4 @@ _py3() {
_py python3 _py python3
} }
sha512sums="14a512009cefbadc66972380f3beeb80e28daebeef467838c3506fd33a65e555666434a2d8f7294291b431e8b787aea370e267045f30a2253463e79d0e6caa3a py-attrs-17.4.0.tar.gz" sha512sums="89fb46c03459457f0d25616b10f9d2f28670d676b54484090c5d974a7c801f3a14a65922f2fbc85dc0d54e222a8da7dc08ab1266f234cb20146bb4ad10d55f4a py-attrs-18.1.0.tar.gz"