mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
libbytesize-python3: noarch=yes, add missing pycompile_module, fix depends
This commit is contained in:
parent
892dc83c44
commit
59649e5e4f
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libbytesize'
|
# Template file for 'libbytesize'
|
||||||
pkgname=libbytesize
|
pkgname=libbytesize
|
||||||
version=1.3
|
version=1.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="python3"
|
hostmakedepends="python3"
|
||||||
makedepends="mpfr-devel pcre-devel"
|
makedepends="mpfr-devel pcre-devel"
|
||||||
|
@ -28,8 +28,10 @@ libbytesize-devel_package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
libbytesize-python3_package() {
|
libbytesize-python3_package() {
|
||||||
depends="python3 ${sourcepkg}>=${version}_${revision}"
|
noarch=yes
|
||||||
short_desc+=" - python3 bindings"
|
pycompile_module="bytesize"
|
||||||
|
depends="python3-six ${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - Python3 bindings"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue