pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-cramjam: Simplify build step
Module Name: pkgsrc-wip
Committed By: Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By: matthewd
Date: Thu Jun 1 14:50:41 2023 -0700
Changeset: 07a345afdff96da4fa587f8b0a96fbb83d21c6df
Modified Files:
py-cramjam/Makefile
Log Message:
py-cramjam: Simplify build step
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=07a345afdff96da4fa587f8b0a96fbb83d21c6df
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-cramjam/Makefile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diffs:
diff --git a/py-cramjam/Makefile b/py-cramjam/Makefile
index 1368484690..ba15aef0dd 100644
--- a/py-cramjam/Makefile
+++ b/py-cramjam/Makefile
@@ -20,12 +20,8 @@ DEPENDS+= ${PYPKGPREFIX}-numpy>=1.18:../../math/py-numpy
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
-.include "cargo-depends.mk"
-
do-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} maturin-${PYVERSSUFFIX} pep517 \
- build-wheel -i ${PREFIX}/bin/python${PYVERSSUFFIX} --compatibility off \
- --offline
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} maturin-${PYVERSSUFFIX} build --offline
# Test Requires install
do-test:
@@ -33,7 +29,10 @@ do-test:
WHEELFILE= ${WRKSRC}/target/wheels/*.whl
-.include "../../lang/rust/cargo.mk"
+.include "cargo-depends.mk"
+.include "../../lang/python/pyversion.mk"
+.include "../../lang/python/tool.mk"
.include "../../lang/python/wheel.mk"
+.include "../../lang/rust/cargo.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index