ayaports/unmaintained/py3-configparser/APKBUILD

29 lines
860 B
Text
Raw Permalink Normal View History

2023-01-11 00:40:45 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-configparser
2021-06-04 15:24:22 +00:00
_pkgname=configparser
pkgver=3.7.4
pkgrel=0
pkgdesc="This library brings the updated configparser from Python 3.5 to Python 2.6-3.5"
url="https://docs.python.org/3/library/configparser.html"
arch="noarch"
license="MIT"
2023-01-11 00:40:45 +00:00
makedepends="python3-dev py3-setuptools"
2021-06-04 15:24:22 +00:00
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
2023-01-11 00:40:45 +00:00
python3 setup.py install --prefix=/usr --root="$pkgdir"
2021-06-04 15:24:22 +00:00
}
sha512sums="205a7bc921ccfb3df5a25afaf2f5ab78d3a5a92bfd2c9c78098e8d009c1fe8d431b8bf09d2da44f7ebf172e912121619dc7bbfadc74f355133f8d32bc42a8b00 configparser-3.7.4.tar.gz"