diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/rtslib-fb | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/rtslib-fb')
| -rw-r--r-- | dev-python/rtslib-fb/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/rtslib-fb/files/target.service | 14 | ||||
| -rw-r--r-- | dev-python/rtslib-fb/metadata.xml | 21 | ||||
| -rw-r--r-- | dev-python/rtslib-fb/rtslib-fb-2.1.76.ebuild | 37 | ||||
| -rw-r--r-- | dev-python/rtslib-fb/rtslib-fb-2.2.4-r1.ebuild | 41 |
5 files changed, 116 insertions, 0 deletions
diff --git a/dev-python/rtslib-fb/Manifest b/dev-python/rtslib-fb/Manifest new file mode 100644 index 000000000000..8320632e6857 --- /dev/null +++ b/dev-python/rtslib-fb/Manifest @@ -0,0 +1,3 @@ +DIST rtslib-fb-2.1.76.tar.gz 78055 BLAKE2B df22093072a7e7b12a080db8253eff9e6aff1efb44a8bdb6c37a21601fd10beea03b665d1e1621904a9a0c1d1299e7f9e5f61682669f75a06f4e050c503da9a7 SHA512 fee3087702e44ede59b9635d7cbe7af06da104d6aeffc3fbb584ce6e8170b7856650a006ee574940448801a67e9f7d9610ccb9ad632dd6d0c378fe7c6cd1c159 +DIST rtslib_fb-2.2.4.tar.gz 47341 BLAKE2B 1c9c579f5d193a629139f8e2b34db1594f36106aeac2155a74126474da00d24af424bac1165b460674a0cbd2a82f0be074ecf6475318fcbbe6e41db298ecebbf SHA512 5801f4785f54db0c21a05dc07b83eba8987e84b6fb7f83fb6b614e0595556c330f911d8eedfddf7c22654a50b0df4afb6c1b5fe66f8d0445c3f0db68423b4100 +DIST rtslib_fb-2.2.4.tar.gz.provenance 9775 BLAKE2B 19a2c7bdf950ceeff30e50a3e256ee6994c2c234740269a11fd32795c28a4fd95ee27be97f63c6f4df1e191ff17ec9225a4d60153dd3423c92a6e12624c2e3e4 SHA512 5bc843500a262fe9e5e0d1337f153ea83967e29fabf7cf80974d8d33f7934614d711c72cf5498a6841638c9eebddfe77b6f67b3e4fe543a84d8422649abb8c01 diff --git a/dev-python/rtslib-fb/files/target.service b/dev-python/rtslib-fb/files/target.service new file mode 100644 index 000000000000..400284edd174 --- /dev/null +++ b/dev-python/rtslib-fb/files/target.service @@ -0,0 +1,14 @@ +[Unit] +Description=Restore LIO kernel target configuration +Requires=sys-kernel-config.mount +After=sys-kernel-config.mount network.target local-fs.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/targetctl restore +ExecStop=/usr/bin/targetctl clear +SyslogIdentifier=target + +[Install] +WantedBy=multi-user.target diff --git a/dev-python/rtslib-fb/metadata.xml b/dev-python/rtslib-fb/metadata.xml new file mode 100644 index 000000000000..59a58b12b39c --- /dev/null +++ b/dev-python/rtslib-fb/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <maintainer type="project"> + <email>openstack@gentoo.org</email> + <name>Openstack</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <maintainer status="active"> + <email>mlombard@redhat.com</email> + <name>Maurizio Lombardi</name> + </maintainer> + <bugs-to>https://github.com/open-iscsi/rtslib-fb/issues</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/rtslib-fb/rtslib-fb-2.1.76.ebuild b/dev-python/rtslib-fb/rtslib-fb-2.1.76.ebuild new file mode 100644 index 000000000000..5754c960fb74 --- /dev/null +++ b/dev-python/rtslib-fb/rtslib-fb-2.1.76.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYPI_NO_NORMALIZE=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 systemd pypi + +DESCRIPTION="A Python object API for managing the Linux LIO kernel target" +HOMEPAGE=" + https://github.com/open-iscsi/rtslib-fb/ + https://pypi.org/project/rtslib-fb/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" + +RDEPEND=" + dev-python/pyudev[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +python_test() { + # super basic import test + "${EPYTHON}" - <<- EOF || die "Failed tests with ${EPYTHON}" + from rtslib_fb import RTSRoot + EOF +} + +src_install() { + distutils-r1_src_install + systemd_dounit "${FILESDIR}/target.service" +} diff --git a/dev-python/rtslib-fb/rtslib-fb-2.2.4-r1.ebuild b/dev-python/rtslib-fb/rtslib-fb-2.2.4-r1.ebuild new file mode 100644 index 000000000000..7a02258e207a --- /dev/null +++ b/dev-python/rtslib-fb/rtslib-fb-2.2.4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/open-iscsi/rtslib-fb +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 systemd pypi + +DESCRIPTION="A Python object API for managing the Linux LIO kernel target" +HOMEPAGE=" + https://github.com/open-iscsi/rtslib-fb/ + https://pypi.org/project/rtslib-fb/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" + +RDEPEND=" + dev-python/pyudev[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests import-check + +python_compile() { + distutils-r1_python_compile + + # workaround broken upstream hack + # https://github.com/open-iscsi/rtslib-fb/issues/229 + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + ln -s rtslib rtslib_fb || die +} + +src_install() { + distutils-r1_src_install + systemd_dounit "${FILESDIR}/target.service" +} |
