public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nowa Ammerlaan" <nowa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycpio/
Date: Mon, 17 Feb 2025 14:50:10 +0000 (UTC)	[thread overview]
Message-ID: <1739803570.fd4025f8ceae0601baeca81795570db4dc97beb8.nowa@gentoo> (raw)

commit:     fd4025f8ceae0601baeca81795570db4dc97beb8
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Fri Feb 14 20:42:29 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Mon Feb 17 14:46:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd4025f8

dev-python/pycpio: improve 9999 depends, add zsh completion

Signed-off-by: Zen <z <AT> pyl.onl>
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 dev-python/pycpio/pycpio-9999.ebuild | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/dev-python/pycpio/pycpio-9999.ebuild b/dev-python/pycpio/pycpio-9999.ebuild
index 7f8c13e6a025..9ff2800b0d18 100644
--- a/dev-python/pycpio/pycpio-9999.ebuild
+++ b/dev-python/pycpio/pycpio-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{11..13} )
 
-inherit distutils-r1 git-r3
+inherit distutils-r1 optfeature git-r3 shell-completion
 
 DESCRIPTION="Python CPIO library"
 HOMEPAGE="https://github.com/desultory/pycpio/"
@@ -16,12 +16,23 @@ LICENSE="GPL-2"
 SLOT="0"
 
 RDEPEND="
-	>=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}]
+	>=dev-python/zenlib-9999[${PYTHON_USEDEP}]
 	>=dev-python/zstd-1.5.6.1[${PYTHON_USEDEP}]
 "
 
+BDEPEND="test? ( dev-python/zstd[${PYTHON_USEDEP}] )"
+
 distutils_enable_tests unittest
 
 python_test() {
 	eunittest tests
 }
+
+python_install_all() {
+	distutils-r1_python_install_all
+	dozshcomp completion/_pycpio  # Install zsh autocomplete script
+}
+
+pkg_postinst() {
+	optfeature "zstd compression support" dev-python/zstd
+}


             reply	other threads:[~2025-02-17 14:50 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-17 14:50 Nowa Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-15 14:59 [gentoo-commits] repo/gentoo:master commit in: dev-python/pycpio/ Michał Górny
2025-03-15 14:44 Arthur Zamarin
2025-03-15 13:16 Arthur Zamarin
2025-02-24  3:37 Michał Górny
2025-02-24  3:37 Michał Górny
2025-02-24  3:37 Michał Górny
2025-02-17 14:50 Nowa Ammerlaan
2025-02-17 14:50 Nowa Ammerlaan
2025-02-15  7:01 Michał Górny
2025-02-08 20:25 Michał Górny
2025-02-08 18:04 Sam James
2025-02-08 11:39 Arthur Zamarin
2025-01-21 15:02 Nowa Ammerlaan
2024-11-16 13:06 Michał Górny
2024-11-16 12:44 Arthur Zamarin
2024-11-16 12:42 Arthur Zamarin
2024-11-02  6:32 Michał Górny
2024-11-02  6:32 Michał Górny
2024-10-27  8:46 Andrew Ammerlaan
2024-10-14  7:21 Andrew Ammerlaan
2024-10-14  4:11 Michał Górny
2024-10-14  4:11 Michał Górny
2024-10-10 16:54 Andrew Ammerlaan
2024-10-10 16:20 Arthur Zamarin
2024-08-21 10:19 Andrew Ammerlaan
2024-08-17 14:45 Andrew Ammerlaan
2024-07-21 17:42 Andrew Ammerlaan
2024-07-15 23:29 Sam James
2024-07-15 19:18 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1739803570.fd4025f8ceae0601baeca81795570db4dc97beb8.nowa@gentoo \
    --to=nowa@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox