radare2-bindings: v1.2.1 bump

This commit is contained in:
blshkv 2017-02-19 22:54:24 +08:00
parent 83ba252af3
commit 64bed85ca3
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
4 changed files with 72 additions and 3 deletions

View file

@ -1,2 +1,3 @@
DIST radare2-bindings-0.10.2.tar.gz 992000 SHA256 fd3762b5bb75501218f6d967120a1b51ec86d3c6aaad23f620c21821a1f51081 SHA512 7e17e2e5827b6ce3ab756bd5bc20c3c8d57a660234f9c82b5f4717c427f02beb43b88203bc326ca1bba60b73feaa6a26652c93778b7b7cdd7355619dd05016fd WHIRLPOOL 3f52d06dfbd67089ce98eef303ad28441b07b1a1e6dc008552382b2c44bedd0bb15f86453defb62687f11473e7aedfe25933397b4bdd1fa2a5fc0e3c1a170543
DIST radare2-bindings-0.10.6.tar.gz 1203479 SHA256 c7d0648d6fcd55cc986f0402b73986f8547a34f11a1ccd941249cf40f2ac0479 SHA512 7505eaffb655562f0431f88c5f8c022574b387ebf80282e6a2f338384fe2a0cece89ec1fa076f16f8bf958b82255b6d99cc431e27e0fd39b3542ef5a3b0a605e WHIRLPOOL b80fd3ab40a87d817eaeee7c4d0871c78816b1d99f6fbec6060b15cfeceed17df52cd1f18ff271c14f78c7fd464510cc769f5bd644fce3a9a01c13e2e6af9386
DIST radare2-bindings-1.2.1.tar.gz 1171142 SHA256 7ca75b7b0694fc790b956034f8c792b8aec4ac627108a949a2bd789632ac825d SHA512 fa0283c7018355f07f0fb1aa993846187c005885c071743b153f0f3b5071f211af2c2f614c443958ebeb2c79ea42934f32c80fb4688a8107db3f309e03bd504c WHIRLPOOL 1f566df34a00ea68e15bbbb840d5c2a7399b64bffe5e7df721418649dc41749f2a046ee252949d54176e2aa17d994e307876db1b73b3a652d2a93ce1a05dae04

View file

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -26,7 +26,7 @@ RDEPEND="
guile? ( dev-scheme/guile:* )
lua? ( >=dev-lang/lua-5.1.4:* )
php5? ( >=dev-lang/php-5.3.8:* )
ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:2.1 ) )
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.2 ) )
"
DEPEND="${RDEPEND}

View file

@ -0,0 +1,68 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit eutils python-single-r1
DESCRIPTION="Language bindings for radare2"
HOMEPAGE="http://www.radare.org"
HOMEPAGE="https://github.com/radare/radare2-bindings"
SRC_URI="https://github.com/radare/radare2-bindings/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
#full set: "ctypes cxx guile java lua node-ffi perl php5 python ruby"
IUSE="ctypes cxx guile lua perl php5 python ruby"
#QA_MULTILIB_PATHS="usr/lib/ruby/1.9.1/r2/.*"
RDEPEND="
cxx? ( sys-devel/gcc:*[cxx] )
perl? ( dev-lang/perl )
guile? ( dev-scheme/guile:* )
lua? ( >=dev-lang/lua-5.1.4:* )
php5? ( >=dev-lang/php-5.3.8:* )
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.2 ) )
"
DEPEND="${RDEPEND}
~dev-util/radare2-${PV}
virtual/pkgconfig
dev-util/valabind
dev-lang/swig
>=dev-lang/vala-0.14"
src_prepare(){
epatch "${FILESDIR}/01_use_python_2.7.patch"
#https://github.com/radare/radare2-bindings/issues/145
sed -i "s| test -f |# test -f |g" Makefile || die
eapply_user
}
src_configure(){
local myconf
local mylang
use php5 && myconf="php"
for mylang in ctypes cxx guile lua perl python ruby; do
if use $mylang; then
[ -z "$myconf" ] || myconf+=","
myconf+="$mylang"
fi
done
#not included languages will be disabled
econf --enable="$myconf"
}
src_install() {
# emake install INSTALL_ROOT="${D}"
default
python_optimize
}

View file

@ -3,7 +3,7 @@
~dev-libs/distorm64-3.3.4
#bokken
~dev-libs/radare2-bindings-0.10.6
~dev-libs/radare2-bindings-1.2.1
~dev-libs/libguytools2-2.0.1