On 2018/09/27 12:18, Solene Rapenne wrote:
> Frederic Cambus <f...@statdns.com> wrote:
> > On Thu, Sep 20, 2018 at 10:30:42PM +0200, Frederic Cambus wrote:
> > 
> > > > > Here is a new port: graphics/termtosvg.
> > > > > 
> > > > > Also attaching a port for devel/py-pyte which is required as a 
> > > > > RUN_DEPENDS.
> > > > 
> > > > I can't compile py-pyte
> > > 
> > > [...]
> > > 
> > > > ===>  Building package for py-pyte-0.8.0
> > > > Create /usr/ports/packages/amd64/all/py-pyte-0.8.0.tgz
> > > > Creating package py-pyte-0.8.0
> > > > Error: duplicate item in packing-list 
> > > > /usr/local/lib/python2.7/site-packages/pyte
> > > > Fatal error: can't continue
> > > 
> > > Indeed, thanks for pointing this out, only py3-pyte could be built.
> > > 
> > > Here is a new tarball for devel/py-pyte with required PLIST tweaks.
> > 
> > Ping. Anyone wiling to look at this? Thanks!
> > 
> > Tarballs reattached for convenience.
> 
> could you run update-plist in devel/py-pyte? the file order is different, and
> so we can run update-plist again when needed and won't trigger any change if
> nothing changed.

For python ports with a python3 flavour, "make plist" must be run using that
flavour e.g. "FLAVOR=python3 make plist".

> I'm not good at python ports, looking at others and Makefile.template, it 
> seems
> that variable order should be:
> 
> - MODULES
> - MODPY_*
> - RUN_DEPENDS
> - FAVORS

The variable order is a bit of a mixed bag with python ports (and
IMO it doesn't matter too much below the WANTLIB position), but
I would definitely like to see MODPY_EGG_VERSION moved up to the
top with DISTNAME.

Missing dep (at least needed at build time) :

===>  Building for py-pyte-0.8.0
Download error on https://pypi.org/simple/pytest-runner/: [Errno 65] No route 
to host -- Some packages may not be found!
Couldn't find index page for 'pytest-runner' (maybe misspelled?)


There has to be some category which is better than devel/.

Reply via email to