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 | |
parent | e58984f1866f549ed0f85230c74701f45af071e9 (diff) | |
download | alpine_aports-a4486026123b25de0eb1a58178bde41c8b527a07.tar.bz2 alpine_aports-a4486026123b25de0eb1a58178bde41c8b527a07.tar.xz alpine_aports-a4486026123b25de0eb1a58178bde41c8b527a07.zip |
main/libxslt: rename py-libxslt to py2-libxslt
-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/" | |||
8 | arch="all" | 8 | arch="all" |
9 | license="custom" | 9 | license="custom" |
10 | makedepends="libxml2-dev libgcrypt-dev libgpg-error-dev python2-dev" | 10 | makedepends="libxml2-dev libgcrypt-dev libgpg-error-dev python2-dev" |
11 | subpackages="$pkgname-dev $pkgname-doc py-$pkgname:py" | 11 | subpackages="$pkgname-dev $pkgname-doc py2-$pkgname:py2" |
12 | source="http://xmlsoft.org/sources/$pkgname-$pkgver.tar.gz" | 12 | source="http://xmlsoft.org/sources/$pkgname-$pkgver.tar.gz" |
13 | builddir="$srcdir/$pkgname-$pkgver" | 13 | builddir="$srcdir/$pkgname-$pkgver" |
14 | 14 | ||
@@ -33,8 +33,10 @@ package() { | |||
33 | install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING | 33 | install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING |
34 | } | 34 | } |
35 | 35 | ||
36 | py() { | 36 | py2() { |
37 | pkgdesc="$pkgname python2 bindings" | 37 | pkgdesc="$pkgname python2 bindings" |
38 | provides="py-libxslt=$pkgver-r$pkgrel" # for backward compatibility | ||
39 | replaces="py-libxslt" # for backward compatibility | ||
38 | 40 | ||
39 | install -d "$subpkgdir"/usr/lib | 41 | install -d "$subpkgdir"/usr/lib |
40 | mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ | 42 | mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ |