py-tomli: switch to bootstrap.mk
This commit is contained in:
parent
2de20e4645
commit
52bed129cf
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.11 2023/10/25 22:04:23 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2023/10/25 22:23:03 wiz Exp $
|
||||
|
||||
DISTNAME= tomli-2.0.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -11,20 +11,9 @@ HOMEPAGE= https://github.com/hukkin/tomli
|
|||
COMMENT= Lil' TOML parser
|
||||
LICENSE= mit
|
||||
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-installer-[0-9]*:../../misc/py-installer
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
PY_PATCHPLIST= yes
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} -m flit_core.wheel
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} -m installer --destdir ${DESTDIR} --prefix ${PREFIX} dist/*.whl
|
||||
|
||||
.include "../../lang/python/extension.mk"
|
||||
.include "../../lang/python/bootstrap.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
@comment $NetBSD: PLIST,v 1.3 2023/10/25 22:04:23 wiz Exp $
|
||||
${PYSITELIB}/tomli-${PKGVERSION}.dist-info/LICENSE
|
||||
${PYSITELIB}/tomli-${PKGVERSION}.dist-info/METADATA
|
||||
${PYSITELIB}/tomli-${PKGVERSION}.dist-info/RECORD
|
||||
${PYSITELIB}/tomli-${PKGVERSION}.dist-info/WHEEL
|
||||
@comment $NetBSD: PLIST,v 1.4 2023/10/25 22:23:03 wiz Exp $
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
|
||||
${PYSITELIB}/tomli/__init__.py
|
||||
${PYSITELIB}/tomli/__init__.pyc
|
||||
${PYSITELIB}/tomli/__init__.pyo
|
||||
|
|
Loading…
Reference in New Issue