On Thu, 15 Nov 2018 21:49:38 +0100, Matthias Kilian <[email protected]> wrote:
> Hi, > > On Thu, Nov 15, 2018 at 07:18:27AM -0500, Daniel Jakots wrote: > > > On 11/12/18 5:32 PM, Daniel Jakots wrote: > > > Updated version attached, thank you. > [...] > > Thanks Pamela, committed! > > Sorry for beeing late... > > but it tries to download pytest-runner during the build: > > >>> Running build in www/py-mastodon.py at 1542300962 > ===> www/py-mastodon.py > ===> Building for py-mastodon.py-1.3.1 > Download error on https://pypi.org/simple/pytest-runner/: [Errno 65] > No route to host -- Some packages may not be found! > > Fortunately, we have this in ports (as devel/py-test-runner), so > adding a BUILD_DEPENDS on it helps: > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/www/py-mastodon.py/Makefile,v > retrieving revision 1.1.1.1 > diff -u -p -r1.1.1.1 Makefile > --- Makefile 15 Nov 2018 12:14:05 -0000 1.1.1.1 > +++ Makefile 15 Nov 2018 20:35:53 -0000 > @@ -22,6 +22,8 @@ MODPY_PI = Yes > FLAVORS = python3 > FLAVOR ?= > > +BUILD_DEPENDS = devel/py-test-runner${MODPY_FLAVOR} > + > RUN_DEPENDS = devel/py-dateutil${MODPY_FLAVOR} \ > devel/py-decorator${MODPY_FLAVOR} \ > devel/py-six${MODPY_FLAVOR} \ Oh, you're right, ok danj@ > Also, the package name looks a little bit odd to me (py-mastodon.py is > too much py for my taste); no diff for this, because it would require > quirks and conflict markers, and I'm too tired at the momen ;-) It's the upstream name so I'm not sure another name would be a good thing.
