This commit is contained in:
blshkv 2020-06-03 08:35:19 +08:00
parent abb7ed9964
commit 93d63cde2f
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
5 changed files with 9 additions and 124 deletions

View file

@ -1,3 +1 @@
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
DIST radare2-bindings-4.3.0.tar.gz 1244128 BLAKE2B c574c8236b5b2d61dc1641a0c065cf0db751b9cf85104b110d709a0888843804540f8d1a2264865f099fba8228e9119987d63dddd7df7a72e99d53dee6f60759 SHA512 4501f6cd740647a31f716226b37f9af9d72c7a5c45b2942ed86a3e4ce198927e6ca30dec4ce50cd3dc6fdf49f288770ebcdd0c59456850717483915f2c3a11d6

View file

@ -1,58 +0,0 @@
# 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

@ -1,58 +0,0 @@
# 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

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
PYTHON_COMPAT=( python2_7 )
PYTHON_COMPAT=( python3_{6,7,8} )
inherit eutils python-single-r1
DESCRIPTION="Language bindings for radare2"
@ -13,7 +13,8 @@ SRC_URI="https://github.com/radare/radare2-bindings/archive/${PV}.tar.gz -> ${P}
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
#https://github.com/radareorg/radare2-bindings/issues/226
#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"
@ -29,7 +30,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}
>=dev-util/radare2-3.2.0
>=dev-util/radare2-4.3.0
virtual/pkgconfig
>=dev-util/valabind-1.7.0
dev-lang/swig"

View file

@ -39,6 +39,8 @@ dev-libs/msgpack
=dev-libs/capstone-4.0*
=dev-libs/capstone-bindings-4.0*
=dev-libs/radare2-bindings-4*
#libvshadow
dev-libs/libcerror
dev-libs/libcthreads