Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2018 12:04:04 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Carsten Larsen <cs@innolan.net>, "ports@FreeBSD.org" <ports@freebsd.org>
Subject:   Re: Porting python applications and meeting dependency requirements
Message-ID:  <a4095ec9-7244-d087-c11a-0cf966baa479@FreeBSD.org>
In-Reply-To: <107c43ad-a042-61bf-e8fe-565f2f6e8d2d@innolan.net>
References:  <107c43ad-a042-61bf-e8fe-565f2f6e8d2d@innolan.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13/08/2018 7:52 am, Carsten Larsen wrote:
> Hi @ports
> 
> I am not so familiar with porting python applications. There seems to be
> some caveats, dependencies being one of them. Question is: Would it be
> difficult to make a port of The Onion Box? Source is on Github:
> https://github.com/ralphwetzel/theonionbox

It's also registered in PyPI: https://pypi.org/project/theonionbox/ with
its source distribution ('sdist') uploaded there.

Porting python packages is relatively straight forward, particular those
that use standard Python ecosystem mechanisms (distutils/setuptools,
etc). This looks fairly straightforward at a quick glance to port.

Dependencies are listed in setup.py:install_requires [1] which
correspond to RUN_DEPENDS

If some of the dependencies aren't in ports, they'll need porting first.

Some Python specific porting guidelines to help:

https://wiki.freebsd.org/Python/PortsPolicy

#freebsd-ports or #freebsd-python @ freenode IRC if you have any
questions or need help.

[1] https://github.com/ralphwetzel/theonionbox/blob/master/setup.py#L375

> Regard
> Carsten

./koobs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a4095ec9-7244-d087-c11a-0cf966baa479>