[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2024-04-20 Thread Sam James
commit: 93e52f92e3ec669a9678a1c4a61329791c938fba
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 20 13:19:47 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 20 13:19:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93e52f92

sys-libs/libblockdev: Keyword 3.1.1 sparc, #908793

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.1.1.ebuild 
b/sys-libs/libblockdev/libblockdev-3.1.1.ebuild
index 5ff351026d9a..dbce37fe8a48 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}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2024-04-07 Thread Marek Szuba
commit: 4dd25d9e0833b8091382a3e928992d07d7ed92b9
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Apr  7 14:42:10 2024 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Apr  7 15:22:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dd25d9e

sys-libs/libblockdev: add 3.1.1

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/Manifest |   1 +
 sys-libs/libblockdev/libblockdev-3.1.1.ebuild | 132 ++
 2 files changed, 133 insertions(+)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 25b6637a09e2..301c93b4bf6a 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -2,3 +2,4 @@ DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 
63ac7ab5bd02c1ef1848d0b252e09fe721cf
 DIST libblockdev-2.29.tar.gz 935117 BLAKE2B 
774062459602a6f3730ac6e694b3f535daf0258cc5f509ff138bb8c15f44ff46bdc08e32ae1957909b51a191726cf5e9cb418c0317e5178300687947704cf5e0
 SHA512 
0d9637800b189f3824483010d2ff079da11b15ed0b42c578352a0d3cd9c35dab4e5945a3cc31c17ea6f88637548151fc7cf237ac8e9c98edfc7b7bce1a756e01
 DIST libblockdev-3.0.3.tar.gz 1048628 BLAKE2B 
c26a806797effc7231a0eb92f1b8cd74e548da5b1800cddd75a21e7df327be8371edabc2e9a39a727291f365b6a4f6242f78b66396adc4526b41749219f0429f
 SHA512 
f2cc6fbe1df6fd9886016177a4a94984d704f3b402c7090344c581afb89f7cb050c9516c52974157a99ea6c6239f6a1f6079cde0b43a2336af0daca7311ca788
 DIST libblockdev-3.0.4.tar.gz 1050971 BLAKE2B 
e31ecb04310c2c66cbe432c1e003b3c3241f318f78916d5c61c0efca37fa677e5f857eab9b7c3bfc7c5a589350cdef12402940d28af68ab9fc95e5da6852ddf1
 SHA512 
82b574c1f8e301d6e9ff07f8c3d2a351a5bc966b5d65a3b578c214e03e48b54270b54176d646ac15e8119c79536d08b36415de478ffd34c8b3fe536300fc5172
+DIST libblockdev-3.1.1.tar.gz 1056270 BLAKE2B 
b3dbdc7226524d544193b609ced8a9fee725268ba2201b639c22103fcae6d047c94fb1b848e489525300242cb235d688934193894a06279a4dc0e0b33dff6e96
 SHA512 
44628d9e68a467f8a5d5e65e12d5d6ffb4d9b953c846acd9f6da257eab5ccd79309651d6b20092fa700fb4340f1f718ceef11141203da676d088824aa9d03481

diff --git a/sys-libs/libblockdev/libblockdev-3.1.1.ebuild 
b/sys-libs/libblockdev/libblockdev-3.1.1.ebuild
new file mode 100644
index ..5ff351026d9a
--- /dev/null
+++ b/sys-libs/libblockdev/libblockdev-3.1.1.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit autotools python-single-r1 xdg-utils
+
+DESCRIPTION="A library for manipulating block devices"
+HOMEPAGE="https://github.com/storaged-project/libblockdev;
+if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~x86"
+fi
+LICENSE="LGPL-2+"
+SLOT="0/3" # subslot is SOVERSION
+IUSE="+cryptsetup device-mapper escrow gtk-doc introspection lvm +nvme test 
+tools"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-libs/glib-2.42.2
+   dev-libs/libbytesize
+   sys-apps/gptfdisk
+   >=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-apps/keyutils-1.5.0:=
+   >=sys-fs/cryptsetup-2.3.0:=
+   )
+   device-mapper? ( sys-fs/lvm2 )
+   lvm? (
+   sys-fs/lvm2
+   virtual/udev
+   )
+   nvme? ( sys-libs/libnvme )
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+
+DEPEND="${RDEPEND}"
+
+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}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   ')
+   sys-apps/lsb-release
+   sys-block/targetcli-fb
+   )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   escrow? ( cryptsetup )
+   test? ( introspection lvm )
+"
+
+PATCHES=(
+   
"${FILESDIR}/libblockdev-3.0.4-add-non-systemd-method-for-distro-info.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 \
+   | 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2024-04-07 Thread Marek Szuba
commit: ed67219de38979bd5063f7bd143b095e0692a1c2
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Apr  7 14:27:20 2024 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Apr  7 15:22:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed67219d

sys-libs/libblockdev: add 2.29

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/Manifest|   1 +
 sys-libs/libblockdev/libblockdev-2.29.ebuild | 135 +++
 2 files changed, 136 insertions(+)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 6b4bdd524879..25b6637a09e2 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,3 +1,4 @@
 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.0.3.tar.gz 1048628 BLAKE2B 
c26a806797effc7231a0eb92f1b8cd74e548da5b1800cddd75a21e7df327be8371edabc2e9a39a727291f365b6a4f6242f78b66396adc4526b41749219f0429f
 SHA512 
f2cc6fbe1df6fd9886016177a4a94984d704f3b402c7090344c581afb89f7cb050c9516c52974157a99ea6c6239f6a1f6079cde0b43a2336af0daca7311ca788
 DIST libblockdev-3.0.4.tar.gz 1050971 BLAKE2B 
e31ecb04310c2c66cbe432c1e003b3c3241f318f78916d5c61c0efca37fa677e5f857eab9b7c3bfc7c5a589350cdef12402940d28af68ab9fc95e5da6852ddf1
 SHA512 
82b574c1f8e301d6e9ff07f8c3d2a351a5bc966b5d65a3b578c214e03e48b54270b54176d646ac15e8119c79536d08b36415de478ffd34c8b3fe536300fc5172

diff --git a/sys-libs/libblockdev/libblockdev-2.29.ebuild 
b/sys-libs/libblockdev/libblockdev-2.29.ebuild
new file mode 100644
index ..aed9cc3e41c6
--- /dev/null
+++ b/sys-libs/libblockdev/libblockdev-2.29.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit autotools python-single-r1 xdg-utils
+
+DESCRIPTION="A library for manipulating block devices"
+HOMEPAGE="https://github.com/storaged-project/libblockdev;
+if [[ "${PV}" == * ]] ; 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 ~ia64 ~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}
+"
+
+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}]
+   ')
+   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

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2024-03-10 Thread Arthur Zamarin
commit: 332c81dde4bebf34b31c00834a8cd7f038ba798f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 21:05:32 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 21:05:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=332c81dd

sys-libs/libblockdev: Stabilize 3.0.4 ppc64, #925455

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
index e55ce1624fad..4d3b38836631 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2024-03-10 Thread Arthur Zamarin
commit: 1fc0e0bee1041ce13e631c3e7ac2ec4776354696
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 21:04:31 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 21:04:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fc0e0be

sys-libs/libblockdev: Stabilize 3.0.4 x86, #925455

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
index aa9182d99c64..2c44b9a15be1 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2024-03-10 Thread Arthur Zamarin
commit: 94302832487a45eed9cf527efb640c200255ddec
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 21:04:35 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 21:04:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94302832

sys-libs/libblockdev: Stabilize 3.0.4 arm, #925455

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
index 2c44b9a15be1..68783a528cc4 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2024-03-10 Thread Arthur Zamarin
commit: d0f4426ed999d6c74d9785104a500fca3fa44739
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 21:04:40 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 21:04:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0f4426e

sys-libs/libblockdev: Stabilize 3.0.4 arm64, #925455

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
index 68783a528cc4..e55ce1624fad 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2024-03-10 Thread Arthur Zamarin
commit: dd5b51ac33c73e70be46fa9813a809b6a2ee7f57
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 21:04:28 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 21:04:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd5b51ac

sys-libs/libblockdev: Stabilize 3.0.4 amd64, #925455

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
index 5ff351026d9a..aa9182d99c64 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2024-03-10 Thread Matt Turner
commit: f546cdd6f620e13b31f17195fdb70e0206ac9dc1
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Mar 10 19:46:12 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Mar 10 19:50:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f546cdd6

sys-libs/libblockdev: Add missing test dependency

Closes: https://bugs.gentoo.org/926703
Signed-off-by: Matt Turner  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
index a76a9b37e44a..5ff351026d9a 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -63,6 +63,7 @@ BDEPEND+="
dev-python/dbus-python[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
')
+   sys-apps/lsb-release
sys-block/targetcli-fb
)
 "



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-12-08 Thread Arthur Zamarin
commit: c6ec241b5d2c3d67e8eee9c7dee4d1d4527f85bd
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  9 07:54:31 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  9 07:54:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6ec241b

sys-libs/libblockdev: Keyword 3.0.4 ia64, #910073

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
index aeb98f682a8e..6ba49b03abfc 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ppc64 ~riscv ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc64 ~riscv 
~x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/, sys-libs/libblockdev/files/

2023-11-28 Thread Marek Szuba
commit: 1d4d1949ad2af1cc2fd32869aa8bbab832fed806
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Nov 24 16:13:17 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Nov 28 09:38:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d4d1949

sys-libs/libblockdev: enable tests

* Patch is test specific so revbump is unnesessary.

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Marek Szuba  gentoo.org>

 4-add-non-systemd-method-for-distro-info.patch | 30 ++
 sys-libs/libblockdev/libblockdev-3.0.4.ebuild  | 17 +++-
 2 files changed, 40 insertions(+), 7 deletions(-)

diff --git 
a/sys-libs/libblockdev/files/libblockdev-3.0.4-add-non-systemd-method-for-distro-info.patch
 
b/sys-libs/libblockdev/files/libblockdev-3.0.4-add-non-systemd-method-for-distro-info.patch
new file mode 100644
index ..5625478c6081
--- /dev/null
+++ 
b/sys-libs/libblockdev/files/libblockdev-3.0.4-add-non-systemd-method-for-distro-info.patch
@@ -0,0 +1,30 @@
+From ec8cab726abe60ba5c7ffcce07905b29c5376163 Mon Sep 17 00:00:00 2001
+From: Alfred Wingate 
+Date: Mon, 13 Nov 2023 16:21:44 +0200
+Subject: [PATCH] Add non-systemd method to get distro name and version
+
+--- a/tests/utils.py
 b/tests/utils.py
+@@ -514,10 +514,16 @@ def get_version():
+ """ Try to get distro and version
+ """
+ 
+-bus = dbus.SystemBus()
++try:
++bus = dbus.SystemBus()
++
++# get information about the distribution from systemd (hostname1)
++sys_info = bus.get_object("org.freedesktop.hostname1", 
"/org/freedesktop/hostname1")
++except dbus.exceptions.DBusException:
++import platform
++info = platform.freedesktop_os_release()
++return (info["NAME"], info["VERSION_ID"])
+ 
+-# get information about the distribution from systemd (hostname1)
+-sys_info = bus.get_object("org.freedesktop.hostname1", 
"/org/freedesktop/hostname1")
+ cpe = str(sys_info.Get("org.freedesktop.hostname1", 
"OperatingSystemCPEName", dbus_interface=dbus.PROPERTIES_IFACE))
+ 
+ if cpe:
+-- 
+2.42.1
+

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
index 96fa6a0cbf98..e2e216d80617 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -22,9 +22,7 @@ fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION
 IUSE="+cryptsetup device-mapper escrow gtk-doc introspection lvm +nvme test 
+tools"
-# 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"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
>=dev-libs/glib-2.42.2
@@ -70,7 +68,13 @@ BDEPEND+="
 "
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   escrow? ( cryptsetup )"
+   escrow? ( cryptsetup )
+   test? ( introspection lvm )
+"
+
+PATCHES=(
+   
"${FILESDIR}/libblockdev-3.0.4-add-non-systemd-method-for-distro-info.patch"
+)
 
 pkg_setup() {
python-single-r1_pkg_setup
@@ -111,9 +115,8 @@ src_configure() {
 
 src_test() {
# See http://storaged.org/libblockdev/ch03.html
-   # The 'check' target just does Pylint.
-   # ... but it needs root.
-   emake test
+   # Largest subset which doesn't require root priviledges
+   ${EPYTHON} tests/run_tests.py --include-tags extradeps sourceonly || die
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-11-28 Thread Marek Szuba
commit: 62283303d6d8b7e2c037230fad3b1f2bbf792973
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Nov 24 16:14:44 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Nov 28 09:38:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62283303

sys-libs/libblockdev: enable py3.12

Closes: https://bugs.gentoo.org/917028
Closes: https://github.com/gentoo/gentoo/pull/33790
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
index e2e216d80617..aeb98f682a8e 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-11-21 Thread Marek Szuba
commit: edfc2fa5c8b7fa298b17a25e30a0e10ac189922c
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Nov 21 10:02:32 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Nov 21 10:04:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edfc2fa5

sys-libs/libblockdev: add (some) missing test dependencies

Looks like more are needed, though.

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
index 5c2aa28dcfa3..96fa6a0cbf98 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -62,6 +62,8 @@ BDEPEND+="
test? (
$(python_gen_cond_dep '
dev-libs/libbytesize[python,${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pyyaml[${PYTHON_USEDEP}]
')
sys-block/targetcli-fb
)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-11-21 Thread Marek Szuba
commit: 413a191fc73692d3b2c32cb4c088e75d0ed80e30
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Nov 21 09:44:16 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Nov 21 10:04:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413a191f

sys-libs/libblockdev: drop 3.0.2-r1

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/Manifest|   1 -
 sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild | 133 ---
 2 files changed, 134 deletions(-)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 612a7148404d..6b4bdd524879 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,4 +1,3 @@
 DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 
63ac7ab5bd02c1ef1848d0b252e09fe721cfe86258f063b7bab616766cbc56311707dcb2dd3a1fadf0e0840187f121aa178fd5959500cd590b846238a9d3e36e
 SHA512 
9e01c41db4f728c8e81e710c6bb4725bbe34b3a7de25ff7f57b7b88ca6b7b5debbe858947585d314770036b2c3c533f9f8ff3d038b7ca50eee3d18f9fbe0d392
-DIST libblockdev-3.0.2.tar.gz 1067300 BLAKE2B 
97170434d98a66b90ff3da3d094ce6cbf29b338967e9b2dbc9edee9bdd730a63678efbd15c94c4c6604b1499956d744c102d26c116794c4e44fcfb871afd252d
 SHA512 
5285aaa4a8e66aacc70461b2c0b0ffe57121ee6136bfa7c46c3ebbd1da517278f8760207f983d69707096c8293e6f7a1d59caf03e742c3d8009ceed25b8c3e89
 DIST libblockdev-3.0.3.tar.gz 1048628 BLAKE2B 
c26a806797effc7231a0eb92f1b8cd74e548da5b1800cddd75a21e7df327be8371edabc2e9a39a727291f365b6a4f6242f78b66396adc4526b41749219f0429f
 SHA512 
f2cc6fbe1df6fd9886016177a4a94984d704f3b402c7090344c581afb89f7cb050c9516c52974157a99ea6c6239f6a1f6079cde0b43a2336af0daca7311ca788
 DIST libblockdev-3.0.4.tar.gz 1050971 BLAKE2B 
e31ecb04310c2c66cbe432c1e003b3c3241f318f78916d5c61c0efca37fa677e5f857eab9b7c3bfc7c5a589350cdef12402940d28af68ab9fc95e5da6852ddf1
 SHA512 
82b574c1f8e301d6e9ff07f8c3d2a351a5bc966b5d65a3b578c214e03e48b54270b54176d646ac15e8119c79536d08b36415de478ffd34c8b3fe536300fc5172

diff --git a/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
deleted file mode 100644
index c9c348b7e758..
--- a/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2023 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 toolchain-funcs xdg-utils
-
-DESCRIPTION="A library for manipulating block devices"
-HOMEPAGE="https://github.com/storaged-project/libblockdev;
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
-   BDEPEND="
-   sys-devel/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 ~ppc64 ~riscv ~x86"
-fi
-LICENSE="LGPL-2+"
-SLOT="0/3" # subslot is SOVERSION
-IUSE="+cryptsetup device-mapper escrow gtk-doc introspection lvm +nvme test 
+tools"
-# 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/gptfdisk
-   >=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-apps/keyutils-1.5.0:=
-   >=sys-fs/cryptsetup-2.3.0:=
-   )
-   device-mapper? ( sys-fs/lvm2 )
-   lvm? (
-   sys-fs/lvm2
-   virtual/udev
-   )
-   nvme? ( sys-libs/libnvme )
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   ')
-"
-
-DEPEND="
-   ${RDEPEND}
-"
-
-BDEPEND+="
-   dev-util/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}]
-   ')
-   sys-block/targetcli-fb
-   )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   escrow? ( cryptsetup )"
-
-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() {
-   # Bug #910487
-   if tc-ld-is-lld; then
-   tc-ld-force-bfd
-   fi
-
-   local myeconfargs=(
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-10-26 Thread Sam James
commit: aa55a81b5fc768a251809bdfa4131bea6d9276f4
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 13:03:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 13:03:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa55a81b

sys-libs/libblockdev: Stabilize 3.0.3 arm64, #916283

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
index a90f36e278d1..a91e6640889d 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ppc64 ~riscv x86"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~mips ppc64 ~riscv x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-10-26 Thread Sam James
commit: 28c5f8dee3ce8171e400be27e2bde1d0a49a3600
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 13:03:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 13:03:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c5f8de

sys-libs/libblockdev: Stabilize 3.0.3 arm, #916283

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
index a91e6640889d..ae3fe7349d51 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ppc64 ~riscv x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc64 ~riscv x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-10-26 Thread Sam James
commit: 5cac688e60cec114574d5faf18265408cb429b9e
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 12:47:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 12:48:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cac688e

sys-libs/libblockdev: Stabilize 3.0.3 ppc64, #916283

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
index 637f745cbbff..a90f36e278d1 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ppc64 ~riscv x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~mips ppc64 ~riscv x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-10-26 Thread Sam James
commit: 22077372921adfddf3fccabe7908067af83b7bc2
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 12:47:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 12:48:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22077372

sys-libs/libblockdev: Stabilize 3.0.3 amd64, #916283

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
index 74e6519273f5..637f745cbbff 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ppc64 ~riscv x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-10-26 Thread Sam James
commit: 0249448437df62b1a54969fac03e5eb606d3ecbb
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 12:47:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 12:48:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02494484

sys-libs/libblockdev: Stabilize 3.0.3 x86, #916283

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
index 7d50d311061b..74e6519273f5 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ppc64 ~riscv ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-10-17 Thread Sam James
commit: 347e755c354967331027544978bec210e5624f21
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 17 07:53:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 17 07:53:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347e755c

sys-libs/libblockdev: add 3.0.4

This also drops the LLD workaround as the issue was in parted (now fixed).

Bug: https://bugs.gentoo.org/910487
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/Manifest |   1 +
 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 126 ++
 2 files changed, 127 insertions(+)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 328a511f99ce..612a7148404d 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,3 +1,4 @@
 DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 
63ac7ab5bd02c1ef1848d0b252e09fe721cfe86258f063b7bab616766cbc56311707dcb2dd3a1fadf0e0840187f121aa178fd5959500cd590b846238a9d3e36e
 SHA512 
9e01c41db4f728c8e81e710c6bb4725bbe34b3a7de25ff7f57b7b88ca6b7b5debbe858947585d314770036b2c3c533f9f8ff3d038b7ca50eee3d18f9fbe0d392
 DIST libblockdev-3.0.2.tar.gz 1067300 BLAKE2B 
97170434d98a66b90ff3da3d094ce6cbf29b338967e9b2dbc9edee9bdd730a63678efbd15c94c4c6604b1499956d744c102d26c116794c4e44fcfb871afd252d
 SHA512 
5285aaa4a8e66aacc70461b2c0b0ffe57121ee6136bfa7c46c3ebbd1da517278f8760207f983d69707096c8293e6f7a1d59caf03e742c3d8009ceed25b8c3e89
 DIST libblockdev-3.0.3.tar.gz 1048628 BLAKE2B 
c26a806797effc7231a0eb92f1b8cd74e548da5b1800cddd75a21e7df327be8371edabc2e9a39a727291f365b6a4f6242f78b66396adc4526b41749219f0429f
 SHA512 
f2cc6fbe1df6fd9886016177a4a94984d704f3b402c7090344c581afb89f7cb050c9516c52974157a99ea6c6239f6a1f6079cde0b43a2336af0daca7311ca788
+DIST libblockdev-3.0.4.tar.gz 1050971 BLAKE2B 
e31ecb04310c2c66cbe432c1e003b3c3241f318f78916d5c61c0efca37fa677e5f857eab9b7c3bfc7c5a589350cdef12402940d28af68ab9fc95e5da6852ddf1
 SHA512 
82b574c1f8e301d6e9ff07f8c3d2a351a5bc966b5d65a3b578c214e03e48b54270b54176d646ac15e8119c79536d08b36415de478ffd34c8b3fe536300fc5172

diff --git a/sys-libs/libblockdev/libblockdev-3.0.4.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
new file mode 100644
index ..5c2aa28dcfa3
--- /dev/null
+++ b/sys-libs/libblockdev/libblockdev-3.0.4.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2023 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}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
+   BDEPEND="
+   sys-devel/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 ~ppc64 ~riscv ~x86"
+fi
+LICENSE="LGPL-2+"
+SLOT="0/3" # subslot is SOVERSION
+IUSE="+cryptsetup device-mapper escrow gtk-doc introspection lvm +nvme test 
+tools"
+# 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/gptfdisk
+   >=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-apps/keyutils-1.5.0:=
+   >=sys-fs/cryptsetup-2.3.0:=
+   )
+   device-mapper? ( sys-fs/lvm2 )
+   lvm? (
+   sys-fs/lvm2
+   virtual/udev
+   )
+   nvme? ( sys-libs/libnvme )
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND+="
+   dev-util/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}]
+   ')
+   sys-block/targetcli-fb
+   )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   escrow? ( cryptsetup )"
+
+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
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-09-07 Thread Marek Szuba
commit: 45c0b3b4d67e60297be50109ea23a4e08f29d0bd
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Sep  7 09:42:09 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Sep  7 10:20:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c0b3b4

sys-libs/libblockdev: drop 

Upstream has gone dormant.

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/libblockdev-.ebuild | 125 ---
 1 file changed, 125 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
deleted file mode 100644
index 59bd04d7fe4e..
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2023 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}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
-   BDEPEND="
-   sys-devel/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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
-fi
-LICENSE="LGPL-2+"
-SLOT="0/3" # subslot is SOVERSION
-IUSE="+cryptsetup device-mapper escrow gtk-doc introspection lvm +nvme test 
+tools"
-# 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/gptfdisk
-   >=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-apps/keyutils-1.5.0:=
-   >=sys-fs/cryptsetup-2.3.0:=
-   )
-   device-mapper? ( sys-fs/lvm2 )
-   lvm? (
-   sys-fs/lvm2
-   virtual/udev
-   )
-   nvme? ( sys-libs/libnvme )
-   ${PYTHON_DEPS}
-"
-
-DEPEND="
-   ${RDEPEND}
-"
-
-BDEPEND+="
-   dev-util/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}]
-   ')
-   sys-block/targetcli-fb
-   )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   escrow? ( cryptsetup )"
-
-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
-   $(use_enable introspection)
-   $(use_enable test tests)
-   $(use_with cryptsetup crypto)
-   $(use_with device-mapper dm)
-   $(use_with escrow)
-   $(use_with gtk-doc)
-   $(use_with lvm lvm)
-   $(use_with lvm lvm-dbus)
-   $(use_with nvme)
-   $(use_with tools)
-   )
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-09-07 Thread Marek Szuba
commit: 81254109143fe43e3a01da10320b161f4f22ae3a
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Sep  7 10:19:46 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Sep  7 10:20:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81254109

sys-libs/libblockdev: add 3.0.3

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/Manifest |   1 +
 sys-libs/libblockdev/libblockdev-3.0.3.ebuild | 131 ++
 2 files changed, 132 insertions(+)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 896e0b232cf9..328a511f99ce 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,2 +1,3 @@
 DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 
63ac7ab5bd02c1ef1848d0b252e09fe721cfe86258f063b7bab616766cbc56311707dcb2dd3a1fadf0e0840187f121aa178fd5959500cd590b846238a9d3e36e
 SHA512 
9e01c41db4f728c8e81e710c6bb4725bbe34b3a7de25ff7f57b7b88ca6b7b5debbe858947585d314770036b2c3c533f9f8ff3d038b7ca50eee3d18f9fbe0d392
 DIST libblockdev-3.0.2.tar.gz 1067300 BLAKE2B 
97170434d98a66b90ff3da3d094ce6cbf29b338967e9b2dbc9edee9bdd730a63678efbd15c94c4c6604b1499956d744c102d26c116794c4e44fcfb871afd252d
 SHA512 
5285aaa4a8e66aacc70461b2c0b0ffe57121ee6136bfa7c46c3ebbd1da517278f8760207f983d69707096c8293e6f7a1d59caf03e742c3d8009ceed25b8c3e89
+DIST libblockdev-3.0.3.tar.gz 1048628 BLAKE2B 
c26a806797effc7231a0eb92f1b8cd74e548da5b1800cddd75a21e7df327be8371edabc2e9a39a727291f365b6a4f6242f78b66396adc4526b41749219f0429f
 SHA512 
f2cc6fbe1df6fd9886016177a4a94984d704f3b402c7090344c581afb89f7cb050c9516c52974157a99ea6c6239f6a1f6079cde0b43a2336af0daca7311ca788

diff --git a/sys-libs/libblockdev/libblockdev-3.0.3.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
new file mode 100644
index ..7d50d311061b
--- /dev/null
+++ b/sys-libs/libblockdev/libblockdev-3.0.3.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 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 toolchain-funcs xdg-utils
+
+DESCRIPTION="A library for manipulating block devices"
+HOMEPAGE="https://github.com/storaged-project/libblockdev;
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
+   BDEPEND="
+   sys-devel/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 ~ppc64 ~riscv ~x86"
+fi
+LICENSE="LGPL-2+"
+SLOT="0/3" # subslot is SOVERSION
+IUSE="+cryptsetup device-mapper escrow gtk-doc introspection lvm +nvme test 
+tools"
+# 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/gptfdisk
+   >=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-apps/keyutils-1.5.0:=
+   >=sys-fs/cryptsetup-2.3.0:=
+   )
+   device-mapper? ( sys-fs/lvm2 )
+   lvm? (
+   sys-fs/lvm2
+   virtual/udev
+   )
+   nvme? ( sys-libs/libnvme )
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND+="
+   dev-util/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}]
+   ')
+   sys-block/targetcli-fb
+   )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   escrow? ( cryptsetup )"
+
+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() {
+   # Bug #910487
+   if tc-ld-is-lld; then
+   tc-ld-force-bfd
+   fi
+
+   local myeconfargs=(
+   --with-btrfs
+   --with-fs
+   --with-part
+   --with-python3
+   --without-mpath
+   --without-nvdimm
+   $(use_enable introspection)
+   $(use_enable test tests)
+   $(use_with cryptsetup crypto)
+   $(use_with device-mapper dm)
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/files/

2023-08-20 Thread Marek Szuba
commit: ade5cfa1884e85e665899ec76e3adef73cff5733
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Aug 20 17:04:48 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Aug 20 17:14:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade5cfa1

sys-libs/libblockdev: remove unused patch

Thanks mm1ke

Closes: https://github.com/gentoo/gentoo/pull/32389
Signed-off-by: Marek Szuba  gentoo.org>

 .../files/libblockdev-3.0.1-sh_tests.patch | 23 --
 1 file changed, 23 deletions(-)

diff --git a/sys-libs/libblockdev/files/libblockdev-3.0.1-sh_tests.patch 
b/sys-libs/libblockdev/files/libblockdev-3.0.1-sh_tests.patch
deleted file mode 100644
index c57464c39d86..
--- a/sys-libs/libblockdev/files/libblockdev-3.0.1-sh_tests.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-bash is fine with "test . == ." but e.g. dash fails on not having
-the two dots quoted as strings.
-
 a/docs/Makefile.am
-+++ b/docs/Makefile.am
-@@ -2,7 +2,7 @@
- 
- html-doc.stamp: ${srcdir}/libblockdev-docs.xml 
${srcdir}/libblockdev-sections.txt ${srcdir}/3.0-api-changes.xml $(wildcard 
${srcdir}/../src/plugins/*.[ch]) $(wildcard ${srcdir}/../src/lib/*.[ch]) 
$(wildcard ${srcdir}/../src/utils/*.[ch])
-   touch ${builddir}/html-doc.stamp
--  test ${builddir} = ${srcdir} || cp ${srcdir}/libblockdev-sections.txt 
${srcdir}/libblockdev-docs.xml ${builddir}
-+  test "${builddir}" = "${srcdir}" || cp 
${srcdir}/libblockdev-sections.txt ${srcdir}/libblockdev-docs.xml ${builddir}
-   gtkdoc-scan --rebuild-types --module=libblockdev 
--source-dir=${srcdir}/../src/plugins/ --source-dir=${srcdir}/../src/lib/ 
--source-dir=${srcdir}/../src/utils/ 
--ignore-headers="${srcdir}/../src/plugins/check_deps.h 
${srcdir}/../src/plugins/dm_logging.h ${srcdir}/../src/plugins/vdo_stats.h 
${srcdir}/../src/plugins/fs/common.h"
-   gtkdoc-mkdb --module=libblockdev --output-format=xml 
--source-dir=${srcdir}/../src/plugins/ --source-dir=${srcdir}/../src/lib/ 
--source-dir=${srcdir}/../src/utils/ --source-suffixes=c,h
-   test -d ${builddir}/html || mkdir ${builddir}/html
-@@ -13,7 +13,7 @@
-   -rm -rf ${builddir}/html
-   -rm -rf ${builddir}/xml
-   test ! -f ${builddir}/html-doc.stamp || rm ${builddir}/html-doc.stamp
--  test ${builddir} = ${srcdir} || rm -f 
${builddir}/libblockdev-sections.txt ${builddir}/libblockdev-docs.xml 
${builddir}/3.0-api-changes.xml
-+  test "${builddir}" = "${srcdir}" || rm -f 
${builddir}/libblockdev-sections.txt ${builddir}/libblockdev-docs.xml 
${builddir}/3.0-api-changes.xml
- 
- install-data-local:
-   test -d ${DESTDIR}${datadir}/gtk-doc/html/libblockdev || mkdir -p 
${DESTDIR}${datadir}/gtk-doc/html/libblockdev



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-08-19 Thread Marek Szuba
commit: 199a157b43188adb4e2da3f0d285a7a6a351ea44
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Aug 19 11:40:46 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Aug 19 16:24:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=199a157b

sys-libs/libblockdev: work around problems with sys-devel/lld

Closes: https://bugs.gentoo.org/910487
Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
index 3c1005c34b8a..c9c348b7e758 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
-inherit autotools python-single-r1 xdg-utils
+inherit autotools python-single-r1 toolchain-funcs xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"
 HOMEPAGE="https://github.com/storaged-project/libblockdev;
@@ -88,6 +88,11 @@ src_prepare() {
 }
 
 src_configure() {
+   # Bug #910487
+   if tc-ld-is-lld; then
+   tc-ld-force-bfd
+   fi
+
local myeconfargs=(
--with-btrfs
--with-fs



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-08-19 Thread Marek Szuba
commit: b07c76ced2b604a725fb5d154c97ade08ed0dae3
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Aug 19 11:37:02 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Aug 19 16:24:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07c76ce

sys-libs/libblockdev: drop 2.28-r2, 3.0.1

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/Manifest   |   1 -
 sys-libs/libblockdev/libblockdev-2.28-r2.ebuild | 136 
 sys-libs/libblockdev/libblockdev-3.0.1.ebuild   | 129 --
 3 files changed, 266 deletions(-)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 43323afbcd68..896e0b232cf9 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,3 +1,2 @@
 DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 
63ac7ab5bd02c1ef1848d0b252e09fe721cfe86258f063b7bab616766cbc56311707dcb2dd3a1fadf0e0840187f121aa178fd5959500cd590b846238a9d3e36e
 SHA512 
9e01c41db4f728c8e81e710c6bb4725bbe34b3a7de25ff7f57b7b88ca6b7b5debbe858947585d314770036b2c3c533f9f8ff3d038b7ca50eee3d18f9fbe0d392
-DIST libblockdev-3.0.1.tar.gz 1066201 BLAKE2B 
bc213683fcfe78fcbeb494be90a5974911603f301152095b7aa6e0f14c0acfcaf946e8ef175b201d04d47de9d7743d9feaff5a31b23086b0253b5cab9cab24ee
 SHA512 
b45e2f26691fe4016c8a161e1300f1edfca7a810e7535dd1eb787ad88a0d3110f75e0da289027eaed16bad275bfbb709b29b946e5fc3750a56e86c6453aa3a6d
 DIST libblockdev-3.0.2.tar.gz 1067300 BLAKE2B 
97170434d98a66b90ff3da3d094ce6cbf29b338967e9b2dbc9edee9bdd730a63678efbd15c94c4c6604b1499956d744c102d26c116794c4e44fcfb871afd252d
 SHA512 
5285aaa4a8e66aacc70461b2c0b0ffe57121ee6136bfa7c46c3ebbd1da517278f8760207f983d69707096c8293e6f7a1d59caf03e742c3d8009ceed25b8c3e89

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild
deleted file mode 100644
index b0ea270cfb87..
--- a/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit autotools python-single-r1 xdg-utils
-
-DESCRIPTION="A library for manipulating block devices"
-HOMEPAGE="https://github.com/storaged-project/libblockdev;
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
-   BDEPEND="
-   sys-devel/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 ~ia64 ~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/gptfdisk
-   >=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}
-"
-
-BDEPEND+="
-   dev-util/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}]
-   ')
-   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 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-08-15 Thread Sam James
commit: 87fe7688480db245fa772b2f750259ea6213c266
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug 16 05:50:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 16 05:55:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87fe7688

sys-libs/libblockdev: depend on dev-python/pygobject

libblockdev installs gi.BlockDev which itself imports various bits from gi.

If pygobject isn't installed, then this is the sole package providing
anything for the 'gi' module, which confuses import checks - let alone the fact
it's installing a file which is unimportable.

Signed-off-by: Sam James  gentoo.org>

 .../{libblockdev-3.0.2.ebuild => libblockdev-3.0.2-r1.ebuild}  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.2.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
similarity index 97%
rename from sys-libs/libblockdev/libblockdev-3.0.2.ebuild
rename to sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
index f1cf573a4058..3c1005c34b8a 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.2.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild
@@ -48,6 +48,9 @@ RDEPEND="
)
nvme? ( sys-libs/libnvme )
${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   ')
 "
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-08-09 Thread Piotr Karbowski
commit: 723aa403e7cd422a7a8c0d5c86ed4bd16ab5aa83
Author: Piotr Karbowski  gentoo  org>
AuthorDate: Wed Aug  9 18:12:32 2023 +
Commit: Piotr Karbowski  gentoo  org>
CommitDate: Wed Aug  9 18:14:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=723aa403

sys-libs/libblockdev: drop myself as maintainer.

Signed-off-by: Piotr Karbowski  gentoo.org>

 sys-libs/libblockdev/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/libblockdev/metadata.xml 
b/sys-libs/libblockdev/metadata.xml
index 4ae6f93edad9..1c865386b8fd 100644
--- a/sys-libs/libblockdev/metadata.xml
+++ b/sys-libs/libblockdev/metadata.xml
@@ -5,10 +5,6 @@
mare...@gentoo.org
Marek Szuba

-   
-   slashbe...@gentoo.org
-   Piotr Karbowski
-   

Enable block device cache support.
Enable sys-fs/cryptsetup 
support



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-07-23 Thread Sam James
commit: 0e2f9411bbf99dbe51c1d8661b8d027eb83b379d
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 24 01:59:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 24 01:59:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e2f9411

sys-libs/libblockdev: drop obsolete patch

Fixes: 509880352d4898ce16e318c19aa6bfbeea8ceea6
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.2.ebuild | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.2.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.2.ebuild
index f5bc2e4fb5e5..f1cf573a4058 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.2.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.2.ebuild
@@ -69,10 +69,6 @@ BDEPEND+="
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
escrow? ( cryptsetup )"
 
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.0.1-sh_tests.patch
-)
-
 pkg_setup() {
python-single-r1_pkg_setup
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-07-23 Thread Sam James
commit: 509880352d4898ce16e318c19aa6bfbeea8ceea6
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 24 01:41:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 24 01:41:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50988035

sys-libs/libblockdev: add 3.0.2

Bug: https://bugs.gentoo.org/910554
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/Manifest |   1 +
 sys-libs/libblockdev/libblockdev-3.0.2.ebuild | 129 ++
 2 files changed, 130 insertions(+)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 4046bb32be93..43323afbcd68 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,2 +1,3 @@
 DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 
63ac7ab5bd02c1ef1848d0b252e09fe721cfe86258f063b7bab616766cbc56311707dcb2dd3a1fadf0e0840187f121aa178fd5959500cd590b846238a9d3e36e
 SHA512 
9e01c41db4f728c8e81e710c6bb4725bbe34b3a7de25ff7f57b7b88ca6b7b5debbe858947585d314770036b2c3c533f9f8ff3d038b7ca50eee3d18f9fbe0d392
 DIST libblockdev-3.0.1.tar.gz 1066201 BLAKE2B 
bc213683fcfe78fcbeb494be90a5974911603f301152095b7aa6e0f14c0acfcaf946e8ef175b201d04d47de9d7743d9feaff5a31b23086b0253b5cab9cab24ee
 SHA512 
b45e2f26691fe4016c8a161e1300f1edfca7a810e7535dd1eb787ad88a0d3110f75e0da289027eaed16bad275bfbb709b29b946e5fc3750a56e86c6453aa3a6d
+DIST libblockdev-3.0.2.tar.gz 1067300 BLAKE2B 
97170434d98a66b90ff3da3d094ce6cbf29b338967e9b2dbc9edee9bdd730a63678efbd15c94c4c6604b1499956d744c102d26c116794c4e44fcfb871afd252d
 SHA512 
5285aaa4a8e66aacc70461b2c0b0ffe57121ee6136bfa7c46c3ebbd1da517278f8760207f983d69707096c8293e6f7a1d59caf03e742c3d8009ceed25b8c3e89

diff --git a/sys-libs/libblockdev/libblockdev-3.0.2.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.2.ebuild
new file mode 100644
index ..f5bc2e4fb5e5
--- /dev/null
+++ b/sys-libs/libblockdev/libblockdev-3.0.2.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2023 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}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
+   BDEPEND="
+   sys-devel/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 ~ppc64 ~riscv ~x86"
+fi
+LICENSE="LGPL-2+"
+SLOT="0/3" # subslot is SOVERSION
+IUSE="+cryptsetup device-mapper escrow gtk-doc introspection lvm +nvme test 
+tools"
+# 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/gptfdisk
+   >=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-apps/keyutils-1.5.0:=
+   >=sys-fs/cryptsetup-2.3.0:=
+   )
+   device-mapper? ( sys-fs/lvm2 )
+   lvm? (
+   sys-fs/lvm2
+   virtual/udev
+   )
+   nvme? ( sys-libs/libnvme )
+   ${PYTHON_DEPS}
+"
+
+DEPEND="
+   ${RDEPEND}
+"
+
+BDEPEND+="
+   dev-util/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}]
+   ')
+   sys-block/targetcli-fb
+   )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   escrow? ( cryptsetup )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.0.1-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
+   $(use_enable introspection)
+   $(use_enable test tests)
+   $(use_with cryptsetup crypto)
+   $(use_with device-mapper dm)
+   $(use_with escrow)
+   $(use_with gtk-doc)
+   $(use_with lvm lvm)
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-07-08 Thread Sam James
commit: 6119e0af51c851273ebb84a0595ec42bb88ccde1
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul  9 02:12:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul  9 02:12:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6119e0af

sys-libs/libblockdev: Keyword 3.0.1 arm, #910073

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-3.0.1.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.1.ebuild
index c2034e0c7802..f5bc2e4fb5e5 100644
--- a/sys-libs/libblockdev/libblockdev-3.0.1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.1.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; then
 else
MY_PV="${PV}-1"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-07-08 Thread Marek Szuba
commit: c3d5d3eebd88048dc257b5579d437736941be7f0
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Jul  9 00:30:49 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Jul  9 00:30:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d5d3ee

sys-libs/libblockdev: add a subslot to all ebuilds

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r1.ebuild | 2 +-
 sys-libs/libblockdev/libblockdev-2.28-r2.ebuild | 2 +-
 sys-libs/libblockdev/libblockdev-.ebuild| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
index 4d0836e9f708..16134d249951 100644
--- a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
@@ -20,7 +20,7 @@ else
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
 fi
 LICENSE="LGPL-2+"
-SLOT="0"
+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.

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild
index 1be0372d3a14..b0ea270cfb87 100644
--- a/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild
@@ -20,7 +20,7 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
 fi
 LICENSE="LGPL-2+"
-SLOT="0"
+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.

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index 73e19fc076a1..7d85d1383f49 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -20,7 +20,7 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
 fi
 LICENSE="LGPL-2+"
-SLOT="0"
+SLOT="0/3" # subslot is SOVERSION
 IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd +nvme test +tools"
 # Tests require root. In a future release, we may be able to run a smaller
 # subset with new run_tests.py arguments.



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-07-08 Thread Marek Szuba
commit: 0bc862265ed250c228bc730b7cc49a367b5fd60c
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Jul  9 00:32:07 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Jul  9 00:32:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bc86226

sys-libs/libblockdev: sync up the live ebuild

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/libblockdev-.ebuild | 20 ++--
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index 7d85d1383f49..c44cfbc5a2a4 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"
@@ -21,7 +21,7 @@ else
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION
-IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd +nvme test +tools"
+IUSE="+cryptsetup device-mapper escrow gtk-doc introspection lvm +nvme test 
+tools"
 # 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"
@@ -29,6 +29,7 @@ RESTRICT="!test? ( test ) test"
 RDEPEND="
>=dev-libs/glib-2.42.2
dev-libs/libbytesize
+   sys-apps/gptfdisk
>=sys-apps/kmod-19
>=sys-apps/util-linux-2.27
>=sys-block/parted-3.1
@@ -37,13 +38,9 @@ RDEPEND="
>=dev-libs/nss-3.18.0
dev-libs/volume_key
)
-   >=sys-fs/cryptsetup-1.6.7:=
+   >=sys-fs/cryptsetup-2.3.0:=
)
device-mapper? ( sys-fs/lvm2 )
-   dmraid? (
-   sys-fs/dmraid
-   sys-fs/lvm2
-   )
lvm? (
sys-fs/lvm2
virtual/udev
@@ -60,6 +57,12 @@ BDEPEND+="
dev-util/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}]
+   ')
+   sys-block/targetcli-fb
+   )
 "
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
@@ -90,13 +93,10 @@ src_configure() {
--without-nvdimm
$(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 nvme)



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/, sys-libs/libblockdev/files/

2023-07-08 Thread Marek Szuba
commit: 4d0304347f57f44cb1ba4f015aad75ca12e1596a
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Jul  9 01:00:46 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Jul  9 01:03:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d030434

sys-libs/libblockdev: add 3.0.1

Note that this version is not presently keyworded for arm, ia64, ppc and
sparc due to missing keywords on sys-libs/libnvme.

Closes: https://bugs.gentoo.org/910056
Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/Manifest  |  1 +
 .../files/libblockdev-3.0.1-sh_tests.patch | 23 ++
 ...ockdev-.ebuild => libblockdev-3.0.1.ebuild} |  7 ++-
 sys-libs/libblockdev/libblockdev-.ebuild   |  1 +
 4 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 4df36cdc8961..4046bb32be93 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1 +1,2 @@
 DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 
63ac7ab5bd02c1ef1848d0b252e09fe721cfe86258f063b7bab616766cbc56311707dcb2dd3a1fadf0e0840187f121aa178fd5959500cd590b846238a9d3e36e
 SHA512 
9e01c41db4f728c8e81e710c6bb4725bbe34b3a7de25ff7f57b7b88ca6b7b5debbe858947585d314770036b2c3c533f9f8ff3d038b7ca50eee3d18f9fbe0d392
+DIST libblockdev-3.0.1.tar.gz 1066201 BLAKE2B 
bc213683fcfe78fcbeb494be90a5974911603f301152095b7aa6e0f14c0acfcaf946e8ef175b201d04d47de9d7743d9feaff5a31b23086b0253b5cab9cab24ee
 SHA512 
b45e2f26691fe4016c8a161e1300f1edfca7a810e7535dd1eb787ad88a0d3110f75e0da289027eaed16bad275bfbb709b29b946e5fc3750a56e86c6453aa3a6d

diff --git a/sys-libs/libblockdev/files/libblockdev-3.0.1-sh_tests.patch 
b/sys-libs/libblockdev/files/libblockdev-3.0.1-sh_tests.patch
new file mode 100644
index ..c57464c39d86
--- /dev/null
+++ b/sys-libs/libblockdev/files/libblockdev-3.0.1-sh_tests.patch
@@ -0,0 +1,23 @@
+bash is fine with "test . == ." but e.g. dash fails on not having
+the two dots quoted as strings.
+
+--- a/docs/Makefile.am
 b/docs/Makefile.am
+@@ -2,7 +2,7 @@
+ 
+ html-doc.stamp: ${srcdir}/libblockdev-docs.xml 
${srcdir}/libblockdev-sections.txt ${srcdir}/3.0-api-changes.xml $(wildcard 
${srcdir}/../src/plugins/*.[ch]) $(wildcard ${srcdir}/../src/lib/*.[ch]) 
$(wildcard ${srcdir}/../src/utils/*.[ch])
+   touch ${builddir}/html-doc.stamp
+-  test ${builddir} = ${srcdir} || cp ${srcdir}/libblockdev-sections.txt 
${srcdir}/libblockdev-docs.xml ${builddir}
++  test "${builddir}" = "${srcdir}" || cp 
${srcdir}/libblockdev-sections.txt ${srcdir}/libblockdev-docs.xml ${builddir}
+   gtkdoc-scan --rebuild-types --module=libblockdev 
--source-dir=${srcdir}/../src/plugins/ --source-dir=${srcdir}/../src/lib/ 
--source-dir=${srcdir}/../src/utils/ 
--ignore-headers="${srcdir}/../src/plugins/check_deps.h 
${srcdir}/../src/plugins/dm_logging.h ${srcdir}/../src/plugins/vdo_stats.h 
${srcdir}/../src/plugins/fs/common.h"
+   gtkdoc-mkdb --module=libblockdev --output-format=xml 
--source-dir=${srcdir}/../src/plugins/ --source-dir=${srcdir}/../src/lib/ 
--source-dir=${srcdir}/../src/utils/ --source-suffixes=c,h
+   test -d ${builddir}/html || mkdir ${builddir}/html
+@@ -13,7 +13,7 @@
+   -rm -rf ${builddir}/html
+   -rm -rf ${builddir}/xml
+   test ! -f ${builddir}/html-doc.stamp || rm ${builddir}/html-doc.stamp
+-  test ${builddir} = ${srcdir} || rm -f 
${builddir}/libblockdev-sections.txt ${builddir}/libblockdev-docs.xml 
${builddir}/3.0-api-changes.xml
++  test "${builddir}" = "${srcdir}" || rm -f 
${builddir}/libblockdev-sections.txt ${builddir}/libblockdev-docs.xml 
${builddir}/3.0-api-changes.xml
+ 
+ install-data-local:
+   test -d ${DESTDIR}${datadir}/gtk-doc/html/libblockdev || mkdir -p 
${DESTDIR}${datadir}/gtk-doc/html/libblockdev

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-3.0.1.ebuild
similarity index 94%
copy from sys-libs/libblockdev/libblockdev-.ebuild
copy to sys-libs/libblockdev/libblockdev-3.0.1.ebuild
index c44cfbc5a2a4..c2034e0c7802 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-3.0.1.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0/3" # subslot is SOVERSION
@@ -38,6 +38,7 @@ RDEPEND="
>=dev-libs/nss-3.18.0
dev-libs/volume_key
)
+   >=sys-apps/keyutils-1.5.0:=
>=sys-fs/cryptsetup-2.3.0:=
)
device-mapper? ( sys-fs/lvm2 )
@@ -68,6 +69,10 @@ BDEPEND+="
 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-06-12 Thread Marek Szuba
commit: 21e66ff7cdbf98a1179eb49e9242b1a73a0eb6ac
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jun 12 20:54:44 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jun 12 23:22:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e66ff7

sys-libs/libblockdev: RDEPEND on sys-apps/gptfdisk

Needed for certain GPT-related operation currently not supported by
parted.

Closes: https://bugs.gentoo.org/907607
Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r2.ebuild | 136 
 1 file changed, 136 insertions(+)

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild
new file mode 100644
index ..0c4d0d9257ce
--- /dev/null
+++ b/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit autotools python-single-r1 xdg-utils
+
+DESCRIPTION="A library for manipulating block devices"
+HOMEPAGE="https://github.com/storaged-project/libblockdev;
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
+   BDEPEND="
+   sys-devel/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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+fi
+LICENSE="LGPL-2+"
+SLOT="0"
+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/gptfdisk
+   >=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}
+"
+
+BDEPEND+="
+   dev-util/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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-06-12 Thread Marek Szuba
commit: 2f76fb76892c184b44bd72cee89568886e391b9f
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jun 12 21:00:14 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jun 12 23:22:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f76fb76

sys-libs/libblockdev: dev-libs/libbytesize[python] now supports py3.11

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild
index 0c4d0d9257ce..1be0372d3a14 100644
--- a/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28-r2.ebuild
@@ -64,7 +64,7 @@ BDEPEND+="
test? (
$(python_gen_cond_dep '
dev-libs/libbytesize[python,${PYTHON_USEDEP}]
-   ' python3_{9..10} )
+   ')
sys-block/targetcli-fb
)
 "



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-06-10 Thread Marek Szuba
commit: 233f337573a15d4ec0943700d950c50b4499ca02
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Jun 10 10:29:45 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jun 10 10:35:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=233f3375

sys-libs/libblockdev: drop 2.28

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28.ebuild | 132 ---
 1 file changed, 132 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28.ebuild
deleted file mode 100644
index b8a106eed80b..
--- a/sys-libs/libblockdev/libblockdev-2.28.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit autotools python-single-r1 xdg-utils
-
-DESCRIPTION="A library for manipulating block devices"
-HOMEPAGE="https://github.com/storaged-project/libblockdev;
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
-   BDEPEND="
-   sys-devel/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 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
-fi
-LICENSE="LGPL-2+"
-SLOT="0"
-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-util/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_{8..10} )
-   sys-block/targetcli-fb
-   )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   escrow? ( cryptsetup )"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-05-27 Thread Sam James
commit: 7e56ab3c3cb46a7b514f4d34c202b9c2a9484b86
Author: Sam James  gentoo  org>
AuthorDate: Sat May 27 15:54:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 27 15:54:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e56ab3c

sys-libs/libblockdev: Stabilize 2.28-r1 ppc64, #906734

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
index 86960fa63508..4d0836e9f708 100644
--- a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-05-27 Thread Arthur Zamarin
commit: f2ffe85041affa370ace33734016eed44e73546d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 27 11:30:15 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 27 11:30:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2ffe850

sys-libs/libblockdev: Stabilize 2.28-r1 ppc, #906734

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
index 82e4e0aea9a4..86960fa63508 100644
--- a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
sparc x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-05-22 Thread Sam James
commit: 90366b64acd3c295ab281f697411ade5ab58450d
Author: Sam James  gentoo  org>
AuthorDate: Tue May 23 00:10:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 23 00:10:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90366b64

sys-libs/libblockdev: Stabilize 2.28-r1 arm64, #906734

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
index f23dfcaddeaf..82e4e0aea9a4 100644
--- a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-05-19 Thread Sam James
commit: 1428217c32b3c1d3b804b64822730d3c8e1b5d10
Author: Sam James  gentoo  org>
AuthorDate: Fri May 19 17:46:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 19 17:46:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1428217c

sys-libs/libblockdev: Stabilize 2.28-r1 x86, #906734

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
index 46b5abb3b2c9..f23dfcaddeaf 100644
--- a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc ~x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-05-19 Thread Arthur Zamarin
commit: 68c331b72e1214f40872d2a7b94ab8c5ee656191
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri May 19 09:32:37 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri May 19 09:32:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c331b7

sys-libs/libblockdev: Stabilize 2.28-r1 amd64, #906734

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
index f0ce0805106a..46b5abb3b2c9 100644
--- a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv sparc ~x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc ~x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-05-19 Thread Arthur Zamarin
commit: 44637fda6779e6e5f633ecf80c88fdb9d2f79e5e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri May 19 09:32:36 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri May 19 09:32:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44637fda

sys-libs/libblockdev: Stabilize 2.28-r1 sparc, #906734

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
index c3922de08139..f0ce0805106a 100644
--- a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv sparc ~x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2023-05-19 Thread Arthur Zamarin
commit: 16c9f036be698985ad723a86f4859d1c21b1c3ec
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri May 19 08:59:23 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri May 19 08:59:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16c9f036

sys-libs/libblockdev: Stabilize 2.28-r1 arm, #906734

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
index 0fa5e1d604f8..c3922de08139 100644
--- a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/, sys-libs/libblockdev/files/

2023-03-01 Thread Marek Szuba
commit: a11e14dc7b67dc0e99e5f8fbfbe2a78872984539
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Mar  1 23:08:19 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Mar  1 23:11:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a11e14dc

sys-libs/libblockdev: fix documentation building on non-bash systems

Closes: https://bugs.gentoo.org/890993
Signed-off-by: Marek Szuba  gentoo.org>

 .../files/libblockdev-2.28-sh_tests.patch  |  23 
 sys-libs/libblockdev/libblockdev-2.28-r1.ebuild| 136 +
 2 files changed, 159 insertions(+)

diff --git a/sys-libs/libblockdev/files/libblockdev-2.28-sh_tests.patch 
b/sys-libs/libblockdev/files/libblockdev-2.28-sh_tests.patch
new file mode 100644
index ..2fbeaf49f233
--- /dev/null
+++ b/sys-libs/libblockdev/files/libblockdev-2.28-sh_tests.patch
@@ -0,0 +1,23 @@
+bash is fine with "test . == ." but e.g. dash fails on not having
+the two dots quoted as strings.
+
+--- a/docs/Makefile.am
 b/docs/Makefile.am
+@@ -2,7 +2,7 @@
+ 
+ html-doc.stamp: ${srcdir}/libblockdev-docs.xml 
${srcdir}/libblockdev-sections.txt $(wildcard ${srcdir}/../src/plugins/*.[ch]) 
$(wildcard ${srcdir}/../src/lib/*.[ch]) $(wildcard 
${srcdir}/../src/utils/*.[ch])
+   touch ${builddir}/html-doc.stamp
+-  test ${builddir} == ${srcdir} || cp ${srcdir}/libblockdev-sections.txt 
${srcdir}/libblockdev-docs.xml ${builddir}
++  test "${builddir}" == "${srcdir}" || cp 
${srcdir}/libblockdev-sections.txt ${srcdir}/libblockdev-docs.xml ${builddir}
+   gtkdoc-scan --rebuild-types --module=libblockdev 
--source-dir=${srcdir}/../src/plugins/ --source-dir=${srcdir}/../src/lib/ 
--source-dir=${srcdir}/../src/utils/
+   gtkdoc-mkdb --module=libblockdev --output-format=xml 
--source-dir=${srcdir}/../src/plugins/ --source-dir=${srcdir}/../src/lib/ 
--source-dir=${srcdir}/../src/utils/ --source-suffixes=c,h
+   test -d ${builddir}/html || mkdir ${builddir}/html
+@@ -13,7 +13,7 @@
+   -rm -rf ${builddir}/html
+   -rm -rf ${builddir}/xml
+   test ! -f ${builddir}/html-doc.stamp || rm ${builddir}/html-doc.stamp
+-  test ${builddir} == ${srcdir} || rm -f 
${builddir}/libblockdev-sections.txt ${builddir}/libblockdev-docs.xml
++  test "${builddir}" == "${srcdir}" || rm -f 
${builddir}/libblockdev-sections.txt ${builddir}/libblockdev-docs.xml
+ 
+ install-data-local:
+   test -d ${DESTDIR}${datadir}/gtk-doc/html/libblockdev || mkdir -p 
${DESTDIR}${datadir}/gtk-doc/html/libblockdev

diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
new file mode 100644
index ..0fa5e1d604f8
--- /dev/null
+++ b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit autotools python-single-r1 xdg-utils
+
+DESCRIPTION="A library for manipulating block devices"
+HOMEPAGE="https://github.com/storaged-project/libblockdev;
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
+   BDEPEND="
+   sys-devel/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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+fi
+LICENSE="LGPL-2+"
+SLOT="0"
+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-util/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}
+

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-12-08 Thread Marek Szuba
commit: 97256ed2dc632f270df6e1dac8c486e690a40c5e
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Dec  8 22:38:07 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Dec  8 22:38:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97256ed2

sys-libs/libblockdev: drop 2.27

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/Manifest|   1 -
 sys-libs/libblockdev/libblockdev-2.27.ebuild | 128 ---
 2 files changed, 129 deletions(-)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index ca8d223d8673..4df36cdc8961 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,2 +1 @@
-DIST libblockdev-2.27.tar.gz 914021 BLAKE2B 
1e02a364ac918cc9bb288d3b8745cb09378317c4b509224326d13ff8b6481ba3d44502f248680801316a9a94d7d5eac353c5659eca55a681c88511da5dfc83da
 SHA512 
fa9faf3efefc1c76165c9456936175b2addb336a5257c43c1e41403db200386fd660203ef17559529f57b2f57b9ef768686ecd31493c58527434297c31712c10
 DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 
63ac7ab5bd02c1ef1848d0b252e09fe721cfe86258f063b7bab616766cbc56311707dcb2dd3a1fadf0e0840187f121aa178fd5959500cd590b846238a9d3e36e
 SHA512 
9e01c41db4f728c8e81e710c6bb4725bbe34b3a7de25ff7f57b7b88ca6b7b5debbe858947585d314770036b2c3c533f9f8ff3d038b7ca50eee3d18f9fbe0d392

diff --git a/sys-libs/libblockdev/libblockdev-2.27.ebuild 
b/sys-libs/libblockdev/libblockdev-2.27.ebuild
deleted file mode 100644
index b456b1709e05..
--- a/sys-libs/libblockdev/libblockdev-2.27.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit autotools python-single-r1 xdg-utils
-
-DESCRIPTION="A library for manipulating block devices"
-HOMEPAGE="https://github.com/storaged-project/libblockdev;
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
-   BDEPEND="
-   sys-devel/autoconf-archive
-   "
-else
-   MY_PV="${PV}-1"
-   #MY_P="${PN}-${MY_PV}"
-   
#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   
SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
-   #S="${WORKDIR}/${MY_P}"
-fi
-LICENSE="LGPL-2+"
-SLOT="0"
-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}
-"
-
-BDEPEND+="
-   dev-util/gtk-doc-am
-   gtk-doc? ( dev-util/gtk-doc )
-   introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   escrow? ( cryptsetup )"
-
-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 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-11-25 Thread Arthur Zamarin
commit: 7eb67fee5b5d5492821cc76e1dce282c5fb5e1a2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 25 09:08:13 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 25 09:08:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eb67fee

sys-libs/libblockdev: Stabilize 2.28 sparc, #880731

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28.ebuild
index 3fff368dcef1..a683f81e0902 100644
--- a/sys-libs/libblockdev/libblockdev-2.28.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-11-22 Thread Sam James
commit: fd2921d750aadfcdfe0e30b3e1efb9f4798b3242
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 04:25:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 04:25:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd2921d7

sys-libs/libblockdev: Stabilize 2.28 ppc64, #880731

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28.ebuild
index f13b27b23e8d..3fff368dcef1 100644
--- a/sys-libs/libblockdev/libblockdev-2.28.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~sparc x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-11-22 Thread Sam James
commit: 1c6d379f6da8add3bf83365ad3f034f90b78fda8
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 04:25:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 04:25:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c6d379f

sys-libs/libblockdev: Stabilize 2.28 ppc, #880731

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28.ebuild
index 3102e834fafe..f13b27b23e8d 100644
--- a/sys-libs/libblockdev/libblockdev-2.28.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~sparc x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-11-22 Thread Sam James
commit: 1c17ba71013c7c7e55d694e41c0a8844711a2a32
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 04:15:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 04:15:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c17ba71

sys-libs/libblockdev: Stabilize 2.28 arm64, #880731

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28.ebuild
index 25cc1d48b2c9..55e614bf8fb5 100644
--- a/sys-libs/libblockdev/libblockdev-2.28.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc x86"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-11-22 Thread Sam James
commit: 762c1d83c61edc77936124ddfb201ba0f82af6b4
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 04:15:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 04:15:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=762c1d83

sys-libs/libblockdev: Stabilize 2.28 arm, #880731

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28.ebuild
index 55e614bf8fb5..3102e834fafe 100644
--- a/sys-libs/libblockdev/libblockdev-2.28.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-11-22 Thread Sam James
commit: 8a6cb9dac3c3e0664e426779dd4e57801198df2d
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 04:15:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 04:15:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6cb9da

sys-libs/libblockdev: Stabilize 2.28 x86, #880731

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.28.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28.ebuild
index 6a47a39fae75..25cc1d48b2c9 100644
--- a/sys-libs/libblockdev/libblockdev-2.28.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28.ebuild
@@ -17,7 +17,7 @@ if [[ "${PV}" == * ]] ; 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 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc x86"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-10-04 Thread Marek Szuba
commit: 35bb28e7bc54e5797075c510acc34cd160b91355
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Oct  4 18:38:15 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Oct  4 18:45:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35bb28e7

sys-libs/libblockdev: add partial test dependencies

Suggested-by: unhappy-ending  protonmail.com>
Closes: https://bugs.gentoo.org/852635
Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.28.ebuild | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/sys-libs/libblockdev/libblockdev-2.28.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28.ebuild
index 2b55a770d002..f406274d2126 100644
--- a/sys-libs/libblockdev/libblockdev-2.28.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28.ebuild
@@ -56,10 +56,17 @@ DEPEND="
${RDEPEND}
 "
 
+# TODO: relax libbytesize condition once it has gained py3.11 support
 BDEPEND+="
dev-util/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_{8..10} )
+   sys-block/targetcli-fb
+   )
 "
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-09-16 Thread Marek Szuba
commit: e2b008eeaaf7b7bbe1547246604c7d730323026a
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Sep 16 08:32:00 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Sep 16 09:12:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2b008ee

sys-libs/libblockdev: add 2.28

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/Manifest|  1 +
 .../{libblockdev-.ebuild => libblockdev-2.28.ebuild} | 12 +---
 sys-libs/libblockdev/libblockdev-.ebuild |  5 +
 3 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 8f32e2f6d875..ca8d223d8673 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1 +1,2 @@
 DIST libblockdev-2.27.tar.gz 914021 BLAKE2B 
1e02a364ac918cc9bb288d3b8745cb09378317c4b509224326d13ff8b6481ba3d44502f248680801316a9a94d7d5eac353c5659eca55a681c88511da5dfc83da
 SHA512 
fa9faf3efefc1c76165c9456936175b2addb336a5257c43c1e41403db200386fd660203ef17559529f57b2f57b9ef768686ecd31493c58527434297c31712c10
+DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 
63ac7ab5bd02c1ef1848d0b252e09fe721cfe86258f063b7bab616766cbc56311707dcb2dd3a1fadf0e0840187f121aa178fd5959500cd590b846238a9d3e36e
 SHA512 
9e01c41db4f728c8e81e710c6bb4725bbe34b3a7de25ff7f57b7b88ca6b7b5debbe858947585d314770036b2c3c533f9f8ff3d038b7ca50eee3d18f9fbe0d392

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-2.28.ebuild
similarity index 90%
copy from sys-libs/libblockdev/libblockdev-.ebuild
copy to sys-libs/libblockdev/libblockdev-2.28.ebuild
index ab7407f4a420..2b55a770d002 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.28.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"
@@ -16,15 +16,12 @@ if [[ "${PV}" == * ]] ; then
"
 else
MY_PV="${PV}-1"
-   #MY_P="${PN}-${MY_PV}"
-   
#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
-   #S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"
-IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd +nvme test +tools"
+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"
@@ -51,7 +48,7 @@ RDEPEND="
sys-fs/lvm2
virtual/udev
)
-   nvme? ( sys-libs/libnvme )
+   vdo? ( dev-libs/libyaml )
${PYTHON_DEPS}
 "
 
@@ -91,6 +88,7 @@ src_configure() {
--with-python3
--without-mpath
--without-nvdimm
+   --without-python2
$(use_enable introspection)
$(use_enable test tests)
$(use_with bcache)
@@ -102,8 +100,8 @@ src_configure() {
$(use_with kbd)
$(use_with lvm lvm)
$(use_with lvm lvm-dbus)
-   $(use_with nvme)
$(use_with tools)
+   $(use_with vdo)
)
econf "${myeconfargs[@]}"
 }

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index ab7407f4a420..a97f68fef26d 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"
@@ -16,11 +16,8 @@ if [[ "${PV}" == * ]] ; then
"
 else
MY_PV="${PV}-1"
-   #MY_P="${PN}-${MY_PV}"
-   
#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
-   #S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-08-30 Thread Marek Szuba
commit: 160590bb185da40d7b4df8649b1f99e90268d6f4
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Aug 30 07:54:11 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Aug 30 07:54:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=160590bb

sys-libs/libblockdev: drop 2.26

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/Manifest|   1 -
 sys-libs/libblockdev/libblockdev-2.26.ebuild | 128 ---
 2 files changed, 129 deletions(-)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index f57d6fe309d0..8f32e2f6d875 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,2 +1 @@
-DIST libblockdev-2.26.tar.gz 932129 BLAKE2B 
39d95db69de917449e6009fa0160b6288327b2c49b64309d17a1e4e028756d1ce170779ce1c4df926c8796d8a8ed7b9131b5d4b51115a3ea901dacdaa971961a
 SHA512 
ddd4e9c22135bd7dad0bb9bc254ac0c63e3bacc592e7c5a0c846e367da3fc248bf6187f1c81407c3bce599d3b0ceeec9a8a0030ad8e981e245f715b35eaec523
 DIST libblockdev-2.27.tar.gz 914021 BLAKE2B 
1e02a364ac918cc9bb288d3b8745cb09378317c4b509224326d13ff8b6481ba3d44502f248680801316a9a94d7d5eac353c5659eca55a681c88511da5dfc83da
 SHA512 
fa9faf3efefc1c76165c9456936175b2addb336a5257c43c1e41403db200386fd660203ef17559529f57b2f57b9ef768686ecd31493c58527434297c31712c10

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
deleted file mode 100644
index 7127ea5bc94a..
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit autotools python-single-r1 xdg-utils
-
-DESCRIPTION="A library for manipulating block devices"
-HOMEPAGE="https://github.com/storaged-project/libblockdev;
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
-   BDEPEND="
-   sys-devel/autoconf-archive
-   "
-else
-   MY_PV="${PV}-1"
-   #MY_P="${PN}-${MY_PV}"
-   
#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   
SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
-   #S="${WORKDIR}/${MY_P}"
-fi
-LICENSE="LGPL-2+"
-SLOT="0"
-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}
-"
-
-BDEPEND+="
-   dev-util/gtk-doc-am
-   gtk-doc? ( dev-util/gtk-doc )
-   introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   escrow? ( cryptsetup )"
-
-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
-   --without-mpath
-   --without-nvdimm
-   $(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)
-   --without-python2
-   --with-python3
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_test() {
-   # See http://storaged.org/libblockdev/ch03.html
-   # The 'check' target just does Pylint.
-   # ... but it needs 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-08-27 Thread Sam James
commit: 3080b60058215b79864890463888b173544e826b
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 26 23:25:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 26 23:25:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3080b600

sys-libs/libblockdev: Stabilize 2.27 amd64, #866509

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.27.ebuild 
b/sys-libs/libblockdev/libblockdev-2.27.ebuild
index bec06dd1e99f..b456b1709e05 100644
--- a/sys-libs/libblockdev/libblockdev-2.27.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.27.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-08-25 Thread Sam James
commit: d75e95e07588bf227e7deb36af0d3299125c700c
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 26 05:45:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 26 05:45:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d75e95e0

sys-libs/libblockdev: Stabilize 2.27 x86, #866509

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.27.ebuild 
b/sys-libs/libblockdev/libblockdev-2.27.ebuild
index a2f2d2c319f7..bec06dd1e99f 100644
--- a/sys-libs/libblockdev/libblockdev-2.27.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.27.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-08-25 Thread Arthur Zamarin
commit: ef34b149337e5f0b73af6b9fc3d33d1c45918c05
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 17:39:14 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 17:39:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef34b149

sys-libs/libblockdev: Stabilize 2.27 ppc, #866509

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.27.ebuild 
b/sys-libs/libblockdev/libblockdev-2.27.ebuild
index 9825a01f4675..a2f2d2c319f7 100644
--- a/sys-libs/libblockdev/libblockdev-2.27.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.27.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-08-25 Thread Arthur Zamarin
commit: 42dd05cecc751c8d5120e8da46286c4a045fcc4b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 16:44:06 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 16:44:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42dd05ce

sys-libs/libblockdev: Stabilize 2.27 ppc64, #866509

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.27.ebuild 
b/sys-libs/libblockdev/libblockdev-2.27.ebuild
index 1390cab15583..dd3fc7da45e2 100644
--- a/sys-libs/libblockdev/libblockdev-2.27.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.27.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-08-25 Thread Arthur Zamarin
commit: e710c17a7b2fda1944beb2ead742860d456b821f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 16:44:08 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 16:44:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e710c17a

sys-libs/libblockdev: Stabilize 2.27 sparc, #866509

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.27.ebuild 
b/sys-libs/libblockdev/libblockdev-2.27.ebuild
index 851003e7d37d..9825a01f4675 100644
--- a/sys-libs/libblockdev/libblockdev-2.27.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.27.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-08-25 Thread Arthur Zamarin
commit: f28770f4242f8e9138120fee6da4a09842c205d1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 16:44:07 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 16:44:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28770f4

sys-libs/libblockdev: Stabilize 2.27 arm64, #866509

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.27.ebuild 
b/sys-libs/libblockdev/libblockdev-2.27.ebuild
index dd3fc7da45e2..851003e7d37d 100644
--- a/sys-libs/libblockdev/libblockdev-2.27.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.27.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
~sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-08-25 Thread Arthur Zamarin
commit: 80536246254344a87b3d927b31795b70368d2091
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug 25 16:44:05 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug 25 16:44:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80536246

sys-libs/libblockdev: Stabilize 2.27 arm, #866509

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.27.ebuild 
b/sys-libs/libblockdev/libblockdev-2.27.ebuild
index c62582bdf020..1390cab15583 100644
--- a/sys-libs/libblockdev/libblockdev-2.27.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.27.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-07-03 Thread Piotr Karbowski
commit: e44324fd76995a67a8389da91a8c3b5bcea167d8
Author: Piotr Karbowski  gentoo  org>
AuthorDate: Sun Jul  3 18:41:02 2022 +
Commit: Piotr Karbowski  gentoo  org>
CommitDate: Sun Jul  3 18:41:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e44324fd

sys-libs/libblockdev: joining as maintainer.

Signed-off-by: Piotr Karbowski  gentoo.org>

 sys-libs/libblockdev/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/libblockdev/metadata.xml 
b/sys-libs/libblockdev/metadata.xml
index 1c865386b8fd..4ae6f93edad9 100644
--- a/sys-libs/libblockdev/metadata.xml
+++ b/sys-libs/libblockdev/metadata.xml
@@ -5,6 +5,10 @@
mare...@gentoo.org
Marek Szuba

+   
+   slashbe...@gentoo.org
+   Piotr Karbowski
+   

Enable block device cache support.
Enable sys-fs/cryptsetup 
support



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-06-29 Thread Marek Szuba
commit: 0d3712eff14c41890144f4de9bd786edecacdcd5
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jun 29 10:57:37 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jun 29 10:57:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3712ef

sys-libs/libblockdev: unify metadata formatting

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/metadata.xml | 30 +++---
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/sys-libs/libblockdev/metadata.xml 
b/sys-libs/libblockdev/metadata.xml
index 750769d785dd..1c865386b8fd 100644
--- a/sys-libs/libblockdev/metadata.xml
+++ b/sys-libs/libblockdev/metadata.xml
@@ -5,19 +5,19 @@
mare...@gentoo.org
Marek Szuba

-  
-Enable block device cache support.
-Enable sys-fs/cryptsetup support
-Enable support for device-mapper from 
sys-fs/lvm2
-Support for dmraid devices, also known as ATA-RAID, or 
Fake RAID.
-Support for building crypto plugin with escrow device 
support
-Enable kernel block device support.
-Enable support for Logical Volume Management via 
sys-fs/lvm2.
-Add nvme support via sys-libs/libnvme
-Build tools
-Enable Virtual Data Optimizer support.
-  
-  
-storaged-project/libblockdev
-  
+   
+   Enable block device cache support.
+   Enable sys-fs/cryptsetup 
support
+   Enable support for device-mapper 
from sys-fs/lvm2
+   Support for dmraid devices, also known as 
ATA-RAID, or Fake RAID.
+   Support for building crypto plugin with 
escrow device support
+   Enable kernel block device support.
+   Enable support for Logical Volume Management 
via sys-fs/lvm2.
+   Add nvme support via 
sys-libs/libnvme
+   Build tools
+   Enable Virtual Data Optimizer support.
+   
+   
+   storaged-project/libblockdev
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-06-29 Thread Marek Szuba
commit: 111e4d51d2a44d093205c1bd03fca34b33fb51af
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jun 29 10:57:16 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jun 29 10:57:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=111e4d51

sys-libs/libblockdev: add myself as a maintainer

Signed-off-by: Marek Szuba  gentoo.org>

 sys-libs/libblockdev/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/metadata.xml 
b/sys-libs/libblockdev/metadata.xml
index 219289b63ed7..750769d785dd 100644
--- a/sys-libs/libblockdev/metadata.xml
+++ b/sys-libs/libblockdev/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-  
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
   
 Enable block device cache support.
 Enable sys-fs/cryptsetup support



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-06-01 Thread Lars Wendler
commit: 16361846ceee13ca8ea2958bd1b99d5bb139b04b
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jun  1 12:12:47 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jun  1 12:12:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16361846

sys-libs/libblockdev: Synced live ebuild

Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/libblockdev-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index caa2065daf93..ab7407f4a420 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-06-01 Thread Lars Wendler
commit: 85715b1c3a2ed6df14b10924ddfd002a9d3f2bde
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jun  1 12:11:38 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jun  1 12:11:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85715b1c

sys-libs/libblockdev: Bump to version 2.27

Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/Manifest|   1 +
 sys-libs/libblockdev/libblockdev-2.27.ebuild | 128 +++
 2 files changed, 129 insertions(+)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 84b8e10b03ef..f57d6fe309d0 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1 +1,2 @@
 DIST libblockdev-2.26.tar.gz 932129 BLAKE2B 
39d95db69de917449e6009fa0160b6288327b2c49b64309d17a1e4e028756d1ce170779ce1c4df926c8796d8a8ed7b9131b5d4b51115a3ea901dacdaa971961a
 SHA512 
ddd4e9c22135bd7dad0bb9bc254ac0c63e3bacc592e7c5a0c846e367da3fc248bf6187f1c81407c3bce599d3b0ceeec9a8a0030ad8e981e245f715b35eaec523
+DIST libblockdev-2.27.tar.gz 914021 BLAKE2B 
1e02a364ac918cc9bb288d3b8745cb09378317c4b509224326d13ff8b6481ba3d44502f248680801316a9a94d7d5eac353c5659eca55a681c88511da5dfc83da
 SHA512 
fa9faf3efefc1c76165c9456936175b2addb336a5257c43c1e41403db200386fd660203ef17559529f57b2f57b9ef768686ecd31493c58527434297c31712c10

diff --git a/sys-libs/libblockdev/libblockdev-2.27.ebuild 
b/sys-libs/libblockdev/libblockdev-2.27.ebuild
new file mode 100644
index ..c62582bdf020
--- /dev/null
+++ b/sys-libs/libblockdev/libblockdev-2.27.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit autotools python-single-r1 xdg-utils
+
+DESCRIPTION="A library for manipulating block devices"
+HOMEPAGE="https://github.com/storaged-project/libblockdev;
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
+   BDEPEND="
+   sys-devel/autoconf-archive
+   "
+else
+   MY_PV="${PV}-1"
+   #MY_P="${PN}-${MY_PV}"
+   
#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
+   
SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86"
+   #S="${WORKDIR}/${MY_P}"
+fi
+LICENSE="LGPL-2+"
+SLOT="0"
+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}
+"
+
+BDEPEND+="
+   dev-util/gtk-doc-am
+   gtk-doc? ( dev-util/gtk-doc )
+   introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   escrow? ( cryptsetup )"
+
+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.
+   # ... 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-25 Thread WANG Xuerui
commit: 274b9a88837a2a2fe0f6f4a3567c7c98224a45f8
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May 26 04:39:42 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May 26 04:45:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=274b9a88

sys-libs/libblockdev: keyword 2.26 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index b7f75e8e7b48..7127ea5bc94a 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-07 Thread Lars Wendler
commit: 7b2eb413c0193a54106e73c971910c167a860159
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat May  7 13:24:27 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat May  7 13:42:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b2eb413

sys-libs/libblockdev: Removed python3_7

Closes: https://bugs.gentoo.org/842903
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index f4a7fb4135ca..b7f75e8e7b48 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-07 Thread Lars Wendler
commit: 8b9f0fc0a8f2fd1b09834a5834646b40dd283102
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat May  7 13:23:56 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat May  7 13:42:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9f0fc0

sys-libs/libblockdev: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/Manifest|   1 -
 sys-libs/libblockdev/libblockdev-2.25.ebuild | 119 ---
 2 files changed, 120 deletions(-)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index b0eb31d6494c..84b8e10b03ef 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,2 +1 @@
-DIST libblockdev-2.25.tar.gz 930238 BLAKE2B 
ae28c40b5e114826baf4a8ba9012267b297dbc4abee52669cf39c886d2c9989291f41937ec742c7457049a6a30e674f9c89ad6478923f393ae1773db3afcf621
 SHA512 
628d05f3a257b44208a9d0b5d84ae248fefd415812d9a93d132c03039b09fefc4d6110beb9aa0d3072e3f0c992e642d7867d0241209056538f132f86a748e195
 DIST libblockdev-2.26.tar.gz 932129 BLAKE2B 
39d95db69de917449e6009fa0160b6288327b2c49b64309d17a1e4e028756d1ce170779ce1c4df926c8796d8a8ed7b9131b5d4b51115a3ea901dacdaa971961a
 SHA512 
ddd4e9c22135bd7dad0bb9bc254ac0c63e3bacc592e7c5a0c846e367da3fc248bf6187f1c81407c3bce599d3b0ceeec9a8a0030ad8e981e245f715b35eaec523

diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild 
b/sys-libs/libblockdev/libblockdev-2.25.ebuild
deleted file mode 100644
index 542a3e9e88c6..
--- a/sys-libs/libblockdev/libblockdev-2.25.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-inherit autotools python-single-r1 xdg-utils
-
-DESCRIPTION="A library for manipulating block devices"
-HOMEPAGE="https://github.com/storaged-project/libblockdev;
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
-   BDEPEND="
-   sys-devel/autoconf-archive
-   "
-else
-   MY_PV="${PV}-1"
-   #MY_P="${PN}-${MY_PV}"
-   
#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   
SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
-   #S="${WORKDIR}/${MY_P}"
-fi
-LICENSE="LGPL-2+"
-SLOT="0"
-IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd test +tools vdo"
-RESTRICT="!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}
-"
-
-BDEPEND+="
-   dev-util/gtk-doc-am
-   gtk-doc? ( dev-util/gtk-doc )
-   introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   escrow? ( cryptsetup )"
-
-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
-   --without-mpath
-   --without-nvdimm
-   $(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)
-   --without-python2
-   --with-python3
-   )
-   econf "${myeconfargs[@]}"
-}
-
-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 

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-07 Thread Lars Wendler
commit: 0a8cce2edf5a98c571862f722a7717b79d26f3f3
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat May  7 13:33:50 2022 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat May  7 13:42:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8cce2e

sys-libs/libblockdev: live ebuild adjustments

Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/libblockdev-.ebuild | 17 -
 sys-libs/libblockdev/metadata.xml|  1 +
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index 0682b4b778eb..caa2065daf93 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"
@@ -24,7 +24,7 @@ else
 fi
 LICENSE="LGPL-2+"
 SLOT="0"
-IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd test +tools vdo"
+IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd +nvme test +tools"
 # 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"
@@ -51,7 +51,7 @@ RDEPEND="
sys-fs/lvm2
virtual/udev
)
-   vdo? ( dev-libs/libyaml )
+   nvme? ( sys-libs/libnvme )
${PYTHON_DEPS}
 "
 
@@ -88,6 +88,7 @@ src_configure() {
--with-btrfs
--with-fs
--with-part
+   --with-python3
--without-mpath
--without-nvdimm
$(use_enable introspection)
@@ -101,10 +102,8 @@ src_configure() {
$(use_with kbd)
$(use_with lvm lvm)
$(use_with lvm lvm-dbus)
+   $(use_with nvme)
$(use_with tools)
-   $(use_with vdo)
-   --without-python2
-   --with-python3
)
econf "${myeconfargs[@]}"
 }
@@ -121,7 +120,7 @@ src_install() {
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
+   if ! use lvm ; then
rm -f "${ED}"/usr/bin/lvm-cache-stats || die
fi
python_optimize #718576

diff --git a/sys-libs/libblockdev/metadata.xml 
b/sys-libs/libblockdev/metadata.xml
index 981e2c38015b..5d09531b8a88 100644
--- a/sys-libs/libblockdev/metadata.xml
+++ b/sys-libs/libblockdev/metadata.xml
@@ -13,6 +13,7 @@
 Support for building crypto plugin with escrow device 
support
 Enable kernel block device support.
 Enable support for Logical Volume Management via 
sys-fs/lvm2.
+Add nvme support via sys-libs/libnvme
 Build tools
 Enable Virtual Data Optimizer support.
   



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-04 Thread Arthur Zamarin
commit: 0cf545908d4a2e80327b8bd5f499408ea5bd8abe
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May  5 05:28:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May  5 05:28:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf54590

sys-libs/libblockdev: Stabilize 2.26 arm, #842042

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index 300b0c1fe11a..ac81c0f6a37d 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-04 Thread Arthur Zamarin
commit: cb4e047084bb41691923a07b00d0f88fb5874f48
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu May  5 05:28:52 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu May  5 05:28:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4e0470

sys-libs/libblockdev: Stabilize 2.26 arm64, #842042

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index ac81c0f6a37d..f4a7fb4135ca 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-04 Thread Jakov Smolić
commit: d2b643569e30ce803090914fe9f8ab9a739ba6a3
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed May  4 15:10:51 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed May  4 15:10:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2b64356

sys-libs/libblockdev: Stabilize 2.26 amd64, #842042

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index 021f5a9b3cf3..300b0c1fe11a 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-04 Thread Sam James
commit: ba4a4c6902e7f05687d5bd5239e6a54257773fad
Author: Sam James  gentoo  org>
AuthorDate: Wed May  4 14:38:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  4 14:38:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba4a4c69

sys-libs/libblockdev: Stabilize 2.26 ppc64, #842042

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index c491230f4919..021f5a9b3cf3 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ppc ~ppc64 ~riscv sparc 
x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-04 Thread Sam James
commit: a56ece58fc61aa85be6a4d375a0bcd1e86f12b12
Author: Sam James  gentoo  org>
AuthorDate: Wed May  4 14:38:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  4 14:38:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a56ece58

sys-libs/libblockdev: Stabilize 2.26 ppc, #842042

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index dd1d3ee0d840..c491230f4919 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
sparc x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ppc ~ppc64 ~riscv sparc 
x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-04 Thread Agostino Sarubbo
commit: 6c686c519e945942d4691719456ba3c273902167
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed May  4 13:17:08 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed May  4 13:17:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c686c51

sys-libs/libblockdev: x86 stable wrt bug #842042

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index fee6a680c166..dd1d3ee0d840 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
sparc x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2022-05-03 Thread Arthur Zamarin
commit: 3b68b736dbf297cc913f8a65d92a3d8ec667d63f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  3 18:50:36 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  3 18:50:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b68b736

sys-libs/libblockdev: Stabilize 2.26 sparc, #842042

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index 0682b4b778eb..fee6a680c166 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-11-22 Thread Sam James
commit: 51c86b17c89d06bacda268a75f9a8dfa88f36e7d
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 22 09:44:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 22 09:44:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c86b17

sys-libs/libblockdev: fix tests (to extent possible; they need root still)

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 11 ++-
 sys-libs/libblockdev/libblockdev-.ebuild | 11 ++-
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index 9dbccbc4377d..0682b4b778eb 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -25,7 +25,9 @@ fi
 LICENSE="LGPL-2+"
 SLOT="0"
 IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd test +tools vdo"
-RESTRICT="!test? ( test )"
+# 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
@@ -107,6 +109,13 @@ src_configure() {
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

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index 9dbccbc4377d..0682b4b778eb 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -25,7 +25,9 @@ fi
 LICENSE="LGPL-2+"
 SLOT="0"
 IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd test +tools vdo"
-RESTRICT="!test? ( test )"
+# 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
@@ -107,6 +109,13 @@ src_configure() {
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



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-11-22 Thread Sam James
commit: b4baa37bccf454a6baeba08a8e935539302e92bc
Author: Miezhiko  gmail  com>
AuthorDate: Mon Nov 22 09:01:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 22 09:37:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4baa37b

sys-libs/libblockdev: python 3.10 support

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miezhiko  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23033
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.26.ebuild | 2 +-
 sys-libs/libblockdev/libblockdev-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
index 7a897bf92547..9dbccbc4377d 100644
--- a/sys-libs/libblockdev/libblockdev-2.26.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index 7a897bf92547..9dbccbc4377d 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-08-03 Thread Lars Wendler
commit: 053272b92e1346dd8fbfb86a9f889637f1cb4fad
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Aug  3 11:16:55 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Aug  3 11:17:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053272b9

sys-libs/libblockdev: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/Manifest|   1 -
 sys-libs/libblockdev/libblockdev-2.24.ebuild | 119 ---
 2 files changed, 120 deletions(-)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 5d4204f8e73..b0eb31d6494 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,3 +1,2 @@
-DIST libblockdev-2.24.tar.gz 905838 BLAKE2B 
dcc31021d72c2a4f92d8f70387537ec409302e85a9bdb338a09449b02318113d40cabf7fc2f6b4aca819400baccba69a9f67a616b30c744cf843eeac785875e4
 SHA512 
92b7d734ea2cefbb67e626bef369d6785ba2a4bbbf09a4f59345febe977bc32319fb44f38b3c3177b8652abbc1f87b6cc76d41fdd2d70783c1c168049bdcb1d6
 DIST libblockdev-2.25.tar.gz 930238 BLAKE2B 
ae28c40b5e114826baf4a8ba9012267b297dbc4abee52669cf39c886d2c9989291f41937ec742c7457049a6a30e674f9c89ad6478923f393ae1773db3afcf621
 SHA512 
628d05f3a257b44208a9d0b5d84ae248fefd415812d9a93d132c03039b09fefc4d6110beb9aa0d3072e3f0c992e642d7867d0241209056538f132f86a748e195
 DIST libblockdev-2.26.tar.gz 932129 BLAKE2B 
39d95db69de917449e6009fa0160b6288327b2c49b64309d17a1e4e028756d1ce170779ce1c4df926c8796d8a8ed7b9131b5d4b51115a3ea901dacdaa971961a
 SHA512 
ddd4e9c22135bd7dad0bb9bc254ac0c63e3bacc592e7c5a0c846e367da3fc248bf6187f1c81407c3bce599d3b0ceeec9a8a0030ad8e981e245f715b35eaec523

diff --git a/sys-libs/libblockdev/libblockdev-2.24.ebuild 
b/sys-libs/libblockdev/libblockdev-2.24.ebuild
deleted file mode 100644
index 3d13b598902..000
--- a/sys-libs/libblockdev/libblockdev-2.24.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-inherit autotools python-single-r1 xdg-utils
-
-DESCRIPTION="A library for manipulating block devices"
-HOMEPAGE="https://github.com/storaged-project/libblockdev;
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
-   BDEPEND="
-   sys-devel/autoconf-archive
-   "
-else
-   MY_PV="${PV}-1"
-   #MY_P="${PN}-${MY_PV}"
-   
#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   
SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 sparc x86"
-   #S="${WORKDIR}/${MY_P}"
-fi
-LICENSE="LGPL-2+"
-SLOT="0"
-IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd test +tools vdo"
-RESTRICT="!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}
-"
-
-BDEPEND+="
-   dev-util/gtk-doc-am
-   gtk-doc? ( dev-util/gtk-doc )
-   introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   escrow? ( cryptsetup )"
-
-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
-   --without-mpath
-   --without-nvdimm
-   $(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)
-   --without-python2
-   --with-python3
-   )
-   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-08-03 Thread Sam James
commit: 9d6742d0b658a9903f3335847235024932bd66a5
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug  3 11:01:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug  3 11:01:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d6742d0

sys-libs/libblockdev: Stabilize 2.25 arm64, #804861

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild 
b/sys-libs/libblockdev/libblockdev-2.25.ebuild
index 6cf07b867f9..542a3e9e88c 100644
--- a/sys-libs/libblockdev/libblockdev-2.25.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.25.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-07-31 Thread Sam James
commit: 0ce8b5f9de82c2e62a2589179c7e2f5f71420103
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 31 22:10:56 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 31 22:10:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ce8b5f9

sys-libs/libblockdev: Stabilize 2.25 arm, #804861

Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild 
b/sys-libs/libblockdev/libblockdev-2.25.ebuild
index c0fca1b5dd8..6cf07b867f9 100644
--- a/sys-libs/libblockdev/libblockdev-2.25.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.25.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-07-30 Thread Agostino Sarubbo
commit: cff8ee649015baff24714f373f564cb7a37a599f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 30 15:15:50 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 30 15:15:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cff8ee64

sys-libs/libblockdev: ppc64 stable wrt bug #804861

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild 
b/sys-libs/libblockdev/libblockdev-2.25.ebuild
index eacb9a8f8d3..c0fca1b5dd8 100644
--- a/sys-libs/libblockdev/libblockdev-2.25.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.25.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ppc ~ppc64 ~riscv sparc 
x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc 
x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-07-30 Thread Agostino Sarubbo
commit: 76be674283f987c25a273300db637f876e59672e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 30 15:12:40 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 30 15:12:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76be6742

sys-libs/libblockdev: ppc stable wrt bug #804861

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild 
b/sys-libs/libblockdev/libblockdev-2.25.ebuild
index 4e4161cf42b..eacb9a8f8d3 100644
--- a/sys-libs/libblockdev/libblockdev-2.25.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.25.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc 
x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ppc ~ppc64 ~riscv sparc 
x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-07-29 Thread Agostino Sarubbo
commit: b13d6c36782d8863bd896d226d32bb704aa20b1a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 29 07:07:04 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 29 07:07:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b13d6c36

sys-libs/libblockdev: amd64 stable wrt bug #804861

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild 
b/sys-libs/libblockdev/libblockdev-2.25.ebuild
index 8c2340809f5..4e4161cf42b 100644
--- a/sys-libs/libblockdev/libblockdev-2.25.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.25.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
sparc x86"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv sparc 
x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-07-29 Thread Agostino Sarubbo
commit: 1a383c523d3d7ce50719b98d8953f1508383f3f1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 29 06:44:48 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 29 06:44:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a383c52

sys-libs/libblockdev: x86 stable wrt bug #804861

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild 
b/sys-libs/libblockdev/libblockdev-2.25.ebuild
index 325633def8a..8c2340809f5 100644
--- a/sys-libs/libblockdev/libblockdev-2.25.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.25.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
sparc x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-07-29 Thread Agostino Sarubbo
commit: 9deccc4393e027fff7fee95574263b9c8f6eef6f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 29 06:39:17 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 29 06:39:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9deccc43

sys-libs/libblockdev: sparc stable wrt bug #804861

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild 
b/sys-libs/libblockdev/libblockdev-2.25.ebuild
index 7a897bf9254..325633def8a 100644
--- a/sys-libs/libblockdev/libblockdev-2.25.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.25.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-07-28 Thread Lars Wendler
commit: f4048512d2f0e3dd5d08c010b647ce1aa70d9107
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul 28 08:12:08 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul 28 08:15:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4048512

sys-libs/libblockdev: Synced live ebuild

Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/libblockdev-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index 8cd5e5f095e..7a897bf9254 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-07-28 Thread Lars Wendler
commit: 12b513c20a136f8cd124c874464678612de4a190
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul 28 08:11:49 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul 28 08:15:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12b513c2

sys-libs/libblockdev: Bump to version 2.26

Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/Manifest|   1 +
 sys-libs/libblockdev/libblockdev-2.26.ebuild | 119 +++
 2 files changed, 120 insertions(+)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index f589b2f9e54..5d4204f8e73 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,2 +1,3 @@
 DIST libblockdev-2.24.tar.gz 905838 BLAKE2B 
dcc31021d72c2a4f92d8f70387537ec409302e85a9bdb338a09449b02318113d40cabf7fc2f6b4aca819400baccba69a9f67a616b30c744cf843eeac785875e4
 SHA512 
92b7d734ea2cefbb67e626bef369d6785ba2a4bbbf09a4f59345febe977bc32319fb44f38b3c3177b8652abbc1f87b6cc76d41fdd2d70783c1c168049bdcb1d6
 DIST libblockdev-2.25.tar.gz 930238 BLAKE2B 
ae28c40b5e114826baf4a8ba9012267b297dbc4abee52669cf39c886d2c9989291f41937ec742c7457049a6a30e674f9c89ad6478923f393ae1773db3afcf621
 SHA512 
628d05f3a257b44208a9d0b5d84ae248fefd415812d9a93d132c03039b09fefc4d6110beb9aa0d3072e3f0c992e642d7867d0241209056538f132f86a748e195
+DIST libblockdev-2.26.tar.gz 932129 BLAKE2B 
39d95db69de917449e6009fa0160b6288327b2c49b64309d17a1e4e028756d1ce170779ce1c4df926c8796d8a8ed7b9131b5d4b51115a3ea901dacdaa971961a
 SHA512 
ddd4e9c22135bd7dad0bb9bc254ac0c63e3bacc592e7c5a0c846e367da3fc248bf6187f1c81407c3bce599d3b0ceeec9a8a0030ad8e981e245f715b35eaec523

diff --git a/sys-libs/libblockdev/libblockdev-2.26.ebuild 
b/sys-libs/libblockdev/libblockdev-2.26.ebuild
new file mode 100644
index 000..7a897bf9254
--- /dev/null
+++ b/sys-libs/libblockdev/libblockdev-2.26.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+inherit autotools python-single-r1 xdg-utils
+
+DESCRIPTION="A library for manipulating block devices"
+HOMEPAGE="https://github.com/storaged-project/libblockdev;
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
+   BDEPEND="
+   sys-devel/autoconf-archive
+   "
+else
+   MY_PV="${PV}-1"
+   #MY_P="${PN}-${MY_PV}"
+   
#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
+   
SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+   #S="${WORKDIR}/${MY_P}"
+fi
+LICENSE="LGPL-2+"
+SLOT="0"
+IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd test +tools vdo"
+RESTRICT="!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}
+"
+
+BDEPEND+="
+   dev-util/gtk-doc-am
+   gtk-doc? ( dev-util/gtk-doc )
+   introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   escrow? ( cryptsetup )"
+
+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
+   --without-mpath
+   --without-nvdimm
+   $(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)
+   --without-python2
+   --with-python3

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-05-27 Thread Yixun Lan
commit: 52e60da08019ff3ecee03e66f9a0c6acf07bb0e1
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu May 27 13:28:36 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu May 27 14:32:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e60da0

sys-libs/libblockdev: add riscv keyword

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild 
b/sys-libs/libblockdev/libblockdev-2.25.ebuild
index 8cd5e5f095e..7a897bf9254 100644
--- a/sys-libs/libblockdev/libblockdev-2.25.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.25.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-01-11 Thread Lars Wendler
commit: 910479d7fa83e82355a21fe1dba279ac0620e6b4
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan 11 11:46:59 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan 11 11:47:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=910479d7

sys-libs/libblockdev: Synced live ebuild

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/libblockdev-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index 29119d41e3e..46c7ccdd6af 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8,9} )
+PYTHON_COMPAT=( python3_{6..9} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2021-01-11 Thread Lars Wendler
commit: ba3932f8e2cb7d4e6b13a6690b12b3a9b8fd8338
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan 11 11:46:08 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan 11 11:47:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba3932f8

sys-libs/libblockdev: Bump to version 2.25

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/Manifest|   1 +
 sys-libs/libblockdev/libblockdev-2.25.ebuild | 119 +++
 2 files changed, 120 insertions(+)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index be8c801a203..f589b2f9e54 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1 +1,2 @@
 DIST libblockdev-2.24.tar.gz 905838 BLAKE2B 
dcc31021d72c2a4f92d8f70387537ec409302e85a9bdb338a09449b02318113d40cabf7fc2f6b4aca819400baccba69a9f67a616b30c744cf843eeac785875e4
 SHA512 
92b7d734ea2cefbb67e626bef369d6785ba2a4bbbf09a4f59345febe977bc32319fb44f38b3c3177b8652abbc1f87b6cc76d41fdd2d70783c1c168049bdcb1d6
+DIST libblockdev-2.25.tar.gz 930238 BLAKE2B 
ae28c40b5e114826baf4a8ba9012267b297dbc4abee52669cf39c886d2c9989291f41937ec742c7457049a6a30e674f9c89ad6478923f393ae1773db3afcf621
 SHA512 
628d05f3a257b44208a9d0b5d84ae248fefd415812d9a93d132c03039b09fefc4d6110beb9aa0d3072e3f0c992e642d7867d0241209056538f132f86a748e195

diff --git a/sys-libs/libblockdev/libblockdev-2.25.ebuild 
b/sys-libs/libblockdev/libblockdev-2.25.ebuild
new file mode 100644
index 000..46c7ccdd6af
--- /dev/null
+++ b/sys-libs/libblockdev/libblockdev-2.25.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+inherit autotools python-single-r1 xdg-utils
+
+DESCRIPTION="A library for manipulating block devices"
+HOMEPAGE="https://github.com/storaged-project/libblockdev;
+if [[ "${PV}" == * ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
+   BDEPEND="
+   sys-devel/autoconf-archive
+   "
+else
+   MY_PV="${PV}-1"
+   #MY_P="${PN}-${MY_PV}"
+   
#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
+   
SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+   #S="${WORKDIR}/${MY_P}"
+fi
+LICENSE="LGPL-2+"
+SLOT="0"
+IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd test +tools vdo"
+RESTRICT="!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}
+"
+
+BDEPEND+="
+   dev-util/gtk-doc-am
+   gtk-doc? ( dev-util/gtk-doc )
+   introspection? ( >=dev-libs/gobject-introspection-1.3.0 )
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   escrow? ( cryptsetup )"
+
+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
+   --without-mpath
+   --without-nvdimm
+   $(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)
+   --without-python2
+   --with-python3
+   )
+   econf "${myeconfargs[@]}"
+}
+
+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

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2020-12-14 Thread Mike Gilbert
commit: 87e135feea41f24ae13d42af4585fc171578ee0e
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Dec 14 22:28:14 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Dec 14 23:04:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e135fe

sys-libs/libblockdev: add python3.9

Signed-off-by: Mike Gilbert  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.24.ebuild | 2 +-
 sys-libs/libblockdev/libblockdev-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.24.ebuild 
b/sys-libs/libblockdev/libblockdev-2.24.ebuild
index 04aa60d4808..413a9123fad 100644
--- a/sys-libs/libblockdev/libblockdev-2.24.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.24.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index 1ad37598e5f..29119d41e3e 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2020-09-23 Thread Lars Wendler
commit: d63ae23debdc59584cb9e2e25ee2d87751b5
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep 23 13:05:01 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep 23 13:06:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d63a

sys-libs/libblockdev: Don't build with "-Werror" by default

Closes: https://bugs.gentoo.org/744289
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.24.ebuild | 11 ---
 sys-libs/libblockdev/libblockdev-.ebuild | 11 ---
 2 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.24.ebuild 
b/sys-libs/libblockdev/libblockdev-2.24.ebuild
index 2d41db82758..04aa60d4808 100644
--- a/sys-libs/libblockdev/libblockdev-2.24.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.24.ebuild
@@ -4,12 +4,12 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
-inherit python-single-r1 xdg-utils
+inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"
 HOMEPAGE="https://github.com/storaged-project/libblockdev;
 if [[ "${PV}" == * ]] ; then
-   inherit autotools git-r3
+   inherit git-r3
EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
BDEPEND="
sys-devel/autoconf-archive
@@ -73,7 +73,12 @@ pkg_setup() {
 src_prepare() {
xdg_environment_reset #623992
default
-   [[ "${PV}" == * ]] && eautoreconf
+
+   # 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() {

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index 214de07c57c..1ad37598e5f 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -4,12 +4,12 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
-inherit python-single-r1 xdg-utils
+inherit autotools python-single-r1 xdg-utils
 
 DESCRIPTION="A library for manipulating block devices"
 HOMEPAGE="https://github.com/storaged-project/libblockdev;
 if [[ "${PV}" == * ]] ; then
-   inherit autotools git-r3
+   inherit git-r3
EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
BDEPEND="
sys-devel/autoconf-archive
@@ -73,7 +73,12 @@ pkg_setup() {
 src_prepare() {
xdg_environment_reset #623992
default
-   [[ "${PV}" == * ]] && eautoreconf
+
+   # 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() {



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/files/, sys-libs/libblockdev/

2020-09-23 Thread Lars Wendler
commit: 1ee85f3a9dd02091f3dcc89820381f281518eed1
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep 23 12:54:14 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep 23 13:06:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee85f3a

sys-libs/libblockdev: Removed old

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Lars Wendler  gentoo.org>

 sys-libs/libblockdev/Manifest  |   1 -
 .../files/libblockdev-2.23-avoid_bashisms.patch|  41 
 sys-libs/libblockdev/libblockdev-2.23-r1.ebuild| 116 -
 3 files changed, 158 deletions(-)

diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest
index 46f8638f2d6..be8c801a203 100644
--- a/sys-libs/libblockdev/Manifest
+++ b/sys-libs/libblockdev/Manifest
@@ -1,2 +1 @@
-DIST libblockdev-2.23.tar.gz 856829 BLAKE2B 
131bf429e530fc9dd44fade4f5bc937ec220365b1ee2ae46818a6fa3ec7591775fdc3ed531350cc2546f4151e41551dfd3e331b0a6d569a7b54c5c15ed42
 SHA512 
ecc4d5a3cb977fbbe176bf6872b6754833d2869e927c32f8466685916ee4550cf806e0b0c8f5e8e76de3839ae591a4eec502ff974c2f0678af6cfd46dd3016f3
 DIST libblockdev-2.24.tar.gz 905838 BLAKE2B 
dcc31021d72c2a4f92d8f70387537ec409302e85a9bdb338a09449b02318113d40cabf7fc2f6b4aca819400baccba69a9f67a616b30c744cf843eeac785875e4
 SHA512 
92b7d734ea2cefbb67e626bef369d6785ba2a4bbbf09a4f59345febe977bc32319fb44f38b3c3177b8652abbc1f87b6cc76d41fdd2d70783c1c168049bdcb1d6

diff --git a/sys-libs/libblockdev/files/libblockdev-2.23-avoid_bashisms.patch 
b/sys-libs/libblockdev/files/libblockdev-2.23-avoid_bashisms.patch
deleted file mode 100644
index 9c4f94bd841..000
--- a/sys-libs/libblockdev/files/libblockdev-2.23-avoid_bashisms.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From e6ab6918ffac65da2d562cb286c6ab50eaf62ca2 Mon Sep 17 00:00:00 2001
-From: Lars Wendler 
-Date: Mon, 11 May 2020 22:14:26 +0200
-Subject: [PATCH] configure.ac: Avoid bashisms
-
-or else we get unpredictable results with shells != /bin/bash like:
-
-checking for gobject-introspection... no (disabled, use --enable-introspection 
to enable)
-./configure: 13672: test: xno: unexpected operator
-checking for python3... 
/var/tmp/portage/sys-libs/libblockdev-2.23-r1/temp/python3.8/bin/python3
-./configure: 13838: test: 
x/var/tmp/portage/sys-libs/libblockdev-2.23-r1/temp/python3.8/bin/python3: 
unexpected operator
-
-Reported-by: Matt Whitlock 
-Gentoo-bug: https://bugs.gentoo.org/719442
-Signed-off-by: Lars Wendler 

- configure.ac | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index ded64259..bbdff5e7 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -60,7 +60,7 @@ AC_ARG_WITH([python3],
- AC_SUBST(WITH_PYTHON3, 0)
- if test "x$with_python3" != "xno"; then
- AC_PATH_PROG([python3], [python3], [no])
--AS_IF([test "x$python3" == "xno"],
-+AS_IF([test "x$python3" = "xno"],
- [if test "x$with_python3" = "xyes"; then
-   LIBBLOCKDEV_SOFT_FAILURE([Python3 support requested, but python3 is not 
available])
-   fi],
-@@ -77,7 +77,7 @@ AC_ARG_WITH([gtk-doc],
- AC_SUBST(WITH_GTK_DOC, 0)
- if test "x$with_gtk_doc" != "xno"; then
- AC_PATH_PROG([gtkdoc_scan], [gtkdoc-scan], [no])
--AS_IF([test "x$gtkdoc_scan" == "xno"],
-+AS_IF([test "x$gtkdoc_scan" = "xno"],
- [if test "x$with_gtk_doc" = "xyes"; then
-   LIBBLOCKDEV_SOFT_FAILURE([Building documentation with gtk-doc 
requested, but not available])
-   fi],

diff --git a/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild
deleted file mode 100644
index 6007c32f473..000
--- a/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-inherit autotools python-single-r1 xdg-utils
-
-DESCRIPTION="A library for manipulating block devices"
-HOMEPAGE="https://github.com/storaged-project/libblockdev;
-if [[ "${PV}" == * ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git;
-   BDEPEND="
-   sys-devel/autoconf-archive
-   "
-else
-   MY_PV="${PV}-1"
-   #MY_P="${PN}-${MY_PV}"
-   
#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
-   
SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 sparc x86"
-   #S="${WORKDIR}/${MY_P}"
-fi
-LICENSE="LGPL-2+"
-SLOT="0"
-IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm 
kbd test +tools vdo"
-RESTRICT="!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
-  

[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2020-08-14 Thread Andreas Sturmlechner
commit: 570dc28e6e5bbdc4d2e562e61eb070a2581fae96
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Aug  3 21:25:54 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Aug 14 23:21:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570dc28e

sys-libs/libblockdev: Drop superfluous calls to python_is_python3

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.23-r1.ebuild | 13 ++---
 sys-libs/libblockdev/libblockdev-2.24.ebuild| 13 ++---
 sys-libs/libblockdev/libblockdev-.ebuild| 13 ++---
 3 files changed, 6 insertions(+), 33 deletions(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild 
b/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild
index 105df4812ba..6007c32f473 100644
--- a/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.23-r1.ebuild
@@ -98,18 +98,9 @@ src_configure() {
$(use_with lvm lvm-dbus)
$(use_with tools)
$(use_with vdo)
+   --without-python2
+   --with-python3
)
-   if python_is_python3 ; then
-   myeconfargs+=(
-   --without-python2
-   --with-python3
-   )
-   else
-   myeconfargs+=(
-   --with-python2
-   --without-python3
-   )
-   fi
econf "${myeconfargs[@]}"
 }
 

diff --git a/sys-libs/libblockdev/libblockdev-2.24.ebuild 
b/sys-libs/libblockdev/libblockdev-2.24.ebuild
index c252b7d2104..2d41db82758 100644
--- a/sys-libs/libblockdev/libblockdev-2.24.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.24.ebuild
@@ -96,18 +96,9 @@ src_configure() {
$(use_with lvm lvm-dbus)
$(use_with tools)
$(use_with vdo)
+   --without-python2
+   --with-python3
)
-   if python_is_python3 ; then
-   myeconfargs+=(
-   --without-python2
-   --with-python3
-   )
-   else
-   myeconfargs+=(
-   --with-python2
-   --without-python3
-   )
-   fi
econf "${myeconfargs[@]}"
 }
 

diff --git a/sys-libs/libblockdev/libblockdev-.ebuild 
b/sys-libs/libblockdev/libblockdev-.ebuild
index 1ea252a8b26..214de07c57c 100644
--- a/sys-libs/libblockdev/libblockdev-.ebuild
+++ b/sys-libs/libblockdev/libblockdev-.ebuild
@@ -96,18 +96,9 @@ src_configure() {
$(use_with lvm lvm-dbus)
$(use_with tools)
$(use_with vdo)
+   --without-python2
+   --with-python3
)
-   if python_is_python3 ; then
-   myeconfargs+=(
-   --without-python2
-   --with-python3
-   )
-   else
-   myeconfargs+=(
-   --with-python2
-   --without-python3
-   )
-   fi
econf "${myeconfargs[@]}"
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2020-08-01 Thread Sergei Trofimovich
commit: b7aa7b2287587a8e7c584303ae3d82f53680b502
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug  1 08:59:29 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug  1 08:59:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7aa7b22

sys-libs/libblockdev: stable 2.24 for ppc64

stable wrt bug #733588

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.24.ebuild 
b/sys-libs/libblockdev/libblockdev-2.24.ebuild
index 98acefb08e8..2f639b6edef 100644
--- a/sys-libs/libblockdev/libblockdev-2.24.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.24.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ~ppc64 sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2020-08-01 Thread Sergei Trofimovich
commit: d2c28c4e55421cc4b29b6027bcb67ea29db3036c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug  1 08:45:21 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug  1 08:45:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2c28c4e

sys-libs/libblockdev: stable 2.24 for ppc

stable wrt bug #733588

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.24.ebuild 
b/sys-libs/libblockdev/libblockdev-2.24.ebuild
index 0656c5548db..98acefb08e8 100644
--- a/sys-libs/libblockdev/libblockdev-2.24.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.24.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ~ppc64 sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2020-07-25 Thread Sam James
commit: 73c6e42285fae403689c75de74e9aec3f66180f8
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 26 05:02:36 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 26 05:02:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c6e422

sys-libs/libblockdev: arm stable (bug #733588)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.24.ebuild 
b/sys-libs/libblockdev/libblockdev-2.24.ebuild
index 4fac1315ab2..0656c5548db 100644
--- a/sys-libs/libblockdev/libblockdev-2.24.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.24.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



[gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/

2020-07-25 Thread Sam James
commit: 026f21e24c44cbd1299dfe96c7ca83402f6a4c22
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 25 14:12:04 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 25 14:12:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=026f21e2

sys-libs/libblockdev: arm64 stable (bug #733588)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sys-libs/libblockdev/libblockdev-2.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/libblockdev/libblockdev-2.24.ebuild 
b/sys-libs/libblockdev/libblockdev-2.24.ebuild
index 9a268720fe5..4fac1315ab2 100644
--- a/sys-libs/libblockdev/libblockdev-2.24.ebuild
+++ b/sys-libs/libblockdev/libblockdev-2.24.ebuild
@@ -19,7 +19,7 @@ else
#MY_P="${PN}-${MY_PV}"

#SRC_URI="https://github.com/storaged-project/${PN}/archive/${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"

SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ~ppc64 sparc ~x86"
#S="${WORKDIR}/${MY_P}"
 fi
 LICENSE="LGPL-2+"



  1   2   >