void-packages/srcpkgs/cpuset/template

20 lines
615 B
Bash

# Template file for 'cpuset'
pkgname=cpuset
version=1.6
revision=1
noarch=yes
build_style=python3-module
pycompile_module="cpuset"
hostmakedepends="python3-setuptools"
depends="python3-future"
short_desc="Wrapper to make kernel cpusets facilities easier to use"
maintainer="Simon Zelazny <zelazny@mailbox.org>"
license="GPL-2.0-only"
homepage="https://github.com/lpechacek/cpuset"
distfiles="https://github.com/lpechacek/cpuset/archive/v${version}.tar.gz"
checksum=61702a7ad9acb9f0ff30abd37cc74dbae52095f265a89aacee99f42a61ac2512
post_extract() {
sed -i 's|share/doc/packages/cpuset|share/doc/cpuset|' setup.py
}