pkgsrc-WIP-changes archive

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

Package py-pyvex version 7.8.2.21



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Mon Feb 26 01:12:05 2018 +0100
Changeset:	87ca8f51ff9104dd53125822bb3848fef4b163c2

Modified Files:
	Makefile
Added Files:
	py-pyvex/DESCR
	py-pyvex/Makefile
	py-pyvex/PLIST
	py-pyvex/distinfo
	py-pyvex/vex-inplace.mk
	py-pyvex/vex.mk

Log Message:
Package py-pyvex version 7.8.2.21

VEX is an architecture-agnostic, side-effects-free representation of a number
of target machine languages. It abstracts machine code into a representation
designed to make program analysis easier.

PyVEX exposes VEX into Python.

This does not build yet unfortunately (at least for me).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=87ca8f51ff9104dd53125822bb3848fef4b163c2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                |  1 +
 py-pyvex/DESCR          |  5 +++++
 py-pyvex/Makefile       | 21 +++++++++++++++++++++
 py-pyvex/PLIST          |  0
 py-pyvex/distinfo       | 10 ++++++++++
 py-pyvex/vex-inplace.mk | 17 +++++++++++++++++
 py-pyvex/vex.mk         | 13 +++++++++++++
 7 files changed, 67 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 10f6f6d392..1b69cef99c 100644
--- a/Makefile
+++ b/Makefile
@@ -3620,6 +3620,7 @@ SUBDIR+=	py-python-application
 SUBDIR+=	py-python-gnutls
 SUBDIR+=	py-pytkgen
 SUBDIR+=	py-pytools
+SUBDIR+=	py-pyvex
 SUBDIR+=	py-pyvib2
 SUBDIR+=	py-qalsadi
 SUBDIR+=	py-qecalc
diff --git a/py-pyvex/DESCR b/py-pyvex/DESCR
new file mode 100644
index 0000000000..e94b7b67ed
--- /dev/null
+++ b/py-pyvex/DESCR
@@ -0,0 +1,5 @@
+VEX is an architecture-agnostic, side-effects-free representation of a number
+of target machine languages. It abstracts machine code into a representation
+designed to make program analysis easier.
+
+PyVEX exposes VEX into Python.
diff --git a/py-pyvex/Makefile b/py-pyvex/Makefile
new file mode 100644
index 0000000000..55f8af0d55
--- /dev/null
+++ b/py-pyvex/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.3 2018/02/25 21:58:48 khorben Exp $
+
+DISTNAME=	pyvex-7.8.2.21
+PKGNAME=	${PYPKGPREFIX}-${EGG_NAME}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=angr/}
+GITHUB_PROJECT=	pyvex
+GITHUB_TAG=	29e88cbd20d628421a903e3dfec0027dd01be233
+
+MAINTAINER=	khorben%defora.org@localhost
+HOMEPAGE=	https://github.com/angr/pyvex/
+COMMENT=	Python bindings for Valgrind's VEX IR
+LICENSE=	2-clause-bsd
+
+USE_TOOLS+=	gmake
+
+PYTHON_VERSIONS_ACCEPTED=	27
+
+.include "vex-inplace.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-pyvex/PLIST b/py-pyvex/PLIST
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/py-pyvex/distinfo b/py-pyvex/distinfo
new file mode 100644
index 0000000000..936201e118
--- /dev/null
+++ b/py-pyvex/distinfo
@@ -0,0 +1,10 @@
+$NetBSD$
+
+SHA1 (pyvex-7.8.2.21-29e88cbd20d628421a903e3dfec0027dd01be233.tar.gz) = 302eb342b4e58b5210b7df46423eece7d57370ab
+RMD160 (pyvex-7.8.2.21-29e88cbd20d628421a903e3dfec0027dd01be233.tar.gz) = 935addc582da04294e1d79f052abe501e507caa8
+SHA512 (pyvex-7.8.2.21-29e88cbd20d628421a903e3dfec0027dd01be233.tar.gz) = 2e4df626cc036e6522dc214f191a0e55bcd7ed8dccf5c7fbc59beaacce84aad55174493d826c1c567b385bfde1a80fc492453cf4a75599b1ad059b955ff7e84e
+Size (pyvex-7.8.2.21-29e88cbd20d628421a903e3dfec0027dd01be233.tar.gz) = 69057 bytes
+SHA1 (vex-0.0.0-7394e917fc86c8f042d8ce51a609810a97c20fd7.tar.gz) = 2dda4be121c95862222bf848b08373a5373b996b
+RMD160 (vex-0.0.0-7394e917fc86c8f042d8ce51a609810a97c20fd7.tar.gz) = 9aa06510c61b2ea33206519b5eef04fa30142152
+SHA512 (vex-0.0.0-7394e917fc86c8f042d8ce51a609810a97c20fd7.tar.gz) = a74607a0c8aa6a547c65e3fe97a9c28c787c0f14be20c8c6a9f67c8f1b05fd23b2acdc4b041a2db6d5204c64f830f6a165d539e325ac016b2c408f18a01468ea
+Size (vex-0.0.0-7394e917fc86c8f042d8ce51a609810a97c20fd7.tar.gz) = 3539578 bytes
diff --git a/py-pyvex/vex-inplace.mk b/py-pyvex/vex-inplace.mk
new file mode 100644
index 0000000000..7bd9ccae29
--- /dev/null
+++ b/py-pyvex/vex-inplace.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+#
+# Include this file to extract VEX source into the WRKSRC of
+# another package. This is used by angr to build VEX in place.
+
+post-fetch: fetch-inplace-vex
+
+post-extract: extract-inplace-vex
+
+fetch-inplace-vex:
+	(${MAKE} -f vex.mk WRKDIR=${WRKSRC}/.devel.vex EXTRACT_DIR=${WRKSRC} \
+		WRKSRC='$${EXTRACT_DIR}/$${DISTNAME:C/a$$//}' SKIP_DEPENDS=YES checksum)
+
+extract-inplace-vex:
+	(${MAKE} -f vex.mk WRKDIR=${WRKSRC}/.devel.vex EXTRACT_DIR=${WRKSRC} \
+		WRKSRC='$${EXTRACT_DIR}/$${DISTNAME:C/a$$//}' SKIP_DEPENDS=YES patch)
+	${MV} ${WRKSRC}/vex-* ${WRKSRC}/vex
diff --git a/py-pyvex/vex.mk b/py-pyvex/vex.mk
new file mode 100644
index 0000000000..b5409961a8
--- /dev/null
+++ b/py-pyvex/vex.mk
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.3 2018/02/25 21:58:48 khorben Exp $
+
+DISTNAME=	vex-0.0.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=angr/}
+GITHUB_TAG=	7394e917fc86c8f042d8ce51a609810a97c20fd7
+
+MAINTAINER=	khorben%defora.org@localhost
+HOMEPAGE=	https://github.com/angr/vex/
+COMMENT=	A patched version of VEX to work with PyVEX
+LICENSE=	2-clause-bsd
+
+.include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index