summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c4944afaff..385c197cac5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = python-pymetaclasses
pkgdesc = A collection of MetaClasses for Python
pkgver = 1.3.1
- pkgrel = 1
- url = https://github.com/Paebbels/pyMetaClasses
+ pkgrel = 2
+ url = https://github.com/pyTooling/pyTooling.MetaClasses
arch = any
license = Apache
checkdepends = python-pytest
makedepends = python-setuptools
depends = python
depends = python-pydecor
- source = python-pymetaclasses-1.3.1.tar.gz::https://github.com/Paebbels/pyMetaClasses/archive/v1.3.1.tar.gz
- sha256sums = 54c1265f13304c2b9fbcff96ba10a05690a96685bb55ea39d0f43b82b837ced4
+ source = python-pymetaclasses-1.3.1.tar.gz::https://github.com/pyTooling/pyTooling.MetaClasses/archive/v1.3.1.tar.gz
+ sha256sums = 0fd8a4056be79fb2ec46fb567c06e809f69ad4bbda6650f83d7b1d734b89b7de
pkgname = python-pymetaclasses
diff --git a/PKGBUILD b/PKGBUILD
index aed489d21f8..bad7a982ba3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,31 @@
# Maintainer: xiretza <xiretza+aur@xiretza.xyz>
_pkgname='pyMetaClasses'
+_reponame='pyTooling.MetaClasses'
pkgname=python-${_pkgname,,}
pkgver=1.3.1
-pkgrel=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=('54c1265f13304c2b9fbcff96ba10a05690a96685bb55ea39d0f43b82b837ced4')
+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
}