radare2-bindings: 4.0.0 bump

This commit is contained in:
blshkv 2019-11-27 18:50:31 +08:00
parent d7f096068f
commit d9a2be26e4
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 61 additions and 2 deletions

View file

@ -1,2 +1,3 @@
DIST radare2-bindings-3.3.0.tar.gz 1231524 BLAKE2B fa0da3f87ff5156e0533e695a104adeca75e3c0599d1cdf2bf25bed4d4df187af4f781d087598239483be85c7eca569e46dda6539878216d41d5cd3f19f4a5af SHA512 de489892940952d76c415f89d3667c2bd4c9e256a5ffef19a8fbf1ec1552b10834df50fecd5f0c584111ad3c4aeef04045a5eb854d5c91bd00059b5d49d61010
DIST radare2-bindings-3.6.0.tar.gz 1233285 BLAKE2B f57b0765ca3735644ecdc52cd85c2b1e4f54dbc38be8a9f928e3519ca56f5055508d2484881e77ccf7ae12924b9f60dddfc8d82bba6aa31511738b87f61ea053 SHA512 e40dc59bf342eb6b30ee975737538371abda580902edb621f94bed7c5256a10c9555942865ad96c5d663ae1e79e430a7e4e1bf0f1372087124476f41b975db63
DIST radare2-bindings-4.0.0.tar.gz 1243499 BLAKE2B 2dbce3f0f1ccbb17fcf4c5d3ea989928523b220e606a8d8d07dd80850392a630f6faaf148d6803c42544ca58e0e538a27f4ad8e338c936a551516d4f3b4f4151 SHA512 8912f7be79eec3490471727d47d9e6142b2f47f9abc01e6b0e34e17866dd81d8bcd54c6712a95fcb7c1225839deb0ee3d376bc875b6e134427eeec1534438c7f

View file

@ -0,0 +1,58 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
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:* )
"
DEPEND="${RDEPEND}
>=dev-util/radare2-3.2.0
virtual/pkgconfig
>=dev-util/valabind-1.7.0
dev-lang/swig"
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

@ -21,8 +21,8 @@ dev-util/intel-ocl-sdk
~dev-util/pyew-2.0
=dev-util/valabind-1.7*
=dev-util/radare2-3.9*
=dev-libs/radare2-bindings-3.5*
=dev-util/radare2-4.0*
=dev-libs/radare2-bindings-4.0*
dev-lang/vala:0.42
=dev-libs/vala-common-0.42*