diff options
author | Caleb Maclennan | 2021-12-11 14:01:27 +0300 |
---|---|---|
committer | Caleb Maclennan | 2021-12-11 14:01:27 +0300 |
commit | 51ec5f72a2c1e4fc063e14449038b023c58ffaf2 (patch) | |
tree | a024effe97c71606d84c07fd2dcec770f5462124 | |
parent | 2a4b2c43bfc08db9c596e96a2e809194fb7b6950 (diff) | |
download | aur-51ec5f72a2c1e4fc063e14449038b023c58ffaf2.tar.gz |
upgpkg: python-cattrs 1.9.0-1
upstream release
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = python-cattrs pkgdesc = Complex custom class converters for attrs - pkgver = 1.8.0 + pkgver = 1.9.0 pkgrel = 1 url = https://github.com/Tinche/cattrs arch = any @@ -8,7 +8,7 @@ pkgbase = python-cattrs makedepends = python-setuptools depends = python depends = python-attrs - source = https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-1.8.0.tar.gz - sha256sums = 5c121ab06a7cac494813c228721a7feb5a6423b17316eeaebf13f5a03e5b0d53 + source = https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-1.9.0.tar.gz + sha256sums = 1ef33f089e0a494e8d1b487508356f055c865b1955b125c00c991a4358543c80 pkgname = python-cattrs @@ -2,7 +2,7 @@ _pipname=cattrs pkgname=python-${_pipname,,} -pkgver=1.8.0 +pkgver=1.9.0 pkgrel=1 pkgdesc='Complex custom class converters for attrs' arch=(any) @@ -11,16 +11,17 @@ license=(MIT) depends=(python python-attrs) makedepends=(python-setuptools) -source=("https://files.pythonhosted.org/packages/source/${_pipname::1}/$_pipname/$_pipname-$pkgver.tar.gz") -sha256sums=('5c121ab06a7cac494813c228721a7feb5a6423b17316eeaebf13f5a03e5b0d53') +_archive="$_pipname-$pkgver" +source=("https://files.pythonhosted.org/packages/source/${_pipname::1}/$_pipname/$_archive.tar.gz") +sha256sums=('1ef33f089e0a494e8d1b487508356f055c865b1955b125c00c991a4358543c80') build() { - cd "$_pipname-$pkgver" + cd "$_archive" python setup.py build } package() { - cd "$_pipname-$pkgver" + cd "$_archive" python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE } |