diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-05-24 00:10:53 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-05-24 00:15:42 +0200 |
commit | 5cfcefaa40c32f563f977f046ced05d72fa2c7c4 (patch) | |
tree | f49d75b9c6e2c95a14cb75b83d3f2918742ebf09 /main/avahi | |
parent | f4703ae6ebd33edefea3d108a469128c490855c2 (diff) | |
download | aports-5cfcefaa40c32f563f977f046ced05d72fa2c7c4.tar.bz2 aports-5cfcefaa40c32f563f977f046ced05d72fa2c7c4.tar.xz |
main/avahi: rename py-avahi to py2-avahi
Diffstat (limited to 'main/avahi')
-rw-r--r-- | main/avahi/APKBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/main/avahi/APKBUILD b/main/avahi/APKBUILD index 06b4ff1ffc..085b53fbdd 100644 --- a/main/avahi/APKBUILD +++ b/main/avahi/APKBUILD @@ -16,7 +16,7 @@ install="$pkgname.pre-install" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-glib $pkgname-libs $pkgname-compat-howl:howl $pkgname-compat-libdns_sd:lidns_sd $pkgname-lang - py-avahi:py:noarch" + py2-avahi:_py2:noarch" source="https://github.com/lathiat/avahi/releases/download/v$pkgver/avahi-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" @@ -115,12 +115,14 @@ lidns_sd() { "$subpkgdir"/usr/lib/ } -py() { +_py2() { pkgdesc="Python 2 bindings for avahi" depends="$pkgname=$pkgver-r$pkgrel python2" + provides="py-avahi=$pkgver-r$pkgrel" # for backward compatibility + replaces="py-avahi" # for backward compatibility mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/py* "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/lib/python2.* "$subpkgdir"/usr/lib/ } sha512sums="bae5a1e9204aca90b90e7fd223d19e809e3514d03ba5fa2da1e55bf1d72d3d3b98567f357900c36393613dc17dc98e15ff3ebf0f226f2f6b9766e592452a6ce7 avahi-0.7.tar.gz" |