On Sat, 7 Oct 2017 23:21:31 +0200, Remi Locherer
<remi.loche...@relo.ch> wrote:

> Hi,
> 
> this is an update for vdirsyncer to version 0.16.3 which was released
> few days ago. See
> https://vdirsyncer.pimutils.org/en/stable/changelog.html for changes.
> 
> This patch also enables tests and shortens some long lines in
> Makefile.

lgtm

> The tests depend on two python modules that are not available in ports
> yet. py-test-localserver

it needs requests as a TDEP, can you put MODPY_PI and MODPY_SETUPTOOLS
just after MODULES please?

> and py-test-subtesthack are attached to this mail.

same things about Makefile order as above?

> The author of vdirsyncer announced that the next version will include
> some rust code. That means in the future this port will only be
> available on i386 and amd64.
> 
> Remi
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/productivity/vdirsyncer/Makefile,v
> retrieving revision 1.4
> diff -u -p -r1.4 Makefile
> --- Makefile  31 Aug 2017 16:30:23 -0000      1.4
> +++ Makefile  7 Oct 2017 21:16:02 -0000
> @@ -2,7 +2,7 @@
>  
>  COMMENT =            synchronize calendars and contacts
>  
> -MODPY_EGG_VERSION =  0.16.2
> +MODPY_EGG_VERSION =  0.16.3
>  DISTNAME =           vdirsyncer-${MODPY_EGG_VERSION}
>  CATEGORIES =         productivity
>  
> @@ -28,19 +28,30 @@ RUN_DEPENDS =
> devel/py-atomicwrites${MO devel/py-click-threading${MODPY_FLAVOR} \
>                       www/py-requests-toolbelt${MODPY_FLAVOR}
>  
> +TEST_DEPENDS =               devel/py-hypothesis${MODPY_FLAVOR} \
> +                     devel/py-test-localserver${MODPY_FLAVOR} \
> +                     devel/py-test-subtesthack${MODPY_FLAVOR} \
> +                     www/py-urllib3${MODPY_FLAVOR} \
> +                     ${RUN_DEPENDS}
> +
>  post-build:
>       cd ${WRKSRC}/docs; ${MAKE_ENV} PYTHONPATH=${WRKSRC} \
> -             sphinx-build${MODPY_BIN_SUFFIX} -b html -d
> _build/doctrees . _build/html
> +             sphinx-build${MODPY_BIN_SUFFIX} \
> +             -b html -d _build/doctrees . _build/html
>  
>  post-install:
>       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vdirsyncer
>       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vdirsyncer
> -     cd ${WRKSRC}; ${INSTALL_DATA} AUTHORS.rst CHANGELOG.rst
> CONTRIBUTING.rst \
> -             ISSUE_TEMPLATE.md LICENSE README.rst
> ${PREFIX}/share/doc/vdirsyncer
> -     cd ${WRKSRC}/docs/_build/html && pax -rw *
> ${PREFIX}/share/doc/vdirsyncer
> +     cd ${WRKSRC}; ${INSTALL_DATA} AUTHORS.rst CHANGELOG.rst \
> +             CONTRIBUTING.rst ISSUE_TEMPLATE.md LICENSE
> README.rst \
> +             ${PREFIX}/share/doc/vdirsyncer
> +     cd ${WRKSRC}/docs/_build/html && \
> +             pax -rw * ${PREFIX}/share/doc/vdirsyncer
>       ${INSTALL_DATA} ${WRKSRC}/config.example \
>               ${PREFIX}/share/examples/vdirsyncer
>  
> -NO_TEST =            Yes
> +do-test:
> +     cd ${WRKSRC}; DAV_SERVER=skip DETERMINISTIC_TESTS=true \
> +             ${MODPY_BIN} -m pytest tests/
>  
>  .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/productivity/vdirsyncer/distinfo,v
> retrieving revision 1.3
> diff -u -p -r1.3 distinfo
> --- distinfo  31 Aug 2017 16:30:23 -0000      1.3
> +++ distinfo  7 Oct 2017 21:16:02 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (vdirsyncer-0.16.2.tar.gz) =
> qoGfKfS80ffdVqmNzt23GVasiQ2KNEFN+aLe+lj/uKc= -SIZE
> (vdirsyncer-0.16.2.tar.gz) = 112083 +SHA256
> (vdirsyncer-0.16.3.tar.gz)
> = /F9sUiXViLAe4iU1inwJYoOJaiompPAsllHPk6Jb/DY= +SIZE
> (vdirsyncer-0.16.3.tar.gz) = 113327 Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/productivity/vdirsyncer/pkg/PLIST,v retrieving
> revision 1.3 diff -u -p -r1.3 PLIST
> --- pkg/PLIST 31 Aug 2017 16:30:23 -0000      1.3
> +++ pkg/PLIST 7 Oct 2017 21:16:02 -0000
> @@ -17,7 +17,6 @@ lib/python${MODPY_VERSION}/site-packages
>  
> lib/python${MODPY_VERSION}/site-packages/vdirsyncer/${MODPY_PYCACHE}http.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/vdirsyncer/${MODPY_PYCACHE}metasync.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/vdirsyncer/${MODPY_PYCACHE}repair.${MODPY_PYC_MAGIC_TAG}pyc
> -lib/python${MODPY_VERSION}/site-packages/vdirsyncer/${MODPY_PYCACHE}sync.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/vdirsyncer/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/vdirsyncer/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/vdirsyncer/${MODPY_PYCACHE}vobject.${MODPY_PYC_MAGIC_TAG}pyc
> @@ -59,7 +58,14 @@ lib/python${MODPY_VERSION}/site-packages
>  lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/http.py
>  lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/memory.py
>  lib/python${MODPY_VERSION}/site-packages/vdirsyncer/storage/singlefile.py
> -lib/python${MODPY_VERSION}/site-packages/vdirsyncer/sync.py
> +lib/python${MODPY_VERSION}/site-packages/vdirsyncer/sync/
> +lib/python${MODPY_VERSION}/site-packages/vdirsyncer/sync/__init__.py
> +lib/python${MODPY_VERSION}/site-packages/vdirsyncer/sync/${MODPY_PYCACHE}/
> +lib/python${MODPY_VERSION}/site-packages/vdirsyncer/sync/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/vdirsyncer/sync/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/vdirsyncer/sync/${MODPY_PYCACHE}status.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/vdirsyncer/sync/exceptions.py
> +lib/python${MODPY_VERSION}/site-packages/vdirsyncer/sync/status.py
>  lib/python${MODPY_VERSION}/site-packages/vdirsyncer/utils.py
>  lib/python${MODPY_VERSION}/site-packages/vdirsyncer/version.py
>  lib/python${MODPY_VERSION}/site-packages/vdirsyncer/vobject.py

Reply via email to