sys-fs/udev-init-scripts: sync live
authorWilliam Hubbs <williamh@gentoo.org>
Fri, 22 Feb 2019 19:04:44 +0000 (13:04 -0600)
committerWilliam Hubbs <williamh@gentoo.org>
Fri, 22 Feb 2019 19:11:16 +0000 (13:11 -0600)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: William Hubbs <williamh@gentoo.org>
sys-fs/udev-init-scripts/udev-init-scripts-9999.ebuild

index 68e64e0899da1bc55095ceac59c298aff4ad2c34..279b3d51a375f465738e906b863fdbcc2154a41d 100644 (file)
@@ -1,35 +1,30 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
+OLD_PN=udev-gentoo-scripts
+OLD_P=${OLD_PN}-${PV}
 
 if [ "${PV}" = "9999" ]; then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/udev-gentoo-scripts.git"
+       EGIT_REPO_URI="git://anongit.gentoo.org/proj/${OLD_PN}.git"
        inherit git-r3
 else
-       SRC_URI="https://dev.gentoo.org/~williamh/dist/${P}.tar.gz"
+       SRC_URI="https://gitweb.gentoo.org/proj/${OLD_PN}.git/snapshot/${OLD_P}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/${OLD_P}"
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
 fi
 
-inherit eutils
-
 DESCRIPTION="udev startup scripts for openrc"
 HOMEPAGE="https://www.gentoo.org"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE=""
 
 RESTRICT="test"
 
-DEPEND=""
 RDEPEND=">=virtual/udev-217
        !<sys-apps/openrc-0.14"
 
-src_prepare() {
-       epatch_user
-}
-
 pkg_postinst() {
        # Add udev and udev-trigger to the sysinit runlevel automatically.
        for f in udev udev-trigger; do