pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel radare2-valabind: py-radare2: Eliminate these pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad3232a533b2
branches:  trunk
changeset: 375682:ad3232a533b2
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Mon Feb 19 01:53:23 2018 +0000

description:
radare2-valabind: py-radare2: Eliminate these packages

Only 2 users known migrated away to r2pipe.
radare2-valabind requires unreleased version of vala.

diffstat:

 devel/py-radare2/DESCR                         |   4 ---
 devel/py-radare2/Makefile                      |  34 --------------------------
 devel/py-radare2/PLIST                         |   8 ------
 devel/py-radare2/buildlink3.mk                 |  17 -------------
 devel/py-radare2/distinfo                      |   8 ------
 devel/py-radare2/patches/patch-do-swig.sh      |  26 -------------------
 devel/py-radare2/patches/patch-python_Makefile |  27 --------------------
 devel/radare2-valabind/DESCR                   |   4 ---
 devel/radare2-valabind/Makefile                |  25 -------------------
 devel/radare2-valabind/PLIST                   |   5 ---
 devel/radare2-valabind/distinfo                |   6 ----
 11 files changed, 0 insertions(+), 164 deletions(-)

diffs (208 lines):

diff -r d82aa01488e2 -r ad3232a533b2 devel/py-radare2/DESCR
--- a/devel/py-radare2/DESCR    Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r d82aa01488e2 -r ad3232a533b2 devel/py-radare2/Makefile
--- a/devel/py-radare2/Makefile Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2018/02/18 18:09:36 kamil Exp $
-
-.include "../../devel/radare2/Makefile.common"
-
-BROKEN=                Incompatible vala version
-
-GITHUB_PROJECT=        radare2-bindings
-DISTNAME=      radare2-bindings-${RADARE2_VERSION}
-PKGNAME=       ${PYPKGPREFIX}-radare2-${RADARE2_VERSION}
-CATEGORIES=    devel
-
-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
-PY_PATCHPLIST= yes
-
-BUILD_DIRS=    python
-
-.include "../../devel/radare2/buildlink3.mk"
-.include "../../lang/python/extension.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r d82aa01488e2 -r ad3232a533b2 devel/py-radare2/PLIST
--- a/devel/py-radare2/PLIST    Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2015/11/18 20:19:15 khorben Exp $
-${PYSITELIB}/r2/__init__.py
-${PYSITELIB}/r2/_r_asm.so
-${PYSITELIB}/r2/_r_bin.so
-${PYSITELIB}/r2/_r_core.so
-${PYSITELIB}/r2/r_asm.py
-${PYSITELIB}/r2/r_bin.py
-${PYSITELIB}/r2/r_core.py
diff -r d82aa01488e2 -r ad3232a533b2 devel/py-radare2/buildlink3.mk
--- a/devel/py-radare2/buildlink3.mk    Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1 2015/11/16 01:31:10 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?=       ../../devel/py-radare2
-
-.include "../../devel/radare2/buildlink3.mk"
-.endif # PY_RADARE2_BUILDLINK3_MK
-
-BUILDLINK_TREE+=       -py_radare2
diff -r d82aa01488e2 -r ad3232a533b2 devel/py-radare2/distinfo
--- a/devel/py-radare2/distinfo Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.3 2018/02/18 18:09:36 kamil Exp $
-
-SHA1 (radare2-bindings-2.3.0.tar.gz) = 8f2b6ce5969c9aa73246d7b7ec9a24a925c7648f
-RMD160 (radare2-bindings-2.3.0.tar.gz) = 94ffaf3f5e19264d348fd9c150a6d6f2021c5994
-SHA512 (radare2-bindings-2.3.0.tar.gz) = bd017a6abb3605be32d37ff87a08c7ed236501db3280e50b2005b45691ea2c2a28533829e3583a867d893e5bcab7719abf1c909894f466d582744a667718c1d2
-Size (radare2-bindings-2.3.0.tar.gz) = 1216890 bytes
-SHA1 (patch-do-swig.sh) = 0ece481530346ece7516a5415256310a12b9a0da
-SHA1 (patch-python_Makefile) = 91c46c5c3805d347a07bda7a3acda5f7550be545
diff -r d82aa01488e2 -r ad3232a533b2 devel/py-radare2/patches/patch-do-swig.sh
--- a/devel/py-radare2/patches/patch-do-swig.sh Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-do-swig.sh,v 1.1 2015/11/16 01:31:10 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 -r d82aa01488e2 -r ad3232a533b2 devel/py-radare2/patches/patch-python_Makefile
--- a/devel/py-radare2/patches/patch-python_Makefile    Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-python_Makefile,v 1.1 2015/11/16 01:31:10 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 ; \
diff -r d82aa01488e2 -r ad3232a533b2 devel/radare2-valabind/DESCR
--- a/devel/radare2-valabind/DESCR      Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-radare2 is an advanced commandline hexadecimal editor
-with a set of tools for working with binary files.
-
-This package generates language bindings for radare2.
diff -r d82aa01488e2 -r ad3232a533b2 devel/radare2-valabind/Makefile
--- a/devel/radare2-valabind/Makefile   Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-# $NetBSD: Makefile,v 1.10 2018/02/18 18:04:16 kamil Exp $
-
-.include "../../devel/radare2/Makefile.common"
-
-BROKEN=                Incompatible vala version
-
-GITHUB_PROJECT=        valabind
-PKGNAME=       radare2-${DISTNAME}
-DISTNAME=      valabind-1.5.0
-CATEGORIES=    devel
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-COMMENT=       Reverse engineering framework (language bindings interface)
-LICENSE=       gnu-gpl-v3
-
-USE_TOOLS+=    gmake
-USE_TOOLS+=    pkg-config
-
-MAKE_FLAGS+=   DESTDIR=${DESTDIR}
-MAKE_FLAGS+=   PREFIX=${PREFIX}
-MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}
-MAKE_FLAGS+=   GIT_TIP=
-
-.include "../../lang/vala/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r d82aa01488e2 -r ad3232a533b2 devel/radare2-valabind/PLIST
--- a/devel/radare2-valabind/PLIST      Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2015/07/08 22:48:02 khorben Exp $
-bin/valabind
-bin/valabind-cc
-man/man1/valabind-cc.1
-man/man1/valabind.1
diff -r d82aa01488e2 -r ad3232a533b2 devel/radare2-valabind/distinfo
--- a/devel/radare2-valabind/distinfo   Mon Feb 19 01:52:49 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.6 2018/02/18 18:04:16 kamil Exp $
-
-SHA1 (valabind-1.5.0.tar.gz) = 4e5db08138270089ce4ca5634d49e86e64db3bef
-RMD160 (valabind-1.5.0.tar.gz) = 41b5a32a853bcd8b68f896593b4778eed75463cc
-SHA512 (valabind-1.5.0.tar.gz) = dec6b69ca7acf499f6b0bb1ba4f0a5e621d599198f615adc3594c0f6a8cbb729c0240ae23b267c98b2b53e14d5ecf661275c264fbee96a2ce5a3f933687bcffa
-Size (valabind-1.5.0.tar.gz) = 140666 bytes



Home | Main Index | Thread Index | Old Index