2018-12-02 17:33:59 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2018/12/02 16:33:59 adam Exp $
|
2014-04-17 16:54:07 +02:00
|
|
|
|
2018-12-02 17:33:59 +01:00
|
|
|
DISTNAME= SoftLayer-5.6.4
|
2014-04-17 16:54:07 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/SoftLayer/softlayer/}
|
2018-10-16 15:49:53 +02:00
|
|
|
CATEGORIES= net python
|
2016-06-08 19:43:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=S/SoftLayer/}
|
2014-04-17 16:54:07 +02:00
|
|
|
|
|
|
|
MAINTAINER= imil@NetBSD.org
|
2018-10-16 15:49:53 +02:00
|
|
|
HOMEPAGE= https://github.com/softlayer/softlayer-python
|
2014-04-17 16:54:07 +02:00
|
|
|
COMMENT= SoftLayer API bindings for Python
|
|
|
|
LICENSE= mit
|
|
|
|
|
2018-12-02 17:33:59 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-click>=7:../../devel/py-click
|
2018-01-23 09:58:01 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-prompt_toolkit>=0.53:../../devel/py-prompt_toolkit
|
2018-10-16 15:49:53 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-ptable>=0.9.2:../../textproc/py-ptable
|
2018-01-23 09:58:01 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pygments>=2.0.0:../../textproc/py-pygments
|
2018-12-02 17:33:59 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-requests>=2.20.0:../../devel/py-requests
|
2018-01-23 09:58:01 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.7.0:../../lang/py-six
|
2018-12-02 17:33:59 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.24:../../www/py-urllib3
|
2014-04-17 23:17:21 +02:00
|
|
|
|
2018-10-16 15:49:53 +02:00
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
|
|
${MV} sl sl-${PYVERSSUFFIX} && \
|
|
|
|
${MV} slcli slcli-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
|
2014-04-17 16:54:07 +02:00
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|