diff options
author | Caleb Maclennan | 2022-01-05 13:00:50 +0300 |
---|---|---|
committer | Caleb Maclennan | 2022-01-05 13:00:50 +0300 |
commit | 9e2ac0f607412a4570427e2f25e095b062fab6a1 (patch) | |
tree | 92f3f5f53c6da33e7bdea2c231aaaf70dc42e67e | |
parent | 8efddb44f70592769fbbffba22a1aa5364ae0e14 (diff) | |
download | aur-9e2ac0f607412a4570427e2f25e095b062fab6a1.tar.gz |
upgpkg: python-cattrs 1.10.0-1
upstream release
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 14 insertions, 7 deletions
@@ -1,14 +1,15 @@ pkgbase = python-cattrs pkgdesc = Complex custom class converters for attrs - pkgver = 1.9.0 - pkgrel = 2 + pkgver = 1.10.0 + pkgrel = 1 url = https://github.com/Tinche/cattrs arch = any license = MIT + checkdepends = python-pytest makedepends = python-setuptools depends = python depends = python-attrs - source = https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-1.9.0.tar.gz - sha256sums = 1ef33f089e0a494e8d1b487508356f055c865b1955b125c00c991a4358543c80 + source = https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-1.10.0.tar.gz + sha256sums = 211800f725cdecedcbcf4c753bbd22d248312b37d130f06045434acb7d9b34e1 pkgname = python-cattrs @@ -2,8 +2,8 @@ _pipname=cattrs pkgname=python-${_pipname,,} -pkgver=1.9.0 -pkgrel=2 +pkgver=1.10.0 +pkgrel=1 pkgdesc='Complex custom class converters for attrs' arch=(any) url="https://github.com/Tinche/$_pipname" @@ -11,15 +11,21 @@ license=(MIT) depends=(python python-attrs) makedepends=(python-setuptools) +checkdepends=(python-pytest) _archive="$_pipname-$pkgver" source=("https://files.pythonhosted.org/packages/source/${_pipname::1}/$_pipname/$_archive.tar.gz") -sha256sums=('1ef33f089e0a494e8d1b487508356f055c865b1955b125c00c991a4358543c80') +sha256sums=('211800f725cdecedcbcf4c753bbd22d248312b37d130f06045434acb7d9b34e1') build() { cd "$_archive" python setup.py build } +build() { + cd "$_archive" + python setup.py test +} + package() { cd "$_archive" python setup.py install --root="$pkgdir" --optimize=1 --skip-build |