Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app-admin/bobby/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST bobby-0.1.0.tar.gz 30553 BLAKE2B 861be74af88a476da25f2241aa62859c04e526fe4d66b95416e0c5d5b786cbfebf60abf0a9b9163bd710d5bf7cadfea594075f5e226b1b88f89b00b9c515be65 SHA512 e9cec4a4e412f69cd0aa1eb768dfb1a4e61baa160f161c04b9db8e0d1a78b1a8c24e82f9308889ba28c491b2beecb7d34bcba4878ebc6b0930c179066dade0bc
44 changes: 44 additions & 0 deletions app-admin/bobby/bobby-0.1.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{9,10,11,12} )
DISTUTILS_USE_PEP517=setuptools

inherit distutils-r1

DESCRIPTION="Interactive assistant for NVMe disk replacement and mdadm RAID management"
HOMEPAGE="https://github.com/adjust/bobby"
SRC_URI="https://github.com/adjust/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="fetch"

# Runtime tools bobby shells out to.
# storcli (MegaSAS controller management) is proprietary and not in the tree;
# install it manually from the vendor if using the hwctrl-migrate step.
RDEPEND="
sys-fs/mdadm
sys-apps/nvme-cli
sys-apps/smartmontools
sys-block/parted
sys-apps/util-linux
sys-process/psmisc
sys-process/lsof
"

pkg_nofetch() {
einfo "The bobby source tarball must be downloaded manually."
einfo "Visit the repository and download the archive for v${PV}:"
einfo ""
einfo " https://github.com/adjust/${PN}/archive/v${PV}.tar.gz"
einfo ""
einfo "Save the file as '${P}.tar.gz' and place it in your distfiles directory:"
einfo ""
einfo " ${DISTDIR}/${P}.tar.gz"
}

#distutils_enable_tests pytest
10 changes: 10 additions & 0 deletions app-admin/bobby/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ops@adjust.com</email>
</maintainer>
<longdescription lang="en">
Bobby the fixer - cli wizard to help with various hardware maintenances
</longdescription>
</pkgmetadata>