pkgsrc/devel/py-distro/Makefile
2020-05-16 09:09:04 +00:00

26 lines
667 B
Makefile

# $NetBSD: Makefile,v 1.4 2020/05/16 09:10:42 adam Exp $
DISTNAME= distro-1.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/distro/}
MAINTAINER= root@zta.lk
HOMEPAGE= https://github.com/nir0s/distro
COMMENT= OS platform information API
LICENSE= apache-2.0
PYTHON_VERSIONED_DEPENDENCIES= test:test
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} distro distro-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"