From 5edcfce354d52cf4fd4f01549ed778443453dcd8 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 22 Aug 2020 09:47:12 +0200 Subject: net-fs/netatalk: Eradicate utils (python2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/735416 Signed-off-by: Michał Górny --- net-fs/netatalk/metadata.xml | 1 - net-fs/netatalk/netatalk-3.1.12.ebuild | 26 +++++++------------------- 2 files changed, 7 insertions(+), 20 deletions(-) (limited to 'net-fs/netatalk') diff --git a/net-fs/netatalk/metadata.xml b/net-fs/netatalk/metadata.xml index 75b09776908d..2dcee0648635 100644 --- a/net-fs/netatalk/metadata.xml +++ b/net-fs/netatalk/metadata.xml @@ -7,7 +7,6 @@ Add support for user quota on various filesystems Add shadow support Add support for spotlight like tracker - Install afpstats script Use dev-libs/openssl to provide DHX User Access Modules. These are not used with most recent versions of OS X diff --git a/net-fs/netatalk/netatalk-3.1.12.ebuild b/net-fs/netatalk/netatalk-3.1.12.ebuild index c56257545e19..010c1ff320ba 100644 --- a/net-fs/netatalk/netatalk-3.1.12.ebuild +++ b/net-fs/netatalk/netatalk-3.1.12.ebuild @@ -3,11 +3,9 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 ) - AUTOTOOLS_AUTORECONF=yes -inherit autotools flag-o-matic multilib pam python-r1 systemd +inherit autotools flag-o-matic multilib pam systemd DESCRIPTION="Open Source AFP server" HOMEPAGE="http://netatalk.sourceforge.net/" @@ -16,7 +14,7 @@ SRC_URI="mirror://sourceforge/project/${PN}/${PN}/$(ver_cut 1-3)/${P}.tar.bz2" LICENSE="GPL-2 BSD" SLOT="0/18.0" KEYWORDS="amd64 arm ~ppc ~ppc64 x86" -IUSE="acl cracklib dbus debug kerberos ldap pam pgp quota samba +shadow ssl tracker tcpd +utils zeroconf" +IUSE="acl cracklib dbus debug kerberos ldap pam pgp quota samba +shadow ssl tracker tcpd zeroconf" CDEPEND=" !app-editors/yudit @@ -37,14 +35,9 @@ CDEPEND=" ssl? ( dev-libs/openssl:0= ) tcpd? ( sys-apps/tcp-wrappers ) tracker? ( app-misc/tracker ) - utils? ( ${PYTHON_DEPS} ) zeroconf? ( net-dns/avahi[dbus] ) " -RDEPEND="${CDEPEND} - utils? ( - dev-lang/perl - dev-python/dbus-python[${PYTHON_USEDEP}] - )" +RDEPEND="${CDEPEND}" DEPEND="${CDEPEND} virtual/yacc sys-devel/flex" @@ -53,8 +46,7 @@ RESTRICT="test" REQUIRED_USE=" ldap? ( acl ) - tracker? ( dbus ) - utils? ( ${PYTHON_REQUIRED_USE} )" + tracker? ( dbus )" PATCHES=( "${FILESDIR}"/${PN}-3.1.7-gentoo.patch @@ -67,11 +59,9 @@ src_prepare() { default append-flags -fno-strict-aliasing - if ! use utils; then - sed \ - -e "s:shell_utils::g" \ - -i contrib/Makefile.am || die - fi + sed \ + -e "s:shell_utils::g" \ + -i contrib/Makefile.am || die eautoreconf } @@ -138,8 +128,6 @@ src_install() { > "${T}"/service.systemd || die systemd_newunit "${T}"/service.systemd ${PN}.service - use utils && python_foreach_impl python_doscript contrib/shell_utils/afpstats - # no static archives find "${ED}" -name '*.la' -delete || die } -- cgit v1.2.3-65-gdbad