1e44a34bdd
2.2.0 Unknown changes
29 lines
1,012 B
Makefile
29 lines
1,012 B
Makefile
# $NetBSD: Makefile,v 1.3 2017/10/28 06:54:23 adam Exp $
|
|
|
|
DISTNAME= tldextract-2.2.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= net python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tldextract/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/john-kurkowski/tldextract
|
|
COMMENT= Accurately separate the TLD from the registered domain and subdomains
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
|
|
DEPENDS+= ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests
|
|
DEPENDS+= ${PYPKGPREFIX}-requests-file>=1.4:../../devel/py-requests-file
|
|
# TEST_DEPENDS: not explicitly declated in requirements
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} tldextract tldextract${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|