aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-06-08 06:58:54 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-06-08 07:00:50 +0000
commit1537c57b016a729389583d1574a477921beffcab (patch)
tree6c33b65fadabd7d6bdb567cc504f6e54cfc7d368 /testing
parent105fbcec3aee71a565841af3e40a8b48d96e2fbb (diff)
downloadaports-1537c57b016a729389583d1574a477921beffcab.tar.bz2
aports-1537c57b016a729389583d1574a477921beffcab.tar.xz
testing/py-rtslib: move to main
Diffstat (limited to 'testing')
-rw-r--r--testing/py-rtslib/APKBUILD66
1 files changed, 0 insertions, 66 deletions
diff --git a/testing/py-rtslib/APKBUILD b/testing/py-rtslib/APKBUILD
deleted file mode 100644
index 98ffa9058a..0000000000
--- a/testing/py-rtslib/APKBUILD
+++ /dev/null
@@ -1,66 +0,0 @@
-# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=py-rtslib
-_realname=rtslib
-pkgver=2.1_p14
-_ver=${pkgver/_rc/rc}
-_ver=${_ver/_p/.fb}
-pkgrel=1
-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"
-install=""
-subpackages=
-source="http://dev.alpinelinux.org/archive/rtslib/$_realname-$_ver.tar.gz"
-
-_giturl="https://github.com/agrover/rtslib-fb.git"
-_gittag=v$_ver
-
-_builddir="$srcdir"/$_realname
-
-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="95881fd736567ccd911fbee7cc94a5ea rtslib-2.1.fb14.tar.gz"