From owner-freebsd-ports@freebsd.org Sun Dec 29 17:54:14 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4F3F01E5761 for ; Sun, 29 Dec 2019 17:54:14 +0000 (UTC) (envelope-from ml@netfence.it) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47m7VF6vvCz3QVJ for ; Sun, 29 Dec 2019 17:54:13 +0000 (UTC) (envelope-from ml@netfence.it) Received: by mailman.nyi.freebsd.org (Postfix) id EB2981E575E; Sun, 29 Dec 2019 17:54:13 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EAF181E575B for ; Sun, 29 Dec 2019 17:54:13 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47m7VD2WT7z3QVD for ; Sun, 29 Dec 2019 17:54:11 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id xBTHs0SZ088187 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sun, 29 Dec 2019 18:54:03 +0100 (CET) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=201911; t=1577642043; bh=lMI04N83r0Fg5i3+gVhWJ1pZhf3/jQQpzenw6QFKbVs=; h=To:From:Subject:Date; b=YwD3onmG5qLCZrLH5DWKPs7B7GPM0/jpidhDdRQCfEuw6uqZWBhwwCSS9nRWLlyKU zipFTgCMnN6M4+b8AFiiWmGU4MW+QqVIyDjyYzSb+j7FdWi+HvXTI0O5l6+gStnJtZ 3ta7VFiHB3iSsB3jAee2HGB+LAUcj6fJemK6L4zs= X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu To: ports@freebsd.org From: Andrea Venturoli Subject: Help with porting Python libraries Message-ID: Date: Sun, 29 Dec 2019 18:54:00 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47m7VD2WT7z3QVD X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netfence.it header.s=201911 header.b=YwD3onmG; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 2.44.121.52 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-4.38 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[netfence.it:s=201911]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:2.44.121.52]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[netfence.it:+]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.38)[ip: (-7.20), ipnet: 2.44.0.0/16(-3.60), asn: 30722(3.84), country: IT(0.03)]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2019 17:54:14 -0000 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 "port test" gives some warning, but seems to say it's ok. Anything wrong? bye & TIA av.