net-mail/rss2email: Fix DoublePrefixInPath
authorMichał Górny <mgorny@gentoo.org>
Thu, 29 Aug 2019 05:30:56 +0000 (07:30 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 29 Aug 2019 10:05:41 +0000 (12:05 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-mail/rss2email/rss2email-2.71-r1.ebuild

index b8476f504875a794177daed966f944195d8b0f9d..1fbb40b321864f717a2b028384a2e7098f5550b2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -44,8 +44,8 @@ src_prepare() {
 
 src_install() {
        my_install() {
-               insinto "$(python_get_sitedir)"/${PN}
-               newins rss2email.py main.py || die
+               python_moduleinto ${PN}
+               python_newscript rss2email.py main.py
        }
        python_foreach_impl my_install