diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-08-07 22:15:34 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-08-07 22:16:43 +0300 |
commit | 3b44b648e05570c7bf39ce5562e8f54678a66347 (patch) | |
tree | e0f9eb1dc6bd9cd0deb0daf8296cc9a68c12dcda /dev-python/rtslib-fb | |
parent | dev-python/ipykernel: Bump to 6.25.1 (diff) | |
download | gentoo-3b44b648e05570c7bf39ce5562e8f54678a66347.tar.gz gentoo-3b44b648e05570c7bf39ce5562e8f54678a66347.tar.bz2 gentoo-3b44b648e05570c7bf39ce5562e8f54678a66347.zip |
dev-python/rtslib-fb: add 2.1.76, EAPI=8, PEP517
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/rtslib-fb')
-rw-r--r-- | dev-python/rtslib-fb/Manifest | 1 | ||||
-rw-r--r-- | dev-python/rtslib-fb/rtslib-fb-2.1.76.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/rtslib-fb/Manifest b/dev-python/rtslib-fb/Manifest index e6b358b21b09..de8e789d1d1a 100644 --- a/dev-python/rtslib-fb/Manifest +++ b/dev-python/rtslib-fb/Manifest @@ -1,2 +1,3 @@ DIST rtslib-fb-2.1.74.tar.gz 73919 BLAKE2B d16527ed1efae379aa976929d8e6dd8a13cb1d47eb8efe8897ee495b0864225f520b42bd27fe502a1fad11369d20690b9751e54ae7a328c60917144114358d24 SHA512 b0b0722a5a7e10af698ae0570a65b51d7f091bfcc370850dacb3087471ca98bd229b4a5ed73760b7ed5bbee1b53dae4781cc2b3d5e7a1ff8ce37c5c144477852 DIST rtslib-fb-2.1.75.tar.gz 74188 BLAKE2B 13fbeffb0396fa39d17362c05973572feab86eaa6748d4043f7721f3b631e670266dfbaebc26afb70e83547c4a24f149399d7d77725ecb9e9f6ac4ef709306d4 SHA512 b20109fd40cd0d23621bb01f884e302432a1dde98d0147dbd7a2eaf7a724801c77759effb26717b0451c5fb2f75e67287d9c0364c3c7ee3072d08cce259ce616 +DIST rtslib-fb-2.1.76.tar.gz 78055 BLAKE2B df22093072a7e7b12a080db8253eff9e6aff1efb44a8bdb6c37a21601fd10beea03b665d1e1621904a9a0c1d1299e7f9e5f61682669f75a06f4e050c503da9a7 SHA512 fee3087702e44ede59b9635d7cbe7af06da104d6aeffc3fbb584ce6e8170b7856650a006ee574940448801a67e9f7d9610ccb9ad632dd6d0c378fe7c6cd1c159 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..70552bc72cd1 --- /dev/null +++ b/dev-python/rtslib-fb/rtslib-fb-2.1.76.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 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_{10..11} ) + +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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +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" +} |