mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
# Maintainer: Thomas Liske <thomas@fiasko-nw.net>
|
|
pkgname=ifstate
|
|
pkgver=1.12.0
|
|
pkgrel=0
|
|
pkgdesc="Manage host interface settings in a declarative manner"
|
|
url="https://ifstate.net/"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="iproute2
|
|
python3
|
|
py3-jsonschema
|
|
py3-pyroute2
|
|
py3-setproctitle
|
|
py3-yaml"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
options="!check" # no tests available
|
|
source="https://files.pythonhosted.org/packages/source/i/ifstate/ifstate-$pkgver.tar.gz
|
|
ifstate.conf
|
|
ifstate.initd
|
|
"
|
|
subpackages="$pkgname-openrc $pkgname-pyc"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
install -Dm755 "$srcdir"/ifstate.conf "$pkgdir"/etc/modprobe.d/ifstate.conf
|
|
install -Dm755 "$srcdir"/ifstate.initd "$pkgdir"/etc/init.d/ifstate
|
|
}
|
|
|
|
sha512sums="
|
|
ffe1cbd50513fcebf4a3ee4d4154e08649c18b41676067111f86590724840cd848249a6064ce75aa3b99cc0763d18e3c2f66b5fbcf1b59a3f49ae8d4849b52fa ifstate-1.12.0.tar.gz
|
|
dfc31dc7452c63ec18d368803ffb3bef1cd96d98345d0c5ef1baeb8b2819130b504d3e6e82d99ee86fa18d4576b7927d0b80d6d79f9f20e388e07faa09a87285 ifstate.conf
|
|
e583c764c65dbf00ce6a4269cef5d8a78c2ec47851671cc25bbebd2d6095c42f0a10eccfd021728e05b3b67d8b950f9e4359da63226da551b8dc5ebd5d8aa0ef ifstate.initd
|
|
"
|