summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5138251b202..bad7a982ba3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,31 @@
# Maintainer: xiretza <xiretza+aur@xiretza.xyz>
_pkgname='pyMetaClasses'
+_reponame='pyTooling.MetaClasses'
pkgname=python-${_pkgname,,}
-pkgver=1.3.0
-pkgrel=1
+pkgver=1.3.1
+pkgrel=2
pkgdesc="A collection of MetaClasses for Python"
arch=(any)
-url="https://github.com/Paebbels/pyMetaClasses"
+url="https://github.com/pyTooling/$_reponame"
license=('Apache')
+depends=('python' 'python-pydecor')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('eaec84f87644d2cf5fdedfbb14b570b6e483e385f42004262c462a6b2c135301')
+sha256sums=('0fd8a4056be79fb2ec46fb567c06e809f69ad4bbda6650f83d7b1d734b89b7de')
build() {
- cd "$_pkgname-$pkgver"
+ cd "$_reponame-$pkgver"
python setup.py build
}
check(){
- cd "$_pkgname-$pkgver"
+ cd "$_reponame-$pkgver"
pytest tests/
}
package() {
- cd "$_pkgname-$pkgver"
+ cd "$_reponame-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}