[arch-commits] Commit in unicorn/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Nov 9 19:38:39 UTC 2019
Date: Saturday, November 9, 2019 @ 19:38:39
Author: arojas
Revision: 524871
Drop python2
Modified:
unicorn/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-09 19:27:13 UTC (rev 524870)
+++ PKGBUILD 2019-11-09 19:38:39 UTC (rev 524871)
@@ -1,7 +1,7 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
pkgbase=unicorn
-pkgname=('unicorn' 'python-unicorn' 'python2-unicorn' 'ruby-unicorn-engine')
+pkgname=('unicorn' 'python-unicorn' 'ruby-unicorn-engine')
pkgver=1.0.1
pkgrel=7
pkgdesc='Lightweight, multi-platform, multi-architecture CPU emulator framework based on QEMU'
@@ -8,7 +8,7 @@
url='https://www.unicorn-engine.org'
arch=('x86_64')
license=('GPL2')
-makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools' 'ruby' 'ruby-rdoc')
+makedepends=('python' 'python2' 'python-setuptools' 'ruby' 'ruby-rdoc')
checkdepends=('cmocka')
options=('staticlibs' '!emptydirs')
source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/unicorn-engine/unicorn/archive/${pkgver}.tar.gz
@@ -21,8 +21,6 @@
sed 's|-O3|-O2|g' -i Makefile qemu/configure
sed 's|-g ||g' -i qemu/configure
sed 's|UNICORN_DEBUG ?= yes|UNICORN_DEBUG ?= no|g' -i config.mk
- cp -ra bindings/python{,2}
- sed -r 's|(python)$|\12|' -i bindings/python2/*.py
patch -Np1 < ../unicorn-1.0.1-ruby-gem-rename.patch
}
@@ -36,9 +34,6 @@
(cd bindings/python
python setup.py build
)
- (cd bindings/python2
- python2 setup.py build
- )
(cd bindings/ruby/unicorn_gem
gem build unicorn-engine.gemspec
)
@@ -64,13 +59,6 @@
install -Dm 644 sample* shellcode.py -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
}
-package_python2-unicorn() {
- depends=('python2' 'unicorn')
- cd ${pkgbase}-${pkgver}/bindings/python2
- python2 setup.py install --root="${pkgdir}" -O1 --skip-build
- install -Dm 644 sample* shellcode.py -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
package_ruby-unicorn-engine() {
depends=('ruby' 'ruby-rdoc' 'unicorn')
replaces=('ruby-unicorn')
More information about the arch-commits
mailing list