From nobody Sat Sep 2 06:59:39 2023 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 4Rd5P85xnSz4s6KM; Sat, 2 Sep 2023 06:59:40 +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 4Rd5P814k7z3Gt3; Sat, 2 Sep 2023 06:59:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693637980; 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=G2HmYDltDH3El7wDDnVTr/TjjbpPojLL6zKxyJ4quwY=; b=OMlDCI1OYCpFwJ6TK0DSKSXStCDGyR2tDHWC8CSrOXerRSuSKUJvsl0iq6WzMfDEw/uoK9 49adkmK/a4YXA2UFzMACPvxNDEsLcQMqQkgEeZDNcVm4FRPdu9feyrbnEfw7oiMhNJyHsg 03+KVb1YD1JB1+4oW8sUUzg+SbzulPV1J5dAcBxtTcDCNZRJU2ER7VdNreq22OgJmRdibR NtCSvYW5j+Afzk9NkwhU7vsg58gSAIXmdrSGd4n6OpCLXcL+R6VhKwKuql5f4Dgx/Vip+t w3QG6Gd+Z0KjzUrpEobXAJQD0txVXd70lainO4bMoUNLHoTIGXxeIaxmhl0RFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693637980; a=rsa-sha256; cv=none; b=sLhAGvhAAhFd7GTQEe72mnDKyLm3e6Tt7LHe8T0gdJgmz+HID3ucGrPiwXCViQCYcgLuHP HbuXNGPwkG9Js00xbq1BoIaVSPFyZpbXEnvFyE9bR472H1JLULQTUrmf6nV93f1LYSkDq3 XiZixoFishULONcg8WV2FFqN6q8Z5EuEeBJZ7wxH0cjaIP7tpTpDWPhF8d6VY4Z+RTFaMd YbIL7tTDzLK0GQiqQ2puHGHfNGiXQ7Sv+6Zmj85d8N6eGuB9FtzQCibRjf+8c1PNRVNOJH /dbzsYpCc2mNINF6HUZflT17opUilcKXGHU8vHsGw024XvOcpO9hRkEjHOYi2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693637980; 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=G2HmYDltDH3El7wDDnVTr/TjjbpPojLL6zKxyJ4quwY=; b=isB3zLlRGEpYgJX6qDzsG0L0YGsN6+GrBF5QIO8fhzhaqu7K9ftXni9/MSHr1PD4UPcCuL lLGtO/Cmp6NTsPrkolWXsGEMd5hUvsHVdsHcsSH2DFC4/rwh77O40B5TzxPbCb/Fy9xK4I HMygJZISCVjgOqflLlWuhTbi8MD//j2Nsu9PCinTOMLthR3JtiuQ9IKPMk7wIGGg28DC21 ONMHNTHc5kp7/YKr93iPifQlRUTkGToGxAxGXTRGdzlLgL99pouyHFTHq79RuJ4f2UpiCC yM3okPxXh+kcZd9+6zZoRasbZbPx/Bz9I0JbLzivPxbzNk/Z7aBRvpaLYMsZ0g== 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 4Rd5P76xXfzYvH; Sat, 2 Sep 2023 06:59:39 +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 3826xdEs065315; Sat, 2 Sep 2023 06:59:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3826xdk6065312; Sat, 2 Sep 2023 06:59:39 GMT (envelope-from git) Date: Sat, 2 Sep 2023 06:59:39 GMT Message-Id: <202309020659.3826xdk6065312@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 9276ea755361 - main - textproc/py-paginate: New port 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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9276ea755361d328a97c99e8aeaf5957d2dcbc17 Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=9276ea755361d328a97c99e8aeaf5957d2dcbc17 commit 9276ea755361d328a97c99e8aeaf5957d2dcbc17 Author: Kai Knoblich AuthorDate: 2023-09-02 06:41:56 +0000 Commit: Kai Knoblich CommitDate: 2023-09-02 06:59:19 +0000 textproc/py-paginate: New port This module helps dividing large lists of items into pages. The user is shown one page at a time and can navigate to other pages. Imagine you are offering a company phonebook and let the user search the entries. If the search result contains 23 entries but you may want to display no more than 10 entries at once. The first page contains entries 1-10, the second 11-20 and the third 21-23. --- textproc/Makefile | 1 + textproc/py-paginate/Makefile | 18 ++++++++++++++++++ textproc/py-paginate/distinfo | 3 +++ textproc/py-paginate/pkg-descr | 8 ++++++++ 4 files changed, 30 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index b9bc40227ec9..99e073a5aa17 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1457,6 +1457,7 @@ SUBDIR += py-os-api-ref SUBDIR += py-packageurl-python SUBDIR += py-pager + SUBDIR += py-paginate SUBDIR += py-pallets-sphinx-themes SUBDIR += py-pandocfilters SUBDIR += py-paragrep diff --git a/textproc/py-paginate/Makefile b/textproc/py-paginate/Makefile new file mode 100644 index 000000000000..7aa6ae70d2b8 --- /dev/null +++ b/textproc/py-paginate/Makefile @@ -0,0 +1,18 @@ +PORTNAME= paginate +DISTVERSION= 0.5.6 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Divides large result sets into pages for easier browsing +WWW= https://github.com/Pylons/paginate + +LICENSE= MIT + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-paginate/distinfo b/textproc/py-paginate/distinfo new file mode 100644 index 000000000000..88b1187f8d89 --- /dev/null +++ b/textproc/py-paginate/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1693486033 +SHA256 (paginate-0.5.6.tar.gz) = 5e6007b6a9398177a7e1648d04fdd9f8c9766a1a945bceac82f1929e8c78af2d +SIZE (paginate-0.5.6.tar.gz) = 12840 diff --git a/textproc/py-paginate/pkg-descr b/textproc/py-paginate/pkg-descr new file mode 100644 index 000000000000..632ad91eb32b --- /dev/null +++ b/textproc/py-paginate/pkg-descr @@ -0,0 +1,8 @@ +This module helps dividing large lists of items into pages. The user is shown +one page at a time and can navigate to other pages. + +Imagine you are offering a company phonebook and let the user search the +entries. If the search result contains 23 entries but you may want to +display no more than 10 entries at once. + +The first page contains entries 1-10, the second 11-20 and the third 21-23.