summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2013-06-09 20:34:37 +0200
committerBertrand Jacquin <beber@meleeweb.net>2013-06-09 20:34:37 +0200
commit7aec5025f98468550aa08ecb20fb94ed9ebeb097 (patch)
tree36a97dd6bd26e2bd62b0642f0c08a31d886952fd
parentnet-analyzer/tcptrace: Patch applied upstream, #374085 (diff)
downloadportage-7aec5025f98468550aa08ecb20fb94ed9ebeb097.tar.xz
sys-fs/static-dev: Move to EAPI 5, fix DEPEND, fix quotes
Package-Manager: portage-2.1.12.4
-rw-r--r--metadata/md5-cache/sys-fs/static-dev-0.16
-rw-r--r--sys-fs/static-dev/ChangeLog4
-rw-r--r--sys-fs/static-dev/Manifest4
-rw-r--r--sys-fs/static-dev/static-dev-0.1.ebuild18
4 files changed, 19 insertions, 13 deletions
diff --git a/metadata/md5-cache/sys-fs/static-dev-0.1 b/metadata/md5-cache/sys-fs/static-dev-0.1
index aa394115..09326f61 100644
--- a/metadata/md5-cache/sys-fs/static-dev-0.1
+++ b/metadata/md5-cache/sys-fs/static-dev-0.1
@@ -1,9 +1,11 @@
DEFINED_PHASES=install preinst
+DEPEND=sys-apps/makedev
DESCRIPTION=A skeleton, statically managed /dev
+EAPI=5
HOMEPAGE=http://bugs.gentoo.org/107875
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86
LICENSE=GPL-2
-RDEPEND=|| ( sys-apps/makedev =sys-apps/baselayout-1* )
+RDEPEND=sys-apps/makedev
SLOT=0
_eclasses_=multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f
-_md5_=acd72e633be1809cf30ae3d36d90f937
+_md5_=7323673aead9e47ae501cc7f2559f756
diff --git a/sys-fs/static-dev/ChangeLog b/sys-fs/static-dev/ChangeLog
index ed0483dc..4dc08347 100644
--- a/sys-fs/static-dev/ChangeLog
+++ b/sys-fs/static-dev/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 09 Jun 2013; Bertrand Jacquin <beber@meleeweb.net> static-dev-0.1.ebuild:
+ sys-fs/static-dev: Move to EAPI 5, fix DEPEND, fix quotes
+
28 May 2013; Bertrand Jacquin <beber@meleeweb.net> +metadata.xml:
Add missing metadata.xml
@@ -16,4 +19,3 @@
05 Jul 2010; Bertrand Jacquin <beber@meleeweb.net> +static-dev-0.1.ebuild:
static-dev for cross compile
-
diff --git a/sys-fs/static-dev/Manifest b/sys-fs/static-dev/Manifest
index eb90cea7..75efe6d6 100644
--- a/sys-fs/static-dev/Manifest
+++ b/sys-fs/static-dev/Manifest
@@ -1,3 +1,3 @@
-EBUILD static-dev-0.1.ebuild 1457 SHA256 094054db18a0c8bcd2a65fbc04e0f130b70c6ff102245aa70d24b8f327657ff4 WHIRLPOOL 0108bae1fed7060c595c69891737441dba95706a874422e74253578231dbb39e80bef3530c54ce77180d091f0d4374809930b8a25d023d5125ed5d2b886d8f6c
-MISC ChangeLog 604 SHA256 df413557d06bf5dc64f2714b84e8fe84a5feb2fd577fa6b2a636b85a6c50347b WHIRLPOOL 73d961744cca4f6f1b954d00d95686b3ed3ae20056dad9eb393fa3c76769e7953b167f6cc48c30e82610b6c9b42a8b2f046a0c014c854f01d4d1c957971a4465
+EBUILD static-dev-0.1.ebuild 1358 SHA256 53dc374c9c92816eeb0af10f944ddf26e6a0eae593dd3ccb69a207cfe0e70574 WHIRLPOOL 98ce32bad200dbde19e45888d57b5975835b15f797df9adf3a885b5ca1242536a61fefe951981dd7648726e30032a0341ad92cfd44aef6834c60f75678f661a4
+MISC ChangeLog 740 SHA256 a4d131ca71c354e9333286d873ff0af9ec2183bc6deb0b092edf02505fdb7362 WHIRLPOOL f01946e6173e39ba07e63617e57e47cebb1e2a088e398e130d1761e80e497645d897d2be997bee2a982dce7a21c2d26a24764750c6810b830b0f07e741e45d3d
MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630
diff --git a/sys-fs/static-dev/static-dev-0.1.ebuild b/sys-fs/static-dev/static-dev-0.1.ebuild
index f5f3fa79..3bfdd1e5 100644
--- a/sys-fs/static-dev/static-dev-0.1.ebuild
+++ b/sys-fs/static-dev/static-dev-0.1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/static-dev/static-dev-0.1.ebuild,v 1.13 2011/04/15 21:57:05 ulm Exp $
+# $Header: $
+EAPI=5
inherit toolchain-funcs
DESCRIPTION="A skeleton, statically managed /dev"
@@ -13,10 +14,11 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE=""
-RDEPEND="|| ( sys-apps/makedev =sys-apps/baselayout-1* )"
+DEPEND="sys-apps/makedev"
+RDEPEND="${DEPEND}"
pkg_preinst() {
- if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] ; then
+ if [[ -d "${EROOT}/dev/.udev" || -c "${EROOT}/dev/.devfs" ]] ; then
echo ""
eerror "We have detected that you currently use udev or devfs"
eerror "and this ebuild cannot install to the same mount-point."
@@ -24,19 +26,19 @@ pkg_preinst() {
eerror ""
eerror "mkdir /tmp/newroot"
eerror "mount -o bind / /tmp/newroot"
- eerror "ROOT=/tmp/newroot/ emerge sys-fs/static-dev"
+ eerror "EROOT=/tmp/newroot/ emerge sys-fs/static-dev"
eerror "umount /tmp/newroot"
die "Cannot install on udev/devfs tmpfs."
fi
einfo ""
- einfo "To add personal devices classes, but set env variable EXTRA_CLASSES"
+ einfo "To add personal devices classes, set env variable EXTRA_CLASSES"
einfo ""
}
src_install() {
dodir /dev
- cd "${D}"/dev/ || die "Unable to descend into /dev"
+ cd "${ED}/dev/" || die "Unable to descend into /dev"
local classes="generic console sda sdb sdc ptmx ram rtc"
@@ -44,7 +46,7 @@ src_install() {
einfo " ${classes}"
[ -n "${EXTRA_CLASSES}" ] && einfo " ${EXTRA_CLASSES}"
- MAKEDEV -d "${D}"/dev \
+ MAKEDEV -d "${ED}/dev" \
${classes} \
${EXTRA_CLASSES} \
|| die