aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-paramiko
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2011-10-21 23:06:02 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2011-12-03 14:49:18 -0600
commite3ae48ca6c34644f3552a4c037d79c3ce2e8db51 (patch)
treef1cc296ae4ac74d72822213b59004c7ff0553673 /testing/py-paramiko
parent508f6804a42f7290e620876da90ba6c9e253105f (diff)
downloadaports-e3ae48ca6c34644f3552a4c037d79c3ce2e8db51.tar.bz2
aports-e3ae48ca6c34644f3552a4c037d79c3ce2e8db51.tar.xz
py-paramiko - new sub packages for demos and docs added
Diffstat (limited to 'testing/py-paramiko')
-rw-r--r--testing/py-paramiko/APKBUILD14
1 files changed, 13 insertions, 1 deletions
diff --git a/testing/py-paramiko/APKBUILD b/testing/py-paramiko/APKBUILD
index 8e3717c6ea..c7f8be7f9b 100644
--- a/testing/py-paramiko/APKBUILD
+++ b/testing/py-paramiko/APKBUILD
@@ -12,7 +12,7 @@ depends=""
depends_dev=""
makedepends="py-crypto python-dev"
install=""
-subpackages=""
+subpackages="$pkgname-demos $pkgname-docs"
source="http://www.lag.net/paramiko/download/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
@@ -26,4 +26,16 @@ package() {
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
+demos() {
+ # Put the demo files into a seperate package
+ mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname"/demos || return 1
+ mv "$_builddir"/demos "$subpkgdir"/usr/share/doc/"$pkgname"/ || return 1
+}
+
+docs() {
+ # Put the documentation files into a seperate package
+ mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname"/docs || return 1
+ mv "$_builddir"/docs "$subpkgdir"/usr/share/doc/"$pkgname"/ || return 1
+}
+
md5sums="ce8e2c254378312a264206f65c354d72 paramiko-1.7.7.1.tar.gz"