summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 90a9076c1f1f6b5aba0a34271a97c90843477873 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Philip May <eniak.info@gmail.com>
# Maintainer: Gustavo Rehermann <rehermann6046@gmail.com>

pkgname=python-configparser
_pkgname=configparser
pkgver=7.1.0
pkgrel=1
pkgdesc="Backport of configparser from Python's stdlib."
arch=('any')
url='https://github.com/jaraco/configparser/'
license=('MIT')
depends=('python')
makedepends=(
	'python-build'
	'python-installer'
	'python-wheel'
	'python-setuptools-scm'
	'git'
)
source=("git+https://github.com/jaraco/${_pkgname}.git#tag=v${pkgver}")
sha256sums=('4a27ed6254dc4858774c6c02f224f283477942278510094c49dd8108b27b8fa5')

build() {
	cd "${srcdir}/${_pkgname}"
	python -m build --wheel --no-isolation
}

package() {
	cd "${srcdir}/${_pkgname}"
	python -m installer --destdir="$pkgdir" dist/*.whl
}