Date: Sun, 29 Dec 2019 18:54:00 +0100 From: Andrea Venturoli <ml@netfence.it> To: ports@freebsd.org Subject: Help with porting Python libraries Message-ID: <e8f3c34d-8f2a-6044-2b48-1df5227bc732@netfence.it>
next in thread | raw e-mail | index | archive | help
Hello. 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. > # $FreeBSD$ > > PORTNAME= IMAPClient > PORTVERSION= 2.1.0 > CATEGORIES= mail python > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > > MAINTAINER= ml@netfence.it > COMMENT= Easy-to-use, Pythonic and complete IMAP client library > > LICENSE= BSD3CLAUSE > > RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} > > GH_ACCOUNT= mjs > GH_PROJECT= imapclient > > NO_ARCH= yes > USES= python > USE_GITHUB= yes > USE_PYTHON= autoplist distutils > > .include <bsd.port.mk> "port test" gives some warning, but seems to say it's ok. Anything wrong? bye & TIA av.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e8f3c34d-8f2a-6044-2b48-1df5227bc732>