1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 02:35:23 +03:00
aports/community/py3-rtslib/APKBUILD
JuniorJPDJ 835ee3e639 community/py3-rtslib: upgrade to 2.1.74
also fixed linting warnings and removed comments for installing spec files
spec files were last used in 2013 and are not coming back (v2.1.fb27 removed them)
2021-07-06 23:48:12 +00:00

29 lines
843 B
Text

# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-rtslib
_pkgname=rtslib-fb
pkgver=2.1_p74
_ver=${pkgver/_rc/rc}
_ver=${_ver/_p/.}
pkgrel=0
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="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"
builddir="$srcdir"/$_pkgname-$_ver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --root="$pkgdir"
}
sha512sums="
181b57f699dd4e6bc050585e1abffe75a7eaf5ae8325220d61d37f932912f2cec878c4643172c584f0d4c231441d25ff0e09aa1f48c2305061b75acdce051c86 v2.1.74.tar.gz
"