summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2019-10-09 16:09:26 -0400
committerCraig Andrews <candrews@gentoo.org>2019-10-11 10:56:57 -0400
commitc715e2529db9e3731132b08d05d4bac02422c6ea (patch)
treea0f011c4f8d2035c817f5754404cc3fdddd7f823 /net-p2p/deluge/deluge-1.3.9999.ebuild
parentacct-user/deluge: add 'deluge' user (UID 454) (diff)
downloadgentoo-c715e2529db9e3731132b08d05d4bac02422c6ea.tar.gz
gentoo-c715e2529db9e3731132b08d05d4bac02422c6ea.tar.bz2
gentoo-c715e2529db9e3731132b08d05d4bac02422c6ea.zip
net-p2p/deluge: Use GLEP 81 for user/group instead of user eclass
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-p2p/deluge/deluge-1.3.9999.ebuild')
-rw-r--r--net-p2p/deluge/deluge-1.3.9999.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-p2p/deluge/deluge-1.3.9999.ebuild b/net-p2p/deluge/deluge-1.3.9999.ebuild
index 5abf8ffb3d04..1be3b5719884 100644
--- a/net-p2p/deluge/deluge-1.3.9999.ebuild
+++ b/net-p2p/deluge/deluge-1.3.9999.ebuild
@@ -5,7 +5,7 @@ EAPI="7"
PYTHON_COMPAT=( python2_7 )
DISTUTILS_SINGLE_IMPL=1
-inherit distutils-r1 systemd user
+inherit distutils-r1 systemd
DESCRIPTION="BitTorrent client with a client/server model"
HOMEPAGE="https://deluge-torrent.org/"
@@ -35,7 +35,9 @@ PATCHES=(
DEPEND="<net-libs/libtorrent-rasterbar-1.2[python,${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
- dev-util/intltool"
+ dev-util/intltool
+ acct-group/deluge
+ acct-user/deluge"
RDEPEND="<net-libs/libtorrent-rasterbar-1.2[python,${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
@@ -112,8 +114,6 @@ python_install_all() {
}
pkg_postinst() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
elog
elog "If, after upgrading, deluge doesn't work, please remove the"
elog "'~/.config/deluge' directory and try again, but make a backup"