Package Details: python-rtslib-fb 2.1.75-1

Git Clone URL: https://aur.archlinux.org/python-rtslib-fb.git (read-only, click to copy)
Package Base: python-rtslib-fb
Description: free branch version of the LIO target API
Upstream URL: https://github.com/open-iscsi/rtslib-fb
Licenses: Apache
Conflicts: python2-rtslib, targetcli-fb
Submitter: JonnyJD
Maintainer: mikesd
Last Packager: mikesd
Votes: 9
Popularity: 0.000023
First Submitted: 2013-10-08 20:54 (UTC)
Last Updated: 2022-07-30 13:34 (UTC)

Latest Comments

1 2 Next › Last »

Xyne commented on 2021-02-15 13:36 (UTC) (edited on 2021-02-15 13:53 (UTC) by Xyne)

Here's a cleaner version of the PKGBUILD (no empty variables, no split-package syntax for a single package, consistent user of "install" command and use of _pkgname variable where appropriate). You can replace the current PKGBUILD with this without bumping the release because the built package is equivalent.

# Contributor: Johannes Dewender  arch at JonnyJD dot net
pkgname='python-rtslib-fb'
_pkgname=rtslib-fb
pkgver=2.1.74
pkgrel=1
pkgdesc="free branch version of the LIO target API"
arch=('any')
url="https://github.com/open-iscsi/$_pkgname"
license=('Apache')
depends=('python' 'python-six' 'python-pyudev')
conflicts=('python2-rtslib' 'targetcli-fb<=2.1.fb31')
makedepends=('python-setuptools' 'python-pyudev')
source=(
  "https://github.com/open-iscsi/$_pkgname/archive/v${pkgver}.tar.gz"
  target.service
)
sha512sums=(
  '181b57f699dd4e6bc050585e1abffe75a7eaf5ae8325220d61d37f932912f2cec878c4643172c584f0d4c231441d25ff0e09aa1f48c2305061b75acdce051c86'
  '3c634f1c466d0a8c3dd2b57a230438aaeeb0e66324863a2ded57dd69a2ca5946f83c4ab511766f510f3e63b43aedcf7e368bcf5bc325ee69c016bb0bb2612de5'
)

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
  install -Dm644 doc/targetctl.8 "$pkgdir/usr/share/man/man8/targetctl.8"
  install -Dm644 doc/saveconfig.json.5 "$pkgdir/usr/share/man/man5/saveconfig.json.5"

  install -dm755 "$pkgdir/etc/target/backup"
  install -Dm644 "$srcdir/target.service" "$pkgdir/usr/lib/systemd/system/target.service"
}

# vim:set ts=2 sw=2 et:

jamespharvey20 commented on 2019-09-24 02:23 (UTC)

For some reason, upstream URL is from github user "agrover", instead of "open-iscsi". When going to agrover, it makes it look like this package is up to date with fb69, but the real upstream released 2.1.70.

jamespharvey20 commented on 2019-03-25 08:56 (UTC) (edited on 2019-03-25 08:58 (UTC) by jamespharvey20)

Downloaded source filenames must be unique, for those who set SRCDEST in /etc/makepkg.conf. See https://wiki.archlinux.org/index.php/PKGBUILD#source

Please add something like this to the beginning of source:

source=("${_pkgname}-${pkgver}.tar.gz"::https...

AlexanderS commented on 2019-03-17 03:45 (UTC) (edited on 2019-03-17 03:45 (UTC) by AlexanderS)

May have to just drop the Python 2 support.

Yes, it builds fine without the python2 stuff (and targetcli just works).

mikesd commented on 2019-03-13 12:00 (UTC)

I'll have a look at this on the weekend. May have to just drop the Python 2 support.

Asgaroth commented on 2019-03-12 14:54 (UTC)

I got to this package trying to install targetcli-fb, which is unable to install due to the python2-pyudev package being unavailable

terinjokes commented on 2019-03-02 22:22 (UTC)

Looks like the dependency python2-pyudev has been deleted, making this uninstallable.

JonnyJD commented on 2016-01-25 06:04 (UTC)

Yes the original branch doesn't support Python 3. However, the point was rather that python-rtslib-fb is the "main" package containing some extra (non-python) files, which were also included in python2-rtslib (or rather were created when python2-rtslib was run the first time..). AFAIK there is no maintained python2-rtslib in AUR ATM.

alpha.niner commented on 2016-01-25 02:35 (UTC)

The conflicts array for python-rtslib-fb contains python2-rtslib. Presumably, it should be changed to python-rtslib. OTOH, I'm not sure the Datera version supports Python 3 so maybe it's moot.

JonnyJD commented on 2014-12-05 06:45 (UTC)

Thanks, that makes sense. Fixed (in rtslib and configshell).