aboutsummaryrefslogtreecommitdiffstats
path: root/community/targetcli/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-05 05:13:33 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-05 05:17:41 -0300
commit4ab5635b4e22d990a58cc307578cdc56d1f04ba1 (patch)
tree3e7d5e712d2bb1b4fbf0bd59beb97aa18800e545 /community/targetcli/APKBUILD
parentd950155b37eaf0a317fe2d8e9284e7c137d6e6ad (diff)
downloadaports-4ab5635b4e22d990a58cc307578cdc56d1f04ba1.tar.gz
aports-4ab5635b4e22d990a58cc307578cdc56d1f04ba1.tar.bz2
aports-4ab5635b4e22d990a58cc307578cdc56d1f04ba1.tar.xz
community/targetcli: upgrade to 2.1.50
Diffstat (limited to 'community/targetcli/APKBUILD')
-rw-r--r--community/targetcli/APKBUILD14
1 files changed, 5 insertions, 9 deletions
diff --git a/community/targetcli/APKBUILD b/community/targetcli/APKBUILD
index 22f3b930a7..0389482d78 100644
--- a/community/targetcli/APKBUILD
+++ b/community/targetcli/APKBUILD
@@ -1,10 +1,8 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=targetcli
-pkgver=2.1_p49
-_ver=${pkgver/_rc/rc}
-_ver=${_ver/_p/.fb}
-pkgrel=1
+pkgver=2.1.50
+pkgrel=0
pkgdesc="An administration shell for storage targets"
url="https://github.com/open-iscsi/targetcli-fb"
arch="noarch"
@@ -13,21 +11,19 @@ depends="python3 py3-configobj py3-configshell py3-ethtool py3-ipaddr py3-parsin
py3-rtslib py3-simpleparse py3-six py3-udev py3-dbus dbus py3-urwid"
makedepends="$depends_dev py-setuptools"
subpackages="$pkgname-doc $pkgname-openrc"
-source="$pkgname-$_ver.tar.gz::https://github.com/open-iscsi/targetcli-fb/archive/v${_ver}.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/open-iscsi/targetcli-fb/archive/v$pkgver.tar.gz
targetcli.initd
targetcli.confd
"
options="!check" # no test suite
-builddir="$srcdir"/${pkgname}-fb-${_ver}
+builddir="$srcdir"/$pkgname-fb-$pkgver
build() {
- cd "$builddir"
python3 setup.py build
gzip targetcli.8
}
package() {
- cd "$builddir"
python3 setup.py install --root="$pkgdir"
mkdir -p "$pkgdir"/var/lib/target/fabric
mkdir -p "$pkgdir"/etc/target
@@ -39,6 +35,6 @@ package() {
"$pkgdir"/etc/conf.d/$pkgname
}
-sha512sums="05fb6f638f808bf09089bdd110592b3ed3be49fc70cc1a71680de7bff40dc88425e69e9a99fdfcab712646cf131f78071edae46f214fdfee4b7090f47933c93a targetcli-2.1.fb49.tar.gz
+sha512sums="efceb023127d0bec2a491374a73bc0d9a5ca47fb3fb311a6c73c66c2117a57a64630292d84bd403f0c729e7ddb325193ead553bd87ce6537e482da4b9dd86609 targetcli-2.1.50.tar.gz
ea886be1cf0b2c4266553f3b3f4072c2632ce28d8dd449f355fb2989fac16937a4d022622dad2d965b0b5e4c25e72e5a62fd52ba37b4fe2c334d2e06b4cd2c1b targetcli.initd
b0cedfb351dabcd6febe660dd95b5f2bab89f38849d346e46f57c32a4057f6bd2347e9a93a9e9010f4c7ff91f16c0fd33f02ad0cacf9fb801de76da4d25ad9e3 targetcli.confd"