diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-03 01:30:16 -0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-05-03 19:15:34 +0300 |
commit | ee574454d131e636991ac4deeacaa25904a7fcd0 (patch) | |
tree | fc56f82b72869e25d258a5e21c19532723476785 | |
parent | ba3ee3f9215815506a0277783463153f4d711e60 (diff) | |
download | aports-ee574454d131e636991ac4deeacaa25904a7fcd0.tar.bz2 aports-ee574454d131e636991ac4deeacaa25904a7fcd0.tar.xz |
community/py3-rtslib: modernize
- Fix license
- Expand on why check is disabled
- Add missing dependencies
- Use modern style
-rw-r--r-- | community/py3-rtslib/APKBUILD | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/community/py3-rtslib/APKBUILD b/community/py3-rtslib/APKBUILD index 2c0a6fa915..f71c5be740 100644 --- a/community/py3-rtslib/APKBUILD +++ b/community/py3-rtslib/APKBUILD @@ -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 |