void-packages/srcpkgs/cpuset/template
Alessio Sergi ff27135a86 cpuset: add missing pycompile_module
License is GPL-2.0-only.
2018-10-18 18:40:52 +02:00

19 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
}