From owner-freebsd-ports@freebsd.org Mon Feb 8 05:01:42 2021 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 7DF8E5452DD for ; Mon, 8 Feb 2021 05:01:42 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4DYv522w44z4gFy for ; Mon, 8 Feb 2021 05:01:42 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf1-x42c.google.com with SMTP id t29so8914373pfg.11 for ; Sun, 07 Feb 2021 21:01:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:message-id:date:mime-version:user-agent:reply-to:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=3Mw6TA/F5p9A79n3eF5JgubQGCrm3o9XrlY0RykFPY4=; b=dMPzAPAoZt00CgmXMxdJWzwPdYNGvJuB7P4IGUbf+4w70DYrXe+eDO1h6+HCk5fa++ YoWNN8JchALdjCS2YReaZydPhBpkw3Qcx4JsJDdYo7ohFi/HLTdMR1RsnV93PFAGpzC5 NuBcldBqVaaMTq7t50DKA3V/dgPRiFxQdNvYnHwTo6T8NY3FmSgNrGPg5ay/N6N+F5tp lvBbkYL35c2t/0yyzTngOmtqmsvNvv+MykDC6mBttkh5/QHYlpbCwJTR76tdPDwWAQXD iaXoDatQDc405h3+84xLhOpG4ZPcBa1ETS4mGbDFkILcN9rukXp5KB+CcPVqTCfCoJaQ NopA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :reply-to:subject:content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=3Mw6TA/F5p9A79n3eF5JgubQGCrm3o9XrlY0RykFPY4=; b=QcPafuiLWUNNMQb+FQAfUDt7V4ckF05IL4UHSGs7KWuW4GtpyOnXkZJqbhrc5F7NLi WDBWKMrvwEo+mrjhUjb1AWjIZgTQ8yPNvi321PP/+BlELsddOnYbYJi+eH3FJ4OSwP9c 6WrJIwN9qvLuYf5DEGRbJuRxKqtfomJ4p47uScrYP3QYMuhpS9JJzKZmi9ZyCEvYJypF PCDwbDVvduJMY1OXkOYFy8ytHQ6mYXuxuQFYs0auTIHBnyY/IEeiCiljVR92xBu5korj IMtS0YcIStvW9riOz5Q56awvWYySGGMkNme6rqStr8sMXT/QFr8P7PHmL+NHpbMO5D8N gHIw== X-Gm-Message-State: AOAM530rU8luMMImhW5EHKKJ9iDNyig2VlbkWitdOH9px1Irg/seDoa9 ogWXVvgMYokIgk5tpTmqgV9Gah3FKCQ= X-Google-Smtp-Source: ABdhPJwuA0OuI71uyu6DQzvvqxwRXeZqEsXRt3WW8J0F6jiYaSGmUR/xhd7rw3Q7aeJgL14JR5WwBw== X-Received: by 2002:a63:2746:: with SMTP id n67mr15025369pgn.54.1612760500363; Sun, 07 Feb 2021 21:01:40 -0800 (PST) Received: from ?IPv6:2403:5800:7500:3601:45e7:2cc5:3501:6443? ([2403:5800:7500:3601:45e7:2cc5:3501:6443]) by smtp.gmail.com with UTF8SMTPSA id j185sm17527322pge.46.2021.02.07.21.01.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Feb 2021 21:01:39 -0800 (PST) Sender: Kubilay Kocak Message-ID: <23d1f2a7-9d6a-6e2a-f26f-3e1301945354@FreeBSD.org> Date: Mon, 8 Feb 2021 16:01:35 +1100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Thunderbird/87.0a1 Reply-To: koobs@FreeBSD.org Subject: Re: Question on figuring out category for new port Content-Language: en-US To: Adam Jimerson , freebsd-ports@freebsd.org References: <4858853.YNO7O01DYZ@heimdall> <16049921.vxEf1mJfsr@heimdall> From: Kubilay Kocak In-Reply-To: <16049921.vxEf1mJfsr@heimdall> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DYv522w44z4gFy X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_FROM(0.00)[]; REPLY(-4.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2021 05:01:42 -0000 On 8/02/2021 2:28 pm, Adam Jimerson wrote: > On Sunday, February 7, 2021 9:05:31 PM EST Kubilay Kocak wrote: >> www/py-adblock [1] as its primary use will be in and for browsers (in >> this case qutebrowser (also in www) > > Thanks for your input, that was my main thinking as well as to why it might go > under the www category. You're welcome >> One may consider adding 'net' as a secondary if it can be used outside >> the browser (www) context (say like a pihole thingy) > > Interesting thought, I don't see why other programs/projects wouldn't be able > to also use this port as it basically adds python bindings around the already > existing rust API exposed by the project. I suppose the question then is, are there any non browser consumers for this software that already exist? I'd just stick it in www until such time as one or more appears, adding 'net' to CATEGORIES (secondary/virtual) when they do. >> [1] noting the "canonical" and registered PyPI name from this project is >> 'adblock' not 'python-adblock' (the repo name) > > Yeah I already figured that the port should have the "py-" prefix in the name to > follow the FreeBSD naming convention for python ports, even though the name is > not consistent between the repo and PyPI. Thus the port would be "py-adblock" > in the ports tree as well as follow the naming convention for the python > flavors "py36-", "py37-" when packaged. > Yep, use PKGNAMEPREFIX=${PYTHON_PKGNAMEPREFIX}, and setting USES=python: to the supported python versions range