unicorn-python: remove package
* python2 bindings, unused
This commit is contained in:
parent
997d81aeb1
commit
9a3aebfc71
3 changed files with 5 additions and 20 deletions
|
@ -281,6 +281,7 @@ replaces="
|
||||||
python-pytest-relaxed<=1.1.2_2
|
python-pytest-relaxed<=1.1.2_2
|
||||||
python-requests<=2.26.0_2
|
python-requests<=2.26.0_2
|
||||||
python-sqlite<=2.8.3_1
|
python-sqlite<=2.8.3_1
|
||||||
|
python-unicorn>=0
|
||||||
python-urllib3<=1.26.6_2
|
python-urllib3<=1.26.6_2
|
||||||
python-xlib<0.29_1
|
python-xlib<0.29_1
|
||||||
python3-Django<=3.0.7_2
|
python3-Django<=3.0.7_2
|
||||||
|
@ -342,6 +343,7 @@ replaces="
|
||||||
traverso<=0.49.6_2
|
traverso<=0.49.6_2
|
||||||
ttyload-git<=20141117_4
|
ttyload-git<=20141117_4
|
||||||
tuxc<=1.1_3
|
tuxc<=1.1_3
|
||||||
|
unicorn-python<=1.0.2_2
|
||||||
urlmatch-git<=20141116_2
|
urlmatch-git<=20141116_2
|
||||||
uwsgi-python<=2.0.18_3
|
uwsgi-python<=2.0.18_3
|
||||||
v8<=3.24.35.33_4
|
v8<=3.24.35.33_4
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
unicorn
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkgname=unicorn
|
pkgname=unicorn
|
||||||
version=1.0.2
|
version=1.0.2
|
||||||
revision=2
|
revision=2
|
||||||
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
|
hostmakedepends="python3-devel python3-setuptools"
|
||||||
short_desc="Lightweight multi-platform, multi-architecture CPU emulator framework"
|
short_desc="Lightweight multi-platform, multi-architecture CPU emulator framework"
|
||||||
maintainer="Piraty <piraty1@inbox.ru>"
|
maintainer="Piraty <piraty1@inbox.ru>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
|
@ -19,18 +19,13 @@ do_build() {
|
||||||
make $makejobs
|
make $makejobs
|
||||||
make $makejobs -C bindings
|
make $makejobs -C bindings
|
||||||
cd bindings/python
|
cd bindings/python
|
||||||
for pyver in $py2_ver $py3_ver; do
|
python3 setup.py build
|
||||||
python${pyver} setup.py build --build-base=build-${pyver}
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
cd bindings/python
|
cd bindings/python
|
||||||
for pyver in $py2_ver $py3_ver; do
|
python3 setup.py build install --prefix=/usr --root=${DESTDIR}
|
||||||
python${pyver} setup.py build --build-base=build-${pyver} \
|
|
||||||
install --prefix=/usr --root=${DESTDIR}
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unicorn-devel_package() {
|
unicorn-devel_package() {
|
||||||
|
@ -44,20 +39,9 @@ unicorn-devel_package() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unicorn-python_package() {
|
|
||||||
replaces="python-unicorn>=0"
|
|
||||||
depends="${sourcepkg}-devel>=${version}_${revision} python-setuptools"
|
|
||||||
short_desc+=" - Python2 bindings"
|
|
||||||
pycompile_module="unicorn"
|
|
||||||
pkg_install() {
|
|
||||||
vmove ${py2_sitelib}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
unicorn-python3_package() {
|
unicorn-python3_package() {
|
||||||
depends="${sourcepkg}-devel>=${version}_${revision} python3-setuptools"
|
depends="${sourcepkg}-devel>=${version}_${revision} python3-setuptools"
|
||||||
short_desc+=" - Python3 bindings"
|
short_desc+=" - Python3 bindings"
|
||||||
pycompile_module="unicorn"
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove ${py3_sitelib}
|
vmove ${py3_sitelib}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue