mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 12:54:32 +02:00
29 lines
858 B
Text
29 lines
858 B
Text
# Maintainer: Michael Koloberdin <koloberdin@gmail.com>
|
|
pkgname=setconf
|
|
pkgver=0.7.7
|
|
pkgrel=7
|
|
pkgdesc="Utility for easily changing settings in configuration files"
|
|
url="https://setconf.roboticoverlords.org/"
|
|
arch="noarch"
|
|
license="GPL-2.0-only"
|
|
depends="python3"
|
|
makedepends="python3-dev py3-gpep517 py3-setuptools"
|
|
subpackages="$pkgname-doc $pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/s/setconf/setconf-$pkgver.tar.gz"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
install -Dm644 "$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
|
|
}
|
|
|
|
sha512sums="
|
|
324fe0ae40e354f6d6afdf3e2be31888086922e4aeded44c5c36d6dbad4e697232cd3b18080498a3a9ea45c1409d29fc3c764a3cf0ea4d98ae758cba9973b74f setconf-0.7.7.tar.gz
|
|
"
|