33 lines
839 B
Bash
33 lines
839 B
Bash
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
|
|
|
|
_realname=configobj
|
|
pkgbase="python-${_realname}"
|
|
pkgname=("python-${_realname}")
|
|
pkgver=5.0.6
|
|
pkgrel=5
|
|
pkgdesc="Simple but powerful config file reader and writer for Python"
|
|
arch=('any')
|
|
license=('spdx:BSD-3-Clause')
|
|
url="https://github.com/DiffSK/configobj"
|
|
depends=('python' 'python-six')
|
|
makedepends=(
|
|
'python-build'
|
|
'python-installer'
|
|
'python-setuptools'
|
|
'python-wheel'
|
|
)
|
|
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
|
|
sha256sums=('a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902')
|
|
|
|
build() {
|
|
cd "${_realname}-${pkgver}"
|
|
|
|
python -m build --wheel --skip-dependency-check --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd "${_realname}-${pkgver}"
|
|
|
|
python -m installer --destdir="${pkgdir}" dist/*.whl
|
|
}
|