svn commit: r475926 - head/devel/py-dateutil

Kubilay Kocak koobs at FreeBSD.org
Wed Aug 1 05:39:59 UTC 2018


On 1/08/2018 3:35 pm, Tobias C. Berner wrote:
> The version in the port is currently pinned at dateutil <= 2.6.1 [1].

Ah,

py36-dateutil<=2.6.1 : devel/py-dateutil at py36

It is indeed, one of the very few ports that does this, good stuff. I
should have picked this up, apologies.

It would be really nice if we could (multiple) "<version>,<version>" in
*_DEPENDS lines to capture a bit more of the Python (and im sure Ruby as
well at least) dependency metadata in our ports. Would certainly help
QA. We've got this problem with urllib3 too right now, see my last
comment on [1].

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229322

> The maintainer of py-khal is looking for a fix :)

Let me know how it goes and if I can do anything to help.

> 
> mfg Tobias
> 
> [1] https://github.com/pimutils/khal/blob/v0.9.x/setup.py#L18
> 
> On Wed, 1 Aug 2018 at 07:32, Kubilay Kocak <koobs at freebsd.org> wrote:
> 
>> On 1/08/2018 3:26 pm, Tobias C. Berner wrote:
>>> Hi there
>>>
>>> This broke desktuils/py-khal .
>>
>> Can you provide some information on the failure mode please
>>
>>>
>>> mfg Tobias
>>>
>>> On Tue, 31 Jul 2018 at 01:30, Kubilay Kocak <koobs at freebsd.org> wrote:
>>>
>>>> Author: koobs
>>>> Date: Mon Jul 30 23:30:30 2018
>>>> New Revision: 475926
>>>> URL: https://svnweb.freebsd.org/changeset/ports/475926
>>>>
>>>> Log:
>>>>   devel/py-dateutil: Update to 2.7.3
>>>>
>>>>     - dateutil now uses setuptools_scm to derive its version which
>> requires
>>>>         a PyPI sdist or git checkout. USE_GITHUB uses tarballs, so
>> switch
>>>> to
>>>>         CHEESEHOP accordingly.
>>>>
>>>>   Changelog:
>>>>
>>>>     https://github.com/dateutil/dateutil/blob/2.7.3/NEWS
>>>>
>>>>   PR:           230062
>>>>   Submitted by: Radim Kolar <hsn sendmail cz>
>>>>
>>>> Modified:
>>>>   head/devel/py-dateutil/Makefile
>>>>   head/devel/py-dateutil/distinfo
>>>>
>>>> Modified: head/devel/py-dateutil/Makefile
>>>>
>>>>
>> ==============================================================================
>>>> --- head/devel/py-dateutil/Makefile     Mon Jul 30 23:25:56 2018
>>>> (r475925)
>>>> +++ head/devel/py-dateutil/Makefile     Mon Jul 30 23:30:30 2018
>>>> (r475926)
>>>> @@ -2,9 +2,11 @@
>>>>  # $FreeBSD$
>>>>
>>>>  PORTNAME=      dateutil
>>>> -PORTVERSION=   2.6.1
>>>> +PORTVERSION=   2.7.3
>>>>  CATEGORIES=    devel python
>>>> +MASTER_SITES=  CHEESESHOP
>>>>  PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
>>>> +DISTNAME=      python-${PORTNAME}-${PORTVERSION}
>>>>
>>>>  MAINTAINER=    koobs at FreeBSD.org
>>>>  COMMENT=       Extensions to the standard Python datetime module
>>>> @@ -12,15 +14,18 @@ COMMENT=    Extensions to the standard Python
>> datetime
>>>> mo
>>>>  LICENSE=       BSD3CLAUSE
>>>>  LICENSE_FILE=  ${WRKSRC}/LICENSE
>>>>
>>>> +BUILD_DEPENDS=
>>>> ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@
>>>> ${PY_FLAVOR}
>>>>  RUN_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@
>> ${PY_FLAVOR}
>>>> +TEST_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@
>> ${PY_FLAVOR}
>>>> \
>>>> +               ${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@
>> ${PY_FLAVOR}
>>>> \
>>>> +
>>>>  ${PYTHON_PKGNAMEPREFIX}hypothesis>=3.30:devel/py-hypothesis@
>> ${PY_FLAVOR}
>>>>
>>>>  USES=          python
>>>> -USE_GITHUB=    yes
>>>>  USE_PYTHON=    autoplist distutils
>>>>
>>>>  NO_ARCH=       yes
>>>>
>>>>  do-test:
>>>> -       @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
>>>> +       @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
>>>>
>>>>  .include <bsd.port.mk>
>>>>
>>>> Modified: head/devel/py-dateutil/distinfo
>>>>
>>>>
>> ==============================================================================
>>>> --- head/devel/py-dateutil/distinfo     Mon Jul 30 23:25:56 2018
>>>> (r475925)
>>>> +++ head/devel/py-dateutil/distinfo     Mon Jul 30 23:30:30 2018
>>>> (r475926)
>>>> @@ -1,3 +1,3 @@
>>>> -TIMESTAMP = 1499770849
>>>> -SHA256 (dateutil-dateutil-2.6.1_GH0.tar.gz) =
>>>> ea1872b3296efca80dec69aef6217895d7776008fcfba3532fb53bbdc7814ad1
>>>> -SIZE (dateutil-dateutil-2.6.1_GH0.tar.gz) = 259460
>>>> +TIMESTAMP = 1532990877
>>>> +SHA256 (python-dateutil-2.7.3.tar.gz) =
>>>> e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8
>>>> +SIZE (python-dateutil-2.7.3.tar.gz) = 302871
>>>>
>>>>
>>>
>>
>>
> 



More information about the svn-ports-head mailing list