diff options
author | Alex Wicks | 2021-07-08 19:18:14 +0100 |
---|---|---|
committer | Alex Wicks | 2021-07-08 19:18:14 +0100 |
commit | 225da6253d4bc2cbdf96330679233ab63bc76abe (patch) | |
tree | 7a3d2de639b64712295121026c88547452e22b61 /PKGBUILD | |
download | aur-python-configize.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d4fdf053b935 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Alex Wicks <alex@awicks.io> (https://aur.archlinux.org/account/aw1cks) +pkgname='python-configize' +_name='Configize' +pkgver=1.0.1 +pkgrel=0 +pkgdesc='Load YAML configuration respecting XDG' +arch=(any) +url="https://gitlab.com/aw1cks/${pkgname}" +license=('AGPL3') +groups=() +depends=( + 'python>=3.6' + 'python-xdg' + 'python-yaml' +) +provides=() +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-$pkgver.tar.gz") +sha256sums=('80e0961540153c6ac76b3e56f18e6955882ac5b7296f69e0c76bc2e0289b8317') + +build() { + cd "${_name}-${pkgver}" + python setup.py build +} + +package() { + cd "${_name}-${pkgver}" + export PYTHONHASHSEED=0 + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |