pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-tldextract py-tldextract: updated to version 2.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a0fda80f114
branches:  trunk
changeset: 370924:3a0fda80f114
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 28 06:54:23 2017 +0000

description:
py-tldextract: updated to version 2.2.0

2.2.0
Unknown changes

diffstat:

 net/py-tldextract/Makefile |  21 ++++++++++++++-------
 net/py-tldextract/distinfo |  10 +++++-----
 2 files changed, 19 insertions(+), 12 deletions(-)

diffs (55 lines):

diff -r 4776daf6e27b -r 3a0fda80f114 net/py-tldextract/Makefile
--- a/net/py-tldextract/Makefile        Sat Oct 28 06:52:56 2017 +0000
+++ b/net/py-tldextract/Makefile        Sat Oct 28 06:54:23 2017 +0000
@@ -1,22 +1,29 @@
-# $NetBSD: Makefile,v 1.2 2017/06/22 09:34:47 adam Exp $
+# $NetBSD: Makefile,v 1.3 2017/10/28 06:54:23 adam Exp $
 
-DISTNAME=      tldextract-2.1.0
+DISTNAME=      tldextract-2.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    net
+CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tldextract/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/john-kurkowski/tldextract/
+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
-DEPENDS+=      ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests
+# 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:
-       ${MV} ${DESTDIR}${PREFIX}/bin/tldextract \
-               ${DESTDIR}${PREFIX}/bin/tldextract${PYVERSSUFFIX} || ${TRUE}
+       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"
diff -r 4776daf6e27b -r 3a0fda80f114 net/py-tldextract/distinfo
--- a/net/py-tldextract/distinfo        Sat Oct 28 06:52:56 2017 +0000
+++ b/net/py-tldextract/distinfo        Sat Oct 28 06:54:23 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/06/22 09:34:47 adam Exp $
+$NetBSD: distinfo,v 1.3 2017/10/28 06:54:23 adam Exp $
 
-SHA1 (tldextract-2.1.0.tar.gz) = 87ac9ef99e6be76f8f8adc170e5abb7d7ee6c2fb
-RMD160 (tldextract-2.1.0.tar.gz) = fa762905de70d48f371996452346b0f869b2e910
-SHA512 (tldextract-2.1.0.tar.gz) = 484141e8af67f5a5df608d5d3da972f25d73a5a28a88ca4ba75dac5dc63614efe2b259629893d316617126d230b6c7acdf618b2c73e561454965e6fb748c3b9d
-Size (tldextract-2.1.0.tar.gz) = 51137 bytes
+SHA1 (tldextract-2.2.0.tar.gz) = d8e0da48cc4e75454dd8ba6da1c4d60eae70ee26
+RMD160 (tldextract-2.2.0.tar.gz) = a80df2a6880994904dc8a41c656b53f2aa5aba95
+SHA512 (tldextract-2.2.0.tar.gz) = 25a8c3d2ce27bd54dea211fb3999caeb487840172a8b707b43e6c27729f247306cc0596f156e70f3039771f84f92112921c17873128d4597dbc8785e2d4de8d3
+Size (tldextract-2.2.0.tar.gz) = 54477 bytes



Home | Main Index | Thread Index | Old Index