Index: head/textproc/py-chardet/files/patch-setup.py =================================================================== --- head/textproc/py-chardet/files/patch-setup.py (revision 439236) +++ head/textproc/py-chardet/files/patch-setup.py (nonexistent) @@ -1,11 +0,0 @@ ---- setup.py.orig 2014-10-07 15:03:14 UTC -+++ setup.py -@@ -36,4 +36,7 @@ setup(name='chardet', - "Modules"), - "Topic :: Text Processing :: Linguistic"], - packages=['chardet'], -- entry_points={'console_scripts': ['chardetect = chardet.chardetect:main']}) -+ entry_points={'console_scripts': ['chardetect = chardet.chardetect:main']}, -+ tests_require=['nose'], -+ test_suite='nose.collector', -+) Property changes on: head/textproc/py-chardet/files/patch-setup.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/py-chardet/files/patch-test.py =================================================================== --- head/textproc/py-chardet/files/patch-test.py (revision 439236) +++ head/textproc/py-chardet/files/patch-test.py (nonexistent) @@ -1,16 +0,0 @@ ---- test.py.orig 2014-10-07 15:03:14 UTC -+++ test.py -@@ -36,11 +36,8 @@ class TestCase(unittest.TestCase): - - def main(): - suite = unittest.TestSuite() -- if len(sys.argv) > 1: -- base_path = sys.argv[1] -- else: -- base_path = os.path.join( -- os.path.dirname(os.path.abspath(__file__)), 'tests') -+ base_path = os.path.join( -+ os.path.dirname(os.path.abspath(__file__)), 'tests') - for encoding in os.listdir(base_path): - path = os.path.join(base_path, encoding) - if not os.path.isdir(path): Property changes on: head/textproc/py-chardet/files/patch-test.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/py-chardet/Makefile =================================================================== --- head/textproc/py-chardet/Makefile (revision 439236) +++ head/textproc/py-chardet/Makefile (revision 439237) @@ -1,27 +1,27 @@ # Created by: arved # $FreeBSD$ PORTNAME= chardet -PORTVERSION= 2.3.0 -PORTREVISION= 1 +PORTVERSION= 3.0.2 CATEGORIES= textproc python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +MASTER_SITES= CHEESESHOP MAINTAINER= rm@FreeBSD.org COMMENT= Universal encoding detector for Python 2 and 3 LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \ + ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis +NO_ARCH= yes USES= python -USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils -NO_ARCH= yes - do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ptr .include Index: head/textproc/py-chardet/distinfo =================================================================== --- head/textproc/py-chardet/distinfo (revision 439236) +++ head/textproc/py-chardet/distinfo (revision 439237) @@ -1,2 +1,3 @@ -SHA256 (chardet-chardet-2.3.0_GH0.tar.gz) = afb95679fb687fad167a714d929d033e3dd0d64b66d3646eecf117d350ae40cc -SIZE (chardet-chardet-2.3.0_GH0.tar.gz) = 2035957 +TIMESTAMP = 1492960369 +SHA256 (chardet-3.0.2.tar.gz) = 4f7832e7c583348a9eddd927ee8514b3bf717c061f57b21dbe7697211454d9bb +SIZE (chardet-3.0.2.tar.gz) = 1866978