From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A8DBC15800F for ; Sun, 12 Feb 2023 22:18:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E975AE0845; Sun, 12 Feb 2023 22:18:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E907E0845 for ; Sun, 12 Feb 2023 22:18:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CEC2B340BB9 for ; Sun, 12 Feb 2023 22:18:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E37E7D8 for ; Sun, 12 Feb 2023 22:18:14 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1676240292.5c2eb86b358dbc9047cbac088d7cfe805be04301.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/dtrx/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/dtrx/Manifest app-arch/dtrx/dtrx-8.5.0.ebuild app-arch/dtrx/dtrx-9999.ebuild app-arch/dtrx/metadata.xml X-VCS-Directories: app-arch/dtrx/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 5c2eb86b358dbc9047cbac088d7cfe805be04301 X-VCS-Branch: master Date: Sun, 12 Feb 2023 22:18:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 301b3187-d641-47fa-81da-103b634674f4 X-Archives-Hash: 9d449199edac99488f116c87a97befb7 commit: 5c2eb86b358dbc9047cbac088d7cfe805be04301 Author: Maciej Barć gentoo org> AuthorDate: Sun Feb 12 22:17:39 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sun Feb 12 22:18:12 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c2eb86b app-arch/dtrx: new package; add 8.5.0 and live Signed-off-by: Maciej Barć gentoo.org> app-arch/dtrx/Manifest | 1 + app-arch/dtrx/dtrx-8.5.0.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++ app-arch/dtrx/dtrx-9999.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++ app-arch/dtrx/metadata.xml | 14 +++++++++++ 4 files changed, 117 insertions(+) diff --git a/app-arch/dtrx/Manifest b/app-arch/dtrx/Manifest new file mode 100644 index 000000000000..304aa96c2903 --- /dev/null +++ b/app-arch/dtrx/Manifest @@ -0,0 +1 @@ +DIST dtrx-8.5.0.tar.gz 34061 BLAKE2B d8ecbd9f3594440656e40d811846dd302d271f189711176a406572871db69f98bb4fd81a76ebdce697faf8d56029f4dcf735d18795adf732809e6017a7395cf2 SHA512 0ef0c0c9c22d948f6a8ee801372605dae52f4f571a32bbaa180c2c1daab061d623119c91b745f6a86cd28d7d08cdb47029a4de38354bdb28c62acfab080cc0f1 diff --git a/app-arch/dtrx/dtrx-8.5.0.ebuild b/app-arch/dtrx/dtrx-8.5.0.ebuild new file mode 100644 index 000000000000..03c4b8340d0c --- /dev/null +++ b/app-arch/dtrx/dtrx-8.5.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Do The Right eXtraction - extracts archives of different formats" +HOMEPAGE="https://github.com/dtrx-py/dtrx/ + https://pypi.org/project/dtrx/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}-py/${PN}.git" +else + SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( README.md ) + +pkg_postinst() { + local supported_format + local -a supported_formats=( + arj + bzip2 + cpio + gzip + lrzip + lzip + p7zip + rpm + unrar + unzip + xz-utils + zip + zstd + ) + + for supported_format in ${supported_formats[@]}; do + optfeature \ + "extraction of supported archives using ${supported_format}" \ + app-arch/${supported_format} + done +} diff --git a/app-arch/dtrx/dtrx-9999.ebuild b/app-arch/dtrx/dtrx-9999.ebuild new file mode 100644 index 000000000000..03c4b8340d0c --- /dev/null +++ b/app-arch/dtrx/dtrx-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Do The Right eXtraction - extracts archives of different formats" +HOMEPAGE="https://github.com/dtrx-py/dtrx/ + https://pypi.org/project/dtrx/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}-py/${PN}.git" +else + SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( README.md ) + +pkg_postinst() { + local supported_format + local -a supported_formats=( + arj + bzip2 + cpio + gzip + lrzip + lzip + p7zip + rpm + unrar + unzip + xz-utils + zip + zstd + ) + + for supported_format in ${supported_formats[@]}; do + optfeature \ + "extraction of supported archives using ${supported_format}" \ + app-arch/${supported_format} + done +} diff --git a/app-arch/dtrx/metadata.xml b/app-arch/dtrx/metadata.xml new file mode 100644 index 000000000000..ed325e58479b --- /dev/null +++ b/app-arch/dtrx/metadata.xml @@ -0,0 +1,14 @@ + + + + + + xgqt@gentoo.org + Maciej Barć + + + https://github.com/dtrx-py/dtrx/issues/ + dtrx-py/dtrx + dtrx + +