diff options
author | Jonathan Vasquez <fearedbliss@gentoo.org> | 2017-04-18 21:43:44 -0400 |
---|---|---|
committer | Jonathan Vasquez <fearedbliss@gentoo.org> | 2017-04-18 21:43:44 -0400 |
commit | 81eb110bc12d4c193258dbefe4445dc241261dc0 (patch) | |
tree | 0b71a15dfc989198df6c6a869877fbf8e07e5aff /sys-kernel/bliss-initramfs | |
parent | sci-geosciences/grass: remove old (diff) | |
download | gentoo-81eb110bc12d4c193258dbefe4445dc241261dc0.tar.gz gentoo-81eb110bc12d4c193258dbefe4445dc241261dc0.tar.bz2 gentoo-81eb110bc12d4c193258dbefe4445dc241261dc0.zip |
sys-kernel/bliss-initramfs: ported ebuilds to python-single-r1
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sys-kernel/bliss-initramfs')
-rw-r--r-- | sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild | 44 | ||||
-rw-r--r-- | sys-kernel/bliss-initramfs/bliss-initramfs-7.0.2-r1.ebuild | 45 |
2 files changed, 89 insertions, 0 deletions
diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild new file mode 100644 index 000000000000..cee9e46df213 --- /dev/null +++ b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{3_4,3_5} ) +inherit python-single-r1 + +GITHUB_USER="fearedbliss" +GITHUB_REPO="bliss-initramfs" +GITHUB_TAG="${PV}" + +DESCRIPTION="Boot your system's rootfs from ZFS, LVM, RAID, or a variety of other configs." +HOMEPAGE="https://github.com/${GITHUB_USER}/${GITHUB_REPO}" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/${GITHUB_TAG}.tar.gz -> ${P}.tar.gz" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="strip" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + ${PYTHON_DEPS} + app-arch/cpio + virtual/udev" + +S="${WORKDIR}/${GITHUB_REPO}-${GITHUB_TAG}" + +src_install() { + # Copy the main executable + local executable="mkinitrd.py" + exeinto "/opt/${PN}" + doexe "${executable}" + + # Copy the libraries required by this executable + cp -r "${S}/files" "${D}/opt/${PN}" || die + cp -r "${S}/pkg" "${D}/opt/${PN}" || die + + # Copy documentation files + dodoc CHANGES README USAGE + + # Make a symbolic link: /sbin/bliss-initramfs + dosym "/opt/${PN}/${executable}" "/sbin/${PN}" +} diff --git a/sys-kernel/bliss-initramfs/bliss-initramfs-7.0.2-r1.ebuild b/sys-kernel/bliss-initramfs/bliss-initramfs-7.0.2-r1.ebuild new file mode 100644 index 000000000000..c772363314bc --- /dev/null +++ b/sys-kernel/bliss-initramfs/bliss-initramfs-7.0.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5} ) +inherit python-single-r1 + +GITHUB_USER="fearedbliss" +GITHUB_REPO="bliss-initramfs" +GITHUB_TAG="${PV}" + +DESCRIPTION="Boot your system's rootfs from ZFS, LVM, RAID, or a variety of other configs." +HOMEPAGE="https://github.com/${GITHUB_USER}/${GITHUB_REPO}" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/${GITHUB_TAG}.tar.gz -> ${P}.tar.gz" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="strip" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + ${PYTHON_DEPS} + app-arch/cpio + virtual/udev" + +S="${WORKDIR}/${GITHUB_REPO}-${GITHUB_TAG}" + +src_install() { + # Copy the main executable + local executable="mkinitrd.py" + exeinto "/opt/${PN}" + doexe "${executable}" + + # Copy the libraries required by this executable + cp -r "${S}/files" "${D}/opt/${PN}" || die + cp -r "${S}/pkg" "${D}/opt/${PN}" || die + + # Copy documentation files + dodoc README USAGE + + # Make a symbolic link: /sbin/bliss-initramfs + dosym "/opt/${PN}/${executable}" "/sbin/${PN}" +} |