diff options
author | Michael Laß | 2022-06-22 21:40:04 +0200 |
---|---|---|
committer | Michael Laß | 2022-06-22 21:40:04 +0200 |
commit | a961172cd7b65df493d307b743b9ce76d5f8fc94 (patch) | |
tree | 9ab554d0c954a4356df697a143e6b500a6b22b0b | |
download | aur-a961172cd7b65df493d307b743b9ce76d5f8fc94.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f7c6b4f088be --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = python-dotmap + pkgdesc = Ordered, dynamically-expandable dot-access dictionary + pkgver = 1.3.30 + pkgrel = 1 + url = https://github.com/drgrib/dotmap + arch = any + license = MIT + makedepends = python-setuptools + source = https://files.pythonhosted.org/packages/source/d/dotmap/dotmap-1.3.30.tar.gz + sha256sums = 5821a7933f075fb47563417c0e92e0b7c031158b4c9a6a7e56163479b658b368 + +pkgname = python-dotmap diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..84991333ff80 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Michael Lass <bevan@bi-co.net> + +# This PKGBUILD is maintained on github: +# https://github.com/michaellass/AUR + +pkgname=python-dotmap +_name=dotmap +pkgver=1.3.30 +pkgrel=1 +pkgdesc="Ordered, dynamically-expandable dot-access dictionary" +arch=('any') +url="https://github.com/drgrib/dotmap" +license=('MIT') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('5821a7933f075fb47563417c0e92e0b7c031158b4c9a6a7e56163479b658b368') + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |