diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-17 14:15:28 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-06-17 14:23:18 +0200 |
commit | a4486026123b25de0eb1a58178bde41c8b527a07 (patch) | |
tree | f94334bc73189c5939c0339cbd41902870e95dc6 /main/libxslt/APKBUILD | |
parent | e58984f1866f549ed0f85230c74701f45af071e9 (diff) | |
download | aports-a4486026123b25de0eb1a58178bde41c8b527a07.tar.bz2 aports-a4486026123b25de0eb1a58178bde41c8b527a07.tar.xz |
main/libxslt: rename py-libxslt to py2-libxslt
Diffstat (limited to 'main/libxslt/APKBUILD')
-rw-r--r-- | main/libxslt/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/libxslt/APKBUILD b/main/libxslt/APKBUILD index ad4d896a20..a8653f4d19 100644 --- a/main/libxslt/APKBUILD +++ b/main/libxslt/APKBUILD @@ -8,7 +8,7 @@ url="http://xmlsoft.org/XSLT/" arch="all" license="custom" makedepends="libxml2-dev libgcrypt-dev libgpg-error-dev python2-dev" -subpackages="$pkgname-dev $pkgname-doc py-$pkgname:py" +subpackages="$pkgname-dev $pkgname-doc py2-$pkgname:py2" source="http://xmlsoft.org/sources/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" @@ -33,8 +33,10 @@ package() { install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -py() { +py2() { pkgdesc="$pkgname python2 bindings" + provides="py-libxslt=$pkgver-r$pkgrel" # for backward compatibility + replaces="py-libxslt" # for backward compatibility install -d "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ |