pkgsrc/devel/py-logilab-common/Makefile
2019-07-06 22:56:03 +00:00

33 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2019/07/06 22:56:03 adam Exp $
DISTNAME= logilab-common-1.4.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/logilab-common/}
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= https://www.logilab.org/project/logilab-common
COMMENT= Useful miscellaneous modules used by Logilab projects
LICENSE= gnu-lgpl-v2.1
DEPENDS+= ${PYPKGPREFIX}-setuptools>=1.4.0:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "Cygwin" || ${OPSYS} == "Interix"
DEPENDS+= ${PYPKGPREFIX}-colorama-[0-9]*:../../comms/py-colorama
.endif
USE_LANGUAGES= # none
INSTALLATION_DIRS= ${PKGMANDIR}/man1
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} logilab-pytest logilab-pytest-${PYVERSSUFFIX} || ${TRUE}
${INSTALL_MAN} ${WRKSRC}/doc/logilab-pytest.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/logilab-pytest-${PYVERSSUFFIX}.1
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"