Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 15:39:52 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        "Tobias C. Berner" <tcberner@gmail.com>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, python <python@FreeBSD.org>
Subject:   Re: svn commit: r475926 - head/devel/py-dateutil
Message-ID:  <b1dddfb2-55e7-2975-0769-6bae22fa9daa@FreeBSD.org>
In-Reply-To: <CAOshKtffCR2N30zOPmAkSyoMm640OtsTXrXcL7ghQtQrgb5Uqg@mail.gmail.com>
References:  <201807302330.w6UNUUox059354@repo.freebsd.org> <CAOshKtdhso3y0V%2Bng_YL2QzQhKA4m9Ppkj_zW1QHnUwVCmmHgg@mail.gmail.com> <c0642fa5-b2b3-a0af-b7cb-e279c629dba3@FreeBSD.org> <CAOshKtffCR2N30zOPmAkSyoMm640OtsTXrXcL7ghQtQrgb5Uqg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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@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
>>>>
>>>>
>>>
>>
>>
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1dddfb2-55e7-2975-0769-6bae22fa9daa>