summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 90d49cfb5f43a10b7231d26e3d0ce81629fc8aff (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
# Maintainer: Philip May <eniak.info@gmail.com>

pkgname=python-configparser
_pkgname=configparser
pkgver=5.3.0
pkgrel=1
pkgdesc='backport of configparser from Python 3'
arch=('any')
url='https://github.com/jaraco/configparser/'
license=('MIT')
depends=()
optdepends=()
makedepends=(
    'python-setuptools'
    'python-pip'
    'python-wheel'
    )
source=("git+https://github.com/jaraco/${_pkgname}.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
    cd "${srcdir}/${_pkgname}"
    python setup.py build
}

package() {
    cd "${srcdir}/${_pkgname}"
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}