Commit a4486026 authored by Jakub Jirutka's avatar Jakub Jirutka 🇺🇦
Browse files

main/libxslt: rename py-libxslt to py2-libxslt

parent e58984f1
......@@ -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/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment