Index: branches/2019Q4/devel/py-path.py/Makefile =================================================================== --- branches/2019Q4/devel/py-path.py/Makefile (revision 515163) +++ branches/2019Q4/devel/py-path.py/Makefile (revision 515164) @@ -1,24 +1,33 @@ # $FreeBSD$ PORTNAME= path.py -PORTVERSION= 8.1.2 +PORTVERSION= 11.5.2 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= wg@FreeBSD.org +MAINTAINER= jbeich@FreeBSD.org COMMENT= Module wrapper for os.path LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python -USE_PYTHON= autoplist distutils +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.5:devel/py-importlib-metadata@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-flake8>0:devel/py-pytest-flake8@${PY_FLAVOR} +NO_ARCH= yes +USES= python USE_GITHUB= yes +USE_PYTHON= autoplist distutils GH_ACCOUNT= jaraco +PORTSCOUT= limit:^11\. # ignore py3-only for now post-patch: @${REINPLACE_CMD} -e '/setuptools_scm/d' \ - -e 's/use_scm_version=True,/version="${PORTVERSION}",/' \ - ${WRKSRC}/${PYSETUP} + -e 's/use_scm_version=True/version="${PORTVERSION}"/' \ + ${WRKSRC}/setup.* + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) .include Index: branches/2019Q4/devel/py-path.py/distinfo =================================================================== --- branches/2019Q4/devel/py-path.py/distinfo (revision 515163) +++ branches/2019Q4/devel/py-path.py/distinfo (revision 515164) @@ -1,2 +1,3 @@ -SHA256 (jaraco-path.py-8.1.2_GH0.tar.gz) = 23fbc7f2a25e5696af5afccd851a931f9fca82d7dd123953cec9d369951b4c79 -SIZE (jaraco-path.py-8.1.2_GH0.tar.gz) = 32400 +TIMESTAMP = 1554787860 +SHA256 (jaraco-path.py-11.5.2_GH0.tar.gz) = 0e7af2bd797a35ca402d8652bac853576070ad542b2969fcc97fa7d3f3f7ff41 +SIZE (jaraco-path.py-11.5.2_GH0.tar.gz) = 40303 Index: branches/2019Q4/www/py-flexget/Makefile =================================================================== --- branches/2019Q4/www/py-flexget/Makefile (revision 515163) +++ branches/2019Q4/www/py-flexget/Makefile (revision 515164) @@ -1,71 +1,72 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= flexget PORTVERSION= 2.21.22 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jbeich@FreeBSD.org COMMENT= Program to automate downloading from different sources LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy12>0:databases/py-sqlalchemy12@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rebulk>=0.9.0:devel/py-rebulk@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rpyc>0:devel/py-RPyC@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}apscheduler>=3.2.0:devel/py-apscheduler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.0:devel/py-jsonschema@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}path.py<10.6:devel/py-path.py@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}path.py>=10.6:devel/py-path.py@${PY_FLAVOR} \ ${PY_PATHLIB} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.3:devel/py-pyparsing@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=4.2:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}progressbar>=2.5:misc/py-progressbar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}guessit<3.0.0:multimedia/py-guessit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pynzb>0:news/py-pynzb@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zxcvbn>0:security/py-zxcvbn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plumbum>=1.2:sysutils/py-plumbum@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}colorclass>=2.2.0:textproc/py-colorclass@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}feedparser>=5.2.1:textproc/py-feedparser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rss2gen>0:textproc/py-rss2gen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}terminaltables>=3.1.0:textproc/py-terminaltables@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cherrypy>=3.7.0:www/py-cherrypy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask>=0.7:www/py-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask-Compress>=1.2.1:www/py-flask-compress@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask-Cors>=2.1.2:www/py-flask-cors@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask-Login>=0.4.0:www/py-flask-login@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask-RESTful>=0.3.3:www/py-flask-restful@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flask-restplus>=0.10.1:www/py-flask-restplus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5lib>=0.11:www/py-html5lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.20.0:www/py-requests@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.3:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} USE_GITHUB= yes GH_PROJECT= Flexget NO_ARCH= yes USES= python USE_PYTHON= autoplist distutils post-extract: # Unlock dependencies' versions @${MV} ${WRKSRC}/requirements.in ${WRKSRC}/requirements.txt do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) .include .if ${PYTHON_REL} < 3300 TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} .endif .include Index: branches/2019Q4/www/py-flexget/files/patch-02-path.py-8.1 =================================================================== --- branches/2019Q4/www/py-flexget/files/patch-02-path.py-8.1 (revision 515163) +++ branches/2019Q4/www/py-flexget/files/patch-02-path.py-8.1 (nonexistent) @@ -1,69 +0,0 @@ -Revert https://github.com/Flexget/Flexget/commit/0a401204a107 - ---- flexget/api/core/server.py.orig 2019-05-25 02:03:39 UTC -+++ flexget/api/core/server.py -@@ -571,6 +571,6 @@ class ServerCrashLogAPI(APIResource): - path = Path(self.manager.config_base) - crashes = [ - {'name': file.name, 'content': file.open().readlines()} -- for file in path.listdir(match='crash_report*.log') -+ for file in path.listdir(pattern='crash_report*.log') - ] - return jsonify(crashes) ---- flexget/plugin.py.orig 2019-05-25 02:03:39 UTC -+++ flexget/plugin.py -@@ -476,7 +476,7 @@ def _load_plugins_from_dirs(dirs): - _f for _f in plugin_path.relpath(plugins_dir).parent.splitall() if _f - ] - module_name = '.'.join( -- [plugins_pkg.__name__] + plugin_subpackages + [plugin_path.stem] -+ [plugins_pkg.__name__] + plugin_subpackages + [plugin_path.namebase] - ) - _import_plugin(module_name, plugin_path) - _check_phase_queue() -@@ -498,7 +498,7 @@ def _load_components_from_dirs(dirs): - _f for _f in component_path.relpath(component_dir).parent.splitall() if _f - ] - package_name = '.'.join( -- [components_pkg.__name__] + plugin_subpackages + [component_path.stem] -+ [components_pkg.__name__] + plugin_subpackages + [component_path.namebase] - ) - _import_plugin(package_name, component_path) - _check_phase_queue() ---- flexget/plugins/input/filesystem.py.orig 2019-05-25 02:03:39 UTC -+++ flexget/plugins/input/filesystem.py -@@ -129,7 +129,7 @@ class Filesystem(object): - entry['url'] = pathlib.Path(filepath).absolute().as_uri() - entry['filename'] = filepath.name - if filepath.isfile(): -- entry['title'] = filepath.stem -+ entry['title'] = filepath.namebase - else: - entry['title'] = filepath.name - try: ---- flexget/tests/test_filesystem.py.orig 2019-05-25 02:03:39 UTC -+++ flexget/tests/test_filesystem.py -@@ -137,10 +137,10 @@ class TestFilesystem(object): - task_name, - file, - ) -- assert task.find_entry(title=file.stem), assertion_error -+ assert task.find_entry(title=file.namebase), assertion_error - else: - assertion_error = 'Failed %s %s test, found %s' % (test_type, task_name, file) -- assert not task.find_entry(title=file.stem), assertion_error -+ assert not task.find_entry(title=file.namebase), assertion_error - - def test_string(self, execute_task): - task_name = 'string' ---- requirements.txt.orig 2019-05-25 02:03:39 UTC -+++ requirements.txt -@@ -13,7 +13,7 @@ jinja2~=2.10 - requests>=2.20.0 - python-dateutil - jsonschema>=2.0 --path.py>=10.6 -+path.py>=8.1.1,<10.6 - pathlib>=1.0; python_version<'3.4' - guessit==3.0.3 - rebulk>=0.9.0 Property changes on: branches/2019Q4/www/py-flexget/files/patch-02-path.py-8.1 ___________________________________________________________________ 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: branches/2019Q4 =================================================================== --- branches/2019Q4 (revision 515163) +++ branches/2019Q4 (revision 515164) Property changes on: branches/2019Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r513945