pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-natsort



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Nov 30 14:38:58 UTC 2016

Modified Files:
        pkgsrc/textproc/py-natsort: DESCR Makefile

Log Message:
Clean up pkglint. Add some test dependencies, 4 more are not packaged
yet.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-natsort/DESCR \
    pkgsrc/textproc/py-natsort/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-natsort/DESCR
diff -u pkgsrc/textproc/py-natsort/DESCR:1.1 pkgsrc/textproc/py-natsort/DESCR:1.2
--- pkgsrc/textproc/py-natsort/DESCR:1.1        Wed Nov 30 14:13:48 2016
+++ pkgsrc/textproc/py-natsort/DESCR    Wed Nov 30 14:38:58 2016
@@ -6,12 +6,12 @@ not get the results that you expect:
 >>> sorted(a)
 ['a1', 'a10', 'a2', 'a4', 'a9']
 
-Notice that it has the order (‘1’, ‘10’, ‘2’) - this is because the
+Notice that it has the order ('1', '10', '2') - this is because the
 list is being sorted in lexicographical order, which sorts numbers
-like you would letters (i.e. ‘b’, ‘ba’, ‘c’).
+like you would letters (i.e. 'b', 'ba', 'c').
 
 natsort provides a function natsorted that helps sort lists
-“naturally”, either as real numbers (i.e. signed/unsigned floats
+"naturally", either as real numbers (i.e. signed/unsigned floats
 or ints), or as versions. Using natsorted is simple:
 
 >>> from natsort import natsorted
@@ -20,6 +20,4 @@ or ints), or as versions. Using natsorte
 ['a1', 'a2', 'a4', 'a9', 'a10']
 
 natsorted identifies numbers anywhere in a string and sorts them
-naturally. Here are some other things you can do with natsort (please
-see the examples for a quick start guide, or the api for more
-details).
+naturally.
Index: pkgsrc/textproc/py-natsort/Makefile
diff -u pkgsrc/textproc/py-natsort/Makefile:1.1 pkgsrc/textproc/py-natsort/Makefile:1.2
--- pkgsrc/textproc/py-natsort/Makefile:1.1     Wed Nov 30 14:13:48 2016
+++ pkgsrc/textproc/py-natsort/Makefile Wed Nov 30 14:38:58 2016
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2016/11/30 14:13:48 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2016/11/30 14:38:58 wiz Exp $
 
-DISTNAME=          natsort-5.0.1
-PKGNAME=           ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=        textproc python
+DISTNAME=      natsort-5.0.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/natsort/}
 
 MAINTAINER=    kamelderouiche%yahoo.com@localhost
@@ -10,9 +10,19 @@ HOMEPAGE=    https://github.com/SethMMorton
 COMMENT=       Natural sorting for python
 LICENSE=       mit
 
-WRKSRC=                ${WRKDIR}/natsort-5.0.1
-
 USE_LANGUAGES= # none
 
+# TEST_DEPENDS
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-flakes-[0-9]*:../../devel/py-flakes
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-pep8-[0-9]*:../../devel/py-pep8
+# these are currently unpackaged
+#BUILD_DEPENDS+=       ${PYPKGPREFIX}-test-cache-[0-9]*:../../devel/py-test-cache
+#BUILD_DEPENDS+=       ${PYPKGPREFIX}-test-flakes-[0-9]*:../../devel/py-test-flakes
+#BUILD_DEPENDS+=       ${PYPKGPREFIX}-test-pep8-[0-9]*:../../devel/py-test-pep8
+#BUILD_DEPENDS+=       ${PYPKGPREFIX}-execnet-[0-9]*:../../devel/py-execnet
+
 .include "../../lang/python/egg.mk"
-.include "../../mk/bsd.pkg.mk"
\ No newline at end of file
+.include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index