Commit 5cfcefaa authored by Jakub Jirutka's avatar Jakub Jirutka

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

parent f4703ae6
......@@ -75,7 +75,7 @@ package() {
tools() {
pkgdesc="UI tools for mDNS browsing"
depends="py-gtk py-dbus py-gdbm py-avahi"
depends="py-gtk py-dbus py-gdbm py2-avahi"
mkdir -p "$subpkgdir"/usr/bin
cd "$pkgdir"/usr/bin
mv avahi-bookmarks avahi-discover b* \
......@@ -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
......@@ -115,12 +115,14 @@ lidns_sd() {
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"
Markdown is supported
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