mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-12 16:16:22 +02:00
community/py3-rtslib: modernize
- Fix license - Expand on why check is disabled - Add missing dependencies - Use modern style
This commit is contained in:
parent
ba3ee3f921
commit
ee574454d1
@ -5,28 +5,22 @@ _pkgname=rtslib-fb
|
||||
pkgver=2.1_p69
|
||||
_ver=${pkgver/_rc/rc}
|
||||
_ver=${_ver/_p/.fb}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Python library that provides an object API to RisingTide Systems generic SCSI Target"
|
||||
options="!check" # No testsuite
|
||||
url="https://github.com/open-iscsi/rtslib-fb"
|
||||
arch="noarch"
|
||||
license="AGPL-3.0"
|
||||
depends="python3"
|
||||
makedepends="$depends_dev py3-configobj py3-ethtool py3-ipaddr py3-setuptools"
|
||||
license="Apache-2.0"
|
||||
depends="py3-udev python3 py3-six"
|
||||
makedepends="py3-setuptools"
|
||||
source="https://github.com/open-iscsi/rtslib-fb/archive/v${_ver}.tar.gz"
|
||||
options="!check" # no test suite
|
||||
builddir="$srcdir"/${_pkgname}-${_ver}
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
return 0
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
python3 setup.py install --root="$pkgdir"
|
||||
# install -D -m644 specs/ib_srpt.spec $pkgdir/var/lib/target/fabric/ib_srpt.spec
|
||||
# install -D -m644 specs/iscsi.spec $pkgdir/var/lib/target/fabric/iscsi.spec
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user