pkgsrc-WIP-changes archive

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

Add a buildlink3.mk file for py-pyvex



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Mon Feb 26 03:53:04 2018 +0100
Changeset:	2fbe496bcf4ccbe0abc51f74235fc40bf1ec3f9a

Modified Files:
	py-angr/Makefile
Added Files:
	py-pyvex/buildlink3.mk

Log Message:
Add a buildlink3.mk file for py-pyvex

I do not think this is really correct. vex should be packaged
independently of its Python bindings at the very least - tricky given
the build system from Angr.

At least it gets me a few steps further with Angr.

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

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

diffstat:
 py-angr/Makefile       |  1 +
 py-pyvex/buildlink3.mk | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diffs:
diff --git a/py-angr/Makefile b/py-angr/Makefile
index da4b73be6c..a0f1fd7f00 100644
--- a/py-angr/Makefile
+++ b/py-angr/Makefile
@@ -27,5 +27,6 @@ DEPENDS+=	${PYPKGPREFIX}-pyvex-[0-9]*:../../wip/py-pyvex
 PYTHON_VERSIONS_ACCEPTED=	27
 
 .include "../../emulators/unicorn/buildlink3.mk"
+.include "../../wip/py-pyvex/buildlink3.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pyvex/buildlink3.mk b/py-pyvex/buildlink3.mk
new file mode 100644
index 0000000000..11e8847349
--- /dev/null
+++ b/py-pyvex/buildlink3.mk
@@ -0,0 +1,12 @@
+BUILDLINK_TREE+=	py-pyvex
+
+.if !defined(PY-PYVEX_BUILDLINK3_MK)
+PY-PYVEX_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.py-pyvex+=	${PYPKGPREFIX}-pyvex>=7.8.2.21
+BUILDLINK_PKGSRCDIR.py-pyvex?=	../../wip/py-pyvex
+
+. include "../../emulators/unicorn/buildlink3.mk"
+.endif  # PY-PYVEX_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-py-pyvex


Home | Main Index | Thread Index | Old Index