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.8
|
|
pkgrel=1
|
|
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=('6f704434a07dc4f4dc7c9a745172c1cad449feb548febd9f7fe362629c627a97')
|
|
|
|
build() {
|
|
cd "${_realname}-${pkgver}"
|
|
|
|
python -m build --wheel --skip-dependency-check --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd "${_realname}-${pkgver}"
|
|
|
|
python -m installer --destdir="${pkgdir}" dist/*.whl
|
|
}
|