capstone-python: remove package

* capstone-python3: add missing python3 dependency
This commit is contained in:
Michal Vasilek 2022-01-10 19:15:47 +01:00 committed by paper
parent 5a3628edf5
commit e6564d472e
3 changed files with 4 additions and 14 deletions

View file

@ -1 +0,0 @@
capstone

View file

@ -1,10 +1,10 @@
# Template file for 'capstone'
pkgname=capstone
version=4.0.2
revision=3
revision=4
build_style=gnu-makefile
make_use_env=1
hostmakedepends="python-setuptools python3-setuptools"
hostmakedepends="python3-setuptools"
short_desc="Lightweight multi-platform, multi-architecture disassembly framework"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
@ -14,7 +14,6 @@ checksum=7c81d798022f81e7507f1a60d6817f63aa76e489aa4e7055255f21a22f5e526a
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
make -C bindings/python PREFIX=/usr DESTDIR=${DESTDIR} install
make -C bindings/python PREFIX=/usr DESTDIR=${DESTDIR} install3
vlicense LICENSE.TXT LICENSE
}
@ -30,18 +29,9 @@ capstone-devel_package() {
}
}
capstone-python_package() {
short_desc+=" - Python2 bindings"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/python2*
vlicense bindings/python/LICENSE.TXT
}
}
capstone-python3_package() {
short_desc+=" - Python3 bindings"
depends="${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision} python3"
pkg_install() {
vmove usr/lib/python3*
vlicense bindings/python/LICENSE.TXT

View file

@ -29,6 +29,7 @@ replaces="
bzrtools<=2.6.0_4
caja-gksu<=1.20.2_2
california<=0.4.0_4
capstone-python<=4.0.2_3
captain-ballard<=1.0.0_2
clamz<=0.5_4
couchdb<=1.7.1_2