Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 478136
Collapse All | Expand All

(-)a/gx86/net-print/cups/cups-1.6.3-r1.ebuild (-10 / +8 lines)
Lines 4-12 Link Here
4
4
5
EAPI=5
5
EAPI=5
6
6
7
PYTHON_DEPEND="python? 2:2.5"
7
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
8
8
9
inherit autotools base fdo-mime gnome2-utils flag-o-matic linux-info multilib pam python user versionator java-pkg-opt-2 systemd
9
inherit autotools base fdo-mime gnome2-utils flag-o-matic linux-info \
10
	multilib pam python-single-r1 user versionator java-pkg-opt-2 systemd
10
11
11
MY_P=${P/_beta/b}
12
MY_P=${P/_beta/b}
12
MY_PV=${PV/_beta/b}
13
MY_PV=${PV/_beta/b}
Lines 49-54 RDEPEND=" Link Here
49
	kerberos? ( virtual/krb5 )
50
	kerberos? ( virtual/krb5 )
50
	!lprng-compat? ( !net-print/lprng )
51
	!lprng-compat? ( !net-print/lprng )
51
	pam? ( virtual/pam )
52
	pam? ( virtual/pam )
53
	python? ( ${PYTHON_DEPS} )
52
	selinux? ( sec-policy/selinux-cups )
54
	selinux? ( sec-policy/selinux-cups )
53
	ssl? (
55
	ssl? (
54
		gnutls? (
56
		gnutls? (
Lines 74-80 PDEPEND=" Link Here
74
	filters? ( net-print/foomatic-filters )
76
	filters? ( net-print/foomatic-filters )
75
"
77
"
76
78
77
REQUIRED_USE="gnutls? ( ssl )"
79
REQUIRED_USE="gnutls? ( ssl )
80
	python? ( ${PYTHON_REQUIRED_USE} )"
78
81
79
# upstream includes an interactive test which is a nono for gentoo
82
# upstream includes an interactive test which is a nono for gentoo
80
RESTRICT="test"
83
RESTRICT="test"
Lines 95-105 pkg_setup() { Link Here
95
	enewuser lp -1 -1 -1 lp
98
	enewuser lp -1 -1 -1 lp
96
	enewgroup lpadmin 106
99
	enewgroup lpadmin 106
97
100
98
	# python 3 is no-go
101
	use python && python-single-r1_pkg_setup
99
	if use python; then
100
		python_set_active_version 2
101
		python_pkg_setup
102
	fi
103
102
104
	if use kernel_linux; then
103
	if use kernel_linux; then
105
		linux-info_pkg_setup
104
		linux-info_pkg_setup
Lines 185-191 src_configure() { Link Here
185
		$(use_with java) \
184
		$(use_with java) \
186
		--without-perl \
185
		--without-perl \
187
		--without-php \
186
		--without-php \
188
		$(use_with python) \
187
		$(use_with python python "${PYTHON}") \
189
		$(use_with xinetd xinetd /etc/xinetd.d) \
188
		$(use_with xinetd xinetd /etc/xinetd.d) \
190
		--enable-libpaper \
189
		--enable-libpaper \
191
		--with-systemdsystemunitdir="$(systemd_get_unitdir)" \
190
		--with-systemdsystemunitdir="$(systemd_get_unitdir)" \
192
- 

Return to bug 478136