summaryrefslogtreecommitdiff
path: root/dev-python/pycpio
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pycpio')
-rw-r--r--dev-python/pycpio/Manifest1
-rw-r--r--dev-python/pycpio/metadata.xml13
-rw-r--r--dev-python/pycpio/pycpio-1.7.0.ebuild41
-rw-r--r--dev-python/pycpio/pycpio-9999.ebuild37
4 files changed, 92 insertions, 0 deletions
diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest
new file mode 100644
index 000000000000..7ff98baa6548
--- /dev/null
+++ b/dev-python/pycpio/Manifest
@@ -0,0 +1 @@
+DIST pycpio-1.7.0.gh.tar.gz 24738 BLAKE2B b4479df7b02bc2bc8751b1b833c0d82829383c9475544c11469facec172e2a54e4ee156e29b9a71c65bbd9ab7102448eee5c299e853bf470f39c3c55c4eff302 SHA512 9738f60ef52accfe228e51bf660552f09b189b99454e8d8ff2423150b446dd5977b6924ff88d7535ed2b1ce9d118146f674ab6e771ae27910ef4ec16919643d6
diff --git a/dev-python/pycpio/metadata.xml b/dev-python/pycpio/metadata.xml
new file mode 100644
index 000000000000..27ce1715ac99
--- /dev/null
+++ b/dev-python/pycpio/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>dev@pyl.onl</email>
+ <name>Zen</name>
+ </maintainer>
+ <maintainer type="person" proxied="proxy">
+ <email>nowa@gentoo.org</email>
+ <name>Nowa Ammerlaan</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/pycpio/pycpio-1.7.0.ebuild b/dev-python/pycpio/pycpio-1.7.0.ebuild
new file mode 100644
index 000000000000..b08a8399829c
--- /dev/null
+++ b/dev-python/pycpio/pycpio-1.7.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 optfeature shell-completion
+
+DESCRIPTION="Python CPIO library"
+HOMEPAGE="https://github.com/desultory/pycpio/"
+SRC_URI="
+ https://github.com/desultory/pycpio/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/zenlib-3.3.0[${PYTHON_USEDEP}]
+"
+
+BDEPEND="test? ( dev-python/zstandard[${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/zstandard
+}
diff --git a/dev-python/pycpio/pycpio-9999.ebuild b/dev-python/pycpio/pycpio-9999.ebuild
new file mode 100644
index 000000000000..29a4cf8d637f
--- /dev/null
+++ b/dev-python/pycpio/pycpio-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 optfeature git-r3 shell-completion
+
+DESCRIPTION="Python CPIO library"
+HOMEPAGE="https://github.com/desultory/pycpio/"
+EGIT_REPO_URI="https://github.com/desultory/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+ >=dev-python/zenlib-9999[${PYTHON_USEDEP}]
+"
+
+BDEPEND="test? ( dev-python/zstandard[${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/zstandard
+}