pkgsrc/devel/py-logilab-common/Makefile
2017-10-11 07:07:10 +00:00

32 lines
965 B
Makefile

# $NetBSD: Makefile,v 1.18 2017/10/11 07:07:10 adam Exp $
DISTNAME= logilab-common-1.4.1
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}-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"