summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-09-24 12:23:26 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-09-24 12:23:26 +0200
commit3694bba1c7468b784e706e7dbe75cb1886edcfd2 (patch)
tree2aad91a533182a33ca51d3278bf5f9178a544d5d /dev-util/0xtools
parentdev-util/0xtools: drop old 1.2.4 (diff)
downloadgentoo-3694bba1c7468b784e706e7dbe75cb1886edcfd2.tar.gz
gentoo-3694bba1c7468b784e706e7dbe75cb1886edcfd2.tar.bz2
gentoo-3694bba1c7468b784e706e7dbe75cb1886edcfd2.zip
dev-util/0xtools: drop old 2.0.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-util/0xtools')
-rw-r--r--dev-util/0xtools/0xtools-2.0.2.ebuild70
-rw-r--r--dev-util/0xtools/Manifest1
2 files changed, 0 insertions, 71 deletions
diff --git a/dev-util/0xtools/0xtools-2.0.2.ebuild b/dev-util/0xtools/0xtools-2.0.2.ebuild
deleted file mode 100644
index 8f4e383cb9f6..000000000000
--- a/dev-util/0xtools/0xtools-2.0.2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit python-single-r1 systemd toolchain-funcs
-
-DESCRIPTION="Always-on profiling for production systems"
-HOMEPAGE="https://0x.tools/
- https://github.com/tanelpoder/0xtools/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
-
- EGIT_REPO_URI="https://github.com/tanelpoder/${PN}.git"
-else
- SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
- KEYWORDS="amd64 ~x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- ${PYTHON_DEPS}
-"
-BDEPEND="
- ${RDEPEND}
-"
-
-DOCS=( CHANGELOG.md README.md )
-
-src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}"
-
- sed -e "/^sys.path.append/s|(.*)|('$(python_get_sitedir)/${PN}')|" \
- -i bin/psn -i bin/schedlat || die
-}
-
-src_install() {
- # C executables and scripts
- exeinto /usr/bin
- doexe bin/{cpumhz,cpumhzturbo,vmtop,xcapture,xtop}
- doexe bin/{run_xcapture.sh,run_xcpu.sh}
-
- # Python executables
- python_domodule "lib/${PN}"
- python_doscript bin/psn
- python_doscript bin/schedlat
- python_doscript bin/syscallargs
-
- # Service
- systemd_dounit xcapture.service
- systemd_dounit xcapture-restart.service
- systemd_dounit xcapture-restart.timer
-
- # Service config
- insinto /etc/default
- newins xcapture.default xcapture
-
- # Service logs
- keepdir /var/log/xcapture
-
- einstalldocs
-}
diff --git a/dev-util/0xtools/Manifest b/dev-util/0xtools/Manifest
index 62add8499536..93776260a758 100644
--- a/dev-util/0xtools/Manifest
+++ b/dev-util/0xtools/Manifest
@@ -1,2 +1 @@
-DIST 0xtools-2.0.2.tar.gz 5989710 BLAKE2B 5e4efd4d21e3ed1fc8b1eed5378d25af3170f2386c738a68d28df5bad44ebdb88fd20a0b554d101b678c15131adb83ae786df1267c8333075c58ea58b8c2ce88 SHA512 5cb627e9b990063867869cdbbdefd7e2b6151410ac19950f683086c9200a8ba1f92192378779dbabc4efd91283cd23243a4b46259d97426331f823941b85883b
DIST 0xtools-2.0.3.tar.gz 5991280 BLAKE2B 26d71f43a0fbe72d38e675cc525fc91b4a738dd3a99ef6804f8855d15341a423d1b5c54ba9e015bea539d15617393d8994c1415a3ee0b74d2d49e97f6b243586 SHA512 012655d8d12fe5a853ccb9503471893ee09bf0fbbe5d3b3be52b5857cac965be63279546c240748d10d727abc2383b8cf2e91b07ffee69ae509494fb5c5d6767