mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
parent
85fb0503ed
commit
796046a13c
2 changed files with 29 additions and 0 deletions
28
srcpkgs/python-prctl/template
Normal file
28
srcpkgs/python-prctl/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'python-prctl'
|
||||||
|
pkgname=python-prctl
|
||||||
|
version=1.7
|
||||||
|
revision=1
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="prctl"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
makedepends="libcap-devel python-devel python3-devel"
|
||||||
|
depends="python"
|
||||||
|
short_desc="Python2 interface for the Linux prctl syscall"
|
||||||
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
|
license="GPL-3+"
|
||||||
|
homepage="https://github.com/seveas/python-prctl"
|
||||||
|
distfiles="https://github.com/seveas/python-prctl/archive/v${version}.tar.gz"
|
||||||
|
checksum=03bb346430f5ffa707f14de5a3796936f64d627cd07c8e97135d100598bf38a5
|
||||||
|
|
||||||
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" ${makedepends}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
python3-prctl_package() {
|
||||||
|
pycompile_module="prctl"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-prctl
Symbolic link
1
srcpkgs/python3-prctl
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-prctl
|
Loading…
Add table
Reference in a new issue