a259c99b94
100+ extra functional tools that go beyond standard library's itertools, functools, etc. and popular third-party libraries like toolz, fancy, and more-itertools. Like toolz and others, most of the tools are designed to be efficient, pure, and lazy. Several useful yet non-functional tools are also included. While toolz and others target basic scenarios, most tools in this library target more advanced and complete scenarios. A few useful CLI tools for respective functions are also installed. They are available as extratools-[funcname].
27 lines
810 B
Makefile
27 lines
810 B
Makefile
# $NetBSD: Makefile,v 1.1 2018/05/25 16:01:06 minskim Exp $
|
|
|
|
DISTNAME= extratools-0.6.14.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=e/extratools/}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://github.com/chuanconggao/extratools
|
|
COMMENT= Extra functional tools beyond standard libraries
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=1.5.10:../../devel/py-sortedcontainers
|
|
DEPENDS+= ${PYPKGPREFIX}-toolz>=0.9.0:../../devel/py-toolz
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 34 35
|
|
|
|
post-install:
|
|
.for cmd in extratools-flatten extratools-remap extratools-teststats
|
|
${MV} ${DESTDIR}${PREFIX}/bin/${cmd} \
|
|
${DESTDIR}${PREFIX}/bin/${cmd}${PYVERSSUFFIX}
|
|
.endfor
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|