From owner-freebsd-python@freebsd.org Mon Dec 30 02:26:19 2019 Return-Path: Delivered-To: freebsd-python@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 D13E51D21D0 for ; Mon, 30 Dec 2019 02:26:19 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47mLs74Jy6z4QCN for ; Mon, 30 Dec 2019 02:26:19 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 925541D21CD; Mon, 30 Dec 2019 02:26:19 +0000 (UTC) Delivered-To: python@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 920621D21CC; Mon, 30 Dec 2019 02:26:19 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47mLs656JLz4QCM; Mon, 30 Dec 2019 02:26:18 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf1-x443.google.com with SMTP id z16so17594833pfk.0; Sun, 29 Dec 2019 18:26:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6BqwX2BXrRaOdKxU1G0TjyoJ/UGqrsHAPOhAdQa/dd0=; b=uYcIOOQtzJOr3KF9zgvyt3Cg422oxMXRDEki+TIBITG8VjcpENrjBau8avKoHmebPg qHBnCD6wSv/sxa8zzuMgVziC5V3Ojnvx59U84tSG4orguOobthSh/5m/a2T02JTYMGjh YVQVYktpaRge60AOuHcapBYGCjcYSnPM7oY+iP7ZsrVxWD8OdG/Q5htpxdOppalZooYy JFWR9laZzq/n7G29+vzFxRVbfA7WHLtEzH7lWeaxJEPAJm/HhazCCvGzV2DeZ72YUZAK IPmEfjavqGKKFL1wVpP4I3qrh0pQx/ptOZo+Mm+O3Dtwjb+N0EStH4gWCp5uUGThHdVY MspQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=6BqwX2BXrRaOdKxU1G0TjyoJ/UGqrsHAPOhAdQa/dd0=; b=lthVg/SY5VZyvP4ZpJiL6mI6mzqTRZs380On10sW7BRvLvxPscLZKi/AwSq7uhhmGS lwUbGc/ZTzVUvCExJllq+33ihDh7U+sS0eCw5VJPR3Rx89APFCg/dnjm6ZcMZ7Je+At+ BFTTRQFaTvqP8+e+djJQNVoYQEHCGhmRGv07wBYQTJYXrA1WbbsHTrh5NN0TBN5OcGSO C9SdTl3BHrbDZum/XzRV6JXymhiLBFBR24XgFUOaraGlc0+HWo21Y0wkG4hjD8uM0yWT h0Uz41GUMMu5iIEizYUYodMoz+mi2mIohlS93/R1sPjYd5gbgRME/ONMDI7gLMhhtTPC s7mA== X-Gm-Message-State: APjAAAVBl8zSnZsKa8lH0XhV/uI9QOujP4zipa4TvQTgz6GHYueK2BIE wbyZjWNMEuyjlDxF4lESRUBEywRW X-Google-Smtp-Source: APXvYqzhBbYLtOmgyxcR3c7EAsNHtWMakIs03VmSEcXtyCwSahBk9bpD08pS79FOQFg7QbT1NJFBSA== X-Received: by 2002:aa7:9296:: with SMTP id j22mr39031146pfa.201.1577672776970; Sun, 29 Dec 2019 18:26:16 -0800 (PST) Received: from [192.168.1.110] (180-150-68-130.b49644.syd.nbn.aussiebb.net. [180.150.68.130]) by smtp.gmail.com with ESMTPSA id 64sm47568601pfd.48.2019.12.29.18.26.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Dec 2019 18:26:16 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: Help with porting Python libraries To: Andrea Venturoli , ports@freebsd.org, python References: From: Kubilay Kocak Message-ID: <850bbe75-06a2-0af6-fec8-8f6d3bd7c260@FreeBSD.org> Date: Mon, 30 Dec 2019 13:26:12 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Thunderbird/72.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 47mLs656JLz4QCM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=uYcIOOQt; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::443 as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-3.16 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; IP_SCORE(-0.96)[ip: (-0.70), ipnet: 2607:f8b0::/32(-2.15), asn: 15169(-1.87), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2019 02:26:19 -0000 On 30/12/2019 4:54 am, Andrea Venturoli wrote: Hi Andrea, nice first job on a Python port :) > # $FreeBSD$ > > PORTNAME=    IMAPClient Lowercase this PORTNAME > 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 Add LICENSE_FILE pointing to license file if one exists in the source download Both the PyPI sdist (MASTER_SITES=CHEESESHOP) and the GitHub repo have one: "COPYING" > > 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 MASTER_SITES=CHEESESHOP if the project uploads a source tarball ("sdist") there, unless there's a compelling temporary reason to use an alternative source, like missing license files, test files, etc. > USE_PYTHON=    autoplist distutils > > .include For details Python Ports Policy & Guidelines/Tips: https://wiki.freebsd.org/Python/PortsPolicy If it doesn't answer any questions, needs clarifications or additions, let us know If you need further help or just want to hang out, we have a #freebsd-python channel on freenode IRC, come and say hi :) ./koobs