diff options
Diffstat (limited to 'sys-libs/libblockdev')
-rw-r--r-- | sys-libs/libblockdev/Manifest | 4 | ||||
-rw-r--r-- | sys-libs/libblockdev/libblockdev-2.28-r1.ebuild | 136 | ||||
-rw-r--r-- | sys-libs/libblockdev/libblockdev-3.1.1.ebuild | 2 |
3 files changed, 2 insertions, 140 deletions
diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest index 417dc6a99cdb..2e581fe507ae 100644 --- a/sys-libs/libblockdev/Manifest +++ b/sys-libs/libblockdev/Manifest @@ -1,9 +1,7 @@ AUX libblockdev-2.28-sh_tests.patch 1552 BLAKE2B 3b26cf271a0cb2a0f51ecffe51c9caf9a0ac1c65aecb5adc845a2721f3ac7178df7c994b7647b4fa1bbfd27baf072325bffedf723555c39e164f7d7645163090 SHA512 11fc498db4ed1d3a9e5a9288e1137d64f7581cc7b2d265292f7a3899ef5cfc6d63138fef7f87695abd9d518fa1c74a8bd98ebb54038211eeb0afe7964d85c6c4 AUX libblockdev-3.0.4-add-non-systemd-method-for-distro-info.patch 1081 BLAKE2B f2b259d7a0fc120d900c244b8cb20dd4b69199e7e9f2c033b2c4242766529bef4f1190fd529ee612e54ed4d9456c0cb16b361669e64748d3399cefd39faeafb9 SHA512 315f404ee6a4f32cc71c71e59e49d901c082e387f49751e9caf52ff19dc3aa90099b2a8e5921e9ba1dd7f1d78b8ca3cac8e0dd8a58b6133e88cefaee8d35038d -DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 63ac7ab5bd02c1ef1848d0b252e09fe721cfe86258f063b7bab616766cbc56311707dcb2dd3a1fadf0e0840187f121aa178fd5959500cd590b846238a9d3e36e SHA512 9e01c41db4f728c8e81e710c6bb4725bbe34b3a7de25ff7f57b7b88ca6b7b5debbe858947585d314770036b2c3c533f9f8ff3d038b7ca50eee3d18f9fbe0d392 DIST libblockdev-2.29.tar.gz 935117 BLAKE2B 774062459602a6f3730ac6e694b3f535daf0258cc5f509ff138bb8c15f44ff46bdc08e32ae1957909b51a191726cf5e9cb418c0317e5178300687947704cf5e0 SHA512 0d9637800b189f3824483010d2ff079da11b15ed0b42c578352a0d3cd9c35dab4e5945a3cc31c17ea6f88637548151fc7cf237ac8e9c98edfc7b7bce1a756e01 DIST libblockdev-3.1.1.tar.gz 1056270 BLAKE2B b3dbdc7226524d544193b609ced8a9fee725268ba2201b639c22103fcae6d047c94fb1b848e489525300242cb235d688934193894a06279a4dc0e0b33dff6e96 SHA512 44628d9e68a467f8a5d5e65e12d5d6ffb4d9b953c846acd9f6da257eab5ccd79309651d6b20092fa700fb4340f1f718ceef11141203da676d088824aa9d03481 -EBUILD libblockdev-2.28-r1.ebuild 3021 BLAKE2B c69a116e356da22fecc5c6c6306df6032d8cfd011b4df8f928d96cdcab6cd3bebb947844cedc0aa78e2ea67083960b18647c256c7272298b150e45535af69d71 SHA512 a1ba02748dfb044e770473e89d5cac59ed4822db3dd9f76bf655c4597f1341f456b34a047aed7c13a867de166be1baf8eb59f83974ca060cf5433ab9a5fc97c7 EBUILD libblockdev-2.29.ebuild 2940 BLAKE2B 05b8117e03fabdf77be75432e1185f301d93625d382af0a6a2854e07080fd299678d0d2af154081cffead017de4ff469b957586d5030b3fe8653fc199ed0a63c SHA512 3557c08061abae2b92b444dd06347f45cf6c98c0603d092c21de0f4ace387d9e6c341148796deb84d4e2d8e6c2d395b56acbb96989c4f02cd8df58759f80f43d -EBUILD libblockdev-3.1.1.ebuild 3019 BLAKE2B 0a025af987042503d1a0911e065c7cdd47cc44b8f19ad1a3e3df3876eb196e30c71bb6bbc1df8a85cabe04f34e6467e04c1826bdc6a4d3de8120b105abe77cd1 SHA512 63e4d7b0b05c3ddc7ed48848dd93e724c28a562165d27400ef1406c2f5476d52971efb6e7d9ff4576b275d9561130f655a105f57c4f6fd437d0baa96f7b9f6fb +EBUILD libblockdev-3.1.1.ebuild 3020 BLAKE2B 5a51d93ac2adb6f7cb1e1a96ba936557abf9435a519a444da83e548863b86526d5216402af5da40214898e671602fdb9ec64252e8f456a9ea92495d8aadaa81a SHA512 4bc38a0feb0c05c0e9633eaf81b2877b43aaf01b2b839dc6953fc5a29eaf30b202f6b7db77835b3570edb54140c48be4983434bde4ed14c9d1a0380839eb1e91 MISC metadata.xml 1042 BLAKE2B 9e4d219b1a7d795d3a0b04647fb34acf1f9361271fa8fb8c8b125da384b9e52c31413fd3a64cd2a36bd1d9e4cbbf65b513862affa520b44b5d3eeb9c71cce9f3 SHA512 d902068c1060027a5f3ab4379c2a42a2621d415aaa3737f800ba84b862eb96d32b2e900b6c39c7217f48322457218f74044eac68d95409254d9debf0d154c312 diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild deleted file mode 100644 index f584e52cc4c6..000000000000 --- a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -inherit autotools python-single-r1 xdg-utils - -DESCRIPTION="A library for manipulating block devices" -HOMEPAGE="https://github.com/storaged-project/libblockdev" -if [[ "${PV}" == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git" - BDEPEND=" - dev-build/autoconf-archive - " -else - MY_PV="${PV}-1" - SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" -fi -LICENSE="LGPL-2+" -SLOT="0/2" # subslot is SOVERSION -IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm kbd test +tools vdo" -# Tests require root. In a future release, we may be able to run a smaller -# subset with new run_tests.py arguments. -RESTRICT="!test? ( test ) test" - -RDEPEND=" - >=dev-libs/glib-2.42.2 - dev-libs/libbytesize - >=sys-apps/kmod-19 - >=sys-apps/util-linux-2.27 - >=sys-block/parted-3.1 - cryptsetup? ( - escrow? ( - >=dev-libs/nss-3.18.0 - dev-libs/volume_key - ) - >=sys-fs/cryptsetup-1.6.7:= - ) - device-mapper? ( sys-fs/lvm2 ) - dmraid? ( - sys-fs/dmraid - sys-fs/lvm2 - ) - lvm? ( - sys-fs/lvm2 - virtual/udev - ) - vdo? ( dev-libs/libyaml ) - ${PYTHON_DEPS} -" - -DEPEND=" - ${RDEPEND} -" - -# TODO: relax libbytesize condition once it has gained py3.11 support -BDEPEND+=" - dev-build/gtk-doc-am - gtk-doc? ( dev-util/gtk-doc ) - introspection? ( >=dev-libs/gobject-introspection-1.3.0 ) - test? ( - $(python_gen_cond_dep ' - dev-libs/libbytesize[python,${PYTHON_USEDEP}] - ' python3_{9..10} ) - sys-block/targetcli-fb - ) -" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - escrow? ( cryptsetup )" - -PATCHES=( - "${FILESDIR}"/${PN}-2.28-sh_tests.patch -) - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_prepare() { - xdg_environment_reset #623992 - default - - # https://bugs.gentoo.org/744289 - find -type f \( -name "Makefile.am" -o -name "configure.ac" \) -print0 \ - | xargs --null sed "s@ -Werror@@" -i || die - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --with-btrfs - --with-fs - --with-part - --with-python3 - --without-mpath - --without-nvdimm - --without-python2 - $(use_enable introspection) - $(use_enable test tests) - $(use_with bcache) - $(use_with cryptsetup crypto) - $(use_with device-mapper dm) - $(use_with dmraid) - $(use_with escrow) - $(use_with gtk-doc) - $(use_with kbd) - $(use_with lvm lvm) - $(use_with lvm lvm-dbus) - $(use_with tools) - $(use_with vdo) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # See http://storaged.org/libblockdev/ch03.html - # The 'check' target just does Pylint. - # ... but it needs root. - emake test -} - -src_install() { - default - find "${ED}" -type f -name "*.la" -delete || die - # This is installed even with USE=-lvm, but libbd_lvm are omitted so it - # doesn't work at all. - if ! use lvm ; then - rm -f "${ED}"/usr/bin/lvm-cache-stats || die - fi - python_optimize #718576 -} diff --git a/sys-libs/libblockdev/libblockdev-3.1.1.ebuild b/sys-libs/libblockdev/libblockdev-3.1.1.ebuild index 506d379f6bba..bc2ca1e9bfbb 100644 --- a/sys-libs/libblockdev/libblockdev-3.1.1.ebuild +++ b/sys-libs/libblockdev/libblockdev-3.1.1.ebuild @@ -17,7 +17,7 @@ if [[ "${PV}" == *9999 ]] ; then else MY_PV="${PV}-1" SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" fi LICENSE="LGPL-2+" SLOT="0/3" # subslot is SOVERSION |