diff options
Diffstat (limited to 'testing/py-paramiko')
-rw-r--r-- | testing/py-paramiko/APKBUILD | 14 |
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" |