ab78dc9637
v8.8.1 Packaging refresh.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2022/07/07 11:53:09 adam Exp $
|
|
|
|
DISTNAME= pip-run-8.8.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip-run/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/jaraco/pip-run
|
|
COMMENT= Install packages and run Python with them
|
|
LICENSE= mit
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel>0:../../devel/py-wheel
|
|
DEPENDS+= ${PYPKGPREFIX}-autocommand>0:../../misc/py-autocommand
|
|
DEPENDS+= ${PYPKGPREFIX}-packaging>0:../../devel/py-packaging
|
|
DEPENDS+= ${PYPKGPREFIX}-path>=15.1:../../devel/py-path
|
|
DEPENDS+= ${PYPKGPREFIX}-pip>=19.3:../../devel/py-pip
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} < 38
|
|
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>0:../../devel/py-importlib-metadata
|
|
.endif
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pip-run pip-run-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/wheel.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|