1 |
commit: 81eb110bc12d4c193258dbefe4445dc241261dc0 |
2 |
Author: Jonathan Vasquez <fearedbliss <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 19 01:43:44 2017 +0000 |
4 |
Commit: Jonathan Vasquez <fearedbliss <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 19 01:43:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81eb110b |
7 |
|
8 |
sys-kernel/bliss-initramfs: ported ebuilds to python-single-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
.../bliss-initramfs-6.8.3-r2.ebuild | 44 +++++++++++++++++++++ |
13 |
.../bliss-initramfs-7.0.2-r1.ebuild | 45 ++++++++++++++++++++++ |
14 |
2 files changed, 89 insertions(+) |
15 |
|
16 |
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 |
17 |
new file mode 100644 |
18 |
index 00000000000..cee9e46df21 |
19 |
--- /dev/null |
20 |
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-6.8.3-r2.ebuild |
21 |
@@ -0,0 +1,44 @@ |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+PYTHON_COMPAT=( python{3_4,3_5} ) |
27 |
+inherit python-single-r1 |
28 |
+ |
29 |
+GITHUB_USER="fearedbliss" |
30 |
+GITHUB_REPO="bliss-initramfs" |
31 |
+GITHUB_TAG="${PV}" |
32 |
+ |
33 |
+DESCRIPTION="Boot your system's rootfs from ZFS, LVM, RAID, or a variety of other configs." |
34 |
+HOMEPAGE="https://github.com/${GITHUB_USER}/${GITHUB_REPO}" |
35 |
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/${GITHUB_TAG}.tar.gz -> ${P}.tar.gz" |
36 |
+ |
37 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
38 |
+RESTRICT="strip" |
39 |
+LICENSE="GPL-3+" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="-* ~amd64" |
42 |
+ |
43 |
+RDEPEND=" |
44 |
+ ${PYTHON_DEPS} |
45 |
+ app-arch/cpio |
46 |
+ virtual/udev" |
47 |
+ |
48 |
+S="${WORKDIR}/${GITHUB_REPO}-${GITHUB_TAG}" |
49 |
+ |
50 |
+src_install() { |
51 |
+ # Copy the main executable |
52 |
+ local executable="mkinitrd.py" |
53 |
+ exeinto "/opt/${PN}" |
54 |
+ doexe "${executable}" |
55 |
+ |
56 |
+ # Copy the libraries required by this executable |
57 |
+ cp -r "${S}/files" "${D}/opt/${PN}" || die |
58 |
+ cp -r "${S}/pkg" "${D}/opt/${PN}" || die |
59 |
+ |
60 |
+ # Copy documentation files |
61 |
+ dodoc CHANGES README USAGE |
62 |
+ |
63 |
+ # Make a symbolic link: /sbin/bliss-initramfs |
64 |
+ dosym "/opt/${PN}/${executable}" "/sbin/${PN}" |
65 |
+} |
66 |
|
67 |
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 |
68 |
new file mode 100644 |
69 |
index 00000000000..c772363314b |
70 |
--- /dev/null |
71 |
+++ b/sys-kernel/bliss-initramfs/bliss-initramfs-7.0.2-r1.ebuild |
72 |
@@ -0,0 +1,45 @@ |
73 |
+# Copyright 1999-2017 Gentoo Foundation |
74 |
+# Distributed under the terms of the GNU General Public License v2 |
75 |
+ |
76 |
+EAPI=6 |
77 |
+ |
78 |
+PYTHON_COMPAT=( python{3_4,3_5} ) |
79 |
+inherit python-single-r1 |
80 |
+ |
81 |
+GITHUB_USER="fearedbliss" |
82 |
+GITHUB_REPO="bliss-initramfs" |
83 |
+GITHUB_TAG="${PV}" |
84 |
+ |
85 |
+DESCRIPTION="Boot your system's rootfs from ZFS, LVM, RAID, or a variety of other configs." |
86 |
+HOMEPAGE="https://github.com/${GITHUB_USER}/${GITHUB_REPO}" |
87 |
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/${GITHUB_TAG}.tar.gz -> ${P}.tar.gz" |
88 |
+ |
89 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
90 |
+RESTRICT="strip" |
91 |
+LICENSE="BSD-2" |
92 |
+SLOT="0" |
93 |
+KEYWORDS="-* ~amd64" |
94 |
+ |
95 |
+RDEPEND=" |
96 |
+ ${PYTHON_DEPS} |
97 |
+ app-arch/cpio |
98 |
+ virtual/udev" |
99 |
+ |
100 |
+S="${WORKDIR}/${GITHUB_REPO}-${GITHUB_TAG}" |
101 |
+ |
102 |
+src_install() { |
103 |
+ # Copy the main executable |
104 |
+ local executable="mkinitrd.py" |
105 |
+ exeinto "/opt/${PN}" |
106 |
+ doexe "${executable}" |
107 |
+ |
108 |
+ # Copy the libraries required by this executable |
109 |
+ cp -r "${S}/files" "${D}/opt/${PN}" || die |
110 |
+ cp -r "${S}/pkg" "${D}/opt/${PN}" || die |
111 |
+ |
112 |
+ # Copy documentation files |
113 |
+ dodoc README USAGE |
114 |
+ |
115 |
+ # Make a symbolic link: /sbin/bliss-initramfs |
116 |
+ dosym "/opt/${PN}/${executable}" "/sbin/${PN}" |
117 |
+} |