diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-11-10 07:53:28 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-11-10 07:56:41 +0000 |
commit | f9a516c90384a232f36d7b932fe31bd157ae8b5f (patch) | |
tree | 0e1530d11e04246a3e279fb8dd55b4984cf72267 /main/py-rtslib/APKBUILD | |
parent | 60bfe8bdd62bdd3a73d493e2987f80af53f84c7a (diff) | |
download | aports-f9a516c90384a232f36d7b932fe31bd157ae8b5f.tar.bz2 aports-f9a516c90384a232f36d7b932fe31bd157ae8b5f.tar.xz |
community/py-rtslib: moved from main
Diffstat (limited to 'main/py-rtslib/APKBUILD')
-rw-r--r-- | main/py-rtslib/APKBUILD | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/main/py-rtslib/APKBUILD b/main/py-rtslib/APKBUILD deleted file mode 100644 index 5f4f3f157e..0000000000 --- a/main/py-rtslib/APKBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=py-rtslib -_realname=rtslib-fb -pkgver=2.1_p57 -_ver=${pkgver/_rc/rc} -_ver=${_ver/_p/.fb} -pkgrel=0 -pkgdesc="Python library that provides an object API to RisingTide Systems generic SCSI Target" -url="https://github.com/agrover/rtslib-fb" -arch="noarch" -license="AGPLv3" -depends="python" -depends_dev="py-configobj py-ethtool py-ipaddr" -makedepends="$depends_dev py-setuptools" -install="" -subpackages= -source="https://github.com/agrover/rtslib-fb/archive/v${_ver}.tar.gz" - -_giturl="https://github.com/agrover/rtslib-fb.git" -_gittag=v$_ver - -_builddir="$srcdir"/${_realname}-${_ver} - -snapshot() { - mkdir -p "$srcdir" - cd "${SRCDEST:-$srcdir}" - if ! [ -d $_realname-fb.git ]; then - git clone --bare $_giturl || return 1 - cd $_realname-fb.git - else - cd $_realname-fb.git - git fetch || return 1 - fi - - git archive --prefix=$_realname/ -o "$SRCDEST"/$_realname-$_ver.tar.gz $_gittag - scp "$SRCDEST"/$_realname-$_ver.tar.gz dev.alpinelinux.org:/archive/$_realname -} - - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - return 0 -} - -package() { - cd "$_builddir" - python 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 -# install -D -m644 specs/loopback.spec $pkgdir/var/lib/target/fabric/loopback.spec -# install -D -m644 specs/qla2xxx.spec $pkgdir/var/lib/target/fabric/qla2xxx.spec -# install -D -m644 specs/tcm_fc.spec $pkgdir/var/lib/target/fabric/tcm_fc.spec -} - -md5sums="1b2f0124453296840586a5a7c1389857 v2.1.fb57.tar.gz" -sha256sums="d5d81a78046b4c228d29ba88d9950e0f63858e5fcf601e3d0f8bf107fbaadc03 v2.1.fb57.tar.gz" -sha512sums="2867ef6119bf6fa4eb5b5346a6d0d9e85fa6c516d912be2232cca4b7ef85fb521e51f23d11cedfcb445c87c1ed655053fa5b4b98eec651023dd4bcb8fdcac27f v2.1.fb57.tar.gz" |