diff options
author | Kyle Manna | 2020-07-21 21:59:54 -0700 |
---|---|---|
committer | Kyle Manna | 2020-07-21 21:59:54 -0700 |
commit | 61a55ac216245095683f259f4322cf70566efc60 (patch) | |
tree | 3eea6bc682333226fa783ba1932c57b2d326e581 | |
download | aur-61a55ac216245095683f259f4322cf70566efc60.tar.gz |
release: v3.0.5
* Initial release.
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..998859efa926 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-class-registry + pkgdesc = The intersection of the Registry and Factory patterns + pkgver = 3.0.5 + pkgrel = 1 + url = https://github.com/todofixthis/class-registry + arch = any + license = MIT + depends = python + source = https://github.com/todofixthis/class-registry/archive/3.0.5.tar.gz + sha512sums = 324171cbf14132e02c58026d90c87d408fd321d95258cf8cd66de472a125177c4131ca1e47fad279db3384a8a3a50832eb1287a4b577c76c79a9391fa1d998c6 + +pkgname = python-class-registry + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..45bf1305a11d --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*.xz +*.tar.gz +*.tar.zst +*.zip +/src +/pkg diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..994ce047d6a7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com> +pkgname=python-class-registry +_pkgname=class-registry +pkgver=3.0.5 +pkgrel=1 +pkgdesc='The intersection of the Registry and Factory patterns' +url='https://github.com/todofixthis/class-registry' +depends=('python') +optdepends=() +license=('MIT') +arch=('any') +source=("https://github.com/todofixthis/${_pkgname}/archive/${pkgver}.tar.gz") +sha512sums=('324171cbf14132e02c58026d90c87d408fd321d95258cf8cd66de472a125177c4131ca1e47fad279db3384a8a3a50832eb1287a4b577c76c79a9391fa1d998c6') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python3 setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + |