pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Imported py-radare2 in pkgsrc as devel/py-radare2
Module Name: pkgsrc-wip
Committed By: Pierre Pronchery <khorben%defora.org@localhost>
Pushed By: khorben
Date: Mon Nov 16 02:40:56 2015 +0100
Changeset: 32965fb468396fb3e372d6723a1edab637adecff
Modified Files:
Makefile
Removed Files:
py-radare2/DESCR
py-radare2/Makefile
py-radare2/PLIST
py-radare2/buildlink3.mk
py-radare2/distinfo
py-radare2/patches/patch-do-swig.sh
py-radare2/patches/patch-python_Makefile
Log Message:
Imported py-radare2 in pkgsrc as devel/py-radare2
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=32965fb468396fb3e372d6723a1edab637adecff
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
py-radare2/DESCR | 4 ----
py-radare2/Makefile | 31 -------------------------------
py-radare2/PLIST | 8 --------
py-radare2/buildlink3.mk | 17 -----------------
py-radare2/distinfo | 7 -------
py-radare2/patches/patch-do-swig.sh | 26 --------------------------
py-radare2/patches/patch-python_Makefile | 27 ---------------------------
8 files changed, 121 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index ec51476..ab3acbe 100644
--- a/Makefile
+++ b/Makefile
@@ -3134,7 +3134,6 @@ SUBDIR+= py-quaternionarray
SUBDIR+= py-quepy
SUBDIR+= py-qutip
SUBDIR+= py-qutrub
-SUBDIR+= py-radare2
SUBDIR+= py-radon
SUBDIR+= py-radontea
SUBDIR+= py-raphrase
diff --git a/py-radare2/DESCR b/py-radare2/DESCR
deleted file mode 100644
index 21963bf..0000000
--- a/py-radare2/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-radare2 is an advanced commandline hexadecimal editor
-with a set of tools for working with binary files.
-
-This package provides Python bindings for radare2.
diff --git a/py-radare2/Makefile b/py-radare2/Makefile
deleted file mode 100644
index 9b33449..0000000
--- a/py-radare2/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2015/08/21 10:47:24 khorben Exp $
-
-.include "../../devel/radare2/Makefile.common"
-
-DISTNAME= radare2-bindings-${RADARE2_VERSION}
-PKGNAME= ${PYPKGPREFIX}-radare2-${RADARE2_VERSION}
-CATEGORIES= devel
-EXTRACT_SUFX= .tar.xz
-
-MAINTAINER= khorben%defora.org@localhost
-COMMENT= Reverse engineering framework (Python bindings)
-LICENSE= gnu-gpl-v3
-
-USE_LANGUAGES+= c c++
-USE_TOOLS+= gmake
-USE_TOOLS+= pkg-config
-
-BUILD_DEPENDS+= radare2-valabind-[0-9]*:../../devel/radare2-valabind
-BUILD_DEPENDS+= swig2-[0-9]*:../../devel/swig2
-
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS+=--enable=python
-
-MAKE_ENV+= PYTHON_CONFIG=${PYTHONCONFIG}
-MAKE_ENV+= SWIG=swig2.0
-
-BUILD_DIRS= python
-
-.include "../../devel/radare2/buildlink3.mk"
-.include "../../lang/python/extension.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-radare2/PLIST b/py-radare2/PLIST
deleted file mode 100644
index 238f1f4..0000000
--- a/py-radare2/PLIST
+++ /dev/null
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2015/08/21 10:47:24 khorben Exp $
-lib/python2.7/site-packages/r2/__init__.py
-lib/python2.7/site-packages/r2/_r_asm.so
-lib/python2.7/site-packages/r2/_r_bin.so
-lib/python2.7/site-packages/r2/_r_core.so
-lib/python2.7/site-packages/r2/r_asm.py
-lib/python2.7/site-packages/r2/r_bin.py
-lib/python2.7/site-packages/r2/r_core.py
diff --git a/py-radare2/buildlink3.mk b/py-radare2/buildlink3.mk
deleted file mode 100644
index 2f095e7..0000000
--- a/py-radare2/buildlink3.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1 2015/08/21 14:57:57 khorben Exp $
-
-BUILDLINK_TREE+= py_radare2
-
-.if !defined(PY_RADARE2_BUILDLINK3_MK)
-PY_RADARE2_BUILDLINK3_MK:=
-
-.include "../../lang/python/pyversion.mk"
-
-BUILDLINK_API_DEPENDS.py_radare2+= ${PYPKGPREFIX}-radare2>=0.9.9
-BUILDLINK_ABI_DEPENDS.py_radare2+= ${PYPKGPREFIX}-radare2>=0.9.9
-BUILDLINK_PKGSRCDIR.py_radare2?= ../../wip/py-radare2
-
-.include "../../devel/radare2/buildlink3.mk"
-.endif # PY_RADARE2_BUILDLINK3_MK
-
-BUILDLINK_TREE+= -py_radare2
diff --git a/py-radare2/distinfo b/py-radare2/distinfo
deleted file mode 100644
index 8ebc00e..0000000
--- a/py-radare2/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.3 2015/08/20 16:33:34 khorben Exp $
-
-SHA1 (radare2-bindings-0.9.9.tar.xz) = e7f536e490da7a4e98c94ae3fb7e6529abae1dff
-RMD160 (radare2-bindings-0.9.9.tar.xz) = 438902d9e20d89cc76e7ccfecbd192c64da6d6ed
-Size (radare2-bindings-0.9.9.tar.xz) = 539100 bytes
-SHA1 (patch-do-swig.sh) = 0ece481530346ece7516a5415256310a12b9a0da
-SHA1 (patch-python_Makefile) = 91c46c5c3805d347a07bda7a3acda5f7550be545
diff --git a/py-radare2/patches/patch-do-swig.sh b/py-radare2/patches/patch-do-swig.sh
deleted file mode 100644
index 21b32f0..0000000
--- a/py-radare2/patches/patch-do-swig.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-do-swig.sh,v 1.1 2015/07/09 00:35:52 khorben Exp $
-
-valabind-cc only accepts "-L" and "-l" through pkg-config.
-
---- do-swig.sh.orig 2015-07-08 23:27:21.000000000 +0000
-+++ do-swig.sh
-@@ -16,7 +16,7 @@ cd ${LNG}
-
- #valabind-cc ${LNG} ${MOD} -I../../libr/include ../../libr/vapi/${MOD}.vapi -l${MOD} -L../../libr/$(echo ${MOD} | sed -e s,r_,,)
-
--echo "Build ${MOD} `pkg-config --libs ${MOD}`"
-+echo "Build ${MOD} `pkg-config --libs-only-L --libs-only-l ${MOD}`"
-
- case "${LNG}" in
- *node*|ctypes)
-@@ -48,8 +48,8 @@ export PYTHON_CONFIG
- echo valabind-cc ${LNG} ${MOD} ${VALABINDFLAGS} \
- -NRadare -NSDB ${VBMODE} \
- -x --vapidir=../vapi ../vapi/${MOD} \
-- `pkg-config --cflags --libs ${MOD}`
-+ `pkg-config --cflags --libs-only-L --libs-only-l ${MOD}`
- exec valabind-cc ${LNG} ${MOD} ${VALABINDFLAGS} \
- -NRadare -NSDB ${VBMODE} \
- -x --vapidir=../vapi ../vapi/${MOD} \
-- `pkg-config --cflags --libs ${MOD}`
-+ `pkg-config --cflags --libs-only-L --libs-only-l ${MOD}`
diff --git a/py-radare2/patches/patch-python_Makefile b/py-radare2/patches/patch-python_Makefile
deleted file mode 100644
index 6beb40e..0000000
--- a/py-radare2/patches/patch-python_Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-python_Makefile,v 1.1 2015/08/20 16:33:34 khorben Exp $
-
-- look for headers within pkgsrc
-- fix build with valabind
-
---- python/Makefile.orig 2015-07-08 23:09:59.000000000 +0000
-+++ python/Makefile
-@@ -7,8 +7,8 @@ include ../rules.mk
-
- tri:
- valabind --swig -N Radare -o r_debug.i -m r_debug --vapidir ../../libr/vapi/ r_debug
-- swig -python -I/usr/include/libr r_debug.i
-- $(CC) r_debug_wrap.c -shared -fPIC -I /usr/include/libr -I /usr/include/python2.6/ -o _r_debug.so -lr_debug -lr_bp -lr_reg -lr_util
-+ swig -python -I$(PREFIX)/include/libr r_debug.i
-+ $(CC) r_debug_wrap.c -shared -fPIC -I$(PREFIX)/include/libr -I$(PREFIX)/include/python2.6/ -o _r_debug.so -lr_debug -lr_bp -lr_reg -lr_util
-
- mytest:
- mkdir -p r2
-@@ -17,7 +17,7 @@ mytest:
- PYTHONPATH=. python test-r_bin.py
-
- bis:
-- valabind-cc --swig -NRadare python r_io -I../../libr/include r_io `pkg-config --libs r_io`
-+ valabind-cc --swig -NRadare python r_io -I../../libr/include r_io `pkg-config --libs-only-L --libs-only-l r_io`
-
- mrproper:
- a=python`python --version 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1,2`/site-packages ; \
Home |
Main Index |
Thread Index |
Old Index