From 4a74938e510c0dad732ae4c48f815dd0f0cabb46 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 13 Feb 2023 08:16:09 +0000 Subject: gentoo auto-resync : 13:02:2023 - 08:16:09 --- app-arch/dtrx/Manifest | 4 ++++ 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, 120 insertions(+) create mode 100644 app-arch/dtrx/Manifest create mode 100644 app-arch/dtrx/dtrx-8.5.0.ebuild create mode 100644 app-arch/dtrx/dtrx-9999.ebuild create mode 100644 app-arch/dtrx/metadata.xml (limited to 'app-arch/dtrx') diff --git a/app-arch/dtrx/Manifest b/app-arch/dtrx/Manifest new file mode 100644 index 000000000000..03be70996ae4 --- /dev/null +++ b/app-arch/dtrx/Manifest @@ -0,0 +1,4 @@ +DIST dtrx-8.5.0.tar.gz 34061 BLAKE2B d8ecbd9f3594440656e40d811846dd302d271f189711176a406572871db69f98bb4fd81a76ebdce697faf8d56029f4dcf735d18795adf732809e6017a7395cf2 SHA512 0ef0c0c9c22d948f6a8ee801372605dae52f4f571a32bbaa180c2c1daab061d623119c91b745f6a86cd28d7d08cdb47029a4de38354bdb28c62acfab080cc0f1 +EBUILD dtrx-8.5.0.ebuild 1009 BLAKE2B c1de59269567d42d2c44e5c96627b52859f85a1569ef65c4e4f73eb2c1d22dbe4b9bdfb7b974ef94fe35bab55c5cf5863e7f412024445efe8c8ddf8e6c0ab719 SHA512 5303fca925198e6432a8673ca36b021cf1cd1d5e869d365d299be2551da430d8d395bdf8df3c8ac2637321c14bf17d327ec2d300c7d7fafbd58cfc0df68e1aa9 +EBUILD dtrx-9999.ebuild 1009 BLAKE2B c1de59269567d42d2c44e5c96627b52859f85a1569ef65c4e4f73eb2c1d22dbe4b9bdfb7b974ef94fe35bab55c5cf5863e7f412024445efe8c8ddf8e6c0ab719 SHA512 5303fca925198e6432a8673ca36b021cf1cd1d5e869d365d299be2551da430d8d395bdf8df3c8ac2637321c14bf17d327ec2d300c7d7fafbd58cfc0df68e1aa9 +MISC metadata.xml 439 BLAKE2B 7490943dfd8a50c9d0ba628b72b6e8367a148b942aba496744337559e1134e26bb1b8fc0741ac912607826b8084643a568198a578c95bc10315f868bcea7742a SHA512 69a3996fd3834a22f1a028873c1061cca325224cfdf321b4c01687d5099aff4e7ed6c601076eaca5b88affab20f0d46b921a13db838de7243d3973fe71a4ab42 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 + + -- cgit v1.2.3