diff options
| -rw-r--r-- | dev-python/pycups/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pycups/pycups-2.0.4.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pycups/Manifest b/dev-python/pycups/Manifest index 2c1d3dd317d4..4861ad60fb21 100644 --- a/dev-python/pycups/Manifest +++ b/dev-python/pycups/Manifest @@ -1 +1,2 @@ DIST pycups-2.0.1.tar.gz 62968 BLAKE2B c9d955b89f2e9746827721c875dfc97538bb4575ee3f78c41a94f06b361cd3d22c14d453bfbea210160026d33c6e161b1d14c4dffeaddd644c260779f56e1db7 SHA512 fdebf1cac8cc4fffb8a76a938aa91965dae4a3dcdb6d8ee26e8e6054809d26dd3fb20b10c2351fb9265c03b16d6bde011815111c452ccb058518372f22d9d617 +DIST pycups-2.0.4.tar.gz 65105 BLAKE2B bda49346d59fde52c6725a27df02fe55922db461f14d8f0f7886bd90530c7ca52df9ccb173bca5b5031a7dbb2517741654a8a663c958a27285431197724a4f8c SHA512 d22148856c8cff4f30e6b7ab0d32d184e8b48358158f28735f0efe4c6e80fd0ea2a5ece87db3eada152f05435fb64c05f1c066bc7bda0649fbddcf5221d66161 diff --git a/dev-python/pycups/pycups-2.0.4.ebuild b/dev-python/pycups/pycups-2.0.4.ebuild new file mode 100644 index 000000000000..308150037c12 --- /dev/null +++ b/dev-python/pycups/pycups-2.0.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for the CUPS API" +HOMEPAGE="https://github.com/OpenPrinting/pycups" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86" +IUSE="examples" + +RDEPEND="net-print/cups" +DEPEND="${RDEPEND}" + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} |
