Help with porting Python libraries

Kurt Jaeger pi at opsec.eu
Sun Dec 29 18:23:03 UTC 2019


Hi!

> I've got a system where I had to install a few Python libraries with pip,
> but I don't like this, since pkg info will not list them.
> 
> Thus I'm trying to port them, but I never ported Python libraries before;
> so, before I submit my work, I thought I'd ask if someone more
> experienced than me might have a look at it.

> My first attempt was at IMAPClient: I copied another port (net/py-GeoIP2)
> and modified it; this is the Makefile I came up with.
[...]

Thanks. If you test it with portlint -AC and re-arrange a few
lines, portlint will report 'looks fine.' A testbuild with poudriere
worked fine.

USES before the rest of the lines, and it's silent:

USES=           python
USE_GITHUB=     yes
USE_PYTHON=     autoplist distutils
GH_ACCOUNT=     mjs
GH_PROJECT=     imapclient
NO_ARCH=        yes

-- 
pi at opsec.eu            +49 171 3101372                    One year to go !


More information about the freebsd-ports mailing list