Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/system-config-printer/
Date: Mon, 21 Feb 2022 05:48:37
Message-Id: 1645422508.661f0689f4213c1ef65316005517f6c9e6edd2fa.mattst88@gentoo
1 commit: 661f0689f4213c1ef65316005517f6c9e6edd2fa
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 05:35:45 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 05:48:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=661f0689
7
8 app-admin/system-config-printer: Version bump to 1.5.16
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 app-admin/system-config-printer/Manifest | 1 +
13 .../system-config-printer-1.5.16.ebuild | 77 ++++++++++++++++++++++
14 2 files changed, 78 insertions(+)
15
16 diff --git a/app-admin/system-config-printer/Manifest b/app-admin/system-config-printer/Manifest
17 index 15de7f12123b..ae5ba9287fb8 100644
18 --- a/app-admin/system-config-printer/Manifest
19 +++ b/app-admin/system-config-printer/Manifest
20 @@ -1 +1,2 @@
21 DIST system-config-printer-1.5.15.tar.xz 1005764 BLAKE2B 4919c555444829505b09b658ce0fd016ba235260f8c8b4db751e6a511afba5d5975e5f9570f5fe74fc35d158bbf2dd3ece99aa568ec1bb850096e5f12f0fc0b0 SHA512 b992f96f48c54350c11c5c629e77ee4409fe52fb17b386f226a42d532a95e17b6506319dcedeb70c0072555cb9ab464daaae22f295ce3d5181e5f49836f2ae2e
22 +DIST system-config-printer-1.5.16.tar.xz 1382124 BLAKE2B 37548bd470f8e80026e014d4077a79a38ad54258d620654536890b67b688fc790c9a9a269b321f2e12d63ec21f24858866e39b41089195c528ddbdf1351bba5f SHA512 ed20a409def66bdea7de4cd5b397891eca220c841e1b5c8cab98e45f87389ae8ba881d9e24072dd07203141fc34c49c4b67cf099791857c007971e3b7d2e2fc2
23
24 diff --git a/app-admin/system-config-printer/system-config-printer-1.5.16.ebuild b/app-admin/system-config-printer/system-config-printer-1.5.16.ebuild
25 new file mode 100644
26 index 000000000000..943232fba7a0
27 --- /dev/null
28 +++ b/app-admin/system-config-printer/system-config-printer-1.5.16.ebuild
29 @@ -0,0 +1,77 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +PYTHON_REQ_USE="xml"
37 +inherit python-single-r1 systemd xdg
38 +
39 +DESCRIPTION="Graphical user interface for CUPS administration"
40 +HOMEPAGE="https://github.com/OpenPrinting/system-config-printer"
41 +SRC_URI="https://github.com/OpenPrinting/${PN}/releases/download/v${PV}/${P}.tar.xz"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
46 +IUSE="gnome-keyring policykit"
47 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
48 +
49 +# Needs cups running, bug 284005
50 +RESTRICT="test"
51 +
52 +# Additional unhandled dependencies
53 +# gnome-extra/gnome-packagekit[${PYTHON_USEDEP}] with pygobject:2 ?
54 +# python samba client: smbc
55 +# selinux: needed for troubleshooting
56 +COMMON_DEPEND="${PYTHON_DEPS}
57 + dev-libs/glib:2
58 + net-print/cups[dbus]
59 + virtual/libusb:1
60 + >=virtual/udev-172
61 + x11-libs/gtk+:3[introspection]
62 + x11-libs/libnotify[introspection]
63 + x11-libs/pango[introspection]
64 +"
65 +DEPEND="${COMMON_DEPEND}
66 + app-text/docbook-xml-dtd:4.1.2
67 + >=app-text/xmlto-0.0.22
68 + dev-perl/XML-Parser
69 + dev-util/desktop-file-utils
70 + dev-util/intltool
71 + >=sys-devel/gettext-0.20
72 + virtual/pkgconfig
73 +"
74 +RDEPEND="${COMMON_DEPEND}
75 + $(python_gen_cond_dep '
76 + dev-python/dbus-python[${PYTHON_USEDEP}]
77 + dev-python/pycairo[${PYTHON_USEDEP}]
78 + dev-python/pycups[${PYTHON_USEDEP}]
79 + dev-python/pygobject:3[${PYTHON_USEDEP}]
80 + dev-python/requests[${PYTHON_USEDEP}]
81 + dev-python/urllib3[${PYTHON_USEDEP}]
82 + ')
83 + gnome-keyring? ( app-crypt/libsecret[introspection] )
84 + policykit? ( net-print/cups-pk-helper )
85 +"
86 +
87 +pkg_setup() {
88 + python-single-r1_pkg_setup
89 +}
90 +
91 +src_configure() {
92 + local myeconfargs=(
93 + --with-xmlto
94 + --enable-nls
95 + --with-desktop-vendor=Gentoo
96 + --with-udev-rules
97 + --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
98 + )
99 + econf "${myeconfargs[@]}"
100 +}
101 +
102 +src_install() {
103 + default
104 + python_fix_shebang "${ED}"
105 + python_optimize
106 +}