From nobody Thu Nov 21 19:58:54 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 4XvTZR0M4Fz5dWcX; Thu, 21 Nov 2024 19:58:55 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XvTZQ6wFZz4m8F; Thu, 21 Nov 2024 19:58:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732219135; 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=/LaRZ9andJJKMWh7gQOaKGQPEhA1mr8KDrCtjjW7Fmo=; b=BbTTyzW5L++cGnSRTV0sGNxoMMnMmw29Bl55aZmWaCTPR+9UQldqrabA5xu9g1jtxI1P3n I/DTpypJta66VuiwBBZlB8nAFmTQx9oK70+Y3iDWqaT6X8jS71G23+bUwbE918URlhVvFV MzDSm+BdELUTAbUOOLVAZgEY9kMugnmaIbJju/81qbSUwLv72LTi592ZVEMMb+UG+vf5WF VpgEM5uydFsxQ/BoDMM21ChZ708dOvTx4Me73FzhQJdja1vONEMs7ucMsY1sx9rO1jbaEx j3Jyt5uR/s9GLWGzhbz15aaAb1ux9Mc5dLLYP1WdhVLhHBO1rQ1Mo4SmdnHGJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732219135; 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=/LaRZ9andJJKMWh7gQOaKGQPEhA1mr8KDrCtjjW7Fmo=; b=HLOet+cY2YIYt6GhFzjWQZEWJeKUooCcBJkzGD2urzLtMrPWtQTp+WDVepF2TPoBKHM6h9 2R4k2Ad5CpV+tyOjwaAYjdU5nfcDmqMBgHslizULO+Q5iEtD0E0sV9vGBHVfx2++9ELZPj wVmBR9XcfheG7W2MTyw8b+2fUGQvvM+Iss2nT872mfvCJHxCW0TT+P+df3wLZRr57qXfjS w4jX89ow6dPDCA6hVfVK5g3jpTRuPvfd1dWODoVuUkiOELjoRuwyJqqOt+JfdmSAaarvtX OuHMdHgbWRTut4vE1uO9Pgcte7hysTuVgvK2CZ44tLD53atsGg9QcVKetrWLtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732219135; a=rsa-sha256; cv=none; b=W4snN0PB2D9xoaBeTE3Mvjrxmab67DDxM5BA0GLQPR+9kvw24NUCWYpyEsUinXWJ6fnOtg n2L6te2iOP9wwIkExEExTu9F0qFFBiWxbK0ABpgN0je9XcgrDCvdkjJ+5pvxTs323t5QtL iAeDYDJU1r5VasEyO7SvOvLMcluVct58SQjlEC607KtmOVw0+KTtKZMmKYL1mzXonN8kyq TSSITiDTNTAF7c9SvlVvBleLuoCKc3vmrhjc+tHKHTUOuldOrwZVorlRgxi7EJJSgcIAm1 YD467SZiuEnwZGqAEilOE6NkBPtNt+141fRwkG2E72KwBkzU2Hji4wS/pHizsA== 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 4XvTZQ6HY6zsZp; Thu, 21 Nov 2024 19:58:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4ALJwsD7026019; Thu, 21 Nov 2024 19:58:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4ALJws50026016; Thu, 21 Nov 2024 19:58:54 GMT (envelope-from git) Date: Thu, 21 Nov 2024 19:58:54 GMT Message-Id: <202411211958.4ALJws50026016@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dries Michiels Subject: git: f99fa9aaa52d - main - archivers/py-comicapi: add 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: driesm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f99fa9aaa52dc13b42d13d6bd63bacc924bb1683 Auto-Submitted: auto-generated The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=f99fa9aaa52dc13b42d13d6bd63bacc924bb1683 commit f99fa9aaa52dc13b42d13d6bd63bacc924bb1683 Author: Matthew Wener AuthorDate: 2024-11-21 15:29:05 +0000 Commit: Dries Michiels CommitDate: 2024-11-21 19:58:30 +0000 archivers/py-comicapi: add new port Comic archive (cbr/cbz) and metadata utilities. PR: 282841 --- archivers/Makefile | 1 + archivers/py-comicapi/Makefile | 49 +++++++++++++++++++++++++++++++++++++++++ archivers/py-comicapi/distinfo | 3 +++ archivers/py-comicapi/pkg-descr | 2 ++ 4 files changed, 55 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index 755d5fb7dc95..9dc3c5ed3c0f 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -193,6 +193,7 @@ SUBDIR += py-brotlipy SUBDIR += py-bup SUBDIR += py-bz2file + SUBDIR += py-comicapi SUBDIR += py-compressed-rtf SUBDIR += py-cramjam SUBDIR += py-laszip diff --git a/archivers/py-comicapi/Makefile b/archivers/py-comicapi/Makefile new file mode 100644 index 000000000000..9a6e88ded594 --- /dev/null +++ b/archivers/py-comicapi/Makefile @@ -0,0 +1,49 @@ +PORTNAME= comicapi +PORTVERSION= 3.2.0 +CATEGORIES= archivers python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@wener.org +COMMENT= Comic archive (cbr/cbz) and metadata utilities +WWW= https://github.com/comictagger/comicapi + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}natsort>=0:devel/py-natsort@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycountry>=0:textproc/py-pycountry@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rapidfuzz>=0:devel/py-rapidfuzz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}text2digits>=0:textproc/py-text2digits@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wordninja>=0:textproc/py-wordninja@${PY_FLAVOR} + +USES= python + +USE_GITHUB= yes +GH_ACCOUNT= comictagger +GH_TAGNAME= 2bf8332 +USE_PYTHON= autoplist distutils pytest + +TEST_ENV= ${MAKE_ENV} \ + PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +OPTIONS_DEFINE= 7Z CBR ICU +OPTIONS_DEFAULT= ICU + +7Z_DESC= 7-Zip +CBR_DESC= CBR +ICU_DESC= ICU + +7Z_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py7zr>=0:archivers/py-py7zr@${PY_FLAVOR} +CBR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rarfile>=0:archivers/py-rarfile@${PY_FLAVOR} \ + unrar>=0:archivers/unrar +ICU_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyicu>=0:devel/py-pyicu@${PY_FLAVOR} + +# The two sorting tests may fail based on system locale +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v + +.include diff --git a/archivers/py-comicapi/distinfo b/archivers/py-comicapi/distinfo new file mode 100644 index 000000000000..781ecf7d8b70 --- /dev/null +++ b/archivers/py-comicapi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1724809518 +SHA256 (comictagger-comicapi-3.2.0-2bf8332_GH0.tar.gz) = a96a0cdca8f5efc3337fe194f59b86e369e23d12e0fcec81e3c34b9e652c1f18 +SIZE (comictagger-comicapi-3.2.0-2bf8332_GH0.tar.gz) = 17401837 diff --git a/archivers/py-comicapi/pkg-descr b/archivers/py-comicapi/pkg-descr new file mode 100644 index 000000000000..a570852122c8 --- /dev/null +++ b/archivers/py-comicapi/pkg-descr @@ -0,0 +1,2 @@ +Comic archive (cbr/cbz) and metadata utilities. +Extracted from the comictagger project.