Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Sep 2019 07:08:55 -0400
From:      "Dan Langille" <dan@langille.org>
To:        "Kubilay Kocak" <koobs@FreeBSD.org>, dvl <dvl@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r510954 - in head/devel: . py-holidays
Message-ID:  <219527dc-eff8-4d48-9538-e9be962807d4@www.fastmail.com>
In-Reply-To: <235e5da0-9d27-810f-b049-e0bed8531a9b@FreeBSD.org>
References:  <201909031545.x83Fj9X9015105@repo.freebsd.org> <235e5da0-9d27-810f-b049-e0bed8531a9b@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 3, 2019, at 9:33 PM, Kubilay Kocak wrote:
> On 4/09/2019 1:45 am, Dan Langille wrote:
> > +PORTNAME=	holidays
> > +PORTVERSION=	0.9.11
> > +CATEGORIES=	devel
> 
> Add python as a secondary virtual category

Yes, I will. This was a repeated error yesterday.

> 
> > +MASTER_SITES=	https://files.pythonhosted.org/packages/d0/17/a452275a0b3e811a381137ff6a61649086af4c5bf2a25755f518cc64b39e/
> 
> Problem with CHEESESHOP?

Yes, it does not fetch, and I could not determine why.

The download link at https://pypi.org/project/holidays/ is https://files.pythonhosted.org/packages/33/fb/ad98d46773929079657706e6b2b6e366ba6c282bc2397d8f9b0ea8e5614c/fbprophet-0.5.tar.gz

When using CHEESESHOP, it tried to download:

* https://files.pythonhosted.org/packages/source/p/prophet/prophet-0.5.tar.gz
* https://pypi.org/packages/source/p/prophet/prophet-0.5.tar.gz

And failed.

Now, when I try CHEESESHOP, it succeeds.

I have no idea why it works now:

$ sudo make sudo make fetch
===>  License MIT accepted by the user
===>   py36-holidays-0.9.11 depends on file: /usr/local/sbin/pkg - found
=> holidays-0.9.11.tar.gz doesn't seem to exist in /usr/home/dan/WorkingCopyPortsTree/distfiles/.
=> Attempting to fetch https://files.pythonhosted.org/packages/source/h/holidays/holidays-0.9.11.tar.gz
holidays-0.9.11.tar.gz                                  79 kB 3113 kBps    00s
===> Fetching all distfiles required by py36-holidays-0.9.11 for building
[dan@r710-01:~/WorkingCopyPortsTree/devel/py-holidays] $ 



> 
> > +PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> > +
> > +MAINTAINER=	gmm@tutanota.com
> > +COMMENT=	Generate country, province, & state specific holiday sets on the fly
> > +
> > +LICENSE=	MIT
> 
> Add LICENCE_FILE when one is available/provided in the source distribution

LICENSE_FILE=   LICENSE

> 
> > +
> > +USES=		python
> > +USE_PYTHON=	autoplist distutils
> > +
> > +BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
> > +BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}
> 
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?219527dc-eff8-4d48-9538-e9be962807d4>