summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiretza2021-07-20 10:53:50 +0200
committerXiretza2021-07-20 10:53:50 +0200
commit2041fc31c62b5b3b5efce4547026b3eda5b17db6 (patch)
tree86fa13b03608b885fa90af77229f1bdc5b3dfe87
parent3408cab97749a1801396e777301ec53835bec8c5 (diff)
downloadaur-2041fc31c62b5b3b5efce4547026b3eda5b17db6.tar.gz
Update to 2.2.0
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b2d3329d679d..8a842b71482a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-pyattributes
pkgdesc = Implementations of .NET-like attributes realized with Python decorators
- pkgver = 2.1.0
+ pkgver = 2.2.0
pkgrel = 1
url = https://github.com/Paebbels/pyAttributes
arch = any
@@ -8,7 +8,7 @@ pkgbase = python-pyattributes
checkdepends = python-pytest
makedepends = python-setuptools
depends = python-argcomplete
- source = python-pyattributes-2.1.0.tar.gz::https://github.com/Paebbels/pyAttributes/archive/v2.1.0.tar.gz
- sha256sums = ab4b3cef5f4dc2d74ad935594c317300197fb462eab55710a7f1bbfc004396a7
+ source = python-pyattributes-2.2.0.tar.gz::https://github.com/Paebbels/pyAttributes/archive/v2.2.0.tar.gz
+ sha256sums = 58403a1a8c9b2ccf5a70216b882e0f4224df872ba4399e30c230691270ab622b
pkgname = python-pyattributes
diff --git a/PKGBUILD b/PKGBUILD
index 3ba60466783e..af324200e304 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname='pyAttributes'
pkgname=python-${_pkgname,,}
-pkgver=2.1.0
+pkgver=2.2.0
pkgrel=1
pkgdesc="Implementations of .NET-like attributes realized with Python decorators"
arch=(any)
@@ -12,7 +12,7 @@ depends=('python-argcomplete')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('ab4b3cef5f4dc2d74ad935594c317300197fb462eab55710a7f1bbfc004396a7')
+sha256sums=('58403a1a8c9b2ccf5a70216b882e0f4224df872ba4399e30c230691270ab622b')
build() {
cd "$_pkgname-$pkgver"
@@ -21,8 +21,7 @@ build() {
check(){
cd "$_pkgname-$pkgver"
- touch tests/__init__.py
- pytest --override-ini 'python_files=*' tests/
+ pytest tests/
}
package() {