summaryrefslogtreecommitdiff
path: root/dev-debug/drgn
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-21 06:30:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-21 06:30:52 +0000
commitd2bcdab82e5f5f38a8ab54026e8aa94edb1b77a6 (patch)
tree0d75edaef0b7c0db490d25119f6b17b386d41c58 /dev-debug/drgn
parent9097a9c06c0b1e11c7f6579f03e3f32948be3f24 (diff)
gentoo auto-resync : 21:12:2024 - 06:30:51
Diffstat (limited to 'dev-debug/drgn')
-rw-r--r--dev-debug/drgn/Manifest2
-rw-r--r--dev-debug/drgn/drgn-0.0.30.ebuild61
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-debug/drgn/Manifest b/dev-debug/drgn/Manifest
index dbf6e4433cd9..9a0af2153adb 100644
--- a/dev-debug/drgn/Manifest
+++ b/dev-debug/drgn/Manifest
@@ -1,6 +1,8 @@
AUX drgn-0.0.27-bashism.patch 1254 BLAKE2B de06931b08d6bc1569060d39a26386492949b7cdd420b33d464249d3cc63eb4284e02d01d62c8a4aa6dc964321bc0462aa2b6e6843d0653d18c9f91560df1af6 SHA512 57557cfe1537ea1dcd174f968d1df9cf76566d8106d28a7f8968965d61929732d4b398c76bda6f9a7a29a4d5f4c830c7d9607b0d7356ce687ac993ca37107881
DIST drgn-0.0.27.tar.gz 1193358 BLAKE2B 9008c2784075dd2409d6a948474914f0b08bbd4ee0a7d537e77de5f9f34ebede20dab2fd371047708af5ded0ef395ae2361760edd5cbee2fac88140fcbb3d58e SHA512 fab4620eada3767184b48bf641fc700697b5897c9313ee15ff16aec1070d9e7e92a732e430d4a9d0d02d7071764961e7845b2f9ee6a87c661bdf0fc4d4ecb0f0
DIST drgn-0.0.29.tar.gz 1242038 BLAKE2B a2f750ff9717f1990400d1e491bc83229d1ade87e32a6d14e395b889562088df32b3915ded97c3c6486bc7defdea7e1d58dbdccdcc3f6085dca12104569a71ef SHA512 2d13de5f4da2db106def4701b4de182c5a5781c12308bc169d6a9033f223b7c64fd4f83659c45a2861ac9aca56f31ba77d781452b9374bc29f50e1151a073741
+DIST drgn-0.0.30.tar.gz 1268753 BLAKE2B 28fc686771f0eebca4c8be6a4552e0d8ca060ea1d39d656768d807f8115323ca00f1a9311d3aa5208d2a609fa296cda691f350e545b1e23b5ef0b200a9d6f77b SHA512 6c17052baf5c2295167e41e5b7fd9899c1ca90af6f83704034371827953f690c034415780c4f45d20e1235085c198cf69e8ee9bdbf8081e22e3f860d21e839e9
EBUILD drgn-0.0.27-r2.ebuild 1463 BLAKE2B 846dd4ff44fbf77b805239a16aa540600f4ecada0993e9cae4d0477ff42699f504885710ebd326a8ceffc253b4c5440c9d19e12db75e6045bff00ab66026e9da SHA512 f621318753ab03bc3f55b9a7a08070f32092c9516e0a6cdd912c4ca0ba1de899272ffd0deca269cbbe830b0f5335c4e944644fe9bf94c087e89c2b0f75e64f5b
EBUILD drgn-0.0.29.ebuild 1320 BLAKE2B aa0d706486b83dcc758b76d0956c777b35a83a79eaaf99d9eb3dba1ba1412cb5b9d3b971f19ac54002032207294940ac49026031149ab8fe1e36e028a70fc685 SHA512 9937fd9f2e27bbe00a32bd345c89952a5c46e65997ddfc7483e33eef2ee7fdacead23f8cda93e09d0a006d7d397dc5c7bdfabab38259a465a0b955cad7fead34
+EBUILD drgn-0.0.30.ebuild 1320 BLAKE2B aa0d706486b83dcc758b76d0956c777b35a83a79eaaf99d9eb3dba1ba1412cb5b9d3b971f19ac54002032207294940ac49026031149ab8fe1e36e028a70fc685 SHA512 9937fd9f2e27bbe00a32bd345c89952a5c46e65997ddfc7483e33eef2ee7fdacead23f8cda93e09d0a006d7d397dc5c7bdfabab38259a465a0b955cad7fead34
MISC metadata.xml 359 BLAKE2B aa0eea7b771679ed77edfbf4678c187654e237066307bb523ece7c7ab42bdabb38cb1fb438230895216545fbad1f33f25b28c01e7f82f8a34d90e8f7ef1c3c89 SHA512 5ce3abf34bf8f653c744beaee91443844916bbbb0a55fdb4859c8569c98afffde64fe6947fd86acc3675b133d2d3a40a7e2a9ad1e378dae6118b7c5dd5f27c56
diff --git a/dev-debug/drgn/drgn-0.0.30.ebuild b/dev-debug/drgn/drgn-0.0.30.ebuild
new file mode 100644
index 000000000000..466aac274efe
--- /dev/null
+++ b/dev-debug/drgn/drgn-0.0.30.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 multiprocessing pypi toolchain-funcs
+
+DESCRIPTION="Programmable debugger"
+HOMEPAGE="
+ https://github.com/osandov/drgn
+ https://pypi.org/project/drgn/
+ https://drgn.readthedocs.io/en/latest/
+"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="openmp"
+
+DEPEND="
+ >=dev-libs/elfutils-0.165
+ dev-libs/libkdumpfile
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? ( dev-libs/check )
+"
+
+distutils_enable_tests unittest
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+ tc-export AR CC OBJCOPY OBJDUMP PKG_CONFIG RANLIB STRIP
+
+ cat >> setup.cfg <<-EOF || die
+ [build_ext]
+ parallel = $(makeopts_jobs)
+ EOF
+
+ # setuptools calls autotools (!)
+ export CONFIGURE_FLAGS
+ CONFIGURE_FLAGS="--disable-dependency-tracking --disable-silent-rules"
+ CONFIGURE_FLAGS+=" --with-libkdumpfile"
+ CONFIGURE_FLAGS+=" $(use_enable openmp)"
+ CONFIGURE_FLAGS+=" --build=${CBUILD}"
+ CONFIGURE_FLAGS+=" --host=${CHOST}"
+ CONFIGURE_FLAGS+=" --target=${CTARGET}"
+ distutils-r1_src_configure
+}