From nobody Thu Feb 08 08:29:43 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TVqsh1SPjz59GZ1; Thu, 8 Feb 2024 08:29:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TVqsh0yY0z4Txm; Thu, 8 Feb 2024 08:29:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707380984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YX0p+EQCrhClI5wFq8xeY1+cB77+WqCkgt3MLDk1aLQ=; b=oCd0MH03HeZYBoYac+18KUgoyGMsH2FbpRVA8+VACwrr7pmjcZdZgAJMMVSAzM0YyaWgWA TbOmjyuxwXfgn5Z5OqxvuAvu67WDfcp+Py03ZxkuQfLniAVPUjS4zEVAPXpGIv86AmSEvW mqHGHhZuv2b3YTAj3lsLf9zPEbCcMzkrzcOb64TLxKIeXZgSbXrO4EFAkTqWzBjpFvzINk teqAxTs8NJsMhGkGaCwHXr1ADTR+1bKqTx51DQONNOgwRxj63o4OmdnK/g+If9LIu+gMvC O0mRowvLbGMcleLvW6wqeEldq87hQJlZIw3kvnNU4g2XU91RmqBmsY6MYtfNmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707380984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YX0p+EQCrhClI5wFq8xeY1+cB77+WqCkgt3MLDk1aLQ=; b=EhcG9+iF08SWjJ+hCmriLrBZqDsdPWF2gSSuT0kvG0QGV/wS9uL2sCJwHv94cax2SRgJ7x X4R1ahcLE6tqwJ/gVHpZhx7zxPubKlxOj/nNQT76e7zXxcmG97e9+sTjGcwkm8Y0grIOd3 W4bMG0aaiURWpPWY/LUxolm7/j0B0fplPSLLWri4D7jv+o+fLQunZmaYnJpMpkWLvRwU82 XXB2qMLhs2+KJHpHNamPXiS6AQ1foM2pxkaddps4vB7YwWC+t4m7WjN2FK1J+rxRSZthMI Ysbyfd8cqlxpFoOZfAasWvKtuRrltumoJuqT/Lz9UR2t71HyEsM7Jr7baCDo9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707380984; a=rsa-sha256; cv=none; b=U6HUq+xI/UiE8fgv6IQFfX2gIbjl+8LSo8KllEYZObf0I7H/iEQFvfWb8GgvngvRbmftfQ dQSKD+4xkzpyv0TkfCDlCbUMSgp956hwVx9hA2c+qH7r5Sp5/tWUSP5maMH7WbchspWH9u ZS4DNjnKGa2NUmDHF5vvuVf1oC15OZ8H02bWDQssUbyf68rUdqyT9EuLWrelBH4dlYOqaU Eu0CaJP5AE5KaN0TKNQu+5A93xr+he0ccHOr5wTdUgC2rsUyKEEKEUdyfWJcxQlpl0AwKS pcl44pmRgy5vkFOM6LW8VEDPN1tIjtDEChap0w+5Pwcb7yDpbvTvZI/qobB5Wg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TVqsh01Mdzj4c; Thu, 8 Feb 2024 08:29:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4188ThEW000432; Thu, 8 Feb 2024 08:29:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4188Th2g000429; Thu, 8 Feb 2024 08:29:43 GMT (envelope-from git) Date: Thu, 8 Feb 2024 08:29:43 GMT Message-Id: <202402080829.4188Th2g000429@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 5a63c352e6a9 - main - devel/py-sqids: new port had been added (+) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5a63c352e6a95d72a9ccc4a77ccacf9606848cf6 Auto-Submitted: auto-generated The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a63c352e6a95d72a9ccc4a77ccacf9606848cf6 commit 5a63c352e6a95d72a9ccc4a77ccacf9606848cf6 Author: Alexey Dokuchaev AuthorDate: 2024-02-08 08:28:52 +0000 Commit: Alexey Dokuchaev CommitDate: 2024-02-08 08:28:52 +0000 devel/py-sqids: new port had been added (+) Python module to generate YouTube-like IDs from numbers. WWW: https://sqids.org/python --- devel/Makefile | 1 + devel/py-sqids/Makefile | 20 ++++++++++++++++++++ devel/py-sqids/distinfo | 3 +++ devel/py-sqids/pkg-descr | 15 +++++++++++++++ 4 files changed, 39 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 5fee254e1cdd..1b8fdbf870ce 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5644,6 +5644,7 @@ SUBDIR += py-speg SUBDIR += py-spyder-kernels SUBDIR += py-spyder-unittest + SUBDIR += py-sqids SUBDIR += py-squint SUBDIR += py-sre-yield SUBDIR += py-srsly diff --git a/devel/py-sqids/Makefile b/devel/py-sqids/Makefile new file mode 100644 index 000000000000..2e61457dc049 --- /dev/null +++ b/devel/py-sqids/Makefile @@ -0,0 +1,20 @@ +PORTNAME= sqids +PORTVERSION= 0.4.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= python@FreeBSD.org +COMMENT= Generate YouTube-like IDs from numbers +WWW= https://sqids.org/python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +.include diff --git a/devel/py-sqids/distinfo b/devel/py-sqids/distinfo new file mode 100644 index 000000000000..0771ad4390f9 --- /dev/null +++ b/devel/py-sqids/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1699862631 +SHA256 (sqids-0.4.1.tar.gz) = ffc3fbfef63491bee8b940a98065388345dbefb06d49e415b7a9e475ca200f9d +SIZE (sqids-0.4.1.tar.gz) = 14060 diff --git a/devel/py-sqids/pkg-descr b/devel/py-sqids/pkg-descr new file mode 100644 index 000000000000..8b44e4dd7bcd --- /dev/null +++ b/devel/py-sqids/pkg-descr @@ -0,0 +1,15 @@ +Sqids (pronounced "squids") is a small library that lets one generate +YouTube-like unique IDs from numbers. It is good for link shortening, +fast and URL-safe ID generation, and decoding back into numbers for +quicker database lookups. + +Good for: + + - Generating IDs for public URLs (e.g. link shortening) + - Generating IDs for internal systems (e.g. event tracking) + - Decoding for quicker database lookups (e.g. by primary keys) + +Not good for: + + - Sensitive data (this is not an encryption library) + - User IDs (can be decoded revealing user count)