pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-atomicwrites py-atomicwrites: fix CATEGORIES; ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d7a374aaa3e
branches:  trunk
changeset: 380891:8d7a374aaa3e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 24 06:42:47 2018 +0000

description:
py-atomicwrites: fix CATEGORIES; updated HOMEPAGE; use TEST_DEPENDS

diffstat:

 devel/py-atomicwrites/Makefile |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 821a216a7308 -r 8d7a374aaa3e devel/py-atomicwrites/Makefile
--- a/devel/py-atomicwrites/Makefile    Thu May 24 06:38:06 2018 +0000
+++ b/devel/py-atomicwrites/Makefile    Thu May 24 06:42:47 2018 +0000
@@ -1,24 +1,23 @@
-# $NetBSD: Makefile,v 1.8 2016/08/22 14:08:43 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2018/05/24 06:42:47 adam Exp $
 
 DISTNAME=      atomicwrites-1.1.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    time
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/atomicwrites/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://pypi.python.org/pypi/atomicwrites/
+HOMEPAGE=      https://github.com/untitaker/python-atomicwrites
 COMMENT=       Python module for atomic file writes on POSIX
 LICENSE=       mit
 
-# TEST_DEPENDS
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 EXTRACT_USING= bsdtar  # gtar cannot handle pre-1970 timestamps
 
 USE_LANGUAGES= # none
 
 do-test:
-       cd ${WRKSRC} && ${PYTHONBIN} -m pytest tests
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index