vp-build/srcpkgs/cpuset/template

20 lines
619 B
Bash

# Template file for 'cpuset'
pkgname=cpuset
version=1.6pre1
revision=2
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=f05baaeef222265e12f6c890d19c841237fdc641ddcd21abf76b2a189d45a6ac
post_extract() {
sed -i 's|share/doc/packages/cpuset|share/doc/cpuset|' setup.py
}